~ / rigs / Antarsoft / morphness

Antarsoft/morphness

Self-improving multi-agent harness for Claude Code. A Technical Lead plans, Full-stack builds, QA verifies, and retros turn lessons into rules that fit your project. Stack-agnostic.

↗ GitHub ★ 7 MIT updated today project Claude CodeCodex Claude plugin
stack: PythonShell
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~3.2k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 53/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit Antarsoft/morphness/template/.claude ./rig-morphness  # 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 Antarsoft/morphness/.claude/skills/morph-review .claude/skills/morph-review
$ npx degit Antarsoft/morphness/skills/morph-auto .claude/skills/morph-auto
$ npx degit Antarsoft/morphness/skills/morph-doctor .claude/skills/morph-doctor
$ npx degit Antarsoft/morphness/skills/morph-init .claude/skills/morph-init
$ npx degit Antarsoft/morphness/skills/morph-module .claude/skills/morph-module
$ npx degit Antarsoft/morphness/skills/morph-share .claude/skills/morph-share
$ npx degit Antarsoft/morphness/skills/morph-update .claude/skills/morph-update
$ curl -fsSL --create-dirs -o .claude/agents/code-scout.md https://raw.githubusercontent.com/Antarsoft/morphness/main/template/.claude/agents/code-scout.md
$ curl -fsSL --create-dirs -o .claude/agents/feature-closer.md https://raw.githubusercontent.com/Antarsoft/morphness/main/template/.claude/agents/feature-closer.md
$ curl -fsSL --create-dirs -o .claude/agents/fullstack-engineer-medium.md https://raw.githubusercontent.com/Antarsoft/morphness/main/template/.claude/agents/fullstack-engineer-medium.md
$ curl -fsSL --create-dirs -o .claude/agents/fullstack-engineer-xhigh.md https://raw.githubusercontent.com/Antarsoft/morphness/main/template/.claude/agents/fullstack-engineer-xhigh.md
$ curl -fsSL --create-dirs -o .claude/agents/fullstack-engineer.md https://raw.githubusercontent.com/Antarsoft/morphness/main/template/.claude/agents/fullstack-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/legal-writer.md https://raw.githubusercontent.com/Antarsoft/morphness/main/template/.claude/agents/legal-writer.md
$ curl -fsSL --create-dirs -o .claude/agents/qa-engineer-medium.md https://raw.githubusercontent.com/Antarsoft/morphness/main/template/.claude/agents/qa-engineer-medium.md
$ curl -fsSL --create-dirs -o .claude/agents/qa-engineer.md https://raw.githubusercontent.com/Antarsoft/morphness/main/template/.claude/agents/qa-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/researcher-high.md https://raw.githubusercontent.com/Antarsoft/morphness/main/template/.claude/agents/researcher-high.md
$ curl -fsSL --create-dirs -o .claude/agents/researcher.md https://raw.githubusercontent.com/Antarsoft/morphness/main/template/.claude/agents/researcher.md

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

