typefox/agent-skills/arithmetics-dsl
Claude Code and agent skill by typefox/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Work with the Arithmetics calculator DSL (.calc) — a small language for defining named values and functions and evaluating expressions. Use when the user wants to write or edit arithmetics modules, define functions, or compute expressions in this DSL.
Install
npx vskill@latest install typefox/agent-skills/arithmetics-dslSKILL.md
Arithmetics DSL
A little calculator language. A file is a module that contains some definitions and some expressions to evaluate.
Basics
Start a file with a module declaration:
After that you can write definitions and evaluations. A definition gives a name to a value or a function, and an evaluation is just an expression that gets computed.
Functions take parameters in parentheses:
Statements end with a semicolon.
Expressions
Expressions support the usual arithmetic operators — addition, subtraction, multiplication, division, power, and modulo. You can use parentheses to group things. Operators follow normal math precedence, so multiplication binds tighter than addition and so on.
Numbers can be integers or decimals.
Notes
- You can call other functions inside a definition, including building functions on top of other
functions.
- Symbol names are fairly flexible.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/skill-evals/evals/files/dsl-skills/arithmetics-dsl/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/typefox/agent-skills/arithmetics-dsl)