Agent skill

Localnet

by boundless-xyz in boundless-xyz/boundless

Start and interact with the Boundless localnet (docker compose-based local development network).

Apache-2.0Auto-check: notesDevelopment

Install Localnet

skills CLI
$ npx skills add boundless-xyz/boundless --skill localnet -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install boundless-xyz/boundless localnet --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/boundless-xyz/boundless.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/localnet .claude/skills/localnet && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
localnet
GitHub stars
193
Token cost
~1.8k tokens
SKILL.md length
703 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

Start and interact with the Boundless localnet (docker compose-based local development network).

  • The user wants to start localnet
  • SKILL.md covers Prerequisites, Choose Mode, Starting Localnet and Checking Order Status, plus 2 more sections
  • Calls just, cargo and docker
  • Run the local network

What it does

Localnet is an agent skill from boundless-xyz/boundless. Start and interact with the Boundless localnet (docker compose-based local development network). Covers dev mode (fake proofs, broker included) and full proving mode, submitting requests, and debugging order flow. Use when the user wants to start localnet, run the local network, test proof requests locally, or debug broker/order-stream issues.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Containers and Debugging. It works with Docker. The repository describes itself as: Monorepo for Boundless, the universal ZK protocol. The licence is Apache-2.0.

When your agent uses it

  • The user wants to start localnet
  • Run the local network
  • Test proof requests locally
  • Debug broker/order-stream issues

Example prompts

  • “/localnet”

Requirements

  • Docker

What it can do on your machine

Read from SKILL.md and the folder at commit 93e971a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • just
    • cargo
    • docker
    • curl
    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use docker and curl, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Localnet loads about 1.8k tokens when it runs. Until then it costs about 89 tokens; SKILL.md has 703 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~89
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:41
    . Other commands don't need it — `source .env.localnet` sets it.
  • NoteMentions a .env fileSKILL.md:56
    source .env.localnet && cargo run --example submit_echo -- \
  • NoteMentions a .env fileSKILL.md:70
    . Other commands don't need it — `source .env.localnet` sets it.
  • NoteMentions a .env fileSKILL.md:77
    source .env.localnet && just prover
  • NoteMentions a .env fileSKILL.md:80
    source .env.localnet && cargo run --example submit_echo -- \

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from boundless-xyz/boundless at commit 93e971a, republished under its Apache-2.0 licence (© boundless-xyz). 703 words, ~1,788 tokens.

