refit-agentslisted
Install: claude install-skill crsmithdev/aleph
# Refit agents
[refit-code](../refit-code/SKILL.md) for agents. refit-code asks whether the code is good; this asks whether an agent can
use and change the repo without help, and what the repo costs the agent's context. Nine **lenses** each ask one
question; the modes decide where and how they run. Read `PRINCIPLES.md` and `.refit.json` at the repo root
when they exist: its `accepted` list, shared with refit-code, holds what the repo keeps on purpose, each
`{"concept", "copies": ["file[:line]", ...], "reason"}`, and
an accepted candidate is reported as accepted, not as a finding.
**Agent files** are every file an agent loads as instructions: `CLAUDE.md`, `CLAUDE.local.md`, `AGENTS.md`,
`.cursorrules`, `.github/copilot-instructions.md`, `llms.txt`, skills (`SKILL.md` and the files it links), subagents,
slash commands, `hooks.json` and settings hooks, `.mcp.json`, plugin manifests, and the output of hooks that inject
context.
## Lenses
| Lens | Asks | File |
|---|---|---|
| **valid** | Does each agent file parse and meet its spec? | [VALID.md](VALID.md) |
| **load** | Does each always-loaded line earn its tokens? | [LOAD.md](LOAD.md) |
| **structure** | Does each skill load in tiers, so that the agent reads only what its branch needs? | [STRUCTURE.md](STRUCTURE.md) |
| **triggers** | Does each description fire on its branches, and only there? | [TRIGGERS.md](TRIGGERS.md) |
| **drift** | Does each agent file agree with the code and with the other agent files? | [DRIFT.md](DR