~ / rigs / rumotion / ai-agent-project-template

rumotion/ai-agent-project-template

A portable template for AI coding projects: canonical AGENTS.md instructions, shared project memory, validated context, bounded worker reports and dependency-free tooling.

share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~2.5k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit rumotion/ai-agent-project-template/.claude ./rig-ai-agent-project-template  # 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 rumotion/ai-agent-project-template/.agents/skills/code-reviewer .claude/skills/code-reviewer
$ npx degit rumotion/ai-agent-project-template/.agents/skills/delegation-coordinator .claude/skills/delegation-coordinator
$ npx degit rumotion/ai-agent-project-template/.agents/skills/docs-memory-maintainer .claude/skills/docs-memory-maintainer
$ npx degit rumotion/ai-agent-project-template/.agents/skills/human-voice-drafting .claude/skills/human-voice-drafting
$ npx degit rumotion/ai-agent-project-template/.agents/skills/karpathy-engineer .claude/skills/karpathy-engineer
$ npx degit rumotion/ai-agent-project-template/.agents/skills/local-media-transcription .claude/skills/local-media-transcription
$ npx degit rumotion/ai-agent-project-template/.agents/skills/project-planner .claude/skills/project-planner
$ npx degit rumotion/ai-agent-project-template/.agents/skills/project-upgrader .claude/skills/project-upgrader
$ npx degit rumotion/ai-agent-project-template/.agents/skills/sharepoint-teams-video-transcript-downloader .claude/skills/sharepoint-teams-video-transcript-downloader
$ npx degit rumotion/ai-agent-project-template/.agents/skills/storm-research .claude/skills/storm-research
$ npx degit rumotion/ai-agent-project-template/.agents/skills/test-strategist .claude/skills/test-strategist
$ curl -fsSL --create-dirs -o .claude/agents/reviewer.md https://raw.githubusercontent.com/rumotion/ai-agent-project-template/main/.claude/agents/reviewer.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.*)",
      "Read(**/.env)",
      "Read(**/.env.*)",
      "Read(**/*.pem)",
      "Read(**/*.key)",
      "Read(**/*.p12)",
      "Read(**/id_rsa*)",
      "Read(**/id_ed25519*)",
      "Read(**/credentials.json)",
      "Read(**/token.json)",
      "Read(**/.aws/**)",
      "Read(**/.ssh/**)",
      "Write(.env)",
      "Write(.env.*)",
      "Write(**/*.pem)",
      "Write(**/*.key)",
      "Bash(git push:*)",
      "Bash(git remote add:*)",
      "Bash(git remote set-url:*)",
      "Bash(git remote rename:*)",
      "Bash(gh pr create:*)",
      "Bash(gh repo create:*)",
      "Bash(gh release create:*)",
      "Bash(gh issue create:*)",
      "Bash(gh gist create:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Write|Edit",
        "hooks": [
          {
            "type": "command",
            "command": "python \"$CLAUDE_PROJECT_DIR/scripts/hooks/guard-sensitive-paths.py\" --client claude"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python \"$CLAUDE_PROJECT_DIR/scripts/hooks/guard-remote-ops.py\" --client claude"
          },
          {
            "type": "command",
            "command": "python \"$CLAUDE_PROJECT_DIR/scripts/hooks/guard-sensitive-paths.py\" --client claude"
          }
        ]
      }
    ]
  }
}

Skills (11)

Subagents (1)

reviewerRead-only review of a frozen artifact or diff using the repository reviewer contract.

Hooks (6)

eventmatcherruns
SessionStart*python "$CLAUDE_PROJECT_DIR/scripts/hooks/session-context.py" --event session-start --client claude --workspace-root "$CLAUDE_PROJECT_DIR"
PreCompact*python "$CLAUDE_PROJECT_DIR/scripts/hooks/session-context.py" --event pre-compact --client claude --workspace-root "$CLAUDE_PROJECT_DIR"
PreToolUseWrite|Editpython "$CLAUDE_PROJECT_DIR/scripts/hooks/guard-sensitive-paths.py" --client claude
PreToolUseBashpython "$CLAUDE_PROJECT_DIR/scripts/hooks/guard-remote-ops.py" --client claude
PreToolUseBashpython "$CLAUDE_PROJECT_DIR/scripts/hooks/guard-sensitive-paths.py" --client claude
PostToolUseWrite|Editpython "$CLAUDE_PROJECT_DIR/scripts/hooks/log-writes.py" --client claude --workspace-root "$CLAUDE_PROJECT_DIR"

Slash commands (3)

/handoff/save-context/start-task

Cursor rules (1)

agents · always

Permissions

deny (26)
Read(.env)
Read(.env.*)
Read(**/.env)
Read(**/.env.*)
Read(**/*.pem)
Read(**/*.key)
Read(**/*.p12)
Read(**/id_rsa*)
Read(**/id_ed25519*)
Read(**/credentials.json)
Read(**/token.json)
Read(**/.aws/**)
Read(**/.ssh/**)
Write(.env)
Write(.env.*)
Write(**/*.pem)
Write(**/*.key)
Bash(git push:*)
Bash(git remote add:*)
Bash(git remote set-url:*)
Bash(git remote rename:*)
Bash(gh pr create:*)
Bash(gh repo create:*)
Bash(gh release create:*)
Bash(gh issue create:*)
Bash(gh gist create:*)
ask (0)
—
allow (11)
Read(**)
Glob(**)
Grep(**)
Bash(git status)
Bash(git status:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git show:*)
Bash(git branch:*)
Bash(git remote -v)
Bash(python scripts/*)

Similar rigs

copied ✓