← Back to Skills Marketplace
bytesagain-lab

Cairo

by bytesagain-lab · GitHub ↗ · v2.0.1 · MIT-0
cross-platform ✓ Security Clean
183
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install cairo
Description
Use when writing Cairo smart contracts for StarkNet, looking up syntax and types, defining storage and events, generating contract templates, or reviewing te...
README (SKILL.md)

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

Usage Guidance
This skill appears internally consistent and low risk: it bundles a local shell script that prints Cairo reference material and templates, asks for no credentials, and has no install steps. Before running, you should still: (1) open and read the full scripts/script.sh file yourself to confirm there are no network calls or commands you don't expect (the provided snippet was truncated at the end), (2) run it in a sandbox or restricted environment if you are cautious, and (3) avoid granting elevated or persistent privileges to any skill unless you trust its source. If you allow autonomous agent invocation, note that the agent could execute the script automatically when triggered — this is normal but worth knowing.
Capability Analysis
Type: OpenClaw Skill Name: cairo Version: 2.0.1 The Cairo skill bundle is a legitimate reference tool for StarkNet smart contract development. The core logic in `scripts/script.sh` consists of static text outputs providing syntax guides, type definitions, and contract templates (ERC-20, Ownable, Counter) without any network calls, file system modifications, or data exfiltration attempts.
Capability Assessment
Purpose & Capability
Name/description promise reference material and templates for Cairo; the runtime instructions invoke a local scripts/script.sh which prints syntax, types, storage, events and templates — this is exactly what a reference/template skill would need.
Instruction Scope
SKILL.md only instructs running the included shell script (bash scripts/script.sh <command>). The script outputs documentation and templates and does not read unrelated system files or environment variables in the visible content.
Install Mechanism
No install spec is provided (instruction-only with one bundled script). This is low-risk; nothing is downloaded or extracted during install. The only runtime dependency is bash, which is normal and declared implicitly by the command examples.
Credentials
The skill declares no required environment variables, no primary credential, and the script does not access secrets or external credentials in the reviewed content.
Persistence & Privilege
always is false, the skill does not request permanent presence or modify other skills or system configs. It runs on-demand per SKILL.md.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cairo
  3. After installation, invoke the skill by name or use /cairo
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.1
v2.0.0 full rewrite: name+description+script
v1.0.0
publish v1.0.0
Metadata
Slug cairo
Version 2.0.1
License MIT-0
All-time Installs 2
Active Installs 1
Total Versions 2
Frequently Asked Questions

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.

💬 Comments