From oracle
Ask the Oracle — a one-shot Fable answer from a stripped headless session (~1.3k tokens of overhead vs ~6k for the oracle subagent). Use when the user says "ask the oracle", "oracle,", or "/oracle <question>".
How this skill is triggered — by the user, by Claude, or both
Slash command
/oracle:oracleThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Send the question to a bare headless Fable session and relay the answer verbatim.
Send the question to a bare headless Fable session and relay the answer verbatim.
Never put a heredoc inside $(...) (i.e. q=$(cat <<'EOF' ... EOF)). On macOS's stock /bin/bash (3.2 — an old pre-GPLv3 build Apple never upgraded), a heredoc nested in a command substitution breaks the parser the instant the body contains a single quote (don't, it's, any contraction) — unexpected EOF while looking for matching. It's a real bash 3.2 bug, not a wording problem, and it reproduces even for a one-word heredoc; it doesn't happen in zsh or bash 4+, which is why it's intermittent depending on what's invoking the script.
Instead, write the question to a plain text file with the Write tool (no shell parsing of the content at all, so quotes/backticks/$ are inert), then read it back with a bare $(cat file) — safe because there's no heredoc involved.
Write the question, plus only the minimal context Oracle needs, to <scratchpad>/oracle_question.txt (use your actual scratchpad path) with the Write tool — plain text, no heredoc, no escaping.
Run with the Bash tool:
Q=<scratchpad>/oracle_question.txt
mode=--safe-mode
if [ -n "$ANTHROPIC_API_KEY" ]; then mode=--bare; fi
claude -p $mode --model fable --tools "WebSearch" --allowedTools "WebSearch" < /dev/null \
--system-prompt "You are Oracle. Answer as concisely as possible — the shortest response that is still correct and complete. Lead with the answer, in the first word if possible. State it with confidence; flag uncertainty only when it would change what the user does next. When a question is ambiguous, answer the most likely reading. Search the web only when the answer needs facts newer or more specific than your knowledge; otherwise answer directly." \
"$(cat "$Q")"
Notes: < /dev/null is required — claude -p otherwise stalls 3s waiting for stdin and prints a warning into the output. --bare (API key, off-quota) is used when ANTHROPIC_API_KEY is set, else --safe-mode (OAuth, on-quota).
Rules:
oracle_question.txt is Fable-priced. Pass the question and the few lines of context it genuinely needs — never file dumps or conversation history.oracle_question.txt.oracle subagent via the Agent tool and note the fallback costs ~6k tokens.Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
Guides reception of code review feedback: verify before implementing, avoid performative agreement, push back with technical reasoning when needed.
Forks private projects, strips secrets/internal references, verifies cleanliness, and packages them with CLAUDE.md, README, and setup.sh for safe public release.
npx claudepluginhub benjaminjackson/oracle --plugin oracle