gno-ibc: Instructions file for Codex

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

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is onbloc/gno-ibc's own configuration. It tells Codex and OpenCode how to work on gno-ibc itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gno-ibc configures →

Reuse

Borrowing it

Nothing to install: this file belongs to onbloc/gno-ibc. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/onbloc/gno-ibc/main/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/github.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/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 gno-ibc AGENTS.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.06537 $0.06537
Opus 5.5 $0.02615 $0.02615
Sonnet 5.5 $0.01307 $0.01307
Haiku 4.5 $0.00654 $0.00654

Measured 2mo ago against content hash b1ebf9359dc4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 today), licensed Apache-2.0. It adds 6,537 tokens to every session, about $0.0261 per session on Opus 5.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.

Related

gno-ibc AGENTS.md compared with instructions from other repositories

gno-ibc AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gno-ibc AGENTS.mdonbloc/gno-ibcInstructions file5todayApache-2.0A6,537Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot