ワンクリックで
disable-friction-capture
Disable friction capture for this repo
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Disable friction capture for this repo
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Install the friction capture toolkit — session hooks that record AI friction events and remind developers to improve context docs
Assess a repository's readiness for AI-assisted development and bootstrap its layered documentation structure (guidelines, AGENTS.md, CLAUDE.md, README.md)
Process captured friction events to improve context documentation
| name | disable-friction-capture |
| description | Disable friction capture for this repo |
| allowedTools | ["Bash(bash *)","Bash(jq *)","Bash(mkdir *)","Bash(mktemp *)","Bash(mv *)"] |
Disable friction capture for this repository by setting FRICTION_CAPTURE=0 in .claude/settings.local.json.
Run:
mkdir -p .claude
FILE=".claude/settings.local.json"
[ -f "$FILE" ] || echo '{}' > "$FILE"
# jq reads the file directly and writes to a temp file — settings.local.json never
# passes through stdout, which would expose its contents to the Claude session.
TMP=$(mktemp)
jq '.env.FRICTION_CAPTURE = "0"' "$FILE" > "$TMP"
mv "$TMP" "$FILE"
Then tell the user:
Friction capture is now disabled for this repo. The session-start reminder and session-end capture will no longer run. To re-enable, delete the
FRICTION_CAPTUREkey from.claude/settings.local.jsonor set it to"1".