What Context Needed
GitHubOfficialOriginally contributed by @vfaraji89 as prompts/what-context-needed.prompt.md; moved into a skill by pull request #761Distributed by GitHub
- Skill
- Meta (authoring, orchestration, planning, memory)
- Agent tooling
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill helps users optimize their interactions with an AI agent by proactively identifying which files are required to provide an accurate and informed response. By prompting the agent to analyze the requirements of a specific question, the user can ensure the agent has the necessary context before attempting to solve a problem, reducing hallucinations and improving answer quality.
What it does
- Analyzes a user question to determine required codebase context.
- Categorizes files into must-see and should-see groups.
- Identifies files already provided in the current conversation history.
- Highlights specific areas of uncertainty that prevent an accurate answer.
- Provides a structured markdown template for the agent's response.
When to use it
- When you are unsure which parts of a large codebase are relevant to your question.
- Before asking a complex architectural or debugging question.
- To prevent the agent from making assumptions based on incomplete information.
- When you want to ensure the agent has a complete view of dependencies or related logic.
Advantages
- Increases the accuracy of AI-generated responses.
- Reduces wasted tokens on irrelevant file analysis.
- Helps the user understand the agent's reasoning process.
- Creates a clear roadmap for providing necessary context.
Usage examples
- “What context do you need to help me refactor the authentication module?”
- The agent will list the specific files related to authentication, explain why they are needed, and identify any missing information.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/github/what-context-needed/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip what-context-needed.zip -d .agents/skills
Documentation by vfaraji89
What Context Do You Need?
Before answering my question, tell me what files you need to see.
My Question
{{question}}
Instructions
Based on my question, list the files you would need to examine
Explain why each file is relevant
Note any files you've already seen in this conversation
Identify what you're uncertain about
Output Format
## Files I Need
### Must See (required for accurate answer)
- `path/to/file.ts` — [why needed]
### Should See (helpful for complete answer)
- `path/to/file.ts` — [why helpful]
### Already Have
- `path/to/file.ts` — [from earlier in conversation]
### Uncertainties
- [What I'm not sure about without seeing the code]After I provide these files, I'll ask my question again.
Files
- ATTRIBUTION.mdAdded by AutoGineer1.1 KiB
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md881 B
LICENSE
MIT License Copyright GitHub, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Requirements and compatibility
Written for: GitHub Copilot
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Originally contributed by
@vfaraji89as prompts/what-context-needed.prompt.mdmoved into a skill by pull request #761
- Publisher
- GitHub (Official)
- Distributed by
- GitHub
- Source
- github/awesome-copilot · skills/what-context-needed · commit 797337f
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- vfaraji89
AutoGineer is not affiliated with or endorsed by vfaraji89 or GitHub.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download what-context-needed.zip