~ / rigs / AsutoshPaluri / asutoshpaluri-claude-code

AsutoshPaluri/asutoshpaluri-claude-code

My personal Claude Code architecture — Skills, sub-agents, hooks, settings, MCP servers. Anchored on factforge.

↗ GitHub ★ 0 MIT updated 5mo ago project Claude Code
share on X
ARCHETYPE
Minimalist
Lean instructions, few tools, tiny context tax. Lets the model think.
CONTEXT TAX · EVERY TURN
~0 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details

Copy this rig

$ git clone --depth 1 https://github.com/AsutoshPaluri/asutoshpaluri-claude-code

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.

{
  "permissions": {
    "deny": [
      "Bash(rm -rf:*)",
      "Bash(git push --force:*)",
      "Bash(git push -f:*)",
      "Bash(git reset --hard:*)",
      "Bash(sudo:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "/bin/zsh -c 'jq -r .tool_input.command 2>/dev/null | grep -q \"modal deploy\" && echo \"=== PROD DEPLOY ABOUT TO RUN ===\" >&2 || true'"
          }
        ]
      }
    ]
  }
}

Hooks (3)

eventmatcherruns
PostToolUseEdit|Write|MultiEdit/bin/zsh -c 'jq -r .tool_input.file_path 2>/dev/null | grep -E "\.py$" | xargs -I{} sh -c "ruff format {} >/dev/null 2>&1; ruff check --fix --select=I {} >/dev/null 2>&1" || true'
PreToolUseBash/bin/zsh -c 'jq -r .tool_input.command 2>/dev/null | grep -q "modal deploy" && echo "=== PROD DEPLOY ABOUT TO RUN ===" >&2 || true'
Stop*/bin/zsh -c 'test -x ~/.claude/spend-check.sh && ~/.claude/spend-check.sh || true'

Permissions

deny (5)
Bash(rm -rf:*)
Bash(git push --force:*)
Bash(git push -f:*)
Bash(git reset --hard:*)
Bash(sudo:*)
ask (0)
—
allow (21)
Bash(uv:*)
Bash(uv run:*)
Bash(uv sync:*)
Bash(uv add:*)
Bash(ruff:*)
Bash(pyright:*)
Bash(pytest:*)
Bash(npm:*)
Bash(npx:*)
Bash(git status)
Bash(git diff:*)
Bash(git log:*)
Bash(git add:*)
Bash(git commit:*)
Bash(git pull:*)
Bash(git push)
Bash(modal deploy:*)
Bash(modal secret:*)
Bash(modal app list)
Bash(modal logs:*)
Bash(curl:*)

Similar rigs

copied ✓