Token导航 LogoToken导航

Agent Skill · 运维和基础设施

cardano-devnet-in-a-box(盒子里的卡尔达诺开发网)

cardano-devnet-in-a-box 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

cardano-devnet-in-a-box 是运维和基础设施类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有未通过项,按安装量在运维和基础设施类的 2,449 个 Skill 里排第 1,971。

总安装 329周安装 14GitHub Stars 7下载 115核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cardano-devnet-in-a-box(盒子里的卡尔达诺开发网)
来源仓库:https://github.com/flux-point-studios/cardano-agent-skills
仓库路径:skills/cardano-devnet-in-a-box
安装命令:
npx skills add https://github.com/flux-point-studios/cardano-agent-skills --skill cardano-devnet-in-a-box
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/flux-point-studios/cardano-agent-skills --skill cardano-devnet-in-a-box

这个 Skill 是做什么的

运维和基础设施类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

cardano-devnet-in-a-box 搭建本地端到端 Cardano 开发与测试环境。集成 cardano-node、Hydra、Ogmios 与 Kupo,支持 L1/L2 全栈演练。基于 Hydra 官方 demo devnet 构建,确保环境已知良好状态。

使用前应预留足够磁盘空间与内存资源,避免容器启动失败。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/cardano-devnet-in-a-box

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/flux-point-studios/cardano-agent-skills --skil…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

cardano-devnet-in-a-box 怎么安装?

在终端执行 npx skills add https://github.com/flux-point-studios/cardano-agent-skills --skill cardano-…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

cardano-devnet-in-a-box 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

cardano-devnet-in-a-box 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

cardano-devnet-in-a-box 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

cardano-devnet-in-a-box 用的人多吗?

公开数据是累计安装 329 次,近一周安装 14 次,下载 115 次,GitHub 7 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

cardano-devnet-in-a-box 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理运维和基础设施类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

运维和基础设施类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
brainstorming

头脑风暴 · Codex、Claude

3,148,776173,131操作浏览器MIT通过
copywriting

文案写作 · Codex、Claude

1,996,72425,583需要联网MIT通过
openclaw-secure-linux-cloud

OpenClaw secure linux cloud 命令行 · Codex、Claude

1,853,08840接触敏感数据未明确未通过
xget

xget 命令行 · Codex、Claude

1,799,28040执行命令未明确未通过
requesting-code-review

代码审查请求 · Codex、Claude

1,590,144173,103权限未标注MIT通过
cardano-devnet-in-a-box

盒子里的卡尔达诺开发网 · 本页

3297需要联网未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Cardano Devnet-in-a-Box (cardano-node + hydra + ogmios + kupo)

What this skill is for

You are setting up a local, end-to-end rehearsal environment so we can:

  • build/sign/submit real transactions (cardano-cli)
  • run dApp infra (Ogmios + Kupo)
  • open/close a Hydra Head and push L2 txs

…all locally before anyone even thinks about mainnet.

This skill uses Hydra’s official demo devnet as the base (because it’s the most “known-good” path), then bolts on Ogmios + Kupo as extra services.

Hydra’s docs describe this demo setup: a single fast local devnet + 3 Hydra nodes (Alice/Bob/Carol) + hydra-tui.

Kupo’s Docker image docs show the minimal container flags we reuse (--node-socket, --node-config, --host, --workdir).

Hydra publishes official Docker images at ghcr.io/cardano-scaling/hydra-node.


Assumptions

  • Docker is installed and running.
  • git is available.
  • Ports available on host:

- 1337 (ogmios) - 1442 (kupo) - 4001-4003 (hydra API) - 3000 (grafana, optional)


The canonical setup

If the repo already has devnet-in-a-box/

Run:

cd devnet-in-a-box
chmod +x run.sh
./run.sh up

