/knowledge:initfrom knowledge
Initialize a knowledge vault. Creates .knowledge directory, config, and session state template.
Ships in knowledge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Set up the directory structure for a new knowledge vault.
Bash(command="mkdir -p .knowledge/meta .knowledge/meta/precompact")
Write(file_path=".knowledge/config.json", content="{\n \"version\": 1,\n \"vault\": \".knowledge\",\n \"created\": \"$DATE\"\n}\n")
Replace $DATE with today's date in ISO format.
Write(file_path=".knowledge/meta/session-state.md", content="# Session State\n\nLast updated: [date]\n\n## Active Work\n- [What you're currently doing, with enough detail to resume]\n- [File paths, line numbers, specific state]\n\n## Pending Tasks\n- Review AGENTS.md/CLAUDE.md and customize for this project\n\n## Key References\n- [IDs, paths, URLs, credentials locations, specific values needed for work]\n\n## Corrections & Mechanisms\n- [Format: CORRECT ANSWER: X. WRONG ANSWER: Y. MECHANISM: why X not Y.]\n- [This triple format survives compaction better than facts alone.]\n\n## Watermark\n- [Last processed event/message timestamp, if applicable]\n- [Update after every response or conscious skip]\n\n## History\n- [Move completed work here. Session-state is for ACTIVE work only.]\n- [Completed tasks that stay in Active Work crowd out identity during compaction.]\n")
Write(file_path=".env", content="# Credentials — not committed\n# Add environment variables your agent needs here\n")
AGENTS.md / CLAUDE.md already exists (AGENTS.md if neither). Never create the other one: with both present, Claude Code loads ONLY CLAUDE.md, so a new file silently shadows (or is shadowed by) the old. Define the agent's mission, voice, autonomy, and values there.knowledge/meta/session-state.md after each session (or during — assume interruption!)If $ARGUMENTS is provided, use it as the project name in config.json.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (agiterra/knowledge-claude-code) — no native marketplace selected
npx claudepluginhub p/agiterra-knowledge17 skills in this plugin
/associateAssociate — Fast Keyword AssociationsLightweight keyword-only association search — fast (<100ms), no vector embeddings, no LLM. Returns quick context associations from the knowledge vault./bootKnowledge BootFull boot sequence — restores session state and memory continuity after context compaction./calibrateCalibrate — Compression Test BatteryMeasure decompression fidelity after compaction. Creates or runs a compression test battery tailored to the knowledge vault.Other plugins' skills for the same job