Chisanan232/coding-agent-environment
Reproducible, portable, profile-aware Claude Code and Codex coding-agent environment — versioned config, hooks, skills, MCP/plugin desired state, toolchain, and directory-scoped profiles
field: Developer tools workflow: Git & commitsDebuggingPlanning & specsCI/CD & deployPR / code review
stack: Python
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
up to ~44.2k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Context hog · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 34/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code $ claude mcp add fetch -- uvx mcp-server-fetch $ claude mcp add sonarqube -e SONAR_HOST_URL=YOUR_SONAR_HOST_URL -e SONAR_<redacted> -- docker run --rm -i -e SONAR_TOKEN -e SONAR_HOST_URL mcp/sonarqube $ claude mcp add codecov -e CODECOV_<redacted> -- docker run --rm -i -e CODECOV_TOKEN mcp/codecov $ claude mcp add slack -e SLACK_BOT_<redacted> -e SLACK_TEAM_ID=YOUR_SLACK_TEAM_ID -- docker run --rm -i -e SLACK_BOT_TOKEN -e SLACK_TEAM_ID ghcr.io/chisanan232/slack-mcp-server:latest $ claude mcp add clickup -e CLICKUP_API_<redacted> -- docker run --rm -i -e CLICKUP_API_<redacted>:latest $ claude mcp add jira -e JIRA_API_<redacted> -e JIRA_URL=YOUR_JIRA_URL -e JIRA_USERNAME=YOUR_JIRA_USERNAME -- uvx mcp-atlassian $ claude mcp add playwright -- npx -y @playwright/mcp@latest $ claude mcp add datadog -e DD_<redacted> -e DD_APP_KEY=YOUR_DD_APP_KEY -- docker run --rm -i -e DD_API_KEY -e DD_APP_KEY mcp/datadog $ claude mcp add Framelink-MCP-for-Figma -- npx -y figma-developer-mcp --figma-api-key=${FIGMA_API_KEY} --stdio $ claude mcp add codebase-memory-mcp -- npx -y codebase-memory-mcp $ npx degit Chisanan232/coding-agent-environment/.claude ./rig-coding-agent-environment # 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 fetch -- uvx mcp-server-fetch $ claude mcp add sonarqube -e SONAR_HOST_URL=YOUR_SONAR_HOST_URL -e SONAR_<redacted> -- docker run --rm -i -e SONAR_TOKEN -e SONAR_HOST_URL mcp/sonarqube $ claude mcp add codecov -e CODECOV_<redacted> -- docker run --rm -i -e CODECOV_TOKEN mcp/codecov $ claude mcp add slack -e SLACK_BOT_<redacted> -e SLACK_TEAM_ID=YOUR_SLACK_TEAM_ID -- docker run --rm -i -e SLACK_BOT_TOKEN -e SLACK_TEAM_ID ghcr.io/chisanan232/slack-mcp-server:latest $ claude mcp add clickup -e CLICKUP_API_<redacted> -- docker run --rm -i -e CLICKUP_API_<redacted>:latest $ claude mcp add jira -e JIRA_API_<redacted> -e JIRA_URL=YOUR_JIRA_URL -e JIRA_USERNAME=YOUR_JIRA_USERNAME -- uvx mcp-atlassian $ claude mcp add playwright -- npx -y @playwright/mcp@latest $ claude mcp add datadog -e DD_<redacted> -e DD_APP_KEY=YOUR_DD_APP_KEY -- docker run --rm -i -e DD_API_KEY -e DD_APP_KEY mcp/datadog $ claude mcp add Framelink-MCP-for-Figma -- npx -y figma-developer-mcp --figma-api-key=${FIGMA_API_KEY} --stdio $ claude mcp add codebase-memory-mcp -- npx -y codebase-memory-mcp
$ npx degit Chisanan232/coding-agent-environment/.claude/skills/acceptance-validation .claude/skills/acceptance-validation $ npx degit Chisanan232/coding-agent-environment/.claude/skills/architecture-design .claude/skills/architecture-design $ npx degit Chisanan232/coding-agent-environment/.claude/skills/bot-pr-maintainer .claude/skills/bot-pr-maintainer $ npx degit Chisanan232/coding-agent-environment/.claude/skills/ci-failure-triage .claude/skills/ci-failure-triage $ npx degit Chisanan232/coding-agent-environment/.claude/skills/code-review-prep .claude/skills/code-review-prep $ npx degit Chisanan232/coding-agent-environment/.claude/skills/codebase-memory .claude/skills/codebase-memory $ npx degit Chisanan232/coding-agent-environment/.claude/skills/cross-repo-coordinator .claude/skills/cross-repo-coordinator $ npx degit Chisanan232/coding-agent-environment/.claude/skills/decision-delegation .claude/skills/decision-delegation $ npx degit Chisanan232/coding-agent-environment/.claude/skills/dependency-upgrade-review .claude/skills/dependency-upgrade-review $ npx degit Chisanan232/coding-agent-environment/.claude/skills/dev-impl-loop .claude/skills/dev-impl-loop $ npx degit Chisanan232/coding-agent-environment/.claude/skills/engineering-runtime .claude/skills/engineering-runtime $ npx degit Chisanan232/coding-agent-environment/.claude/skills/engineering-workflow .claude/skills/engineering-workflow $ npx degit Chisanan232/coding-agent-environment/.claude/skills/evidence-first-briefing .claude/skills/evidence-first-briefing $ npx degit Chisanan232/coding-agent-environment/.claude/skills/feature-implementation .claude/skills/feature-implementation $ npx degit Chisanan232/coding-agent-environment/.claude/skills/go-golangci-fixing .claude/skills/go-golangci-fixing $ npx degit Chisanan232/coding-agent-environment/.claude/skills/go-vet-debugging .claude/skills/go-vet-debugging $ npx degit Chisanan232/coding-agent-environment/.claude/skills/memory-handoff .claude/skills/memory-handoff $ npx degit Chisanan232/coding-agent-environment/.claude/skills/morning-brief .claude/skills/morning-brief $ npx degit Chisanan232/coding-agent-environment/.claude/skills/node-precommit-repair .claude/skills/node-precommit-repair $ npx degit Chisanan232/coding-agent-environment/.claude/skills/pdf-operations .claude/skills/pdf-operations $ npx degit Chisanan232/coding-agent-environment/.claude/skills/post-merge-close .claude/skills/post-merge-close $ npx degit Chisanan232/coding-agent-environment/.claude/skills/pr-feedback-response .claude/skills/pr-feedback-response $ npx degit Chisanan232/coding-agent-environment/.claude/skills/pr-health-check .claude/skills/pr-health-check $ npx degit Chisanan232/coding-agent-environment/.claude/skills/pr-readiness .claude/skills/pr-readiness $ npx degit Chisanan232/coding-agent-environment/.claude/skills/project-setup .claude/skills/project-setup $ npx degit Chisanan232/coding-agent-environment/.claude/skills/python-mypy-debugging .claude/skills/python-mypy-debugging $ npx degit Chisanan232/coding-agent-environment/.claude/skills/python-precommit-repair .claude/skills/python-precommit-repair $ npx degit Chisanan232/coding-agent-environment/.claude/skills/python-pytest-failure-debugging .claude/skills/python-pytest-failure-debugging $ npx degit Chisanan232/coding-agent-environment/.claude/skills/python-ruff-fixing .claude/skills/python-ruff-fixing $ npx degit Chisanan232/coding-agent-environment/.claude/skills/release-preparation .claude/skills/release-preparation $ npx degit Chisanan232/coding-agent-environment/.claude/skills/release-readiness .claude/skills/release-readiness $ npx degit Chisanan232/coding-agent-environment/.claude/skills/release-watch .claude/skills/release-watch $ npx degit Chisanan232/coding-agent-environment/.claude/skills/task-decomposition .claude/skills/task-decomposition $ npx degit Chisanan232/coding-agent-environment/.claude/skills/test-design .claude/skills/test-design $ npx degit Chisanan232/coding-agent-environment/.claude/skills/ticket-intake .claude/skills/ticket-intake $ npx degit Chisanan232/coding-agent-environment/.claude/skills/ticket-pickup-check .claude/skills/ticket-pickup-check $ npx degit Chisanan232/coding-agent-environment/.claude/skills/typescript-eslint-fixing .claude/skills/typescript-eslint-fixing $ npx degit Chisanan232/coding-agent-environment/.claude/skills/typescript-tsc-debugging .claude/skills/typescript-tsc-debugging $ npx degit Chisanan232/coding-agent-environment/.claude/skills/workflow-resume .claude/skills/workflow-resume
$ curl -fsSL --create-dirs -o .claude/agents/haiku-worker.md https://raw.githubusercontent.com/Chisanan232/coding-agent-environment/main/.claude/agents/haiku-worker.md $ curl -fsSL --create-dirs -o .claude/agents/opus-architect.md https://raw.githubusercontent.com/Chisanan232/coding-agent-environment/main/.claude/agents/opus-architect.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"ask": [
"Bash(git worktree add -B*)",
"Bash(rtk git worktree add -B*)",
"Bash(git worktree add * -B*)",
"Bash(rtk git worktree add * -B*)",
"Bash(git worktree add -f*)",
"Bash(rtk git worktree add -f*)",
"Bash(git worktree add * -f*)",
"Bash(rtk git worktree add * -f*)",
"Bash(git worktree add --f*)",
"Bash(rtk git worktree add --f*)",
"Bash(git worktree add * --f*)",
"Bash(rtk git worktree add * --f*)",
"Bash(git * worktree add* -B*)",
"Bash(rtk git * worktree add* -B*)",
"Bash(git * worktree add* -f*)",
"Bash(rtk git * worktree add* -f*)",
"Bash(git * worktree add* --f*)",
"Bash(rtk git * worktree add* --f*)",
"Bash(git*--output*)",
"Bash(rtk git*--output*)",
"Bash(git*--ext-diff*)",
"Bash(rtk git*--ext-diff*)",
"Bash(git*--no-index*)",
"Bash(rtk git*--no-index*)",
"Bash(git fetch*--upl*)",
"Bash(rtk git fetch*--upl*)",
"Bash(git worktree remove* -f*)",
"Bash(rtk git worktree remove* -f*)",
"Bash(git worktree remove* --f*)",
"Bash(rtk git worktree remove* --f*)",
"Bash(git * worktree remove*)",
"Bash(rtk git * worktree remove*)",
"Bash(git * worktree prune*)",
"Bash(rtk git * worktree prune*)",
"Bash(git * worktree move*)",
"Bash(rtk git * worktree move*)",
"Bash(git worktree unlock *)",
"Bash(rtk git worktree unlock *)",
"Bash(git worktree prune:*)",
"Bash(rtk git worktree prune:*)",
"Bash(git worktree move *)",
"Bash(rtk git worktree move *)",
"Bash(git push --force*)",
"Bash(git push * --force*)",
"Bash(git push -f *)",
"Bash(git push * -f *)",
"Bash(rtk git push --force*)",
"Bash(rtk git push * --force*)",
"Bash(rtk git push -f *)",
"Bash(rtk git push * -f *)",
"Bash(git reset --hard *)",
"Bash(rtk git reset --hard *)",
"Bash(git clean -f*)",
"Bash(rtk git clean -f*)",
"Bash(kill -9 *)",
"Bash(rtk kill -9 *)",
"Bash(pkill *)",
"Bash(rtk pkill *)",
"Bash(killall *)",
"Bash(rtk killall *)",
"Bash(gh repo delete *)",
"Bash(rtk gh repo delete *)",
"Bash(gh api * -X DELETE*)",
"Bash(rtk gh api * -X DELETE*)",
"Bash(gh api * --method DELETE*)",
"Bash(rtk gh api * --method DELETE*)",
"Bash(gh api -X DELETE*)",
"Bash(gh api --method DELETE*)",
"Bash(rtk gh api -X DELETE*)",
"Bash(rtk gh api --method DELETE*)",
"Bash(terraform apply:*)",
"Bash(rtk terraform apply:*)",
"mcp__gcloud__run_gcloud_command",
"mcp__polar-production__execute_tool",
"mcp__neon__create_credential",
"mcp__neon__revoke_credential",
"mcp__neon__delete_project",
"mcp__neon__delete_branch",
"mcp__neon__delete_postgres_database",
"mcp__neon__delete_postgres_role"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "rtk hook claude"
}
]
},
{
"matcher": "Grep|Glob",
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/cbm-code-discovery-gate"
}
]
}
]
}
} MCP servers (10)
| server | source | est. tokens |
|---|---|---|
| Fetch | pypi | 450 |
| mcp/sonarqube · "sonarqube" env: SONAR_HOST_URL, SONAR_TOKEN | docker | 2.5k |
| mcp/codecov · "codecov" env: CODECOV_TOKEN | docker | 2.5k |
| ghcr.io/chisanan232/slack-mcp-server · "slack" env: SLACK_BOT_TOKEN, SLACK_TEAM_ID | docker | 2.5k |
| ghcr.io/chisanan232/clickup-mcp-server · "clickup" env: CLICKUP_API_TOKEN | docker | 2.5k |
| Atlassian · "jira" env: JIRA_API_TOKEN, JIRA_URL, JIRA_USERNAME | pypi | 10.0k |
| Playwright MCP · "playwright" | npm | 7.5k |
| mcp/datadog · "datadog" env: DD_API_KEY, DD_APP_KEY | docker | 2.5k |
| Figma · "Framelink MCP for Figma" | npm | 3.0k |
| codebase-memory-mcp | npm | 2.5k |
Skills (39)
acceptance-validationarchitecture-designbot-pr-maintainerci-failure-triagecode-review-prepcodebase-memorycross-repo-coordinatordecision-delegationdependency-upgrade-reviewdev-impl-loopengineering-runtimeengineering-workflowevidence-first-briefingfeature-implementationgo-golangci-fixinggo-vet-debuggingmemory-handoffmorning-briefnode-precommit-repairpdf-operationspost-merge-closepr-feedback-responsepr-health-checkpr-readinessproject-setuppython-mypy-debuggingpython-precommit-repairpython-pytest-failure-debuggingpython-ruff-fixingrelease-preparationrelease-readinessrelease-watchtask-decompositiontest-designticket-intaketicket-pickup-checktypescript-eslint-fixingtypescript-tsc-debuggingworkflow-resume
Subagents (2)
| haiku-worker model: claude-haiku-5-5 | > |
| opus-architect model: opus | > |
Hooks (10)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash | rtk hook claude |
| PreToolUse | Grep|Glob | ~/.claude/hooks/cbm-code-discovery-gate |
| PostToolUse | Bash|Monitor|Workflow | python3 ~/.claude/hooks/bg-track.py |
| SubagentStart | * | python3 ~/.claude/hooks/bg-track.py |
| SubagentStop | * | python3 ~/.claude/hooks/bg-track.py |
| UserPromptSubmit | * | codegraph prompt-hook |
| SessionStart | startup | ~/.claude/hooks/cbm-session-reminder |
| SessionStart | resume | ~/.claude/hooks/cbm-session-reminder |
| SessionStart | clear | ~/.claude/hooks/cbm-session-reminder |
| SessionStart | compact | ~/.claude/hooks/cbm-session-reminder |
Permissions
deny (0)
—
ask (120)
Bash(git worktree add -B*)
Bash(rtk git worktree add -B*)
Bash(git worktree add * -B*)
Bash(rtk git worktree add * -B*)
Bash(git worktree add -f*)
Bash(rtk git worktree add -f*)
Bash(git worktree add * -f*)
Bash(rtk git worktree add * -f*)
Bash(git worktree add --f*)
Bash(rtk git worktree add --f*)
Bash(git worktree add * --f*)
Bash(rtk git worktree add * --f*)
Bash(git * worktree add* -B*)
Bash(rtk git * worktree add* -B*)
Bash(git * worktree add* -f*)
Bash(rtk git * worktree add* -f*)
Bash(git * worktree add* --f*)
Bash(rtk git * worktree add* --f*)
Bash(git*--output*)
Bash(rtk git*--output*)
Bash(git*--ext-diff*)
Bash(rtk git*--ext-diff*)
Bash(git*--no-index*)
Bash(rtk git*--no-index*)
Bash(git fetch*--upl*)
Bash(rtk git fetch*--upl*)
Bash(git worktree remove* -f*)
Bash(rtk git worktree remove* -f*)
Bash(git worktree remove* --f*)
Bash(rtk git worktree remove* --f*)
Bash(git * worktree remove*)
Bash(rtk git * worktree remove*)
Bash(git * worktree prune*)
Bash(rtk git * worktree prune*)
Bash(git * worktree move*)
Bash(rtk git * worktree move*)
Bash(git worktree unlock *)
Bash(rtk git worktree unlock *)
Bash(git worktree prune:*)
Bash(rtk git worktree prune:*)
Bash(git worktree move *)
Bash(rtk git worktree move *)
Bash(git push --force*)
Bash(git push * --force*)
Bash(git push -f *)
Bash(git push * -f *)
Bash(rtk git push --force*)
Bash(rtk git push * --force*)
Bash(rtk git push -f *)
Bash(rtk git push * -f *)
Bash(git reset --hard *)
Bash(rtk git reset --hard *)
Bash(git clean -f*)
Bash(rtk git clean -f*)
Bash(kill -9 *)
Bash(rtk kill -9 *)
Bash(pkill *)
Bash(rtk pkill *)
Bash(killall *)
Bash(rtk killall *)
allow (120)
mcp__codegraph__*
Bash(gh pr merge:*)
mcp__github__merge_pull_request
Bash(terraform init:*)
Bash(terraform validate:*)
Bash(terraform plan:*)
Bash(terraform fmt:*)
Bash(rtk terraform plan:*)
Bash(git add *)
Bash(rtk git add *)
Bash(git commit *)
Bash(rtk git commit *)
Bash(git fetch *)
Bash(rtk git fetch *)
Bash(git branch *)
Bash(rtk git branch *)
Bash(git checkout -b *)
Bash(git switch -c *)
Bash(git worktree list:*)
Bash(rtk git worktree list:*)
Bash(git worktree add -b *)
Bash(rtk git worktree add -b *)
Bash(git worktree add * -b *)
Bash(rtk git worktree add * -b *)
Bash(git worktree add --detach *)
Bash(rtk git worktree add --detach *)
Bash(git worktree add * --detach*)
Bash(rtk git worktree add * --detach*)
Bash(git worktree repair)
Bash(rtk git worktree repair)
Bash(git worktree lock *)
Bash(rtk git worktree lock *)
Bash(git status:*)
Bash(rtk git status:*)
Bash(git log:*)
Bash(rtk git log:*)
Bash(git diff:*)
Bash(rtk git diff:*)
Bash(git show:*)
Bash(rtk git show:*)
Bash(rtk proxy git diff:*)
Bash(rtk proxy git show:*)
Bash(rtk proxy git log:*)
Bash(rtk proxy git status:*)
Bash(rtk proxy git rev-parse:*)
Bash(rtk proxy git rev-list:*)
Bash(rtk proxy git ls-files:*)
Bash(rtk proxy git merge-base:*)
Bash(rtk proxy git ls-tree:*)
Bash(rtk proxy git describe:*)
Bash(git ls-tree:*)
Bash(rtk git ls-tree:*)
Bash(git merge-base:*)
Bash(rtk git merge-base:*)
Bash(git describe:*)
Bash(rtk git describe:*)
Bash(rtk proxy grep:*)
Bash(rtk proxy cargo test:*)
Bash(rtk proxy cargo build:*)
Bash(rtk proxy cargo check:*)
Similar rigs
MarkoDragnic/claude-sdd-template
Spec-driven Claude Code template: spec or Jira plus Figma to tested code, one task at a time, with auto and human gates.
Pragmatist 21.3k tok · · Q20
absjabed/ai-dev-harness
AI Dev Harness: AI-driven development lifecycle (AI DLC) template for Claude Code. Specialist agents take work from spec to PR through review, security and runtime-verification gates, with hooks guarding git and production. Configure per pr
Orchestrator 25.7k tok · · Q54
jcchikikomori/dotfiles-claude
Claude Code configuration for dotfiles (stow package)
MCP Hoarder 62.6k tok · · Q5
lex13s/aissembly
An AI agent assembly line for React Native / Expo apps — a full pipeline of specialized agents (orchestrator → architect → developer → tester → reviewer → security → release → docs) plus native Claude Code subagents. Self-contained, drop-in
Pragmatist 11.6k tok · · Q0