gno-ibc AGENTS.md

gno-ibc AGENTS.md is an instructions file for Codex, OpenCode from onbloc/gno-ibc. It costs 6,537 tokens per session, scanned A, original, Apache-2.0.

Project-specific instructions for onbloc/gno-ibc, a codebase using Gno, a Go-like language that runs in a deterministic blockchain virtual machine. They explain its file types, imports, configuration, testing, and light-client proof checks.

In plain words
What is it for?
Building and testing Gno realms and packages, checking light-client proofs, and following the project's required conventions.
Why use it?
It prevents treating Gno files like ordinary Go code and helps avoid incorrect commands, imports, or blockchain verification logic.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/onbloc/gno-ibc/agents-md
Clone the repo
git clone --depth 1 https://github.com/onbloc/gno-ibc

Made for: Codex, OpenCode.

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 gno-ibc AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/onbloc/gno-ibc/agents-md.svg)](https://agentmods.dev/instructions/onbloc/gno-ibc/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/onbloc/gno-ibc/agents-md"><img src="https://agentmods.dev/badge/instructions/onbloc/gno-ibc/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 6,537 This file is loaded in full into every session.
When invoked 6,537 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.06537 $0.06537
Opus 5 $0.03268 $0.03268
Sonnet 5 $0.01307 $0.01307
Haiku 4.5 $0.00654 $0.00654

Measured 4d ago against content hash b1ebf9359dc4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gno-ibc AGENTS.md 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 4d 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.

AGENTS.md · 502 lines

How it starts

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

AGENTS.md

.gno Files Are NOT Go

  • .gno looks like Go but runs in a deterministic VM.
  • No goroutines, channels, unsafe, net, os.
  • Realms (r/) are stateful (on-chain state).
  • Packages (p/) are stateless libraries.
  • Import paths: gno.land/p/... or gno.land/r/...never github.com/....
  • Module config: gnomod.toml (not go.mod).
  • cross(cur) operator for cross-realm calls (the legacy bare cross / cross1 keyword is gone).
  • realm type for realm-aware functions. Functions that act on their own realm's state declare cur realm as the first parameter.

Build & Test

Gno tests Go tests
make test for the first-party suite; gno test ./path/... for focused runs go test ./...
Test files: _test.gno Test files: _test.go

Light Client Proof Verification

  • Any core-hosted code path that verifies membership or non-membership proofs must reject inactive clients before proof verification.
  • For Union core paths (gno.land/r/onbloc/ibc/union/core and versioned implementation realms such as gno.land/r/onbloc/ibc/union/core/v1), keep the existing core-level lightClient.Status() == lightclient.Active checks before every VerifyMembership or VerifyNonMembership call. Treat gno.land/r/aib/ibc/core as the vendored gno-realms reference path, not the active onbloc Union core path.
  • The lightclient.Interface adapter methods do not by themselves guarantee active-status gating. Existing object adapters such as cometbls and state_lens/ics23_mpt rely on the core caller to enforce active status before calling VerifyMembership or VerifyNonMembership; state_lens reports its status from the underlying L1 client.
  • Adapter implementations should still enforce status checks they own when they are not guaranteed by the caller or when they verify through another light client directly. Use lightclient.Active for internal status checks; use types.StatusActive only for converted public status values.
  • New proof-verification paths must include tests showing that frozen or expired clients cannot be used for membership or non-membership proof verification, either at the core caller boundary or inside the adapter when the adapter owns that guard.

Read the full file on GitHub · 502 lines

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. 4d ago First seen · 502 lines · 6,537 tokens per session scan A b1ebf9359dc4

Subscribe to this mod's changes

gno-ibc AGENTS.md is an instructions file published in the GitHub repository onbloc/gno-ibc (5 stars, last pushed 4d ago), licensed Apache-2.0. It adds 6,537 tokens to every session, about $0.0327 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-08-31.