بنقرة واحدة
keystone-index
Regenerate .keystone/INDEX.json — the primitive descriptor index every agent reads at session start.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Regenerate .keystone/INDEX.json — the primitive descriptor index every agent reads at session start.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Full dual-flywheel audit — Learning (capture from review) + Pruning (remove dead rules). Periodic charter hygiene.
One-time initial charter scaffold — detect stack, seed state, scaffold idioms, classify sensors, build the globs index.
Run the drift sensor on the current diff — fast pre-verify check that loaded charter rules still match what the code is doing.
Triage the code-debt ledger — review the debt sensor's findings and update corpus/state/code-debt.md.
Capture a learning candidate (surprise, incident, review finding) into .charter/learning/inbox/ for later synthesis.
Switch the charter pacing mode (paired / solo / autopilot).
| name | keystone-index |
| description | Regenerate .keystone/INDEX.json — the primitive descriptor index every agent reads at session start. |
| tools | ["Bash"] |
| model | sonnet |
The agent's session-start path is "read .keystone/INDEX.json, then
open primitive bodies on demand." When canonical charter files change,
the index goes stale and the agent's view of what is available diverges
from what is on disk.
This skill regenerates the index by invoking the keystone CLI.
From the project root:
keystone index
The command writes .keystone/INDEX.json and prints the primitive
count. Idempotent — safe to run repeatedly.
.charter/.keystone migrate (the migrator regenerates the index
automatically, but a re-run is cheap if drift is suspected)..keystone/INDEX.json later in the same session if
any primitive file has changed since session start.which keystone.