what-context-needed

Generate categorized file lists with relevance explanations for codebase questions.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/selfagency/agentsy --skill what-context-needed-selfagency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: what-context-needed
Source: https://github.com/selfagency/agentsy/tree/main/.agents/skills/what-context-needed
Command: npx skills add https://github.com/selfagency/agentsy --skill what-context-needed-selfagency

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents slow or inaccurate answers by making the AI explicitly request the specific repository files needed to address your question correctly.

Core Features & Use Cases

  • Targeted file discovery: Produces a categorized list of must-see and should-see files tailored to your question.
  • Relevance and uncertainty reporting: Explains why each file matters and surfaces what the AI still cannot know without viewing the code.
  • Context awareness: Notes which files have already been seen in the current conversation to avoid duplication.

Quick Start

Ask the skill: "What context do you need to answer: {{question}}?" and then provide the listed files.

Frequently Asked Questions about what-context-needed

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I determine the exact files an AI needs to answer a codebase question?

To determine exact files for a codebase question, request a categorized list of must-see and should-see files tailored to the query, ensuring the AI inspects relevant repository context before responding.

What context is needed to debug architecture issues in a large codebase?

Debugging architecture issues requires specific repository context. You need to provide targeted file selections that the AI identifies as necessary, including relevance explanations and noted uncertainties.

How do I avoid providing unnecessary files when asking questions about my codebase?

Avoid providing unnecessary files by generating a minimal set of required files. The process categorizes files into must-see and should-see groups, tracking already-provided context to prevent duplication.

Can I track which repository files have already been shared in a coding conversation?

Yes, you can track shared repository files. The context awareness feature notes which files have already been seen in the current conversation to avoid requesting duplicates for subsequent questions.

Why does the AI need to state uncertainties when requesting codebase files?

The AI states uncertainties to surface what it still cannot know without viewing the code. This relevance and uncertainty reporting ensures accurate answers by highlighting missing context.

Does requirements gathering work with targeted file discovery?

Requirements gathering works with targeted file discovery by producing a categorized list of files needed to address the question accurately, explaining why each file matters to the overall requirements.