[PR #5253] feat: /knowledge to extract knowledge files #11309

Closed
opened 2026-02-16 18:16:07 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5253

State: closed
Merged: No


Adds a command /knowledge which creates a sub-agent to take any new "knowledge" in the session and format it neatly into markdown docs in ./.opencode/knowledge/

This is particularly useful both for human-readable documentation for getting familiarized with a codebase, and for providing an extended version of AGENTS.md which does not pollute the context.

A follow-on commit adds a system to automatically load files from the knowledge directory according to topics mentioned in the conversation.

Try running /knowledge to create the sub-agent.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5253 **State:** closed **Merged:** No --- Adds a command /knowledge which creates a sub-agent to take any new "knowledge" in the session and format it neatly into markdown docs in ./.opencode/knowledge/ This is particularly useful both for human-readable documentation for getting familiarized with a codebase, and for providing an extended version of AGENTS.md which does not pollute the context. A follow-on commit adds a system to automatically load files from the knowledge directory according to topics mentioned in the conversation. Try running /knowledge to create the sub-agent.
yindo added the pull-request label 2026-02-16 18:16:07 -05:00
yindo closed this issue 2026-02-16 18:16:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11309