This will:

  1. Clone cardano-scaling/hydra into devnet-in-a-box/.vendor/hydra
  2. Copy our docker-compose.override.yml into hydra/demo/
  3. Run the upstream demo scripts:

- ./prepare-devnet.sh (creates the devnet/ folder + fresh genesis start time) - ./seed-devnet.sh (publishes Hydra scripts + funds parties)

  1. Start:

- cardano-node - hydra-node-1..3 - ogmios - kupo

If the repo does NOT have devnet-in-a-box/

Create it by copying these exact files from the skill repo:

  • devnet-in-a-box/run.sh
  • devnet-in-a-box/docker-compose.override.yml
  • devnet-in-a-box/README.md

(They’re designed to be dropped into any project.)


Endpoints

  • Ogmios (WebSocket): ws://localhost:1337
  • Kupo (HTTP): http://localhost:1442
  • Hydra API:

- Alice: http://localhost:4001 - Bob: http://localhost:4002 - Carol: http://localhost:4003


How to use it (agent playbook)

1) Bring the stack up

./devnet-in-a-box/run.sh up

2) Open a head (fastest path = TUI)

In 3 terminals:

./devnet-in-a-box/run.sh tui 1
./devnet-in-a-box/run.sh tui 2
./devnet-in-a-box/run.sh tui 3

Then inside the TUI:

  • [i] init
  • [c] commit
  • once all parties commit, the head opens automatically

Hydra’s docs walk through this flow.

3) Validate the L1 + infra are alive

From the demo directory (the script handles paths for you), you can query the chain tip:

./devnet-in-a-box/run.sh logs cardano-node

Or directly:

cd devnet-in-a-box/.vendor/hydra/demo
docker compose exec -T cardano-node cardano-cli query tip --testnet-magic 42 --socket-path /devnet/node.socket

4) Use Ogmios + Kupo for app-level rehearsal

Typical dApp stack:

  • Kupo for UTxO lookup / index queries
  • Ogmios for chain sync + tx submission

This is the pair most “realistic” apps use for local integration tests.


Deterministic rehearsal (green / red)

For a no-vibes end-to-end check, run:

cd devnet-in-a-box
./run.sh rehearsal

It will:

  • run a smoke test (cardano-node + hydra APIs + optional kupo health)
  • create a tiny always-true Plutus script UTxO on L1 (inline datum = 42, 10 ADA)
  • initialize a Hydra Head
  • commit: Alice (script UTxO + collateral) + Bob + Carol
  • submit one L2 transaction that spends the script UTxO inside the head
  • close → wait contestation → fanout

If everything works you get GREEN. Otherwise you get RED and the failing step.

Lightweight health check:

./run.sh smoke

Troubleshooting (quick hits)

TraceNoLedgerView in cardano-node logs

That’s almost always a genesis start time drift.

Fix: rerun prepare + restart the node.

cd devnet-in-a-box/.vendor/hydra/demo
./prepare-devnet.sh
docker compose up -d --force-recreate cardano-node

Hydra docs explicitly warn about waiting too long after prepare-devnet.sh.

Ogmios/Kupo can’t open the node socket

Usually permissions on devnet/node.socket.

The run.sh tries to chmod a+w the socket from inside the container.

If it still fails:

cd devnet-in-a-box/.vendor/hydra/demo
docker compose exec -u root cardano-node chmod a+w /devnet/node.socket

Kupo is “running” but returns nothing

Make sure we’re indexing something.

We default to --match "*" for devnet so it indexes everything.

If you change it, you can accidentally index zero addresses.


Hard rule

This devnet harness is for rehearsals:

  • never treat the demo keys as production keys
  • never assume devnet settings ≈ mainnet settings
  • always re-check protocol params, cost models, and script budgets when moving to preprod/mainnet

平台分布

Codex

37.32%
按下载量换算43

Claude

27.3%
按下载量换算31

Cursor

17.21%
按下载量换算20

Gemini CLI

8.71%
按下载量换算10

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills