Guide · Agent skill
How to use the Formula Derivation agent skill (formula-derivation)
Updated · written with AI from the project's own documentation and checked against our catalogue data
The formula-derivation skill is an agent skill that turns scattered equations, assumptions and theory notes into a structured derivation package saved as a Markdown file. It is aimed at researchers and students who need a checkable chain of steps before writing a paper. After this guide you will know what the skill does, how to install it from the ZIP or the Claude apps, how to phrase a request that triggers it, and what its limits are.
Quick start
- 1Install the skill. Download the ZIP from this page and unzip it into ~/.claude/skills/ for all projects, or into .claude/skills/ in one project. Alternatively, upload it under Settings → Capabilities → Skills in the Claude apps.
- 2Confirm the files. Check that the unzipped folder contains SKILL.md, the skill's main file.
- 3Prepare your notes. Gather the formulas, notes and assumptions you want derived, and note the file paths that hold them.
- 4Make a natural request. Describe the target derivation and point to your files, for example asking for a derivation package from notes/theory_draft.md.
- 5Let the agent fix the target. The agent states the target, invariant object and notation before doing any symbolic manipulation.
- 6Review the derivation file. Open DERIVATION_PACKAGE.md, check the Status field, and verify every approximation and proposition label.
- 7Move content into your paper yourself. Copy verified content into your paper or appendix manually, since the skill does not write into paper files unless asked.
What is an agent skill, and what does this one make the agent do?
An agent skill is a folder containing a SKILL.md file that gives an AI agent specific instructions for a task. When the skill is installed and your request matches its description, the agent follows those instructions instead of its default approach.
This skill makes the agent behave like a careful theory collaborator. Given messy formulas, notes or a research goal, it first fixes exactly what is being derived, identifies the core quantity that should organise the argument, and writes out assumptions and notation.
It then labels every nontrivial step as an identity (exact algebraic reformulation), a proposition (needs stated conditions), an approximation, or an interpretation. The result is saved as a structured Markdown file, by default DERIVATION_PACKAGE.md in the project root. If the notes cannot support a coherent derivation, the skill writes a blocker report instead of a polished but misleading story.
Install the formula-derivation skill
There are two routes. In Claude Code, download the ZIP of the skill from this page and unzip it into ~/.claude/skills/ to make it available to all your projects, or into a project's .claude/skills/ folder to limit it to that project. In the Claude apps, upload the skill under Settings → Capabilities → Skills.
Check that the unzipped folder contains SKILL.md. The skill's files reviewed here consist of that single file.
- Personal install: ~/.claude/skills/
- Project install: .claude/skills/ inside your project folder
- Claude apps: Settings → Capabilities → Skills (upload)
~/.claude/skills/formula-derivation/SKILL.mdWhat does the agent need to run it?
The agent must support SKILL.md skills and have file read and write and search tools (Read, Write, Edit, Grep, Glob). The skill is designed to write the derivation file, so it needs write access to your project folder.
The skill's allowed-tools list also references an optional lean-formalize skill. That skill is not included in the files reviewed for this page, so the formula-derivation skill works without it but cannot call it.
- Agent with SKILL.md skill support
- File read, write, edit and search tools (Read, Write, Edit, Grep, Glob)
- Optional: lean-formalize skill (not included here)
Trigger the skill with a natural request
The skill activates when your request matches its description: deriving a formula (推导公式), building a theory line, organising assumptions, turning scattered equations into a coherent derivation, or rewriting theory notes into a paper-ready formula document. It is also suited to cases where the derivation target is not yet fixed or you need a derivation package rather than a finished theorem proof.
Give the agent the goal, the current formulas or notes, and any file paths. You can also pass a short description as an argument, since the skill accepts a problem goal, current formulas or notes as its argument hint.
Good requests name the target and the output you want. For example: 'Use the formula-derivation skill to turn the equations in notes/theory_draft.md into a derivation package for the effective cost bound, and flag every approximation.'
- Name the target quantity or relation you want derived.
- Point to the files holding your notes or formula drafts.
- State the output mode if you have one: internal alignment note, paper-style theory draft, or blocker report.
- Say which steps you suspect are approximations so they get flagged.
Read and use the output
The skill writes a derivation package with a fixed structure: Target, Status, Invariant Object, Assumptions, Notation, Derivation Strategy, Derivation Map, Main Derivation, Remarks and Interpretation, Boundaries and Non-Claims, and Open Risks. The Status field is one of COHERENT AS STATED, COHERENT AFTER REFRAMING / EXTRA ASSUMPTION, or NOT YET COHERENT.
Check every step labelled as an approximation or proposition before relying on it. The skill is told not to write into paper or appendix .tex files unless you explicitly ask, so you move the content across yourself.
- Status tells you how far the notes support the target.
- Approximation and proposition labels show where conditions still need checking.
- Open Risks lists what is still unresolved.
Safety notes: scripts and network
According to the skill's documentation, it runs no scripts and uses no network access. Its activity is limited to reading and writing files through the agent's file tools in your project.
Because it writes files, review what it changes, especially when it updates an existing derivation file. The skill is instructed to read an existing file first and update the relevant section rather than duplicating content.
- Runs scripts: no
- Uses network: no
- Writes derivation files in your project; review changes before committing.
Tips for better derivation packages
Give the skill the messiest version of your notes rather than a cleaned-up summary, because the skill is designed to surface hidden assumptions and undefined notation. Name the object you believe organises the argument, and the skill will check whether it is a true top-level object, a proxy, a local slice or an approximation.
Expect a blocker report when the notes do not support the claim. That is the intended behaviour, not a failure.
- Provide the original notation; the skill preserves it unless cleanup is needed for coherence.
- Ask for the blocker report explicitly if you want a gap analysis instead of a derivation.
- Use the output as a checkable outline and have an expert verify it before publication.
What people use it for
- Turning scattered equations from a research notebook into a derivation outline before drafting a paper section.
- Converting a student's lecture notes into a chain of steps where each identity or approximation is labelled.
- Checking whether a proposed theory line is coherent, or getting a blocker report that lists missing assumptions.
- Organising the assumptions and notation shared by a team working on the same theory notes.
Frequently asked questions
Is the formula-derivation skill free, and what licence is it under?
The skill is published under the MIT licence, as stated on this page. The licence terms are what govern reuse, so check the licence file in the source repository for the full text.
How do I install the formula-derivation skill in Claude Code?
Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. Make sure the folder contains SKILL.md.
How do I add a skill in the Claude apps?
In the Claude apps, go to Settings → Capabilities → Skills and upload the skill. The agent then uses it when your request matches its description.
Does this skill write a finished theorem proof?
No. The skill targets derivation packages rather than completed proofs, and its output still needs expert checking. It may call the lean-formalize skill, which is not included here.
Does it edit my paper LaTeX automatically?
No. The skill is told not to write into paper or appendix .tex files unless you explicitly ask for that target, so you move content across yourself.
What do I do if the skill returns a blocker report?
A blocker report means the notes cannot yet support a coherent derivation. Read the exact blocker it lists, such as a missing object, unstable assumptions or unsupported approximation, and add the suggested assumption or reframing before trying again.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Use this skill if you are a researcher, student or team with scattered formulas who needs a clear, checkable derivation outline with assumptions and approximations flagged. Pick something else if you need a finished rigorous theorem proof, automatic paper LaTeX, or help with general homework or code debugging, since the structured workflow adds overhead there.
Download the skill