onchainos-skills: Instructions file for Codex

AGENTS.md

onchainos-skills AGENTS.md is an instructions file for Codex, OpenCode from okx/onchainos-skills. It costs 1,337 tokens per session, scanned A, original, MIT.

Project instructions for coding agents in the onchainos-skills repository. They explain how to route requests, use available skills, discover decentralised apps, and follow the project architecture.

In plain words
What is it for?
Use them to guide coding-agent work involving onchainos, decentralised-app discovery, and the repository's available skills.
Why use it?
They provide rules for deciding which part of the repository should handle a request. This reduces incorrect routing and work that conflicts with the project design.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

This is okx/onchainos-skills's own configuration. It tells Codex and OpenCode how to work on onchainos-skills 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 onchainos-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to okx/onchainos-skills. 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/okx/onchainos-skills/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/okx/onchainos-skills

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 onchainos-skills AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/okx/onchainos-skills/agents-md/github.svg)](https://agentmods.dev/instructions/okx/onchainos-skills/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/okx/onchainos-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/okx/onchainos-skills/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 onchainos-skills AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/okx/onchainos-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/okx/onchainos-skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,337 This file is loaded in full into every session.
When invoked 1,337 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.01337 $0.01337
Opus 5.5 $0.00535 $0.00535
Sonnet 5.5 $0.00267 $0.00267
Haiku 4.5 $0.00134 $0.00134

Measured today against content hash ba18114ec9f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

onchainos-skills 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 today.

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 · 136 lines

How it starts

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

Agent guidance

This file is the canonical development guide for all coding agents in this repository. CLAUDE.md only adds Claude Code specifics on top of it.

Development flow

Follow these steps for every development change.

1. Align the requirement

Before treating a requirement as clear, explain the supplied requirement or technical documents to the user: the goal, scope, and expected behavior. Use AskUserQuestion to obtain the user's confirmation. Then compare that confirmed understanding with the code. If the current behavior and the expected behavior differ or are ambiguous, use AskUserQuestion to align with the user. Do not start development until the user confirms the requirement.

2. Read the applicable development rules

After the requirement is clear, classify the change and finish the matching pre-read below before creating or modifying a file.

Change type Required first step
Skill-only Read rules/skill-rules.md, then inspect templates/ and open the template that matches the target file type
CLI-only Read rules/cli-io-rules.md
Mixed Skill + CLI Read both sets of rules, and inspect templates/ for the Skill files
Guidance-only (AGENTS.md, CLAUDE.md, rules/) Read the source rules that the guidance describes, then change only the guidance files

If you are unsure which row applies, treat the change as mixed.

3. Develop and verify

Implement the clear requirement. Repair only unit or integration tests that are directly related to it. Do not fix unrelated test failures as part of the change.

4. Independently review the change

Start an independent sub-agent code review after development. The reviewer must apply the CLI and Skill rules in this file to the changed scope.

Development domains

This repository has two development domains. A change can belong to one of them or to both.

Domain What it covers Rules to read first
Skill development SKILL.md, references/**, _shared/**, routing tables, Skill rules (including how Skills describe CLI commands), and the page templates in templates/ rules/skill-rules.md and templates/README.md
CLI development CLI behavior under cli/ and the CLI input/output rules (readable flag names, shared parsing helpers, JSON output) rules/cli-io-rules.md

Read the full file on GitHub · 136 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. today Changed · +13 lines · +115 tokens per session ba18114ec9f4
  2. 7d ago Changed · +4 lines · +36 tokens per session ec09d300dcb4
  3. 9d ago Changed · +26 lines · +191 tokens per session 5f537d5a47f3
  4. 18d ago Changed · +84 lines · +922 tokens per session 197e72462de0
  5. 21d ago Changed · -53 lines · -1,618 tokens per session ae6c877c1f40
  6. 2mo ago First seen · 62 lines · 1,691 tokens per session scan A 4c0e04b9dfd5

Subscribe to this mod's changes

onchainos-skills AGENTS.md is an instructions file published in the GitHub repository okx/onchainos-skills (345 stars, last pushed yesterday), licensed MIT. It adds 1,337 tokens to every session, about $0.0053 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-30.

Related

onchainos-skills AGENTS.md compared with instructions from other repositories

onchainos-skills AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
onchainos-skills AGENTS.mdokx/onchainos-skillsInstructions file345yesterdayMITA1,337Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode