~ / rigs / hiroyuki-miyauchi / axiarch

hiroyuki-miyauchi/axiarch

Constitution-driven governance framework for AI agents. 2,500+ universal standards, self-evolving knowledge base, and AI behavior protocols. Validated on Google Antigravity.

↗ GitHub ★ 3 Apache-2.0 updated 7d ago project Claude CodeCodexCursorCopilot
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~136 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit hiroyuki-miyauchi/axiarch/.claude ./rig-axiarch  # 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.

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": "Write",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"${CLAUDE_PROJECT_DIR:-.}/axiarch-scripts/axiarch-protect-antifull.sh\""
          }
        ]
      }
    ]
  }
}

Hooks (6)

eventmatcherruns
SessionStart*bash "${CLAUDE_PROJECT_DIR:-.}/axiarch-scripts/axiarch-init-task-md.sh"
UserPromptSubmit*bash "${CLAUDE_PROJECT_DIR:-.}/axiarch-scripts/axiarch-boot-reminder.sh"
PreToolUseWritebash "${CLAUDE_PROJECT_DIR:-.}/axiarch-scripts/axiarch-protect-antifull.sh"
PostToolUseEditbash "${CLAUDE_PROJECT_DIR:-.}/axiarch-scripts/axiarch-diff-guard.sh"
PostToolUseMultiEditbash "${CLAUDE_PROJECT_DIR:-.}/axiarch-scripts/axiarch-diff-guard.sh"
PostToolUseWritebash "${CLAUDE_PROJECT_DIR:-.}/axiarch-scripts/axiarch-diff-guard.sh"

Cursor rules (1)

axiarch · always

Similar rigs

copied ✓