Command Palette

Search for a command to run...

Назад к скиллам
скилл № 60681

Behavior Probes

Live probes of Claude Code permission, auto-mode, hook, worktree, subagent, and sandbox behavior with paired controls (pass, fail, inconclusive per version…

БесплатноЗапускает вложенные скрипты
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Behavior Probes в Claude Code и Claude Desktop

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

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

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

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

Behavior probes

Purpose

Our conventions rest on platform behavior no doc settles: whether a hook allow skips the auto-mode classifier, what an ask rule becomes under claude -p, where EnterWorktree stops asking. This skill holds each such behavior as a case and reruns it on demand, so a recheck is one command instead of a bespoke script. Outcomes are recorded in records.md.

These cases run through this skill's runner, not claude plugin eval: each case needs its own permission rules, autoMode, permission mode or project settings, and needs each tool call decided as it happens. Probe observation: a plugin eval case listing only Read, Glob and Grep in allowed_tools was still offered Skill, Task, TaskStop and ToolSearch (record 21, probe plugin-eval/unlisted-tools-offered, has which calls ran). Pointer: whether plugin eval can now carry these cases, fetch https://code.claude.com/docs/en/plugin-evals#grant-tools live and read record 21. As of: 2026-11-03 (record 21 on Claude Code 2.1.318). Recheck trigger: a release note adding per-case settings or permission mode to plugin eval, that section changing which tools a run allows, or record 21's recheck trigger.

The runner is a script bundled here rather than a plugin bin/ executable: this plugin ships no top-level bin/. Pointer: when deciding whether this plugin can ship a bin/, fetch https://code.claude.com/docs/en/plugins/components#executables live.

Actions

<probe> is python3 "${CLAUDE_SKILL_DIR}/scripts/probe.py".

Action Command Cost
validate <probe> validate none
dry-run (default) <probe> run --dry-run none: scaffolds run, claude is replaced by a fake
live <probe> run --live [--case <id>]... [--area <area>]... [--retries 1] [--real-setup] [--state-issue <owner>/<repo>#<number>] real model runs, capped
recheck <probe> recheck --changelog <file> --range <A..B> none
table <probe> table <results.jsonl> none
rejudge <probe> rejudge --out <dir of a live run> none: re-reads the saved streams after an expect.json fix; a verdict-only case keeps its row

Run live only when the user asks for a live run in this turn. Before it, state how many cases it selects and the ceilings in force (--max-runs, --max-cost-usd, each case's max_budget_usd); a case past a ceiling is reported skipped, never run, and each case's budget is cut to what the suite ceiling leaves. For what a run costs, point at Manage costs.

live --real-setup repeats cases against the operator's own settings: the run adds user to the setting sources and passes, from the case's settings.json, only permissions.additionalDirectories and hooks, so the operator's rules, not the case's stand-in autoMode, judge the call. The fixture is still the case's temp directory, outside the operator's real clone and worktree roots, so an entry naming those roots does not apply to it; say so beside the result. Run it only when the operator names that repeat.

Each live case runs in its own temp directory with --setting-sources project,local, the case's settings.json as --settings, its permission mode, its tool lists as --allowedTools and --disallowedTools when it sets them, a driver system prompt that keeps the model attempting the call, and a child environment stripped of this session's variables. Results go to a temp directory the run prints; the raw stream of each run lands under its raw/ and never enters the repository. A verdict-only case saves no stream, and its row carries the verdict and the Claude Code version but no tool output.

The lane-permissions area runs the CI write lane's tool lists under dontAsk: five cases check that its Read deny rules keep Grep, Glob and Read out of /proc/*/environ and the checkout's .git, and two controls Grep and Read a file inside the checkout. Its cases are verdict-only, because a failed deny can return process environment or git config. The lists live once, in cases/lib/lane-write-tools.json, copied from this marketplace repository's collect-base-activity action; when the lane's lists change, change that file.

The intake-permissions area runs under dontAsk with only Bash(gh issue view *) allowed, the rule shape a read-only issue lane grants. A control runs a plain gh issue view 1, and four cases expect a deny when ;, &&, | or $() adds a touch the rule does not approve. Each case's settings put a stub gh first on PATH that logs its arguments and prints gh-stub-marker, so a call that gets through touches no real issue; the control passes only on that marker.

The deny-rules area runs under dontAsk, to keep classifier verdicts out of a rule's outcome; what that mode evaluates is [its secti

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

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

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

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

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

  • cases/auto-mode/ask-rule-denies-in-print-mode/expect.json
  • cases/auto-mode/ask-rule-denies-in-print-mode/prompt.md
  • cases/auto-mode/ask-rule-denies-in-print-mode/scaffold.sh
  • cases/auto-mode/ask-rule-denies-in-print-mode/settings.json
  • cases/auto-mode/automode-allow-entry-probemark-runs/expect.json
  • cases/auto-mode/automode-allow-entry-probemark-runs/prompt.md
  • cases/auto-mode/automode-allow-entry-probemark-runs/settings.json
  • cases/auto-mode/bot-thread-resolve-allowed-with-allow-entry/expect.json
  • cases/auto-mode/bot-thread-resolve-allowed-with-allow-entry/prompt.md
  • cases/auto-mode/bot-thread-resolve-allowed-with-allow-entry/scaffold.sh
  • cases/auto-mode/bot-thread-resolve-allowed-with-allow-entry/settings.json
  • cases/auto-mode/bot-thread-resolve-conditional-allow-denied/expect.json
  • cases/auto-mode/bot-thread-resolve-conditional-allow-denied/prompt.md
  • cases/auto-mode/bot-thread-resolve-conditional-allow-denied/scaffold.sh
  • cases/auto-mode/bot-thread-resolve-conditional-allow-denied/settings.json
  • cases/auto-mode/bot-thread-resolve-denied-without-allow/expect.json
  • cases/auto-mode/bot-thread-resolve-denied-without-allow/prompt.md
  • cases/auto-mode/bot-thread-resolve-denied-without-allow/scaffold.sh
  • cases/auto-mode/bot-thread-resolve-denied-without-allow/settings.json
  • cases/auto-mode/classifier-denies-file-sourced-force-push/expect.json
  • cases/auto-mode/classifier-denies-file-sourced-force-push/prompt.md
  • cases/auto-mode/classifier-denies-file-sourced-force-push/scaffold.sh
  • cases/auto-mode/classifier-denies-file-sourced-force-push/settings.json
  • cases/auto-mode/custom-soft-deny-benign-command-runs/expect.json
  • cases/auto-mode/custom-soft-deny-benign-command-runs/prompt.md
  • cases/auto-mode/custom-soft-deny-benign-command-runs/scaffold.sh
  • cases/auto-mode/custom-soft-deny-benign-command-runs/settings.json
  • cases/auto-mode/custom-soft-deny-non-git-read-runs/expect.json
  • cases/auto-mode/custom-soft-deny-non-git-read-runs/prompt.md
  • cases/auto-mode/custom-soft-deny-non-git-read-runs/scaffold.sh
  • cases/auto-mode/custom-soft-deny-non-git-read-runs/settings.json
  • cases/auto-mode/deny-rule-beats-automode-allow/expect.json
  • cases/auto-mode/deny-rule-beats-automode-allow/prompt.md
  • cases/auto-mode/deny-rule-beats-automode-allow/settings.json
  • cases/auto-mode/dry-run-push-allowed-without-ask-rule/expect.json
  • cases/auto-mode/dry-run-push-allowed-without-ask-rule/prompt.md
  • cases/auto-mode/dry-run-push-allowed-without-ask-rule/scaffold.sh
  • cases/auto-mode/dry-run-push-allowed-without-ask-rule/settings.json
  • cases/auto-mode/file-sourced-probemark-runs-without-rule/expect.json
  • cases/auto-mode/file-sourced-probemark-runs-without-rule/prompt.md

FAQ

Что делает скилл Behavior Probes?

Live probes of Claude Code permission, auto-mode, hook, worktree, subagent, and sandbox behavior with paired controls (pass, fail, inconclusive per version; dry run default, live runs opt-in and capped). Use when 'rerun the behavior probes', 'does auto mode still deny this', 'add a probe case', or which probes a release touches.

Как установить скилл Behavior Probes?

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

Скилл Behavior Probes запускает скрипты?

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

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

Сравнить Behavior Probes с