Index of every page on this site: llms.txt
All skills
github avatar

/what-context-needed

@f10fdb8 official
by githubgithub/awesome-copilot42k stars
5,426
Run it yourself

Ask Copilot what files it needs to see before answering a question

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/what-context-needed

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈22 tokens for metadata: the name and description. ≈191 when used: this file.

Description uses 1.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈88 characters, or 1.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill functions as a template to help the AI identify which project files are needed to answer a user's request. It contains no code, network operations, or sensitive data access and is safe for use.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer9mo

    1 file scanned · No issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at f10fdb8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 7 months ago
  • copilot
  • context
  • code-review
  • prompt-engineering
  • github

README badge

README badge for github/awesome-copilot/what-context-needed

Prompts Claude to explicitly list which files it needs to examine before answering a coding question, categorizing them by priority and noting already-seen context. Use this skill when you want to avoid incomplete or speculative answers by having Claude declare its information gaps upfront.

Generated from the current SKILL.md.

What does this skill do?
It prompts Claude to list which files and context it needs to see before answering a coding question, helping you avoid back-and-forth clarification cycles.
When should I use this skill?
Use it when asking a complex question about your codebase and you want Claude to identify upfront what it needs to review rather than discovering gaps partway through the answer.
Does this skill modify my question or codebase?
No. It only instructs Claude to ask for context. You then provide the files it lists and ask your original question again.

Generated from the current SKILL.md. These answers refresh after source changes.