~ / 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 ★ 1 MIT updated 1d ago project Claude CodeCodex
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~35.5k tokens
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

Copy this rig

# review before running: this installs third-party code
$ claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem@2026.8.31 .
$ claude mcp add context7 -- npx -y @upstash/context7-mcp@4.1.1
$ claude mcp add playwright -- npx -y @playwright/mcp@0.0.82
$ claude mcp add serena -- uvx --from 'git+https://github.com/oraios/serena@<redacted>' serena start-mcp-server --project-from-cwd --context ide --mode editing --mode interactive
$ claude mcp add firecrawl -e FIRECRAWL_<redacted> -- npx -y firecrawl-mcp@3.25.5
$ claude mcp add graphify -- graphify-mcp graphify-out/graph.json
$ 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 -y @modelcontextprotocol/server-filesystem@2026.8.31 .
$ claude mcp add context7 -- npx -y @upstash/context7-mcp@4.1.1
$ claude mcp add playwright -- npx -y @playwright/mcp@0.0.82
$ claude mcp add serena -- uvx --from 'git+https://github.com/oraios/serena@<redacted>' serena start-mcp-server --project-from-cwd --context ide --mode editing --mode interactive
$ claude mcp add firecrawl -e FIRECRAWL_<redacted> -- npx -y firecrawl-mcp@3.25.5
$ claude mcp add graphify -- graphify-mcp graphify-out/graph.json

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 *)"
    ],
    "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 *)"
    ]
  },
  "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 (6)

serversourceest. tokens
Filesystem npm 4.2k
Context7 npm 1.2k
Playwright MCP · "playwright" npm 7.5k
Serena git 8.0k
Firecrawl
env: FIRECRAWL_API_KEY
npm 5.0k
graphify-mcp · "graphify" binary 2.5k

Hooks (2)

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

Permissions

deny (8)
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 *)
ask (8)
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 *)
allow (0)
—

Similar rigs

copied ✓