{
  "permissions": {
    "deny": [
      "Read(./**/.env)",
      "Read(./**/.env.local)",
      "Read(./**/.env.*.local)",
      "Read(./**/.env.production)",
      "Read(./**/.env.prod)",
      "Read(./**/.env.development)",
      "Read(./**/.env.dev)",
      "Read(./**/.env.staging)",
      "Read(./**/.env.stage)",
      "Read(./**/.env.test)",
      "Edit(./**/.env)",
      "Edit(./**/.env.local)",
      "Edit(./**/.env.*.local)",
      "Edit(./**/.env.production)",
      "Edit(./**/.env.prod)",
      "Edit(./**/.env.development)",
      "Edit(./**/.env.dev)",
      "Edit(./**/.env.staging)",
      "Edit(./**/.env.stage)",
      "Edit(./**/.env.test)",
      "Read(./**/.envrc)",
      "Edit(./**/.envrc)",
      "Read(**/*.pem)",
      "Edit(**/*.pem)",
      "Read(**/*.key)",
      "Edit(**/*.key)",
      "Read(**/*.p12)",
      "Edit(**/*.p12)",
      "Read(**/*.pfx)",
      "Edit(**/*.pfx)",
      "Read(**/id_rsa)",
      "Edit(**/id_rsa)",
      "Read(**/id_ed25519)",
      "Edit(**/id_ed25519)",
      "Read(**/id_ecdsa)",
      "Edit(**/id_ecdsa)",
      "Read(**/.netrc)",
      "Edit(**/.netrc)",
      "Read(**/.pgpass)",
      "Edit(**/.pgpass)",
      "Read(**/.git-credentials)",
      "Edit(**/.git-credentials)",
      "Read(**/credentials.json)",
      "Edit(**/credentials.json)",
      "Read(**/credentials.yml)",
      "Edit(**/credentials.yml)",
      "Read(**/secrets.json)",
      "Edit(**/secrets.json)",
      "Read(**/secrets.yml)",
      "Edit(**/secrets.yml)",
      "Read(**/secrets.yaml)",
      "Edit(**/secrets.yaml)",
      "Read(~/.aws/**)",
      "Edit(~/.aws/**)",
      "Read(~/.ssh/**)",
      "Edit(~/.ssh/**)",
      "Read(~/.gnupg/**)",
      "Edit(~/.gnupg/**)",
      "Read(~/.kube/**)",
      "Edit(~/.kube/**)",
      "Read(~/.azure/**)",
      "Edit(~/.azure/**)",
      "Read(~/.config/gcloud/**)",
      "Edit(~/.config/gcloud/**)",
      "Read(~/.config/gh/**)",
      "Edit(~/.config/gh/**)",
      "Read(~/.docker/config.json)",
      "Edit(~/.docker/config.json)",
      "Bash(cat *.env*)",
      "Bash(head *.env*)",
      "Bash(tail *.env*)",
      "Bash(less *.env*)",
      "Bash(more *.env*)",
      "Bash(git push* {{branches.production}})",
      "Bash(git push* {{branches.production}} *)",
      "Bash(git push*:{{branches.production}})",
      "Bash(git push*:{{branches.production}} *)",
      "Bash(git push* {{branches.integration}})",
      "Bash(git push* {{branches.integration}} *)",
      "Bash(git push*:{{branches.integration}})"
    ],
    "ask": [
      "Bash(*session-start.sh --accept*)",
      "Bash(git push)",
      "Bash(git reset --hard*)",
      "Bash(git clean -f*)",
      "Bash(*| sh)",
      "Bash(*| sh *)",
      "Bash(*| bash)",
      "Bash(*| bash *)",
      "Bash(git -C * push*)",
      "Bash(gh pr merge*)",
      "Bash(glab mr merge*)",
      "Bash(gh api*/merge*)",
      "mcp__github__merge_pull_request",
      "mcp__github__enable_pr_auto_merge"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash|Read|Edit|MultiEdit|Write|NotebookEdit|Grep|WebFetch|mcp__.*",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"$CLAUDE_PROJECT_DIR/scripts/guard.sh\"; rc=$?; [ \"$rc\" = 0 ] || [ \"$rc\" = 2 ] || { echo \"Blocked: scripts/guard.sh is missing or failed (exit $rc), so the call can't be checked. The guard fails closed: restore the file in a terminal (g"
          }
        ]
      }
    ]
  }
}

Skills (7)

Subagents (10)

