← 返回 Skills 市场
bytesagain-lab

Cairo

作者 bytesagain-lab · GitHub ↗ · v2.0.1 · MIT-0
cross-platform ✓ 安全检测通过
183
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install cairo
功能描述
Use when writing Cairo smart contracts for StarkNet, looking up syntax and types, defining storage and events, generating contract templates, or reviewing te...
使用说明 (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

安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cairo
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cairo 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.1
v2.0.0 full rewrite: name+description+script
v1.0.0
publish v1.0.0
元数据
Slug cairo
版本 2.0.1
许可证 MIT-0
累计安装 2
当前安装数 1
历史版本数 2
常见问题

Cairo 是什么?

Use when writing Cairo smart contracts for StarkNet, looking up syntax and types, defining storage and events, generating contract templates, or reviewing te... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 183 次。

如何安装 Cairo?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cairo」即可一键安装,无需额外配置。

Cairo 是免费的吗?

是的,Cairo 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Cairo 支持哪些平台?

Cairo 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Cairo?

由 bytesagain-lab(@bytesagain-lab)开发并维护,当前版本 v2.0.1。

💬 留言讨论