Download SKILL.mdSave it as .claude/skills/localnet/SKILL.md (or your agent's skills folder).
name
localnet
description
Start and interact with the Boundless localnet (docker compose-based local development network). Covers dev mode (fake proofs, broker included) and full proving mode, submitting requests, and debugging order flow. Use when the user wants to start localnet, run the local network, test proof requests locally, or debug broker/order-stream issues.

Boundless Localnet

Guide the user through starting and using the docker compose-based localnet.

Prerequisites

Before starting, ensure:

  • Docker is running
  • Contracts and guest binaries are built: forge build && cargo check
  • Guest ELF binaries exist at target/riscv-guest/ (built by cargo check)

Choose Mode

Ask the user which mode they want (default to dev mode):

Dev Mode (default, fast — fake proofs)

Uses RISC0_DEV_MODE=1. Proofs are faked so everything is instant. The broker runs as part of the docker compose cluster — no separate terminal needed. Best for testing request flow, contract interactions, and integration.

Full Proving Mode (real proofs, requires GPU or Bento cluster)

Uses RISC0_DEV_MODE=false. The broker is NOT included in the localnet cluster. Start it separately with just prover (Bento + broker). Requires a proving backend (local GPU or Bento cluster).

Starting Localnet

Dev Mode

Run just localnet in the foreground (not as a background task). It handles deploying contracts and starting all services — wait for it to complete before submitting requests. This avoids needing to poll container status while the deployer runs.

Explicitly set RISC0_DEV_MODE on the just localnet command to avoid inheriting a stale value from the terminal environment. Other commands don't need it — source .env.localnet sets it.

bash
# Start the full localnet (anvil + postgres + minio + order-stream + broker)
# Run in foreground — wait for it to finish before proceeding
RISC0_DEV_MODE=1 just localnet
Submitting a test request

Submit in a background task, then monitor status through order-stream, on-chain, and broker logs while it waits for fulfillment.

For immediate broker acceptance, the offer's max-price must cover the broker's estimated lock+fulfill gas cost (its lockin_gas_estimate + fulfill_gas_estimate config, ~620k gas ≈ 0.0007 ETH on anvil at 1 gwei), and min-price should sit above it for an instant lock. 0.001 ETH min / 0.003 ETH max clears both. The price starts at min-price before rampUpStart (defaults to now() + 30s), so setting min-price high enough means the broker accepts before the ramp even begins.

bash
source .env.localnet && cargo run --example submit_echo -- \
  --bidding-start "$(date +%s)" \
  --min-price "0.001 ETH" \
  --max-price "0.003 ETH"

Why these values:

  • --bidding-start "$(date +%s)": Sets rampUpStart to now. Without this, the default is now() + 30s (DEFAULT_BASE_RAMP_UP_DELAY), which delays when the auction begins.
  • --min-price "0.001 ETH": Above the broker's estimated lock+fulfill gas cost (~0.0007 ETH on anvil). If max-price is below that estimate the broker skips the order outright ("estimated gas cost ... exceeds max price"); if only min-price is low, it delays the lock until the auction ramps past its threshold.
  • --max-price "0.003 ETH": ~3x min-price, reasonable ceiling
Full Proving Mode

Explicitly set RISC0_DEV_MODE=false on the just localnet command to avoid inheriting a stale value from the terminal environment. Other commands don't need it — source .env.localnet sets it.

bash
# Terminal 1: Start the localnet (anvil + postgres + minio + order-stream, NO broker)
RISC0_DEV_MODE=false just localnet

# Terminal 2: Start the prover cluster (Bento + broker)
source .env.localnet && just prover

# Terminal 3: Submit a test request
source .env.localnet && cargo run --example submit_echo -- \
  --bidding-start "$(date +%s)" \
  --min-price "0.001 ETH" \
  --max-price "0.003 ETH"

Checking Order Status

After submitting a request, you'll see a request ID like:

Submitted request: 90f79bf6eb2c4f870365e785982e1f101e93b9061d289271
Query the order-stream

Note: the limit query parameter is required.

bash
# List recent orders
curl -s "http://localhost:8585/api/v1/orders?limit=10" | jq .

# Query a specific order by request ID
curl -s "http://localhost:8585/api/v1/orders?request_id=<REQUEST_ID>&limit=10" | jq .
Show full SKILL.md (279 more words)Show less
Check request status from broker logs

Use broker logs to extract the requestor-relevant milestones. The user cares about when the request was submitted, locked, and fulfilled, plus the fulfilled price — not the internal proving pipeline steps.

bash
# Dev mode: broker runs in compose
docker compose -f dockerfiles/compose.localnet.yml --profile dev-broker logs broker 2>&1 | grep <REQUEST_ID>

Key log lines to look for:

  • Locked request <ID> — when the broker locked it
  • Completed order: <ID> eth_reward: <PRICE> — when it was fulfilled and at what price
  • The order's created_at field from the order-stream query shows submission time

Present status to the user as:

EventTime
Submitted(from order-stream created_at)
Locked(from broker log "Locked request")
Fulfilled(from broker log "Completed order")

Fulfilled price: (from eth_reward in the "Completed order" log line)

Check order-stream logs
bash
docker compose -f dockerfiles/compose.localnet.yml logs order-stream

# Watch live
docker compose -f dockerfiles/compose.localnet.yml logs -f order-stream

Stopping

bash
# Stop localnet (preserves anvil state for restart)
just localnet down

# Stop and wipe all state (fresh start)
just localnet clean

Troubleshooting

Request stuck at "Unknown"
  • Check order-stream logs — did it receive the order?
  • If Broadcasted order ... to 0 clients, the broker isn't connected to the WebSocket
  • In dev mode, check broker container is running: docker compose -f dockerfiles/compose.localnet.yml --profile dev-broker ps
Broker delays lock ("scheduled for lock attempt in Ns")

The broker waits until the auction price exceeds its minimum profitable price (gas costs + min_mcycle_price). To avoid this delay, set --min-price above the broker's estimated lock+fulfill gas cost (~0.0007 ETH on anvil). The price sits at min-price before rampUpStart (default now() + 30s), so a sufficiently high min-price means instant acceptance.

Broker not picking up orders
  • Check that --min-price is high enough to cover gas + min_mcycle_price
  • Check broker's min_mcycle_price in broker.toml vs the offer price
Price oracle errors on anvil
  • Ensure broker.toml has the [price_oracle] section with static prices and chainlink disabled. just localnet adds this automatically.
Port conflicts
  • Localnet uses ports: 8545 (anvil), 8585 (order-stream), 5435 (postgres), 9100/9101 (minio)
  • Check for conflicts: ss -tlnp | grep -E '8545|8585|5435|9100'

© boundless-xyz, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/localnet of boundless-xyz/boundless.

Open the folder on GitHubat commit 93e971a

Compare with similar skills

Localnet next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Localnet compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Localnet this skillboundless-xyz/boundless193—~1.8kAutomated safety check: NotesApache-2.0
Dotnet Debuggingnovotnyllc/dotnet-artisan233—~2.1kAutomated safety check: PassMIT
Linux Vm Testnubjs/nub4.4k—~986Automated safety check: PassMIT
Debugging Local Task Agent RunsPostHog/posthog40k—~2.1kAutomated safety check: NotesCustom licence
Borg Live Debugkaranhudia/borg-ui1.7k—~1.4kAutomated safety check: NotesAGPL-3.0
.NET Crash Dump Collectiondotnet/skills5.6k2 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Dotnet Debugging

    novotnyllc/dotnet-artisan

    Debugs Windows and Linux/macOS applications (native, .NET/CLR, mixed-mode) with WinDbg MCP (crash dumps, !analyze, !syncblk, !dlk, !runaway, !dumpheap, !gcroot, BSOD), dotnet-dump, lldb with SOS…

    233 GitHub stars~2.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Linux Vm Test

    nubjs/nub

    Run ad-hoc Nub tests and debugging probes on real local Linux guests.

    4.4k GitHub stars~986 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Official

    Debug the output of local PostHog task runs — the wizard cloud-run path that executes inside a Docker sandbox under the local Temporal process-task workflow (the wizard that integrates PostHog, then…

    40k GitHub stars~2.1k tokensUpdated today
    DevelopmentAuto-check: notes
  • Borg Live Debug

    karanhudia/borg-ui

    Live Borg debugging by exec-ing into the borg-web-ui Docker container.

    1.7k GitHub stars~1.4k tokensUpdated yesterday
    DevOps & CloudAuto-check: notes
  • Official

    Configures automatic crash dumps or captures dumps from running processes for modern .NET apps on Linux, macOS and Windows, including Docker and Kubernetes.

    5.6k GitHub starsUsed in 2 repos~1.1k tokens
    DevOps & CloudAuto-check passed
  • Medusa Cloud Local Build

    medusajs/medusa-agent-skills

    Reproduces a Medusa Cloud build on your machine with mcloud local build, to debug build-failed deployments without pushing or waiting on Cloud.

    227 GitHub stars~1k tokensUpdated 3 days ago
    DevOps & CloudAuto-check: notes

More from boundless-xyz/boundless

All 12 skills in this repo
  • Boundless CLI

    boundless-xyz/boundless

    How to use the Boundless CLI — the primary interface for the Boundless ZK proof marketplace.

    193 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Ops Indexer Query

    boundless-xyz/boundless

    Internal — for Boundless team members only. An agent skill from boundless-xyz/boundless.

    193 GitHub stars~3.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Ops Query

    boundless-xyz/boundless

    Internal — for Boundless team members only. An agent skill from boundless-xyz/boundless.

    193 GitHub stars~3.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Ops Add New Chain

    boundless-xyz/boundless

    Internal — for Boundless team members only. An agent skill from boundless-xyz/boundless.

    193 GitHub stars~3.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Ops Check Balances

    boundless-xyz/boundless

    Internal — for Boundless team members only. An agent skill from boundless-xyz/boundless.

    193 GitHub stars~4.9k tokensUpdated 1 mo ago
    Auto-check: notes
  • Ops Logs Query

    boundless-xyz/boundless

    Internal — for Boundless team members only. An agent skill from boundless-xyz/boundless.

    193 GitHub stars~3.5k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Localnet

What does Localnet do?

Start and interact with the Boundless localnet (docker compose-based local development network). Localnet is an agent skill from boundless-xyz/boundless. Start and interact with the Boundless localnet (docker compose-based local development network).

When should I use Localnet?

Localnet fits situations like: the user wants to start localnet; run the local network; test proof requests locally; debug broker/order-stream issues.

How do I install Localnet in Claude Code?

Run `npx skills add boundless-xyz/boundless --skill localnet -a claude-code`. Or copy the skill folder (.claude/skills/localnet in boundless-xyz/boundless) into .claude/skills/localnet in your project. Claude Code loads it when a task matches its description.

How do I install Localnet in Codex?

Run `npx skills add boundless-xyz/boundless --skill localnet -a codex`. Or copy the skill folder (.claude/skills/localnet in boundless-xyz/boundless) into .agents/skills/localnet in your project. Codex loads it when a task matches its description.

Can I use Localnet in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add boundless-xyz/boundless --skill localnet -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/localnet, .gemini/skills/localnet, .github/skills/localnet and .opencode/skills/localnet in your project.

What does Localnet need to run?

Going by SKILL.md and its folder, Localnet needs the command-line tools its instructions call (just, cargo, docker, curl and jq). Our summary lists: Docker.

Does Localnet access the network?

SKILL.md contains no URLs. Its commands use docker and curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Localnet safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Localnet use?

Localnet is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Localnet use?

About 1.8k tokens (SKILL.md is roughly 7.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Localnet?

Skills that share tags, products or a category with Localnet: Dotnet Debugging (novotnyllc/dotnet-artisan, 233 stars), Linux Vm Test (nubjs/nub, 4.4k stars), Debugging Local Task Agent Runs (PostHog/posthog, 40k stars) and Borg Live Debug (karanhudia/borg-ui, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Localnet?

boundless-xyz (a GitHub organization) maintains it in boundless-xyz/boundless, which has 193 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on August 26, 2026.

Source: boundless-xyz/boundless on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.