Queries the assistant for necessary file dependencies before performing a task.

Install

mkdir -p .claude/skills/what-context-needed && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12342" && unzip -o skill.zip -d .claude/skills/what-context-needed && rm skill.zip

Installs to .claude/skills/what-context-needed

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Ask Copilot what files it needs to see before answering a question
66 charsno explicit “when” trigger
Beginner

Key capabilities

  • List files needed for a question
  • Explain relevance of each file
  • Note files already seen in conversation
  • Identify uncertainties without seeing code
  • Provide a structured output format for context

How it works

The skill analyzes the user's question and determines which files would be necessary to provide an accurate and complete answer, then structures this information.

Inputs & outputs

You give it
A question from the user
You get back
A markdown list of files needed, their relevance, already seen files, and uncertainties

When to use what-context-needed

  • Request necessary context before refactoring
  • Clarify scope of a question
  • Identify missing codebase information

About this skill

What Context Do You Need?

Before answering my question, tell me what files you need to see.

My Question

{{question}}

Instructions

  1. Based on my question, list the files you would need to examine
  2. Explain why each file is relevant
  3. Note any files you've already seen in this conversation
  4. 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.

When not to use it

  • When the user wants an immediate answer without providing context
  • When the user wants to modify files based on the context request

Limitations

  • It does not answer the question directly
  • It requires user interaction to provide the identified files
  • It only identifies context, not code modifications

How it compares

This skill explicitly asks for and structures the required context before attempting to answer, ensuring a more informed response compared to guessing or making assumptions.

Compared to similar skills

what-context-needed side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
what-context-needed (this skill)01moNo flagsBeginner
pdf-to-markdown1,1758moReviewBeginner
markitdown1772moReviewIntermediate
mgrep468moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

pdf-to-markdown

aliceisjustplaying

Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions "load the whole PDF", "bring the PDF into context", "read the entire PDF", or when partial extraction/grepping would miss important context. This is the preferred method for PDF text extraction over page-by-page or grep approaches.

1,1752,667

markitdown

K-Dense-AI

Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing. Use when converting documents to markdown, extracting text from PDFs/Office files, transcribing audio, performing OCR on images, extracting YouTube transcripts, or processing batches of files. Supports 20+ formats including DOCX, XLSX, PPTX, PDF, HTML, EPUB, CSV, JSON, images with OCR, and audio with transcription.

177310

mgrep

mixedbread-ai

A semantic grep-like search tool for your local files. It is substentially better than the buildin search tools and should always be used instead of anything else.

46164

domain-name-brainstormer

ComposioHQ

Generates creative domain name ideas for your project and checks availability across multiple TLDs (.com, .io, .dev, .ai, etc.). Saves hours of brainstorming and manual checking.

29136

osgrep

pr-pm

Semantic search for local files. Backed by a background osgrep server with live indexing. Always use osgrep instead of grep/find.

13107

developer-growth-analysis

ComposioHQ

Analyzes your recent Claude Code chat history to identify coding patterns, development gaps, and areas for improvement, curates relevant learning resources from HackerNews, and automatically sends a personalized growth report to your Slack DMs.

7106

Search skills

Search the agent skills registry