~ / rigs / thientranhung / astragentic

thientranhung/astragentic

Orchestration framework for running several AI coding agents on one real codebase — isolation, dispatch, review, provenance.

↗ GitHub ★ 4 Apache-2.0 updated 1d ago project Claude CodeCodex Claude plugin
share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
~3.6k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 18/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit thientranhung/astragentic/harness/.claude ./rig-astragentic  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit thientranhung/astragentic/harness/.agents/skills/astra-grill-with-docs .claude/skills/astra-grill-with-docs
$ npx degit thientranhung/astragentic/harness/.agents/skills/astra-implement-with-tdd .claude/skills/astra-implement-with-tdd
$ npx degit thientranhung/astragentic/harness/.agents/skills/astra-review .claude/skills/astra-review
$ npx degit thientranhung/astragentic/harness/.agents/skills/astra-to-spec .claude/skills/astra-to-spec
$ npx degit thientranhung/astragentic/harness/.agents/skills/astra-to-tickets .claude/skills/astra-to-tickets
$ npx degit thientranhung/astragentic/harness/.agents/skills/astra-ui .claude/skills/astra-ui
$ npx degit thientranhung/astragentic/harness/.agents/skills/astra-ux .claude/skills/astra-ux
$ npx degit thientranhung/astragentic/harness/.agents/skills/astragentic-update-install .claude/skills/astragentic-update-install
$ npx degit thientranhung/astragentic/harness/.agents/skills/codex-arm .claude/skills/codex-arm
$ npx degit thientranhung/astragentic/harness/.agents/skills/dispatch-junior .claude/skills/dispatch-junior
$ npx degit thientranhung/astragentic/harness/.agents/skills/dispatch-qa-walk .claude/skills/dispatch-qa-walk
$ npx degit thientranhung/astragentic/harness/.agents/skills/dispatch-ticket-claude .claude/skills/dispatch-ticket-claude
$ npx degit thientranhung/astragentic/harness/.agents/skills/dispatch-ticket .claude/skills/dispatch-ticket
$ npx degit thientranhung/astragentic/harness/.agents/skills/github-issue-tracker .claude/skills/github-issue-tracker
$ npx degit thientranhung/astragentic/harness/.agents/skills/jira-issue-tracker .claude/skills/jira-issue-tracker
$ npx degit thientranhung/astragentic/harness/.agents/skills/linear-issue-tracker .claude/skills/linear-issue-tracker
$ npx degit thientranhung/astragentic/harness/.agents/skills/reconcile-tracker .claude/skills/reconcile-tracker
$ npx degit thientranhung/astragentic/harness/.agents/skills/test-design .claude/skills/test-design
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/astra-codex-simplify .claude/skills/astra-codex-simplify
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-astra-grill-with-docs .claude/skills/codex-astra-grill-with-docs
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-astra-implement-with-tdd .claude/skills/codex-astra-implement-with-tdd
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-astra-review .claude/skills/codex-astra-review
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-astra-to-spec .claude/skills/codex-astra-to-spec
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-astra-to-tickets .claude/skills/codex-astra-to-tickets
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-astra-ui .claude/skills/codex-astra-ui
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-astra-ux .claude/skills/codex-astra-ux
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-batch-triage .claude/skills/codex-batch-triage
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-bootstrap-glossary .claude/skills/codex-bootstrap-glossary
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-cross-vendor-review .claude/skills/codex-cross-vendor-review
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-dispatch-junior .claude/skills/codex-dispatch-junior
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-dispatch-qa-walk .claude/skills/codex-dispatch-qa-walk
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-dispatch-ticket-codex .claude/skills/codex-dispatch-ticket-codex
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-dispatch-ticket .claude/skills/codex-dispatch-ticket
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-github-issue-tracker .claude/skills/codex-github-issue-tracker
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-jira-issue-tracker .claude/skills/codex-jira-issue-tracker
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-linear-issue-tracker .claude/skills/codex-linear-issue-tracker
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-reconcile-tracker .claude/skills/codex-reconcile-tracker
$ npx degit thientranhung/astragentic/runtimes/codex/.agents/skills/codex-test-design .claude/skills/codex-test-design
$ curl -fsSL --create-dirs -o .claude/agents/astragentic.md https://raw.githubusercontent.com/thientranhung/astragentic/main/.claude/agents/astragentic.md
$ curl -fsSL --create-dirs -o .claude/agents/ba.md https://raw.githubusercontent.com/thientranhung/astragentic/main/harness/.claude/agents/ba.md
$ curl -fsSL --create-dirs -o .claude/agents/builder.md https://raw.githubusercontent.com/thientranhung/astragentic/main/harness/.claude/agents/builder.md
$ curl -fsSL --create-dirs -o .claude/agents/qa.md https://raw.githubusercontent.com/thientranhung/astragentic/main/harness/.claude/agents/qa.md
$ curl -fsSL --create-dirs -o .claude/agents/quick-builder.md https://raw.githubusercontent.com/thientranhung/astragentic/main/harness/.claude/agents/quick-builder.md
$ curl -fsSL --create-dirs -o .claude/agents/shaper.md https://raw.githubusercontent.com/thientranhung/astragentic/main/harness/.claude/agents/shaper.md
$ curl -fsSL --create-dirs -o .claude/agents/thomas.md https://raw.githubusercontent.com/thientranhung/astragentic/main/harness/.claude/agents/thomas.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "d=\"${CLAUDE_PROJECT_DIR:-$PWD}\"; s=\"$d/scripts/hook-git-guard.py\"; [ -f \"$s\" ] || s=\"$d/harness/scripts/hook-git-guard.py\"; if [ -f \"$s\" ]; then if python3 -c 'import sys; open(sys.argv[1], \"rb\").read(1)' \"$s\" 2>/dev/null; then exec python3"
          }
        ]
      }
    ]
  }
}

