← Back to Skills Marketplace
Setup Cairo Contracts
by
samledger67-dotcom
· GitHub ↗
· v1.0.1
· MIT-0
268
Downloads
0
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install setup-cairo-contracts
Description
Set up a Cairo smart contract project with OpenZeppelin Contracts for Cairo on Starknet. Use when users need to: (1) create a new Scarb/Starknet project, (2)...
Usage Guidance
This skill appears to do what it says (scaffold a Cairo/Starknet project and add OpenZeppelin Cairo packages), but it directs you to run a remote installer via 'curl | sh' from https://sh.starkup.sh. Executing a shell script fetched directly from the network runs arbitrary code on your machine and is risky.
Before running the command (or letting an agent run it for you):
- Verify the installer URL is official (check Starkup/Starknet project docs or official repositories). Do not trust an unknown domain without confirmation.
- Inspect the installer first (curl the URL and open the script in a text editor) instead of piping it to sh; look for unexpected network calls, credential prompts, or privilege escalations.
- Prefer installation methods with signed releases, checksums, or package-manager distributions (e.g., official GitHub releases, distro packages, or instructions from the official docs). If a checksum or signature is available, verify it.
- Run installers in an isolated environment (container or VM) if you need to evaluate them first.
If you control the environment and confirm the installer is official and safe, the rest of the instructions are reasonable. If you cannot verify the installer origin, avoid executing the curl | sh step.
Capability Analysis
Type: OpenClaw Skill
Name: setup-cairo-contracts
Version: 1.0.1
The skill bundle provides standard documentation and instructions for setting up a Cairo/Starknet development environment using OpenZeppelin contracts. While it includes a 'curl | sh' command to install the Starknet toolchain via 'sh.starkup.sh', this is a common pattern for developer tools and aligns with the stated purpose of project scaffolding. The content includes helpful security advice regarding storage collisions and contains no evidence of malicious intent, data exfiltration, or prompt injection.
Capability Assessment
Purpose & Capability
The name, description, and instructions are coherent: scaffolding a Scarb/Starknet project, adding OpenZeppelin dependencies, and showing import conventions are all directly related. No unrelated binaries, env vars, or config paths are requested.
Instruction Scope
SKILL.md instructs the agent to run 'curl --proto '=https' --tlsv1.2 -sSf https://sh.starkup.sh | sh' to install the toolchain. Aside from that installer step, the instructions stay within scope (scarb new, edit Scarb.toml, import examples). The remote-install step grants the script full execution control and is open-ended (no verification, no checksum, no alternative safer install path provided).
Install Mechanism
There is no formal install spec, but the runtime instructions include a remote shell install pattern (curl | sh) from sh.starkup.sh. This is a high-risk install mechanism: the domain is not an obviously well-known release host (e.g., GitHub releases), and the script would be executed without validation. Instruction-only skills can still induce installs — that install is the primary risk here.
Credentials
The skill requests no environment variables, credentials, or config paths. This is proportionate to its purpose.
Persistence & Privilege
Skill flags show no 'always: true' or other elevated persistence. It's user-invocable and can be invoked autonomously (platform default), but it does not request persistent system-level privileges in the manifest.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install setup-cairo-contracts - After installation, invoke the skill by name or use
/setup-cairo-contracts - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Initial release: Cairo/OpenZeppelin project scaffolding for Starknet
v98.0.0
probe
v1.0.0
Initial release — OpenZeppelin Contracts skill for AI agents
Metadata
Frequently Asked Questions
What is Setup Cairo Contracts?
Set up a Cairo smart contract project with OpenZeppelin Contracts for Cairo on Starknet. Use when users need to: (1) create a new Scarb/Starknet project, (2)... It is an AI Agent Skill for Claude Code / OpenClaw, with 268 downloads so far.
How do I install Setup Cairo Contracts?
Run "/install setup-cairo-contracts" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Setup Cairo Contracts free?
Yes, Setup Cairo Contracts is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Setup Cairo Contracts support?
Setup Cairo Contracts is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Setup Cairo Contracts?
It is built and maintained by samledger67-dotcom (@samledger67-dotcom); the current version is v1.0.1.
More Skills