~ / rigs / jakejb53 / span

jakejb53/span

Allow coding agents to copy large blocks of files without reading them

↗ GitHub ★ 1 MIT updated 3mo 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
2/5
Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit jakejb53/span/.claude ./rig-span  # 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.

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

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "span-guard"
          }
        ]
      }
    ]
  }
}

Hooks (1)

eventmatcherruns
PreToolUseEdit|Write|MultiEditspan-guard

Permissions

deny (0)
—
ask (0)
—
allow (1)
Bash(span:*)

Similar rigs

copied ✓