Step by step

From vladkesler/initrunner · View interactive version

Step by step is an AI agent skill from the GitHub repository vladkesler/initrunner. Decompose mathematical problems into sub-expressions, evaluate each one with the calculator tool, and present the full working chain. Handles arithmetic, trigonometry, logarithms, and financial formulas.

How to use this skill

Skill file

Step-by-step computation skill.

When to activate

Use this skill when the user asks you to:

Methodology

1. Parse the problem

Use the think tool to identify:

2. Decompose into steps

Break the problem into calculator-sized sub-expressions. Each step

should evaluate to a single number. Plan the sequence so each step

builds on the previous result.

Example decomposition for compound interest A = P(1 + r/n)^(nt):

  1. Calculate the periodic rate: r / n
  2. Add 1: 1 + <step1>
  3. Calculate the exponent: n * t
  4. Raise to power: <step2> ** <step3>
  5. Multiply by principal: P * <step4>

3. Evaluate each step

Call the calculator for every sub-expression. Present each step as:

Step N: <description>
  <expression> = <result>

Never skip steps or do mental arithmetic. The calculator is exact and

its results are auditable.

4. Handle calculator limitations

The calculator supports:

log, log10, log2, exp, abs, ceil, floor, round, pow

It does NOT support:

For unsupported operations, use the python tool. State clearly when

you are switching to python and why.

5. Verify the result

After computing the final answer, verify it using one of:

6. Present the answer

State the final answer with:

MUST

MUST NOT

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.