files

files is a skill for Claude Code, Codex 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 CodeCodex

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.

agentmods
npx agentmods add skills/lacerbi/dotclaude/files
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, Codex.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00009 $0.00489
Opus 5 $0.00005 $0.00244
Sonnet 5 $0.00002 $0.00098
Haiku 4.5 $0.00001 $0.00049

Measured 4d ago against content hash fb43a40f83d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 5d ago), licensed MIT. It adds 9 tokens to every session and 489 once invoked, about $0.0000 per session on Opus 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

hyperpod-node-debugger

Diagnose and remediate per-node issues on a HyperPod cluster (EKS or Slurm) — a specific node is unhealthy, unresponsive, stuck, or needs replacing. Covers on-node EFA, GPU / accelerator hardware (XID, ECC, NVLink, row-remap, DCGM), Slurm node down/drained, disk and memory pressure, per-node lifecycle-script failures…

awslabs/agent-plugins · 139 tokens

brain-page

Operating manual for reading and writing a project's brain — every read and write goes through the bundled zero-dependency brain CLI; never hand-edit brain files. Read it before creating or modifying any page or root page.

mindmuxai/brain.md · 47 tokens

brain-bootstrap

Seed a freshly-scaffolded brain with real project knowledge — on an existing (brownfield) project read the code, docs, and git log to draft the six root pages and capture key historical decisions; on a near-empty (greenfield) project interview the user. Every write goes through the brain CLI. Run it after brain-setup.

mindmuxai/brain.md · 74 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

immune

Hybrid adaptive memory: Cheatsheet (positive patterns pre-generation) and Immune (negative patterns post-generation) with Hot/Cold tiered auto-learning. Triggers on: "scan for errors", "immune scan", "check output quality", "antibody scan". NOT for PR review (use pr-review) or repo audits (use repo-sentinel).

Mathews-Tom/armory · 73 tokens

brain-setup

Bootstrap the Open Project Brain Standard into the current project — prefer brain init (ensure BRAIN.md, scaffold empty brain brainRoot-aware, default-wire CLAUDE.md + AGENTS.md). Optionally install a pre-commit hook and a Claude Code SessionStart hook.

mindmuxai/brain.md · 60 tokens