Command Palette

Search for a command to run...

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

Audit Friction

Audit Claude Code sessions for permission and autonomy friction (denials, approval prompts, hook blocks, hand-offs), traced to cause in one decision brief…

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

Установить Audit Friction в Claude Code и Claude Desktop

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

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

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

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

Audit friction

Arguments. [remeasure] [--days <n>] [--project <text>] [--source <dir>] [--verify consequential|full|probes]. Full form adds [--since <date>] [--until <date>] [--session <id>...]; --source repeats. e.g., /audit-friction, /audit-friction --days 14 --verify probes, /audit-friction remeasure

Purpose

Finds where permissions, auto mode, hooks and the agent's own asks get between the person and the work, and turns that into decisions the person makes once. Scripts count and match; agents judge. The run changes no setting itself.

Arguments

Read $ARGUMENTS whole; stop and name this accepted set on any other token.

  • remeasure runs Re-measure instead of the full pipeline.
  • Scope: every project on this machine over the last 7 days by default. --since/--until (YYYY-MM-DD, UTC) or --days set the window; --project keeps sessions whose repository or working directory contains the text; --session keeps named sessions; --source <dir> adds a directory laid out like ~/.claude/projects, or the configuration directory holding one, to the one audit-sessions store as its own source, dir-<hash of its path>. Another host's, or the other platform's, configuration directory comes from the transcript_sources_file sources file, which collect reads; a projects tree the sources file does not list is not detected, so add it there or pass it as --source. The report header lists the projects roots (each stored source's, from its records' provenance, then each --source), then each collection gap with its retry command and each source the sources file lists that is past half its cleanupPeriodDays without a collection free of gaps.
  • --verify picks the verification depth (see Verify).

Default decision policy

Apply this policy unless the person states another, and say once that it is in force:

  1. The person decides design and policy; execution is autonomous.
  2. A research-backed recommendation is the default answer. Proceed on reversible, already authorized work and say so; ask only for irreversible, security, self-modification or design-choice items.
  3. Batch every open item into one ask per phase, each with its recommendation.
  4. Decided work is done in full, never weakened. When a gate blocks it, script it for the person.
  5. Approved work goes draft, ready, merged, as far as the person's standing authorization allows.
  6. Escalate only what needs the person, with links, and keep going on everything else.
  7. Recommend removing a gate whose only output is a workaround.
  8. A rate or usage limit means wait and retry, not stop. End with a clean stop: no agents or watchers left running, and say so.

Paths

  • D is ${CLAUDE_PLUGIN_DATA}, passed as a literal argument. Runs write under D/audit-friction/runs/<UTC stamp>/ (R below); baselines under D/audit-friction/baselines/. Nothing is written into a repository.
  • F is python3 "${CLAUDE_SKILL_DIR}/scripts/friction.py"; C is python3 "${CLAUDE_PLUGIN_ROOT}/scripts/collect.py", the plugin's session collector, which /session-flow:audit-sessions also runs. Use a Python 3.10+ interpreter; with none, stop and say so.
  • Read before step 2: reference/outputs.md (each output file, and the brief and script templates) and reference/classes.md (the classes and routes).

Collaborators

These skills belong to other plugins and are optional. Before the step that uses one, check that it is enabled; when it is not, say so once in the report and take its fallback:

  • /harness-config:audit-permission-state (if enabled) (step 3): run F cause without --merge. It exits 1 and matches no rule, so the brief marks rule causes unmapped.
  • /harness-config:audit-permission-grants (if enabled) and /harness-config:audit-automation-gaps (if enabled) (step 3): skip them and name each check not run.
  • /harness-ops:behavior-probes (if enabled) (step 5 and the Gotchas): mark platform-behavior claims unprobed.
  • /discipline:do-your-research tiered (if enabled) (step 5): one agent checks the selected claims against their primary sources, citing each.
  • /harness-config:draft-auto-mode-rules (if enabled) (step 7): list the classifier groups in R/PR-DRAFTS.md instead.
  • /implementation:implement (if enabled) and /source-control:pull-request (if enabled) (step 7): the drafts stand alone for the person to apply.

Pipeline

Search scope. Search transcripts with this skill's own scripts (C, F) or the Grep tool rooted at one session directory, never a recursive grep over a transcript folder; search plugin sources with Grep or Glob rooted at the installed version directory of the plugin in question (its installPath in plugins/installed_plugins.json under the config directory), never the whole plugin cache; bound any other shell walk (not C or F) with timeout below the Bash to

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

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

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

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

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

  • evals/evals.json
  • reference/classes.md
  • reference/native-surfaces.md
  • reference/outputs.md
  • scripts/audit-friction.test.sh
  • scripts/friction.py
  • scripts/test_friction_duplicates.py

FAQ

Что делает скилл Audit Friction?

Audit Claude Code sessions for permission and autonomy friction (denials, approval prompts, hook blocks, hand-offs), traced to cause in one decision brief. Use when the agent keeps asking or handing off, auto mode denies, or re-measuring after permission fixes.

Как установить скилл Audit Friction?

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

Скилл Audit Friction запускает скрипты?

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

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

Сравнить Audit Friction с