code-scout
model: {{models.scout}}
Harness code scout. In full mode the Technical Lead launches it before writing the plan: it searches and reads the code a change touches and writes a short code map (files, functions with line ranges,
feature-closer
model: {{models.closer}}
Harness feature closer. After a full- or bug-mode QA pass the Technical Lead launches it to draft the closing records from the feature's files: the steps file (or none), plan.md's passed status and St
fullstack-engineer-medium
model: {{models.fullstack_medium}}
Harness Full-stack engineer. The Technical Lead uses this agent to implement an approved _harness/features/<slug>/<version>/Plan/plan.md (any \"execute / implement / develop / build / fix\" request fo
fullstack-engineer-xhigh
model: {{models.fullstack}}
Harness Full-stack engineer. The Technical Lead uses this agent to implement an approved _harness/features/<slug>/<version>/Plan/plan.md (any \"execute / implement / develop / build / fix\" request fo
fullstack-engineer
model: {{models.fullstack}}
Harness Full-stack engineer. The Technical Lead uses this agent to implement an approved _harness/features/<slug>/<version>/Plan/plan.md (any \"execute / implement / develop / build / fix\" request fo
legal-writer
model: {{models.legal}}
Harness legal writer. The Technical Lead uses this agent at plan time, before approval, whenever a feature's plan says Legal wording: yes. It writes only the legal sentences into <feature>/Legal/legal
qa-engineer-medium
model: {{models.qa_medium}}
Harness QA engineer. The Technical Lead must use this agent after every dev-complete Development/progress.md (mandatory, never skipped) to validate the plan's acceptance criteria and write QA/qa-resul
qa-engineer
model: {{models.qa}}
Harness QA engineer. The Technical Lead must use this agent after every dev-complete Development/progress.md (mandatory, never skipped) to validate the plan's acceptance criteria and write QA/qa-resul
researcher-high
model: {{models.researcher_high}}
Harness researcher. The Technical Lead uses this agent in research mode, and optionally before a plan, to answer one question about the code or the web with cited evidence. It has no shell and no edit
researcher
model: {{models.researcher}}
Harness researcher. The Technical Lead uses this agent in research mode, and optionally before a plan, to answer one question about the code or the web with cited evidence. It has no shell and no edit

Hooks (5)

eventmatcherruns
PreToolUseBash|Read|Edit|MultiEdit|Write|NotebookEdit|Grep|WebFetch|mcp__.*bash "$CLAUDE_PROJECT_DIR/scripts/guard.sh"; rc=$?; [ "$rc" = 0 ] || [ "$rc" = 2 ] || { echo "Blocked: scripts/guard.sh is missing or failed (exit $rc), so the call can't be checked. The guard fails closed: restore the file in a terminal (g
ConfigChange*bash "$CLAUDE_PROJECT_DIR/scripts/guard.sh"; rc=$?; [ "$rc" = 0 ] || [ "$rc" = 2 ] || { echo "Blocked: scripts/guard.sh is missing or failed (exit $rc), so the call can't be checked. The guard fails closed: restore the file in a terminal (g
Stop*bash "$CLAUDE_PROJECT_DIR/scripts/checks.sh" hook
SubagentStopfullstack-engineer.*bash "$CLAUDE_PROJECT_DIR/scripts/checks.sh" hook
SessionStart*bash "$CLAUDE_PROJECT_DIR/scripts/session-start.sh"

Permissions

deny (86)
Read(./**/.env)
Read(./**/.env.local)
Read(./**/.env.*.local)
Read(./**/.env.production)
Read(./**/.env.prod)
Read(./**/.env.development)
Read(./**/.env.dev)
Read(./**/.env.staging)
Read(./**/.env.stage)
Read(./**/.env.test)
Edit(./**/.env)
Edit(./**/.env.local)
Edit(./**/.env.*.local)
Edit(./**/.env.production)
Edit(./**/.env.prod)
Edit(./**/.env.development)
Edit(./**/.env.dev)
Edit(./**/.env.staging)
Edit(./**/.env.stage)
Edit(./**/.env.test)
Read(./**/.envrc)
Edit(./**/.envrc)
Read(**/*.pem)
Edit(**/*.pem)
Read(**/*.key)
Edit(**/*.key)
Read(**/*.p12)
Edit(**/*.p12)
Read(**/*.pfx)
Edit(**/*.pfx)
Read(**/id_rsa)
Edit(**/id_rsa)
Read(**/id_ed25519)
Edit(**/id_ed25519)
Read(**/id_ecdsa)
Edit(**/id_ecdsa)
Read(**/.netrc)
Edit(**/.netrc)
Read(**/.pgpass)
Edit(**/.pgpass)
Read(**/.git-credentials)
Edit(**/.git-credentials)
Read(**/credentials.json)
Edit(**/credentials.json)
Read(**/credentials.yml)
Edit(**/credentials.yml)
Read(**/secrets.json)
Edit(**/secrets.json)
Read(**/secrets.yml)
Edit(**/secrets.yml)
Read(**/secrets.yaml)
Edit(**/secrets.yaml)
Read(~/.aws/**)
Edit(~/.aws/**)
Read(~/.ssh/**)
Edit(~/.ssh/**)
Read(~/.gnupg/**)
Edit(~/.gnupg/**)
Read(~/.kube/**)
Edit(~/.kube/**)
ask (14)
Bash(*session-start.sh --accept*)
Bash(git push)
Bash(git reset --hard*)
Bash(git clean -f*)
Bash(*| sh)
Bash(*| sh *)
Bash(*| bash)
Bash(*| bash *)
Bash(git -C * push*)
Bash(gh pr merge*)
Bash(glab mr merge*)
Bash(gh api*/merge*)
mcp__github__merge_pull_request
mcp__github__enable_pr_auto_merge
allow (30)
Bash(git status:*)
Bash(git diff:*)
Bash(git log:*)
Bash(gh api --method GET repos/antarsoft/morphness/*)
Bash(curl -fsSL https://api.github.com/repos/antarsoft/morphness/*)
Bash(curl -fsSL https://raw.githubusercontent.com/antarsoft/morphness/*)
Bash(git add:*)
Bash(git commit:*)
Bash(git fetch:*)
Bash(git switch:*)
Bash(git push -u origin:*)
Bash(gh pr create:*)
Bash(gh pr ready:*)
Bash(gh pr view:*)
Bash(gh pr list:*)
Bash(gh pr checks:*)
Bash(gh pr comment:*)
Bash(gh pr edit:*)
Bash(mkdir -p:*)
Bash(tail:*)
Bash(bash scripts/feature-cost.sh:*)
Bash(bash scripts/prune-counter.sh:*)
Bash(bash scripts/evidence.sh:*)
Bash(bash scripts/learned-rules.sh:*)
Bash(cat > /tmp/*)
Bash(bash scripts/risk-check.sh:*)
Bash(bash scripts/plan-brief.sh:*)
Bash(bash scripts/handoff.sh:*)
Bash(bash scripts/doc-section.sh:*)
Bash(bash scripts/checks.sh:*)

Similar rigs

copied ✓