typefox/agent-skills/arithmetics-dsl

Claude Code and agent skill by typefox/agent-skills

Trust tier 3
  • community
Source check pending

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-dsl

SKILL.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:

module myCalc

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.

def a: 5;
def b: 3;
def c: a + b;
a + c;

Functions take parameters in parentheses:

def square(x): x * x;
square(4);

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/typefox/agent-skills/arithmetics-dsl/badge)](https://verified-skill.com/skills/typefox/agent-skills/arithmetics-dsl)

Something wrong with this skill or its page? Tell us.