~ / rigs / mikecann / threadbear

mikecann/threadbear

A Mac app for running your Claude Code and Codex threads, on the subscriptions you already have. Comes with an iPhone app, and you get all the source.

↗ GitHub ★ 163 MIT updated today project Claude CodeCodex
field: Mobile apps
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~9.0k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details
Quality 29/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit mikecann/threadbear/.claude ./rig-threadbear  # 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|NotebookEdit",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/scripts/swift-freeze.sh --tool"
          }
        ]
      }
    ]
  }
}

Hooks (1)

eventmatcherruns
PreToolUseEdit|Write|MultiEdit|NotebookEdit"$CLAUDE_PROJECT_DIR"/scripts/swift-freeze.sh --tool

Similar rigs

copied ✓