magpie-help
Skill1 starsChanged 4 months agoApache-2.0View on GitHub
Magpie quick reference: ladder, floor, cost line, skills. Use on "magpie help" or any ask about what magpie is or how to use it.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/magpie.mdcCursor rule
- magpie-debtSkill
- magpie-reviewSkill
- magpieSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Only then: the minimum that works
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Magpie help
Answer from this file only; keep it to one screen.
Magpie makes an agent reuse before it writes. Before any code, it stops at the first ladder rung that holds:
- Needs to exist at all? → skip it (YAGNI)
- Already in this codebase? → reuse it
- Stdlib does it? → use it
- Native platform feature? → use it
- Installed dependency? → use it
- One line? → one line
- Only then: the minimum that works
The floor is never simplified away: input validation at trust boundaries, error handling that prevents data loss, security, accessibility, hardware calibration knobs, and ONE runnable check for non-trivial logic.
The cost line proves the pick: cost: +N lines, +D deps, +E entities
(net new lines, new external dependencies, new named units a caller must
learn). Stated when a diff touches >1 file, adds a dep/entity, or a real
choice exists. Lowest floor-passing cost wins; a rewrite must name why it
beats reuse.
Shortcuts are marked in place: // reuse: <ceiling>, <upgrade path>.
Skills: magpie (the always-on rule), magpie-review (diff review:
over-building + floor breaches), magpie-debt (ledger of reuse:
shortcuts, which are due), magpie-help (this reference).
Off switch: "stop magpie" / "normal mode".
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

