Skip to content
Back to skills

Files

ASecurity

Identify files needed to accomplish a task

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 26, 2026
ai-agentsbash

Security analysis

A100/100

Scanned September 26, 2026

npx -y skills add lacerbi/dotclaude --skill files --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Files?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Files
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lacerbi-files/badge)](https://www.skillsdirectory.com/skills/lacerbi-files)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: files
disable-model-invocation: true
description: Identify files needed to accomplish a task
allowed-tools: Bash(find:*), Bash(grep:*), Bash(ls:*), Glob, Grep, Read
argument-hint: <task description>
---
## Task
$ARGUMENTS

## Your Task

Identify the **essential context files** someone needs to read before starting this task — the files that rebuild the broader understanding an agent needs to avoid tunnel vision.

### What This Is For

A fresh agent is about to work on this task with a clean context window. It will naturally discover specific implementation files as it works. **Your job is different**: identify the 3–6 files that provide the *surrounding context* — the big picture that prevents the agent from being over-focused on the immediate task and making mistakes from ignorance.

### What to Include

- **The task/plan file** if one exists (e.g., `PLAN-foo.md`)
- **Core project docs**: Architecture files, design docs, devlogs, or READMEs that explain *why* things are the way they are — *if* they are useful to understand the broader context
- **Key conventions or patterns**: Files that show how similar work was done, or that establish standards the task must follow
- **Critical implicit context**: Things that someone familiar with the project would know but a fresh agent won't

### What NOT to Include

- Files the agent will find on its own through normal exploration
- Every file tangentially related to the task
- CLAUDE.md/AGENTS.md (loaded automatically)
- Long lists of implementation files — if you're listing more than ~6 files, you're being too granular

### Process

1. Understand the task scope
2. Explore the project for broader context docs (architecture, design, devlogs, guides)
3. Select the smallest set of files that gives a fresh agent the big picture

### Output Format

Output a short list with brief explanations:

```
path/to/file - why it matters for context
path/to/other - why it matters for context
```

Aim for **~6 files** (3–6 typical; a few extra are allowed if truly important, e.g., for a fragmented knowledge base). After outputting the list, stop — do not read the files or start working.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.