what-context-needed
What it does
This tool helps the AI ask for the right files before answering your question. It lists which documents are needed and why, so the AI can give you a more accurate response.
When to use it
- ✓When you have a complex code-related question.
- ✓When the AI seems to lack information.
- ✓Before asking a question to ensure the AI has the necessary context.
Skill link
https://github.com/github/awesome-copilot/blob/main/skills/what-context-needed/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“What files do you need to see to help me with [your question here]?”
5 new skills a week. 1 minute to read.
How it works
The AI analyzes your question and identifies the types of files that contain the relevant information. It then lists these files, explaining why each one is important for answering your query.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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.
FAQ
Why does the AI need files?
To answer questions about code, the AI needs to 'read' the code itself. Just like a human would read a book to answer a question about it.
What do 'Must See' and 'Should See' mean?
'Must See' are essential files for a correct answer. 'Should See' are files that help provide a more complete answer but aren't strictly necessary.
What does the AI do if it has seen a file before?
It notes files that have already been discussed in the current conversation, so it doesn't ask for them again and knows what's already in its 'knowledge'.
Details
Original description by the author
Ask Copilot what files it needs to see before answering a question
repo: github/awesome-copilot
Popularity
- GitHub stars
- 40k
- Ranking position
- #7477
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
acquire-codebase-knowledge
40kHelps your agent understand and document an existing code project. It's useful for onboarding new people or getting an overview of the architecture.
acreadiness-assess
40kEnables your agent to assess a project's readiness for AI and generate a report. It's useful for understanding how well a project is prepared to use AI tools.
acreadiness-generate-instructions
40kHelps your agent create instructions for AI tools based on an assessment. It's useful for improving how AI interacts with code and closing identified gaps.
acreadiness-policy
40kEnables your agent to help define or apply policies for AI project assessment. It's useful for standardizing how projects are evaluated and ensuring compliance.
Similar skills
writing-skills
311kTeaches your agent to write new skills and test each one first, checking that the skill actually changes how the agent behaves.
writing-for-agents
310kExplains how to write clear instructions for AI agents, including skills, AGENTS.md, and CLAUDE.md files, so the agent behaves predictably.
bengali-nlp
280kHas your agent process Bengali text. It helps understand and work with the language, normalizing text and handling its unique characteristics.