project-knowledgelisted
Install: claude install-skill sumitake/agent-collab
# Project knowledge — durable, provenance-tracked project memory
Maintain a `knowledge/` directory inside the user's project as a durable
synthesis surface between immutable source material and agent answers. The
layer reduces repeated re-reading and re-synthesis while preserving source
provenance, trust boundaries, and review state. It is file-based, offline,
and deterministic: no network, no daemon, no automatic context injection.
## The bundled CLI
Resolve the **plugin root** from this loaded file: `SKILL.md` is at
`<plugin-root>/skills/project-knowledge/SKILL.md`. The deterministic tool is
`<plugin-root>/knowledge_tool.py` (stdlib-only, Python 3.10+):
```text
python3 "<plugin-root>/knowledge_tool.py" init --root <project>/knowledge
python3 "<plugin-root>/knowledge_tool.py" validate --root <project>/knowledge
python3 "<plugin-root>/knowledge_tool.py" lint --root <project>/knowledge
python3 "<plugin-root>/knowledge_tool.py" index --root <project>/knowledge
python3 "<plugin-root>/knowledge_tool.py" draft --root <project>/knowledge --title T --source-id S
python3 "<plugin-root>/knowledge_tool.py" export --root <project>/knowledge --page P.md --out /tmp/bundle.md
```
Every command re-reads state fresh and traverses in sorted order. `index`
overwrites only `index.md` and appends one `log.md` row; `draft` and
`export` create exactly one NEW file each (exclusive create, symlink-refusing);
`validate` and `lint` are read-only.
## Layout
- `knowledge/sou