$ npm install -g papershelf
$ cd your-repo
$ papershelf init
$ cp path/to/*.md .papershelf/docs/
$ papershelf index
Papershelf. 2026. “Repo-local semantic search for coding agents.” CLI / agent reference.
Repo-local semantic search for coding agents
$ npm install -g papershelf
$ cd your-repo
$ papershelf init
$ cp path/to/*.md .papershelf/docs/
$ papershelf index
reads .agents/skills/papershelf/SKILL.md
runs papershelf search "retry strategy" --json
finds .papershelf/docs/design.md:40-58
cites source path, lines, exact quote