بنقرة واحدة
claude-rig-init
Bootstrap Claude Code plumbing in a repo (settings, tmp dir, gitignore)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Bootstrap Claude Code plumbing in a repo (settings, tmp dir, gitignore)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
You may have peer Claude sessions cooperating with you, and a human whose terminal is recorded — claude-pod lets you read what they're doing
Compose a paste-ready condition for Claude Code's built-in /goal command — turn a rough intent into a measurable, self-verifying, self-terminating goal
Portfolio archaeology: scan ALL local branches for forgotten/neglected work and rank by 'could Claude do something useful on this right now?'
Analyze current work context and recommend top priorities
Resume a (often neglected) branch/worktree: where we left off, and what has to be true before the user can engage autopilot and walk away for minutes or hours
| name | claude-rig-init |
| description | Bootstrap Claude Code plumbing in a repo (settings, tmp dir, gitignore) |
| disable-model-invocation | true |
| allowed-tools | Bash |
mkdir -p tmp
touch .gitignore
for entry in ".claude/settings.local.json" ".claude/tmp/" "tmp/"; do
grep -qxF "$entry" .gitignore || echo "$entry" >> .gitignore
done
echo "=== tmp/ ==="
echo "EXISTS"
echo ""
echo "=== .gitignore ==="
cat .gitignore
echo ""
echo "=== .claude/ ==="
if [ -d .claude/tmp ]; then
echo ".claude/tmp/ EXISTS"
else
echo ".claude/tmp/ MISSING"
fi
if [ -f .claude/settings.json ]; then
echo ".claude/settings.json EXISTS"
cat .claude/settings.json
else
echo ".claude/settings.json MISSING"
fi
After the above runs, you MUST create anything reported as MISSING:
mkdir -p .claude/tmp (if .claude/tmp/ MISSING)touch .claude/settings.json (if .claude/settings.json MISSING)Note: The ensure-sandbox SessionStart hook adds .claude/tmp and tmp
to sandbox.filesystem.allowWrite in settings.local.json, so bash
commands can write to these directories without sandbox violations.
Summarize what was set up or already existed.