Cairo
/install cairo
Cairo — StarkNet Smart Contract Reference
Quick reference for Cairo language syntax, types, storage patterns, events, contract templates, and testing guidance for StarkNet development.
Commands
syntax
Core Cairo syntax reference — variables, functions, control flow.
bash scripts/script.sh syntax
types
Cairo type system — felt252, integers, structs, enums, arrays.
bash scripts/script.sh types
storage
Storage variable patterns and access.
bash scripts/script.sh storage
events
Event declaration, emission, and indexing.
bash scripts/script.sh events
template
Generate a starter contract template.
bash scripts/script.sh template erc20
bash scripts/script.sh template ownable
help
Show all commands.
bash scripts/script.sh help
Output
- Syntax examples with explanations
- Contract boilerplate code
- Storage and event patterns
Feedback
https://bytesagain.com/feedback/ Powered by BytesAgain | bytesagain.com
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install cairo - After installation, invoke the skill by name or use
/cairo - Provide required inputs per the skill's parameter spec and get structured output
What is Cairo?
Use when writing Cairo smart contracts for StarkNet, looking up syntax and types, defining storage and events, generating contract templates, or reviewing te... It is an AI Agent Skill for Claude Code / OpenClaw, with 183 downloads so far.
How do I install Cairo?
Run "/install cairo" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Cairo free?
Yes, Cairo is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Cairo support?
Cairo is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Cairo?
It is built and maintained by bytesagain-lab (@bytesagain-lab); the current version is v2.0.1.