~ / rigs / ognjenmarcheta / kaine-forge

ognjenmarcheta/kaine-forge

Agent-ready Turborepo template for full-stack TypeScript: GraphQL API, React web, Tauri desktop, Expo mobile, shared packages, and a generated multi-agent scaffold.

↗ GitHub ★ 2 Apache-2.0 updated today project Claude CodeCodex
field: unknown workflow: Git & commits
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
up to ~55.0k 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 24/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add filesystem -- npx --prefix=.ai -y @modelcontextprotocol/server-filesystem@2026.8.31 .
$ claude mcp add context7 -- npx --prefix=.ai -y @upstash/context7-mcp@4.1.1
$ claude mcp add --transport http better-auth https://mcp.better-auth.com/mcp
$ claude mcp add playwright -- npx --prefix=.ai -y @playwright/mcp@0.0.82 --headless --isolated --browser chrome --sandbox --output-dir=.ai.local/playwright
$ claude mcp add serena -e SERENA_USAGE_REPORTING=YOUR_SERENA_USAGE_REPORTING -- uvx --from serena-agent==2.1.0 serena start-mcp-server --project-from-cwd --context ide --agent-interface tools --open-web-dashboard False --mode editing --mode interactive
$ claude mcp add chrome-devtools -- npx --prefix=.ai -y chrome-devtools-mcp@1.10.1 --headless --isolated --no-usage-statistics --no-performance-crux
$ claude mcp add firecrawl -e FIRECRAWL_<redacted> -- npx --prefix=.ai -y firecrawl-mcp@3.25.5
$ claude mcp add graphify -- graphify-mcp graphify-out/graph.json
$ claude mcp add gitbutler -- but mcp serve
$ npx degit ognjenmarcheta/kaine-forge/.claude ./rig-kaine-forge  # 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 filesystem -- npx --prefix=.ai -y @modelcontextprotocol/server-filesystem@2026.8.31 .
$ claude mcp add context7 -- npx --prefix=.ai -y @upstash/context7-mcp@4.1.1
$ claude mcp add --transport http better-auth https://mcp.better-auth.com/mcp
$ claude mcp add playwright -- npx --prefix=.ai -y @playwright/mcp@0.0.82 --headless --isolated --browser chrome --sandbox --output-dir=.ai.local/playwright
$ claude mcp add serena -e SERENA_USAGE_REPORTING=YOUR_SERENA_USAGE_REPORTING -- uvx --from serena-agent==2.1.0 serena start-mcp-server --project-from-cwd --context ide --agent-interface tools --open-web-dashboard False --mode editing --mode interactive
$ claude mcp add chrome-devtools -- npx --prefix=.ai -y chrome-devtools-mcp@1.10.1 --headless --isolated --no-usage-statistics --no-performance-crux
$ claude mcp add firecrawl -e FIRECRAWL_<redacted> -- npx --prefix=.ai -y firecrawl-mcp@3.25.5
$ claude mcp add graphify -- graphify-mcp graphify-out/graph.json
$ claude mcp add gitbutler -- but mcp serve

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

{
  "permissions": {
    "deny": [
      "Bash(pnpm db:push)",
      "Bash(pnpm db:push *)",
      "Bash(pnpm clean-deps)",
      "Bash(pnpm clean-deps *)",
      "Bash(pnpm release:apps)",
      "Bash(pnpm release:apps *)",
      "Bash(gh pr merge)",
      "Bash(gh pr merge *)",
      "Bash(but land)",
      "Bash(but land *)",
      "Bash(but pr auto-merge)",
      "Bash(but pr auto-merge *)",
      "Bash(wt merge)",
      "Bash(wt merge *)",
      "Bash(wt step push)",
      "Bash(wt step push *)"
    ],
    "ask": [
      "Bash(pnpm db:seed)",
      "Bash(pnpm db:seed *)",
      "Bash(pnpm db:migrate)",
      "Bash(pnpm db:migrate *)",
      "Bash(pnpm reinstall-deps)",
      "Bash(pnpm reinstall-deps *)",
      "Bash(git reset --hard)",
      "Bash(git reset --hard *)",
      "Bash(wt step prune)",
      "Bash(wt step prune *)",
      "Bash(agent-desktop clipboard-get)",
      "Bash(agent-desktop clipboard-get *)",
      "Bash(agent-desktop close-app)",
      "Bash(agent-desktop close-app *)",
      "Bash(agent-desktop dismiss-all-notifications)",
      "Bash(agent-desktop dismiss-all-notifications *)",
      "Bash(agent-desktop notification-action)",
      "Bash(agent-desktop notification-action *)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "^(Bash|PowerShell)$",
        "hooks": [
          {
            "type": "command",
            "command": "node \"$(git rev-parse --show-toplevel)/.ai/hooks/pre-tool-use.mjs\" --agent claude"
          }
        ]
      }
    ]
  }
}

