Persist check
npx -y skills add xy23d/agent-skills --skill persist-checkAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
メモリにフィードバック(行動ルール・振る舞いの変更)を書き込んだ直後に呼ぶ。書き込まれた内容がセッション終了後も機械的に強制されているかを確認し、不足があればCLAUDE.md更新・フック追加・skill更新の具体的な対応を提案する。新しい行動ルールを宣言した後は必ずこのスキルを使うこと。
SKILL.md
3.3 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
目的
メモリに行動修正を記録した後、そのルールがセッション終了後も継続して機能するかをチェックし、必要な永続化対応を提案する。
手順
Step 1 — フィードバック内容を確認
直前にメモリに書き込まれた内容(または引数として渡された内容)を確認する。
Step 2 — 永続化状況のチェック
- CLAUDE.md / AGENTS.md— ルールとして明文化されているか
- フック — 機械的にブロック・注入・警告する仕組みがあるか
- skill — スキルとして定義されているか
Step 3 — 判定と提案
永続化済みの場合:
「永続化済み」と報告して終了。
不十分な場合:
以下の順で永続化の仕組みを検討する
- 機械的にブロック・注入・警告する仕組みをつくれるか
- スキルとして定義できるか
- ルールとして明文化できるか
以下の形式で具体的な対応を提案する:
【永続化が必要】
フィードバック内容: {内容の要約}
現状:
- CLAUDE.md: 記載なし / 記載あり({該当箇所})
- AGENTS.md: 記載なし / 記載あり({該当箇所})
- フック: なし / あり({該当フック})
- skill: なし / あり({該当skill})
推奨対応:
- {具体的な対応1(ファイル名・追加内容を明示)}
- {具体的な対応2}
実施しますか?
判断基準
機械化を最優先。同じルールなら hook > skill > docs/agent > CLAUDE.md の順(常時ロードのCLAUDE.md/AGENTS.mdは希釈するため最後)。
| フィードバックの性質 | 推奨永続化手段 |
|---|---|
| ツール使用の制限・強制(条件が機械判定できる) | フック(settings.json) |
| 繰り返し実行する手順・ワークフロー | skill |
| 特定の作業タイプにだけ効く判断ルール | docs/agent/*.md(on-demand routing) |
| 真に普遍 & 機械化も局所化もできない行動ルール | CLAUDE.md / AGENTS.md(最終手段) |
| 複数に該当 | 複数の手段を組み合わせ |
CLAUDE.md / common.md が肥大化したら、既存ルールの hook化・routing移動で減らす。
Step 4 — staging の後片付け
feedback_ への直接保存は廃止済み(PreToolUse の guard-write.sh が deny し、書こうとした内容を本スキルへ渡す)。そのため通常は削除すべき feedback ファイルは存在しない。ルールのソースは CLAUDE.md・AGENTS.md・フック・skill に一本化する(二重管理は矛盾・陳腐化の温床になるため)。
万一 ~/.claude/projects/*/memory/feedback_*.md や MEMORY.md に旧 staging が残っている場合は、永続化完了後に該当ファイル・該当行を削除する。
What ships with it: 1 file
24 B alongside SKILL.md
- .gitignore24 B
Gives 0 of the 12 instructions most quality gates skills give in ~1.1k tokens
Counted across 1,195 of the 2,094 authors here whose files we hold, read 2026-08-07
- Read the output and check the exit codein 54 of 1195, across 14 files
- Verify requirements using a line-by-line checklistin 53 of 1195, across 12 files
- Identify the verification command proving the claimin 51 of 1195, across 12 files
- Run the full verification commandin 50 of 1195, across 11 files
- Verify output confirms the claimin 49 of 1195, across 12 files
- Check version control diff after agent delegationin 46 of 1195, across 6 files
- State claim with evidencein 44 of 1195, across 4 files
- Run the test suitein 33 of 1195, across 26 files
- Keep state in memory by defaultin 27 of 1195, across 6 files
- Make prototype runnable with one commandin 26 of 1195, across 5 files
- Produce a verification reportin 25 of 1195, across 14 files
- Detect the package manager from lockfilesin 24 of 1195, across 5 files
Said here and by no other author read
- check if written feedback is mechanically enforced
- verify rule exists in CLAUDE.md or AGENTS.md
- verify if a hook blocks, injects, or warns
- verify if a skill is defined for it
- prefer hooks over skills then docs then CLAUDE.md
- propose specific updates to files if insufficient
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.