Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

claude-fable-advisor

БесплатноЗапускает вложенные скриптыНе проверен

Use Anthropic Claude Fable 5 through Claude Code as a subscription-backed external advisor, reviewer, or planner for Codex work. Use when the user asks for…

ma08от ma08★ 31 звезда на GitHub

Об этом скилле

Claude Fable Advisor

Use Claude Code to ask Fable 5 for an external opinion only after proving the Claude process is using first-party claude.ai subscription auth. Treat Fable's answer as advisory; verify it against local code, tests, docs, and user intent.

Route Rule

Never run a Fable request through Bedrock, Vertex, Foundry, Claude Platform on AWS, ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, ANTHROPIC_BASE_URL, or claude auth login --console.

Before every live request, use scripts/run_fable_advisor.py. The script:

  • strips known provider/API billing variables from the child environment;
  • runs Claude in safe mode with an explicit empty strict MCP configuration;
  • strips common cloud, GitHub, and app credential environment variables from tool-enabled runs unless --inherit-credentials is explicitly supplied;
  • runs claude auth status --json;
  • loads a runner-only long-lived subscription token from $BOTFILES_ROOT/secrets/local/claude-fable-oauth-token when present, without exporting it to ordinary Claude Code sessions;
  • refuses unless the status shows loggedIn=true, apiProvider=firstParty, and either a paid claude.ai stored login or an oauth_token credential loaded from the runner-only subscription token source;
  • runs claude --model fable --effort max -p ... only after the gate passes;
  • disables Claude tools by default and writes reusable output artifacts;
  • provides --read-only-review for credential-stripped repository inspection with Read, Glob, Grep, and narrowly pre-approved read-only Git commands;
  • can opt into all default tools with --with-tools, a bounded allowlist with --tools "Read,Bash", and full permission bypass with --yolo.

Do not use claude --bare for this workflow. Bare mode skips OAuth/keychain subscription auth and expects API-key or third-party-provider credentials.

Workflow

  1. Decide whether Fable is worth the quota. Use it for hard planning, design tradeoffs, proof/logic review, stuck debugging, final risk review, or an independent critique. Skip it for routine edits or questions a local Codex pass can answer cheaply.

  2. Write a standalone prompt. Include the goal, constraints, relevant facts, what has already been tried, and desired output shape. Do not include secrets.

  3. Attach only the files Fable needs. Prefer a small set of source files, diffs, plans, logs, or status notes over whole-repo dumps.

  4. Run a route-only check when uncertain:

    uv run python "$HOME/pro/botfiles/codex/skills/claude-fable-advisor/scripts/run_fable_advisor.py" \
      --check-only \
      --output-dir /path/to/artifacts/fable-route-check
    

    For more stable non-interactive authentication, configure the runner-only long-lived token once from a private terminal:

    uv run python "$HOME/pro/botfiles/codex/skills/claude-fable-advisor/scripts/setup_fable_oauth_token.py"
    

    This invokes claude setup-token, accepts the resulting token through a hidden prompt, and stores it in the git-ignored machine-local secret file at mode 0600. Never paste the token into Codex, task artifacts, shell history, or tracked files. The runner records only oauthCredentialSource, never the token value.

  5. Run the live advisory request:

    uv run python "$HOME/pro/botfiles/codex/skills/claude-fable-advisor/scripts/run_fable_advisor.py" \
      --prompt-file /path/to/fable-prompt.md \
      --file /path/to/relevant-file \
      --output-dir /path/to/artifacts/fable-review
    

    Add --dry-run first when you want to render prompt.md and status.json without making a model request.

  6. Choose the tool mode deliberately:

    • No tools (default): omit both --with-tools and --tools.
    • Comprehensive read-only repository review: add --read-only-review. This is the preferred mode for assessment and code review. It defaults to 12 turns, strips ambient credentials, uses dontAsk, excludes edit tools, and pre-approves only built-in reads plus selected inspection-only Git commands.
    • Full default tool set with normal permission handling: add --with-tools.
    • Bounded tool set: add a quoted allowlist such as --tools "Read,Bash".
    • Full default tools with all permission checks bypassed: add --with-tools --yolo.

    --yolo maps to Claude Code's --dangerously-skip-permissions and is rejected unless tools are enabled. Use it only with explicit user approval or an already-approved implementation scope, from a trusted working directory, with a narrowly bounded prompt. It does not weaken the subscription route gate and never enables a cloud-provider fallback. Safe mode and environment stripping reduce ambient authority but are not a filesystem or network sandbox. Use --inherit-credentials only when the approved task explicitly needs those credentials. Tool-enabled runs default to three agentic turns so

Полный SKILL.md на GitHub

Установить claude-fable-advisor в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdagents/openai.yamlscripts/run_fable_advisor.pyscripts/setup_fable_oauth_token.py

FAQ

Что делает скилл claude-fable-advisor?

Use Anthropic Claude Fable 5 through Claude Code as a subscription-backed external advisor, reviewer, or planner for Codex work. Use when the user asks for Fable, Claude Fable, a Claude advisor/reviewer/planner, a second-model critique, hard planning review, architecture review, debugging strategy review, adversarial completion check, or an Oracle-like consultation that must avoid Bedrock, API keys, and other usage-based routes.

Как установить скилл claude-fable-advisor?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл claude-fable-advisor запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить claude-fable-advisor с