| name | calc-step-a |
| description | Private calc stage A (sum of squares). Invoked by calc-pipeline with two numbers as its argument; not meant to be run directly by the user. Computes a²+b² and hands off to stage B. |
| user-invocable | false |
| argument-hint | [a] [b] |
Stage A — sum of squares
You are running stage A of the calc pipeline. This skill is private
(user-invocable: false): the user did not call it directly — it was invoked as
the first link in the chain, with two numbers as its argument ($ARGUMENTS): the
legs a and b.
Do exactly this:
-
Parse the legs from the argument: a = $1, b = $2.
-
Compute the sum of squares: s = a² + b².
-
Create (overwrite) pipeline.log in the current directory with:
=== calc-pipeline run: a=<a> b=<b> ===
[A] sum of squares: a² + b² = <s>
-
Tell the user, in one line: Stage A: a²+b² = <s> — handing off to B.
-
Invoke the calc-step-b skill, passing <s> (the sum of squares) as its
argument.
Do only stage A's work plus the hand-off to B. Do not do B's or C's work.