PreCompact
01Hook Claude Code
Runs before the context is compacted, executing precompact-snapshot.sh. From badwally/TheKnowledge.
Hook Claude Code
Runs before the context is compacted, executing precompact-snapshot.sh. From badwally/TheKnowledge.
Hook Claude Code
Runs when a session starts, executing session-start-reanchor.sh. From badwally/TheKnowledge.
Settings file Claude Code
Agent settings declaring 2 hook events (PreCompact, SessionStart).
Skill Claude CodeCodex
Add or fix citations on a wiki page using cite-suggest, or capture a URL from any repo and add it as a citation (AGT-7). Triggers — "add citation", "cite this", "wiki cite", or when you have a quote + URL from another project.
Skill Claude CodeCodex
Bootstrap a new research domain — write policy, seed concept pages, confirm filter thresholds.
Skill Claude CodeCodex
Review wiki pages for quality — citation coverage, claim accuracy, staleness, cross-links.
Skill Claude CodeCodex
Review stale draft wiki pages and finalize them — fix missing citations, run validator, commit.
Skill Claude CodeCodex
Triage a URL, PDF, or file for ingestion into the knowledge wiki — assess fit, pick domain, run ingest.
Skill Claude CodeCodex
Run structured multi-source research on a question and file the result as a wiki synthesis page.
Instructions file
Instructions for badwally/TheKnowledge, covering /code/knowledge/ — personal knowledge base, what you may do here, hard rules (no exceptions), when to use which authorship path and operation guide.