← 返回 Skills 市场
Setup Solidity Contracts
作者
samledger67-dotcom
· GitHub ↗
· v1.0.1
· MIT-0
283
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install setup-solidity-contracts
功能描述
Set up a Solidity smart contract project with OpenZeppelin Contracts. Use when users need to: (1) create a new Hardhat or Foundry project, (2) install OpenZe...
安全使用建议
This skill appears to do what it says (set up Hardhat/Foundry + OpenZeppelin), but take precautions before running its commands automatically:
- Note the mismatch: the skill doesn't declare required binaries but the instructions use curl, bash, npx, npm, forge, foundryup. Ensure those tools exist or install them manually.
- The Foundry install uses curl | bash (remote script execution). Inspect the script at https://foundry.paradigm.xyz before running, or use your distro/package-manager alternative.
- Prefer pinned release tags when running `forge install OpenZeppelin/...@v<TAG>`; avoid pulling default branches in automated installs.
- Run these setup steps in a controlled environment (local dev VM, container, or sandbox) rather than a production host.
- If you want to allow an agent to run this autonomously, restrict it to an environment where running arbitrary installers is safe.
If you want, I can rewrite the steps to avoid curl|bash (give manual install alternatives) and add a checklist of binaries to declare before executing.
功能分析
Type: OpenClaw Skill
Name: setup-solidity-contracts
Version: 1.0.1
The skill bundle provides standard, legitimate instructions for setting up Solidity development environments using Hardhat and Foundry. While it includes a 'curl | bash' command in SKILL.md for installing Foundry, this is the official installation method from the legitimate paradigm.xyz domain. The instructions for dependency management and remappings are technically accurate and align with OpenZeppelin's official documentation.
能力评估
Purpose & Capability
The name/description match the SKILL.md content: it covers creating Hardhat/Foundry projects and installing OpenZeppelin. However the skill metadata declares no required binaries or environment variables while the instructions assume multiple CLI tools (curl, bash, npx, npm, forge, foundryup). That mismatch between declared requirements (none) and expected runtime tools is an inconsistency.
Instruction Scope
Instructions stay within the stated scope (project init, dependency install, remappings, compiler notes) and do not request unrelated files or credentials. They do instruct the agent to detect project type by checking for files like hardhat.config.* and foundry.toml, which is reasonable. However the instructions also direct running commands that will fetch and execute remote code (see install section), and they assume presence of multiple CLIs without declaring them.
Install Mechanism
Although this is an instruction-only skill (no install spec), the SKILL.md recommends installing Foundry via a piped remote script (curl -L https://foundry.paradigm.xyz | bash). That pattern is common for Foundry but is high-risk because the remote script runs arbitrary code on the host. The skill also advises using forge install which pulls code from GitHub; the guidance to pin release tags is good but the default behavior (pulling default branch) is noted as unstable. Recommend inspecting the remote installer before running or using distribution/package-managed installs instead.
Credentials
The skill requests no credentials or environment variables and does not instruct accessing secrets. This is proportionate to its purpose.
Persistence & Privilege
Skill metadata does not request always:true or system-level persistence. It is user-invocable and allows autonomous invocation (platform default), which is expected. The SKILL.md does not attempt to modify other skills or global agent configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install setup-solidity-contracts - 安装完成后,直接呼叫该 Skill 的名称或使用
/setup-solidity-contracts触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Fix display name from probe to proper title
v98.0.0
probe
v1.0.0
Initial release — OpenZeppelin Contracts skill for AI agents
元数据
常见问题
Setup Solidity Contracts 是什么?
Set up a Solidity smart contract project with OpenZeppelin Contracts. Use when users need to: (1) create a new Hardhat or Foundry project, (2) install OpenZe... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 283 次。
如何安装 Setup Solidity Contracts?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install setup-solidity-contracts」即可一键安装,无需额外配置。
Setup Solidity Contracts 是免费的吗?
是的,Setup Solidity Contracts 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Setup Solidity Contracts 支持哪些平台?
Setup Solidity Contracts 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Setup Solidity Contracts?
由 samledger67-dotcom(@samledger67-dotcom)开发并维护,当前版本 v1.0.1。
推荐 Skills