MCP servers (9)

serversourceest. tokens
Filesystem npm 4.2k
Context7 npm 1.2k
mcp.better-auth.com · "better-auth" remote · remote 2.5k
Playwright MCP · "playwright" npm 7.5k
Serena
env: SERENA_USAGE_REPORTING
pypi 8.0k
Chrome DevTools MCP · "chrome-devtools" npm 9.0k
Firecrawl
env: FIRECRAWL_API_KEY
npm 5.0k
graphify-mcp · "graphify" binary 2.5k
but · "gitbutler" binary 2.5k

Hooks (3)

eventmatcherruns
PreToolUse^(Bash|PowerShell)$node "$(git rev-parse --show-toplevel)/.ai/hooks/pre-tool-use.mjs" --agent claude
SessionStartstartup|resumenode "$(git rev-parse --show-toplevel)/.ai/hooks/session-start.mjs" --agent claude
UserPromptSubmit*node "$(git rev-parse --show-toplevel)/.ai/hooks/ai-refresh.mjs" --agent claude

Permissions

deny (16)
Bash(pnpm db:push)
Bash(pnpm db:push *)
Bash(pnpm clean-deps)
Bash(pnpm clean-deps *)
Bash(pnpm release:apps)
Bash(pnpm release:apps *)
Bash(gh pr merge)
Bash(gh pr merge *)
Bash(but land)
Bash(but land *)
Bash(but pr auto-merge)
Bash(but pr auto-merge *)
Bash(wt merge)
Bash(wt merge *)
Bash(wt step push)
Bash(wt step push *)
ask (18)
Bash(pnpm db:seed)
Bash(pnpm db:seed *)
Bash(pnpm db:migrate)
Bash(pnpm db:migrate *)
Bash(pnpm reinstall-deps)
Bash(pnpm reinstall-deps *)
Bash(git reset --hard)
Bash(git reset --hard *)
Bash(wt step prune)
Bash(wt step prune *)
Bash(agent-desktop clipboard-get)
Bash(agent-desktop clipboard-get *)
Bash(agent-desktop close-app)
Bash(agent-desktop close-app *)
Bash(agent-desktop dismiss-all-notifications)
Bash(agent-desktop dismiss-all-notifications *)
Bash(agent-desktop notification-action)
Bash(agent-desktop notification-action *)
allow (22)
mcp__context7__resolve-library-id
mcp__context7__query-docs
mcp__better-auth__search_docs
mcp__better-auth__get_doc
mcp__gitbutler__gitbutler_workspace
mcp__gitbutler__gitbutler_branch_details
mcp__gitbutler__gitbutler_commit_details
mcp__gitbutler__gitbutler_review_card
mcp__gitbutler__gitbutler_refresh_reviews
mcp__serena__initial_instructions
mcp__serena__find_symbol
mcp__serena__find_referencing_symbols
mcp__serena__get_symbols_overview
mcp__serena__search_for_pattern
mcp__serena__list_dir
mcp__serena__find_file
mcp__serena__find_declaration
mcp__serena__find_implementations
mcp__serena__get_diagnostics_for_file
mcp__serena__list_memories
mcp__serena__read_memory
mcp__serena__get_current_config

Similar rigs

copied ✓