Skip to content
Agentmart
Submit a tool

aim-calc

A stateful scientific calculator.

Skill by BrianV1981

IndexedMIT★ 13
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/brianv1981-aim-calc-144fd1

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

A stateful scientific calculator. Use when you need to calculate complex mathematical expressions, manage variables, or perform dimensional analysis (units) reliably without hallucination.

Use cases: research

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/aim-calc

What's inside

Skill name
aim-calc
Description
A stateful scientific calculator. Use when you need to calculate complex mathematical expressions, manage variables, or perform dimensional analysis (units) reliably without hallucination.
License
MIT
Instructions
32 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • run.py · scripts/

SKILL.md (first lines)

# aim-calc: The Agent-Native Scientific Calculator

You are strictly forbidden from calculating complex math using your internal weights. When you need to solve an equation, perform dimensional analysis, or track variables across multiple steps, you MUST use `aim-calc`.

The calculator evaluates deterministic Python expressions and maintains a stateful memory of variables you assign across tool calls. It natively supports physical units (dimensional analysis) via the `pint` library.

**Execution Command:**
`python skills/aim-calc/scripts/aim_calc.py "<expression>"`

## Workflow & Examples

**1. Basic Math:**
`python skills/aim-calc/scripts/aim_calc.py "sqrt(398600 / 6678.0)"`
The output will be strict JSON.

**2. Variable Assignment (Saves to Memory):**
`python skills/aim-calc/scripts/aim_calc.py "v_leo = sqrt(398600 / 6678.0)"`
This stores `v_leo` in the persistent memory state (`.calc_state.json`) and silently logs to `.calc_audit.log`.

**3. Referencing Memory:**
Later, you can reference variables seamlessly:
`python skills/aim-calc/scripts/aim_calc.py "burn1 = v_tp - v_leo"`

**4. Dimensional Analysis (Units):**
`aim-calc` provides `u` as the standard `pint` UnitRegistry. You can define units natively:
`python skills/aim-calc/scripts/aim_calc.py "speed = 12 * u.meter / u.second"`
`python skills/aim-calc/scripts/aim_calc.py "distance = speed * (2 * u.minute)"`
`python skills/aim-calc/scripts/aim_calc.py "distance.to(u.km)"`

All executions return structured JSON containing success/error status, evaluated floats, and actionable error messages/Tracebacks if you make a syntax mistake.

From BrianV1981/aim, MIT.

Signals

Stars
13
Forks
1
Open issues
50
Last commit (this folder)
Apr 25, 2026 (6 months ago)
Last release
Mar 26, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from BrianV1981

Cite this page

aim-calc skill. Agent Mart. https://agentmart.dev/skills/brianv1981-aim-calc-144fd1 (last updated 2026-10-24)