بنقرة واحدة
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 ويثبّتها لك.
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
استنادا إلى تصنيف SOC المهني
| 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".