[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79XGHZ0028HDW7SDT186D6Q":3,"skill-same:01M79XGHZ0028HDW7SDT186D6Q":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":38,"updatedAt":39,"install":40,"resources":52},"01M79XGHZ0028HDW7SDT186D6Q","verify",null,"Self-test the Citadel hook pipeline from within a live session. Exercises real tool calls (Write, Edit, Bash, Read) and checks that hooks fired, telemetry accumulated, and no errors occurred. Reports HOOK HEALTH: PASS or HOOK HEALTH: FAIL with a per-hook breakdown.","mayankjain1815-commits\u002FCITADEL","mayankjain1815-commits","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F234472344?v=4","01M79X9599EWEQTD62DMNTEG7X","Mayank jain","01M79X95AA0KDFTN1Z1A6DQTX1",4,"MIT","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: verify\nlicense: MIT\ndescription: >-\n  Self-test the Citadel hook pipeline from within a live session. Exercises\n  real tool calls (Write, Edit, Bash, Read) and checks that hooks fired,\n  telemetry accumulated, and no errors occurred. Reports HOOK HEALTH: PASS\n  or HOOK HEALTH: FAIL with a per-hook breakdown.\nuser-invocable: true\nauto-trigger: false\ntrigger_keywords:\n  - verify\n  - verify hooks\n  - hook health\n  - self-test\n  - check hooks\n  - harness health\nlast-updated: 2026-03-27\n---\n\n# \u002Fverify — Hook Pipeline Self-Test\n\nUse this when:\n- Hooks were recently updated and you want a live sanity check\n- Something feels wrong (tools seem too slow, quality-gate not firing)\n- After installing Citadel in a new project\n\n## Protocol\n\n### Step 1: Baseline\n\nRead the current telemetry state:\n```\n.planning\u002Ftelemetry\u002Fhook-timing.jsonl  → count lines (baseline_timing)\n.planning\u002Ftelemetry\u002Faudit.jsonl        → count lines (baseline_audit)\n.planning\u002Ftelemetry\u002Fhook-errors.log    → size in bytes (baseline_errors)\n```\n\nIf telemetry directory doesn't exist, note it (init-project may not have run).\n\n### Step 2: Exercise hooks\n\nRun these tool calls in sequence. Each exercises a different hook:\n\n1. **Write** a temp file at `.planning\u002Fverify-temp.ts`:\n   ```typescript\n   \u002F\u002F citadel verify probe\n   export const verifyProbe = true;\n   ```\n   → Exercises: PreToolUse (protect-files, governance), PostToolUse (post-edit)\n\n2. **Edit** the same file — change `true` to `false`:\n   → Exercises: PreToolUse (protect-files, governance), PostToolUse (post-edit)\n\n3. **Bash** a harmless read command: `echo \"verify-probe\"`\n   → Exercises: PreToolUse (governance)\n\n4. **Read** the temp file back\n   → Exercises: PreToolUse (protect-files — should allow, it's not .env)\n\n5. **Delete** the temp file: `rm .planning\u002Fverify-temp.ts` or equivalent\n   → Cleanup\n\n### Step 3: Check side effects\n\nAfter all tool calls complete, read telemetry again:\n\n| Check | Expected | Result |\n|---|---|---|\n| hook-timing.jsonl grew | +2 or more lines (Write + Edit post-hooks) | PASS\u002FFAIL |\n| audit.jsonl grew | +3 or more lines (Write + Edit + Bash pre-hooks) | PASS\u002FFAIL |\n| hook-errors.log unchanged | same size as baseline | PASS\u002FFAIL |\n\n### Step 4: Report\n\nOutput a results block:\n\n```\n=== HOOK HEALTH CHECK ===\n\nhook-timing.jsonl:  +N lines  [PASS \u002F FAIL]\naudit.jsonl:        +N lines  [PASS \u002F FAIL]\nhook-errors.log:    no errors [PASS \u002F FAIL — N new errors]\n\nHOOK HEALTH: PASS\n```\n\nOr if any check fails:\n\n```\nHOOK HEALTH: FAIL\n\nFailing checks:\n- hook-timing.jsonl did not grow: PostToolUse hooks may not be firing\n  → Verify hooks are installed: node scripts\u002Fverify-hooks.js\n  → Check settings.json: cat .claude\u002Fsettings.json | grep PostToolUse\n\n- audit.jsonl did not grow: governance hook may not be firing\n  → Check: node hooks_src\u002Fgovernance.js \u003C\u003C\u003C '{}'\n```\n\n## Edge Cases\n\n**No .planning\u002Ftelemetry\u002F directory**: Init-project may not have run.\nOutput: \"HOOK HEALTH: FAIL — .planning\u002Ftelemetry\u002F not found. Run: node hooks_src\u002Finit-project.js\"\n\n**Hooks installed but telemetry still zero**: The project may have a harness.json\nthat disables telemetry. Check `features.telemetry` in .claude\u002Fharness.json.\n\n**First-time run (no baseline)**: If the files don't exist before the test,\nthey should be created during the test. Treat \"file created\" as equivalent to \"grew\".\n\n## What This Does NOT Test\n\n- Hook correctness on edge cases (use verify-hooks.js for that)\n- Full PreToolUse → tool → PostToolUse sequence isolation (use integration-test.js)\n- Skill output quality (use skill-bench.js --execute)\n\n## Quality Gates\n\n- All 3 telemetry checks must pass: timing grew, audit grew, no new errors\n- Temp file must be cleaned up regardless of pass\u002Ffail outcome\n- Report must include exact counts (+N lines), not just PASS\u002FFAIL\n- If .planning\u002Ftelemetry\u002F does not exist, FAIL immediately — do not fabricate counts\n\n## Contextual Gates\n\n**Disclosure:** Creates and deletes `.planning\u002Fverify-temp.ts` during the test. No other files modified.\n**Reversibility:** green — temp file deleted on completion; no persistent changes.\n**Trust gates:** Any — no restrictions.\n\n## Exit Protocol\n\n```\n---HANDOFF---\n- Hook pipeline: PASS \u002F FAIL\n- hook-timing.jsonl: +N lines\n- audit.jsonl: +N lines\n- hook-errors.log: N new errors (0 expected)\n- Reversibility: green — no persistent changes; verify-temp.ts cleaned up\n- Next: if FAIL, run node scripts\u002Fverify-hooks.js for deeper diagnostics\n---\n```\n","# \u002Fverify — Hook Pipeline Self-Test\n\nUse this when:\n- Hooks were recently updated and you want a live sanity check\n- Something feels wrong (tools seem too slow, quality-gate not firing)\n- After installing Citadel in a new project\n\n## Protocol\n\n### Step 1: Baseline\n\nRead the current telemetry state:\n```\n.planning\u002Ftelemetry\u002Fhook-timing.jsonl  → count lines (baseline_timing)\n.planning\u002Ftelemetry\u002Faudit.jsonl        → count lines (baseline_audit)\n.planning\u002Ftelemetry\u002Fhook-errors.log    → size in bytes (baseline_errors)\n```\n\nIf telemetry directory doesn't exist, note it (init-project may not have run).\n\n### Step 2: Exercise hooks\n\nRun these tool calls in sequence. Each exercises a different hook:\n\n1. **Write** a temp file at `.planning\u002Fverify-temp.ts`:\n   ```typescript\n   \u002F\u002F citadel verify probe\n   export const verifyProbe = true;\n   ```\n   → Exercises: PreToolUse (protect-files, governance), PostToolUse (post-edit)\n\n2. **Edit** the same file — change `true` to `false`:\n   → Exercises: PreToolUse (protect-files, governance), PostToolUse (post-edit)\n\n3. **Bash** a harmless read command: `echo \"verify-probe\"`\n   → Exercises: PreToolUse (governance)\n\n4. **Read** the temp file back\n   → Exercises: PreToolUse (protect-files — should allow, it's not .env)\n\n5. **Delete** the temp file: `rm .planning\u002Fverify-temp.ts` or equivalent\n   → Cleanup\n\n### Step 3: Check side effects\n\nAfter all tool calls complete, read telemetry again:\n\n| Check | Expected | Result |\n|---|---|---|\n| hook-timing.jsonl grew | +2 or more lines (Write + Edit post-hooks) | PASS\u002FFAIL |\n| audit.jsonl grew | +3 or more lines (Write + Edit + Bash pre-hooks) | PASS\u002FFAIL |\n| hook-errors.log unchanged | same size as baseline | PASS\u002FFAIL |\n\n### Step 4: Report\n\nOutput a results block:\n\n```\n=== HOOK HEALTH CHECK ===\n\nhook-timing.jsonl:  +N lines  [PASS \u002F FAIL]\naudit.jsonl:        +N lines  [PASS \u002F FAIL]\nhook-errors.log:    no errors [PASS \u002F FAIL — N new errors]\n\nHOOK HEALTH: PASS\n```\n\nOr if any check fails:\n\n```\nHOOK HEALTH: FAIL\n\nFailing checks:\n- hook-timing.jsonl did not grow: PostToolUse hooks may not be firing\n  → Verify hooks are installed: node scripts\u002Fverify-hooks.js\n  → Check settings.json: cat .claude\u002Fsettings.json | grep PostToolUse\n\n- audit.jsonl did not grow: governance hook may not be firing\n  → Check: node hooks_src\u002Fgovernance.js \u003C\u003C\u003C '{}'\n```\n\n## Edge Cases\n\n**No .planning\u002Ftelemetry\u002F directory**: Init-project may not have run.\nOutput: \"HOOK HEALTH: FAIL — .planning\u002Ftelemetry\u002F not found. Run: node hooks_src\u002Finit-project.js\"\n\n**Hooks installed but telemetry still zero**: The project may have a harness.json\nthat disables telemetry. Check `features.telemetry` in .claude\u002Fharness.json.\n\n**First-time run (no baseline)**: If the files don't exist before the test,\nthey should be created during the test. Treat \"file created\" as equivalent to \"grew\".\n\n## What This Does NOT Test\n\n- Hook correctness on edge cases (use verify-hooks.js for that)\n- Full PreToolUse → tool → PostToolUse sequence isolation (use integration-test.js)\n- Skill output quality (use skill-bench.js --execute)\n\n## Quality Gates\n\n- All 3 telemetry checks must pass: timing grew, audit grew, no new errors\n- Temp file must be cleaned up regardless of pass\u002Ffail outcome\n- Report must include exact counts (+N lines), not just PASS\u002FFAIL\n- If .planning\u002Ftelemetry\u002F does not exist, FAIL immediately — do not fabricate counts\n\n## Contextual Gates\n\n**Disclosure:** Creates and deletes `.planning\u002Fverify-temp.ts` during the test. No other files modified.\n**Reversibility:** green — temp file deleted on completion; no persistent changes.\n**Trust gates:** Any — no restrictions.\n\n## Exit Protocol\n\n```\n---HANDOFF---\n- Hook pipeline: PASS \u002F FAIL\n- hook-timing.jsonl: +N lines\n- audit.jsonl: +N lines\n- hook-errors.log: N new errors (0 expected)\n- Reversibility: green — no persistent changes; verify-temp.ts cleaned up\n- Next: if FAIL, run node scripts\u002Fverify-hooks.js for deeper diagnostics\n---\n```\n",{"name":5,"license":15,"description":7,"auto-trigger":20,"last-updated":24,"user-invocable":25,"trigger_keywords":26},1774569600000,true,[5,27,28,29,30,31],"verify hooks","hook health","self-test","check hooks","harness health","main","49119fa06efc769f502bede04ad99746ac20f021","skills\u002Fverify",0,"https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits","2nd-yr EEE 📍 Bangalore | Python, C, Java, C# | ML, NLP & Flask backends | Building AI tools that ship 🚀 | Open to hackathons & collabs","2026-11-14 14:46:28",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":25},[42,45,48],{"tool":43,"command":44},"npx","npx skills add mayankjain1815-commits\u002FCITADEL --skill verify",{"tool":46,"command":47},"bunx","bunx skills add mayankjain1815-commits\u002FCITADEL --skill verify",{"tool":49,"command":50},"pnpm","pnpm dlx skills add mayankjain1815-commits\u002FCITADEL --skill verify","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M79XH1DBMXQEF9N0Q6NW7Q5P","workspace","Multi-repo campaign coordinator. Same lifecycle as fleet -- scope claims, discovery relay, wave-based execution -- but the unit of work is a repo, not a file. Coordinates campaigns across repositories with shared context.","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Fworkspace\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M79XGWJJHSKNTH78TNVX09VK","wiki","Markdown-first knowledge base where the LLM acts as librarian. Ingests raw sources, compiles and interlinks topic files, self-maintains an index. No vector DB or embeddings required -- uses LLM-native navigation over structured markdown up to ~400K words.","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Fwiki\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M79XGNW2YTFHVMEZGZDEDN43","watch","File sentinel that monitors the working directory for changes and marker comments, then auto-triggers appropriate skills. Poll-based via git diff against the last scan commit. Writes intake items for batch processing and routes marker actions through \u002Fdo. Use for automatic reactions to file changes; do NOT use for one-off inspection or tasks needing human judgment per file.","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Fwatch\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M79XGDKHMADJXC27T0FMQAN3","unharness","Remove Citadel from a project. Exports valuable state (campaigns, postmortems, research, backlog, discoveries) to docs\u002Fcitadel\u002F as human-readable markdown, then removes all harness files and hooks. The archive is detected by \u002Fdo setup on re-install and offered for restore.","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Funharness\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M79XG81A3RHP2TKKBT5WYEY2","triage","GitHub issue and PR investigator. Pulls open issues\u002FPRs, classifies them, searches the codebase for root cause or reviews contributed code, proposes fixes with file:line references, and optionally implements fixes. Use for investigating GitHub issues and reviewing PRs; do NOT use for general code review unrelated to GitHub issues.","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Ftriage\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M79XG41RAWR7H1PXMDPAQQF2","test-gen","Generate and verify tests — happy path, edge cases, error paths — using the project's own framework and patterns","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Ftest-gen\u002FSKILL.md",[],[]]