Docs Cache
The docs cache is a lightweight local store for snippets you want Grok Code to reuse.
Main Commands
/docs/docs add/docs get/docs clear/docs gc
What It Is Good For
- small reusable specs
- team terminology
- copied snippets you want nearby for the current project
Important Behavior
- default TTL is 7 days
- expired entries can disappear from normal lookup
- long entries can appear as shortened previews
Treat it as a convenience cache, not as a perfect long-form archive.