Skip to content
Back to skills

Cairo Arithmetic Circuits

ASecurity

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

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
documentation

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill cairo-arithmetic-circuits --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cairo Arithmetic Circuits?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cairo Arithmetic Circuits
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-cairo-arithmetic-circuits/badge)](https://www.skillsdirectory.com/skills/david-li0406-cairo-arithmetic-circuits)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cairo-arithmetic-circuits
description: Explain Cairo arithmetic circuits using core::circuit, gates, CircuitElement, and evaluation; use when a request involves building or evaluating arithmetic circuits in Cairo.
---

# 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 `circuit_add` and `circuit_mul`.
- Mention the `u384` limb type and modulus selection.

## Response Checklist
- Use `CircuitElement<T>` and `CircuitInput<N>` for inputs.
- Combine gates with `circuit_add`, `circuit_sub`, `circuit_mul`, `circuit_inverse`.
- 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?"

Files in this skill

  • SKILL.md1 KB
  • references/arithmetic-circuits.md758 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…