mochi-local-sandbox

mochi-local-sandbox is a skill for Codex from hyperledger-iroha/iroha. It costs 82 tokens per session (791 once invoked), scanned A, original, Apache-2.0.

A guide for starting Mochi, a local Iroha blockchain sandbox and its local MCP endpoint for development.

In plain words
What is it for?
Use it to start or check a local devnet, obtain its MCP connection command, and use generated TypeScript, Rust, or Kotlin connection code.
Why use it?
It provides a repeatable local network with health checks and generated connection files, so experiments do not depend on a public live network.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to start or check a local devnet, obtain its MCP connection command, and use generated TypeScript, Rust, or Kotlin connection code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hyperledger-iroha/iroha/mochi-local-sandbox
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hyperledger-iroha/iroha --skill mochi-local-sandbox
Clone the repo
git clone --depth 1 https://github.com/hyperledger-iroha/iroha

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mochi-local-sandbox

README.md
[![agentmods](https://agentmods.dev/badge/skills/hyperledger-iroha/iroha/mochi-local-sandbox/github.svg)](https://agentmods.dev/skills/hyperledger-iroha/iroha/mochi-local-sandbox)
Your own site
<a href="https://agentmods.dev/skills/hyperledger-iroha/iroha/mochi-local-sandbox"><img src="https://agentmods.dev/badge/skills/hyperledger-iroha/iroha/mochi-local-sandbox/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mochi-local-sandbox

Your own site · 80×15
<a href="https://agentmods.dev/skills/hyperledger-iroha/iroha/mochi-local-sandbox"><img src="https://agentmods.dev/badge/skills/hyperledger-iroha/iroha/mochi-local-sandbox.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 791 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.00791
Opus 5 $0.00041 $0.00396
Sonnet 5 $0.00016 $0.00158
Haiku 4.5 $0.00008 $0.00079

Measured 8d ago against content hash 3d743841b957, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

mochi-local-sandbox scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mochi-local-sandbox/SKILL.md · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mochi Local Sandbox

Use Mochi as the local Iroha devnet launcher and MCP bridge.

Quick Start

  1. Start the sandbox from the target workspace:
    • scripts/mochi_local_sandbox.sh up
    • Use MOCHI_WORKSPACE_ROOT=/path/to/app when the current shell is not already in the app workspace.
    • Use MOCHI_PROFILE=four-peer-bft when the user wants the four-validator rehearsal instead of the default single-peer.
  2. Confirm the sandbox is healthy:
    • scripts/mochi_local_sandbox.sh status
    • Healthy means status: ready, ready: true, and mcp_ready: true.
    • stale-session means session.json exists but the detached Mochi process is gone; inspect serve.log and rerun up or reset.
  3. If Codex needs the local MCP endpoint, print the exact add command:
    • scripts/mochi_local_sandbox.sh mcp-add-command
  4. Use the workspace bootstrap artifacts:
    • .env.local
    • .mochi/generated/typescript/connect.ts
    • .mochi/generated/rust/connect.rs
    • .mochi/generated/kotlin/MochiConnect.kt

Working Rules

  1. Prefer Mochi's curated local iroha.* MCP tools. Do not prefer raw torii.* tools when the local MCP surface is healthy.
  2. Treat .env.local, session.json, and any generated IROHA_PRIVATE_KEY value as runtime-only local-dev material. Do not commit them or copy them into permanent docs.
  3. Use scripts/mochi_local_sandbox.sh env when you need copy/paste shell exports for a local app.
  4. Use scripts/mochi_local_sandbox.sh reset when the local chain must be wiped and regenerated.
  5. Expect generated local configs to enable [torii.mcp] with the curated writer profile and [torii.transport.norito_rpc] with enabled = true, require_mtls = false, and stage = "ga".
  6. If up fails, inspect:
    • scripts/mochi_local_sandbox.sh status
    • <workspace>/.mochi/sandbox/<profile>/serve.log
    • <workspace>/.mochi/sandbox/<profile>/session.json when it exists
    • <workspace>/.mochi/sandbox/<profile>/serve.pid when status reports stale-session
  7. If readiness smoke fails, treat serve.log as authoritative. The smoke path updates metadata on the existing wonderland.universal domain and confirms commit through block/event streams plus HTTP transaction-status fallback.
  8. If the user wants a custom non-preset profile, prefer the GUI or direct mochi sandbox serve flow instead of stretching the helper script beyond single-peer and four-peer-bft.

Read the full file on GitHub · 49 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 49 lines · 82 tokens per session scan A 3d743841b957

Subscribe to this mod's changes

mochi-local-sandbox is a skill published in the GitHub repository hyperledger-iroha/iroha (488 stars, last pushed today), licensed Apache-2.0. It adds 82 tokens to every session and 791 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

lineth-quickstart

Operating manual for the Lineth Stack quickstart — the Docker-Compose dev/demo stack at docs/getting-started/lineth-stack in the lineth-monorepo that boots a local Linea/Lineth L2 with Sepolia or local L1 finality. Use whenever you are working inside the lineth-stack quickstart and need to boot or run the stack…

LFDT-Lineth/lineth-monorepo · 228 tokens

docker-compose

Multi-container Docker applications with docker-compose — define services, networks, volumes, and orchestrate local development environments.

kevinnft/ai-agent-skills · 24 tokens

blockchain-dlt

Architect and audit Distributed Ledger/Blockchain systems and Smart Contracts.

andreibesleaga/GABBE · 16 tokens

onchain-data-analysis

On-chain data analysis skill for Etherscan, Dune Analytics, and blockchain explorers.

XSpoonAi/spoon-awesome-skill · 22 tokens

sui-and-move-tools

Use to get bytecode for a deployed Sui package and produce a disassembled working view. One GraphQL call fetches every module's raw bytecode bytes; sui move disassemble (already on the system, running sui prompt) produces .asm files for analysis. Trigger on "fetch this package's bytecode", "get me the .mv for package…

MystenLabs/sui · 105 tokens

implementing-container-image-minimal-base-with-distroless

Reduce container attack surface by building application images on Google distroless base images that contain only the application runtime with no shell, package manager, or unnecessary OS utilities.

xalgorix/xalgorix · 45 tokens