一键导入
debug-script
Use when writing throw-away debug or exploration scripts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when writing throw-away debug or exploration scripts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when writing or modifying ZSH functions.
Use when user says "ralph <dir>" or "ralph this". Implements the highest-priority issue from state.json in the given directory using TDD, updates docs, runs review in a subagent, fixes actionable feedback, then stops for user to commit. Argument is the directory containing state.json and GUIDANCE.md.
Use when user says "sidequest". Compact conversation context into a document for a fresh agent to pick up.
Use when writing or modifying JavaScript code. Apply when adding functions, fixing bugs, or implementing features.
Use when writing or modifying Python code. Apply when adding functions, fixing bugs, or implementing features.
Use when creating or updating skills.
| name | debug-script |
| description | Use when writing throw-away debug or exploration scripts. |
Write a throw-away script when a Bash command is syntactically complex — multi-line, uses subshells, or involves non-trivial pipes.
jq to read JSON, and jo to write JSONpython or node to inspect JSON — use jq instead/tmp/oroshi/claude/scripts/inspect-hooks, dump-state)#!/usr/bin/env zshchmod +x before executingzsh path/to/file#!/usr/bin/env zsh
# Inspect allowlist entries that match a pattern
file="$1"
pattern="$2"
jq --arg p "$pattern" '.[] | select(test($p))' "$file"
chmod +x /tmp/oroshi/claude/scripts/inspect-allowlist
/tmp/oroshi/claude/scripts/inspect-allowlist tools/ai/claude/config/hooks/allowlist.json "scripts"
Same pattern — swap the shebang:
#!/usr/bin/env node
// Inspect allowlist entries that match a pattern
const [,, file, pattern] = process.argv;
const entries = JSON.parse(require('fs').readFileSync(file, 'utf8'));
entries.filter(e => e.includes(pattern)).forEach(e => console.log(e));
chmod +x /tmp/oroshi/claude/scripts/inspect-allowlist
/tmp/oroshi/claude/scripts/inspect-allowlist tools/ai/claude/config/hooks/allowlist.json scripts