files

files is a skill for Claude Code from lacerbi/dotclaude. It costs 9 tokens per session (489 once invoked), scanned A, original, MIT.

A task guide for finding the three to six files that give an AI coding agent the wider context it needs before starting work. It focuses on plans, architecture notes, project conventions, and other background files.

In plain words
What is it for?
Selecting context files before a coding task, such as a plan, README, architecture document, or example implementation.
Why use it?
It helps prevent an agent from focusing only on the immediate code change and missing important project rules or design decisions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Selecting context files before a coding task, such as a plan, README, architecture document, or example implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lacerbi/dotclaude/files
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lacerbi/dotclaude --skill files
Clone the repo
git clone --depth 1 https://github.com/lacerbi/dotclaude

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for files

README.md
[![agentmods](https://agentmods.dev/badge/skills/lacerbi/dotclaude/files/github.svg)](https://agentmods.dev/skills/lacerbi/dotclaude/files)
Your own site
<a href="https://agentmods.dev/skills/lacerbi/dotclaude/files"><img src="https://agentmods.dev/badge/skills/lacerbi/dotclaude/files/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for files

Your own site · 80×15
<a href="https://agentmods.dev/skills/lacerbi/dotclaude/files"><img src="https://agentmods.dev/badge/skills/lacerbi/dotclaude/files.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 489 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00009 $0.00489
Opus 5.5 $0.00004 $0.00196
Sonnet 5.5 $0.00002 $0.00098
Haiku 4.5 $0.00001 $0.00049

Measured 1mo ago against content hash fb43a40f83d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

files scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/files/SKILL.md · 49 lines

What it actually says

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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 49 lines · 9 tokens per session scan A fb43a40f83d6

Subscribe to this mod's changes

files is a skill published in the GitHub repository lacerbi/dotclaude (2 stars, last pushed yesterday), licensed MIT. It adds 9 tokens to every session and 489 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

preserving-context

Captures working state before it is lost. Use before context compaction, when switching between unrelated tasks, after completing a logical phase of multi-step work, or when work will resume in a new session. Triggers on long tasks, multi-file changes, context warnings, or "continue later" scenarios.

oryanmoshe/agent-skills · 65 tokens

git-ai-search

Search and restore AI conversation context from git history.

git-ai-project/git-ai · 13 tokens

run-memory

Shared step of the marketing playbooks (analyze-performance, run-paid-campaigns, research-competitors, email-lifecycle): reads the last run's record, checks whether its recommendations were done and whether they worked, and saves a short record of this run for the next one. Loaded by those playbooks; not for direct…

gooseworks-ai/goose-skills · 72 tokens

company-brain

Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so an agent can answer on your team's behalf. Team-scope sibling to second-brain — personal notes go there, not here. Modes — capture, compile (wiki pages + INDEX.md), query (trust-weighted, saved to outputs/)…

coreyhaines31/makerskills · 230 tokens

claude-reflect

Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md. Use when discussing learnings, corrections, or when the user mentions remembering something for future sessions.

BayramAnnakov/claude-reflect · 46 tokens

brain-ingest

The process for digesting a conversation, document, or research result, classifying it, and writing it down as brain content (a root-page update or a new/updated page) through the brain CLI.

mindmuxai/brain.md · 48 tokens