name: opencontext-context description: Load relevant OpenContext docs for the current task (safe, no index build)
/opencontext-context
Safety: You may read from .idea, but do NOT write inside .idea.
OpenContext docs must live under the global contexts root; never create or edit docs in the project workspace.
Goal: Load enough context from OpenContext so you can proceed confidently.
Safety: Do NOT trigger index builds by default (no oc index build). Prefer manifest + direct reads.
- If the target space/folder is unclear, run
oc folder ls --alland ask the user to choose a folder (no guessing when ambiguous). - Run
oc context manifest <folder_path> --limit 10(oroc context manifest . --limit 10for broad context). - Load 3–10 relevant files by
abs_pathand extract:- Key constraints, decisions, and current state
- Open questions / risks
- Cite sources:
- Prefer stable links
oc://doc/<stable_id>when available in the manifest output. - Use
abs_path+rangeonly for line-level evidence.
- Prefer stable links
- Summarize the loaded context and proceed with the user’s task.