Skills (38)

Subagents (7)

astragenticUpstream maintainer of the Astragentic harness. Start with `claude --agent astragentic` in this repository to build, measure and release the harness for both the Claude and the Codex runtime. Not a do
baBusiness analyst for the owner, in the user's seat. Read-only on the repository. Discusses a problem until it is clear, walks the running product as its actor without writing to it, names trade-offs a
builderBuilds one ticket in its own worktree as the sole writer there. Drives astra-implement-with-tdd, the UI pass on a UI ticket, astra-review (three axes, the built-in code-review inside) over the increme
qaProduct-quality walker. Exercises the RUNNING product as a user — interface, journeys, API contracts and data as experienced — instead of reading the diff. Read-only by default; mutations require expl
quick-builderQuick Builder, opened by the owner or by Thomas with the owner's words. Does a small task on the owner's word (catalog rows, images, data pushes, a fix to the project's own plugs, a small change) on a
shaperShaping session. Drives astra-grill-with-docs to astra-to-spec to astra-to-tickets in one unbroken context, deciding seams while the whole picture is in view.
thomasThe owner's deputy. Resident session: carries the owner's knowledge and view, answers him and the team from it, and owns the tracker, the frontier query, the claim protocol, dispatch and merge. Drives

Hooks (7)

eventmatcherruns
PreToolUseBashd="${CLAUDE_PROJECT_DIR:-$PWD}"; s="$d/scripts/hook-git-guard.py"; [ -f "$s" ] || s="$d/harness/scripts/hook-git-guard.py"; if [ -f "$s" ]; then if python3 -c 'import sys; open(sys.argv[1], "rb").read(1)' "$s" 2>/dev/null; then exec python3
WorktreeRemove*L="${HARNESS_HOOK_LOG:-$HOME/.local/state/astragentic/harness-hook-events.log}"; mkdir -p "${L%/*}" 2>/dev/null; d="${CLAUDE_PROJECT_DIR:-$PWD}"; s="$d/scripts/release-worktree-resources.sh"; [ -f "$s" ] || s="$d/harness/scripts/release-wor
SessionStartcompactd="${CLAUDE_PROJECT_DIR:-$PWD}"; s="$d/scripts/hook-contract-reload.py"; [ -f "$s" ] || s="$d/harness/scripts/hook-contract-reload.py"; if [ -f "$s" ]; then if python3 -c 'import sys; open(sys.argv[1], "rb").read(1)' "$s" 2>/dev/null; then
SessionStart*d="${CLAUDE_PROJECT_DIR:-$PWD}"; s="$d/scripts/hook-tracker-status.py"; [ -f "$s" ] || s="$d/harness/scripts/hook-tracker-status.py"; if [ -f "$s" ]; then if python3 -c 'import sys; open(sys.argv[1], "rb").read(1)' "$s" 2>/dev/null; then ex
SubagentStop*L="${HARNESS_HOOK_LOG:-$HOME/.local/state/astragentic/harness-hook-events.log}"; mkdir -p "${L%/*}" 2>/dev/null; payload=$(cat); agent_type=$(echo "$payload" | grep -o '"agent_type":"[^"]*"' | head -1 | cut -d'"' -f4); agent_id=$(echo "$pay
PostToolUseBashd="${CLAUDE_PROJECT_DIR:-$PWD}"; s="$d/scripts/hook-test-run.py"; [ -f "$s" ] || s="$d/harness/scripts/hook-test-run.py"; if [ -f "$s" ]; then if python3 -c 'import sys; open(sys.argv[1], "rb").read(1)' "$s" 2>/dev/null; then exec python3 "
PostToolUseFailureBashd="${CLAUDE_PROJECT_DIR:-$PWD}"; s="$d/scripts/hook-test-run.py"; [ -f "$s" ] || s="$d/harness/scripts/hook-test-run.py"; if [ -f "$s" ]; then if python3 -c 'import sys; open(sys.argv[1], "rb").read(1)' "$s" 2>/dev/null; then exec python3 "

Similar rigs

copied ✓