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.
npx agentmods add instructions/sneldao/ligis/agents-mdgit clone --depth 1 https://github.com/sneldao/ligisWrote 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.
[](https://agentmods.dev/instructions/sneldao/ligis/agents-md)<a href="https://agentmods.dev/instructions/sneldao/ligis/agents-md"><img src="https://agentmods.dev/badge/instructions/sneldao/ligis/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.02941 | $0.02941 |
| Opus 5 | $0.01470 | $0.01470 |
| Sonnet 5 | $0.00588 | $0.00588 |
| Haiku 4.5 | $0.00294 | $0.00294 |
Grade D, and why
ligis AGENTS.md scanned grade D with 3 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 3d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt-get install -y libssl-dev pkg-config Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl http://127.0.0.1:9430/health How it starts
The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ligis — Agent Notes
Casper Contract Build
The Casper contracts use Odra 2.8.1 and require a nightly Rust toolchain.
Building WASM
# From packages/contracts-casper/
# AgentId:
RUSTFLAGS="-C target-feature=-bulk-memory,-bulk-memory-opt" \
ODRA_MODULE=AgentId \
RUSTC_BOOTSTRAP=1 \
rustup run nightly-2026-01-01 cargo rustc \
--release --target wasm32-unknown-unknown \
--bin ligis_contracts_casper_build_contract \
-Zbuild-std=core,alloc \
-- -C linker=/usr/local/bin/wasm-ld
cp target/wasm32-unknown-unknown/release/ligis_contracts_casper_build_contract.wasm wasm/AgentId.wasm
# CredentialRegistry:
RUSTFLAGS="-C target-feature=-bulk-memory,-bulk-memory-opt" \
ODRA_MODULE=CredentialRegistry \
RUSTC_BOOTSTRAP=1 \
rustup run nightly-2026-01-01 cargo rustc \
--release --target wasm32-unknown-unknown \
--bin ligis_contracts_casper_build_contract \
-Zbuild-std=core,alloc \
-- -C linker=/usr/local/bin/wasm-ld
cp target/wasm32-unknown-unknown/release/ligis_contracts_casper_build_contract.wasm wasm/CredentialRegistry.wasm
# GatedVault (credential-gated escrow DeFi primitive):
RUSTFLAGS="-C target-feature=-bulk-memory,-bulk-memory-opt" \
ODRA_MODULE=GatedVault \
RUSTC_BOOTSTRAP=1 \
rustup run nightly-2026-01-01 cargo rustc \
--release --target wasm32-unknown-unknown \
--bin ligis_contracts_casper_build_contract \
-Zbuild-std=core,alloc \
-- -C linker=/usr/local/bin/wasm-ld
cp target/wasm32-unknown-unknown/release/ligis_contracts_casper_build_contract.wasm wasm/GatedVault.wasm
Key points:
ODRA_MODULEmust be the CamelCase struct name (e.g.,CredentialRegistry, notcredential_registry)-C target-feature=-bulk-memory,-bulk-memory-optis required — Casper's WASM runtime doesn't support bulk memory operations-C linker=/usr/local/bin/wasm-ldis needed because the nightly toolchain doesn't includerust-lldfor wasm32RUSTC_BOOTSTRAP=1allows using-Zbuild-stdon nightly
Deploying to Testnet
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.
- 3d ago First seen · 260 lines · 2,941 tokens per session scan D bc83dc4e91a6
ligis AGENTS.md is an instructions file published in the GitHub repository sneldao/ligis (2 stars, last pushed 7d ago), licensed MIT. It adds 2,941 tokens to every session, about $0.0147 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
Get-Started-with-Web3 AGENTS.md
AGENTS.md instructions for beihaili/Get-Started-with-Web3, covering get started with web3 agent notes, 项目定位, ceo 运营目标, 常用命令 and ai-native 内容层.
behavioral-prediction-mcp CLAUDE.md
Instructions for ChainAware/behavioral-prediction-mcp, covering chainaware behavioral prediction mcp, project overview, mcp tools (14 total), batch pipeline and repository structure.
all AGENTS.md
Instructions for animicaorg/all, covering animica — agent guide, repo layout (the directories that matter), install and run, tests and live endpoints (mainnet, verified 2026-08-14).
A2A AGENTS.md
Instructions for gstdcoin/A2A, covering 🤖 agents.md — universal agent onboarding protocol, 🌐 network identity, ⚡ phase 1: immediate activation (required), step 1 — health check and step 2 — register as network node.
emer-ai-tools AGENTS.md
Instructions for emercoin/emer-ai-tools, covering the problem, what this gives you, how it works, trust model and tools (mcp).
drpc-agent-skills GEMINI.md
Gemini CLI instructions for drpcorg/drpc-agent-skills: @./skills/drpc-rpc/SKILL.md @./skills/drpc-rpc/setup.md @./skills/drpc-rpc/direct-http.md @./skills/drpc-rpc/tools-reference.md @./skills/drpc-rpc/recipes-simple.md @./skills/drpc-rpc/recipes-crosschain.md @./skills/drpc-rpc/recipes-defi-basics.md…