~ / rigs / taniwhaai / arai

taniwhaai/arai

Your AI assistant reads CLAUDE.md and ignores it anyway. Ārai makes instruction files enforced — hooks that block, a tamper-evident audit trail, per-rule compliance stats.

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

Copy this rig

# review before running: this installs third-party code
$ claude mcp add kupu -- kupu
$ npx degit taniwhaai/arai/.claude ./rig-arai  # 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.

$ claude mcp add kupu -- kupu
$ npx degit taniwhaai/arai/.claude/skills/composition .claude/skills/composition
$ npx degit taniwhaai/arai/.claude/skills/contract-derivation .claude/skills/contract-derivation
$ npx degit taniwhaai/arai/.claude/skills/design-doc .claude/skills/design-doc
$ npx degit taniwhaai/arai/.claude/skills/dispatcher .claude/skills/dispatcher
$ npx degit taniwhaai/arai/.claude/skills/leaf-implementation .claude/skills/leaf-implementation
$ npx degit taniwhaai/arai/.claude/skills/orchestrator .claude/skills/orchestrator
$ npx degit taniwhaai/arai/.claude/skills/verifier .claude/skills/verifier
$ curl -fsSL --create-dirs -o .claude/agents/taniwha-composition.md https://raw.githubusercontent.com/taniwhaai/arai/main/.claude/agents/taniwha-composition.md
$ curl -fsSL --create-dirs -o .claude/agents/taniwha-contract-derivation.md https://raw.githubusercontent.com/taniwhaai/arai/main/.claude/agents/taniwha-contract-derivation.md
$ curl -fsSL --create-dirs -o .claude/agents/taniwha-design-doc.md https://raw.githubusercontent.com/taniwhaai/arai/main/.claude/agents/taniwha-design-doc.md
$ curl -fsSL --create-dirs -o .claude/agents/taniwha-leaf-implementation.md https://raw.githubusercontent.com/taniwhaai/arai/main/.claude/agents/taniwha-leaf-implementation.md
$ curl -fsSL --create-dirs -o .claude/agents/taniwha-orchestrator.md https://raw.githubusercontent.com/taniwhaai/arai/main/.claude/agents/taniwha-orchestrator.md
$ curl -fsSL --create-dirs -o .claude/agents/taniwha-verifier.md https://raw.githubusercontent.com/taniwhaai/arai/main/.claude/agents/taniwha-verifier.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": "*",
        "hooks": [
          {
            "type": "command",
            "command": "arai guardrails --match-stdin"
          }
        ]
      }
    ]
  }
}

MCP servers (1)

serversourceest. tokens
kupu binary 2.5k

Skills (7)

Subagents (6)

taniwha-composition
model: haiku
Wires two completed Taniwha modules together against a parent contract. Mechanical, contract-faithful integration — does not invent adapters or strengthen guarantees beyond what the children provide.
taniwha-contract-derivation
model: sonnet
Derives per-module contracts (manifests) and shared vocabulary from a Taniwha design document. Each manifest must be complete enough that an implementor working in isolation can build the module corre
taniwha-design-doc
model: sonnet
Produces the structural design document for a Taniwha project before any code is written. Invoked by the Taniwha dispatcher with the project brief. Returns either a draft design doc (Markdown) or a re
taniwha-leaf-implementation
model: sonnet
Implements a single Taniwha module against its contract manifest. Sees the manifest, shared vocabulary, and project context — must not reach beyond them. Writes source files to repo-root paths the dis
taniwha-orchestrator
model: sonnet
Ephemeral orchestrator subagent for a Taniwha project. Reads project state from .taniwha/, decides the single next action, writes next_action.yaml, and exits. Invoked by the dispatcher whenever a buil
taniwha-verifier
model: sonnet
Verifies that a Taniwha implementation or composition satisfies its contract's acceptance criteria. Reads the contract, source files, and project context independently, writes its own tests against th

Hooks (8)

eventmatcherruns
CwdChanged*arai guardrails --match-stdin
FileChangedCLAUDE.md|.cursorrules|.windsurfrules|copilot-instructions.mdarai guardrails --match-stdin
InstructionsLoaded*arai guardrails --match-stdin
PermissionDenied*arai guardrails --match-stdin
PostToolBatch*arai guardrails --match-stdin
PostToolUse*arai guardrails --match-stdin
PreToolUse*arai guardrails --match-stdin
UserPromptSubmit*arai guardrails --match-stdin

Similar rigs

copied ✓