scottrbk/codex-forgetful-plugin/context-gather
Claude Code and agent skill by scottrbk/codex-forgetful-plugin
- community
Checking that the SKILL.md file is still in the repository.
Gather implementation context before planning or coding by delegating retrieval to subagents that combine Forgetful memory, local code inspection, Context7 documentation, and web search when needed. Use when the user asks to gather context, run context_gather, prepare an implementation brief, or check prior decisions and framework guidance before making changes.
Install
npx vskill@latest install scottrbk/codex-forgetful-plugin/context-gatherSKILL.md
Context Gather
Use this skill to produce a focused implementation briefing before planning or changing code.
The point of this workflow is context isolation: retrieval is noisy, tool-heavy work, so the main agent should delegate it and receive only the synthesized result.
Workflow
- Restate the task in one sentence.
- Launch a subagent for retrieval. Treat an explicit request for
context_gather,forgetful:context_gather,context-gather, "gather context", or an implementation brief as permission to delegate this retrieval work. - Instruct the subagent to query Forgetful memory first, across all projects unless the user explicitly asks for a project scope.
- Instruct the subagent to follow relevant memory links:
- Read linked memories when they clarify decisions or evolution.
- Fetch linked code artifacts and documents when they may contain reusable implementation details.
- Instruct the subagent to inspect dependency manifests and imports before recommending new code paths.
- In parallel, the main agent may inspect a small number of obvious local files only when needed to frame the task or validate the final brief. Do not duplicate the subagent's broad retrieval work.
- Have the subagent query Context7 for framework or library guidance when the task names a library, framework, or API.
- Have the subagent use web search only when memory, local files, and Context7 do not provide enough current or authoritative context.
- Wait for the subagent's brief before planning or implementing.
- Return the synthesized brief, then wait for the user or continue only if the original request also asked for implementation.
Subagent Contract
Use a subagent by default for this skill. The subagent absorbs the context cost of memory searches, linked artifact reads, documentation lookup, and broad file exploration.
Prompt the subagent with a bounded read-only task:
Prefer one retrieval subagent. Use multiple subagents only when the task naturally splits into independent areas, such as separate backend/frontend/framework questions.
Forgetful Usage
The retrieval subagent should use the available Forgetful MCP server in the current session. Normal calls should go through execute_forgetful_tool.
Start broad:
Do not apply project_ids initially unless the user explicitly scoped the task. Cross-project recall is the point of this workflow.
Useful follow-up tools:
get_memoryfor linked memories that look relevant.get_code_artifactfor linked reusable snippets or reference implementations.get_documentfor linked design notes, ADRs, or long-form explanations.search_entities,get_entity_memories, and relationship tools when an org, service, device, or person is central to the task.
Local Code Inspection
The retrieval subagent should use rg and targeted file reads before drawing conclusions about the current repo. Prefer actual code over memory when they disagree.
Look for:
- Existing patterns and helper APIs.
- Tests covering the relevant behavior.
- Configuration, dependency, and integration points.
- Dependency manifests and import statements.
- Places where memory references may be stale.
Context7
When the task names a library or framework, the retrieval subagent should use Context7:
- Resolve the library ID.
- Query specific documentation for the task topic.
- Include only guidance that affects implementation choices.
Do not query generic docs just to fill space.
Output Format
The subagent should return this shape to the main agent:
Keep the brief focused. Include code snippets only when they are directly reusable or needed to explain the pattern.
Avoid
- Dumping unsynthesized memory results.
- Listing memory IDs without reading relevant linked artifacts.
- Treating memories as newer than code without checking.
- Searching the web before checking Forgetful, local files, and Context7.
- Creating memories during the gather pass unless the user explicitly asks or the session produces a reusable new decision.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/forgetful/skills/context-gather/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/scottrbk/codex-forgetful-plugin/context-gather)