smithery.ai

cairo-arithmetic-circuits

Explain Cairo arithmetic circuits using core::circuit, gates, CircuitElement, and evaluation; use when a request involves building or evaluating arithmetic circuits in Cairo.

First seen Apr 16, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,026 B
  • docs SUMMARY.md 207 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Cairo Arithmetic Circuits

Overview

Guide building and evaluating arithmetic circuits using Cairo's core circuit module.

Quick Use

  • Read references/arithmetic-circuits.md before answering.
  • Use a small example like a * (a + b) with circuitadd and circuitmul.
  • Mention the u384 limb type and modulus selection.

Response Checklist

  • Use CircuitElement<T> and CircuitInput<N> for inputs.
  • Combine gates with circuitadd, circuitsub, circuitmul, circuitinverse.
  • Build outputs as a tuple of circuit elements.
  • Provide witnesses via CircuitInputs and evaluate with a CircuitModulus.

Example Requests

  • "How do I build a simple arithmetic circuit in Cairo?"
  • "What are AddMod/MulMod gates used for?"
  • "How do I evaluate a circuit with a modulus?"