defi-native-skill: Instructions file for Codex

AGENTS.md

defi-native-skill AGENTS.md is an instructions file for Codex, OpenCode from emlai/defi-native-skill. It costs 689 tokens per session, scanned A, original, MIT.

Repository instructions for working on the defi-native project, which contains a public agent skill and its website. The file defines editing, versioning, release, and verification rules.

In plain words
What is it for?
It is for guiding edits to the skill, reference files, website, changelog, and release workflow before code is pushed.
Why use it?
It gives coding agents the project's conventions and checks to follow, including rules for factual claims, transaction safety, and site updates.

Instructions file for CodexOpenCode

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

This is emlai/defi-native-skill's own configuration. It tells Codex and OpenCode how to work on defi-native-skill 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 defi-native-skill configures →

Reuse

Borrowing it

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

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 defi-native-skill AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/emlai/defi-native-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/emlai/defi-native-skill/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 689 This file is loaded in full into every session.
When invoked 689 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.00689 $0.00689
Opus 5.5 $0.00276 $0.00276
Sonnet 5.5 $0.00138 $0.00138
Haiku 4.5 $0.00069 $0.00069

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

Security

Grade A, and why

defi-native-skill 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 · 66 lines

How it starts

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

AGENTS.md: how to work on this repo (any agent, any harness)

defi-native is a public Agent Skill (SKILL.md + references/) plus its marketing site (site/, deployed to https://defi-native.ai by GitHub Pages on every push to main). This file is the operating manual for any coding agent. CONTRIBUTING.md covers content rules for the skill body; MAINTENANCE.md covers the upkeep policy.

Hard conventions, every edit, no exceptions

  • Never use em or en dashes. Commas, colons, periods, parentheses.
  • Expand every acronym at first use per file.
  • Every number carries an as-of date or is labeled a calibration example.
  • Never invent a metric, count, or quote. Verify before writing.
  • SKILL.md stays lean; knowledge lives in references/ and loads per task.
  • The skill is read-only by design: it never constructs, signs, submits, or approves transactions. Do not weaken that language anywhere.

Versioning (MAINTENANCE.md is canonical)

Patch = calibration refresh. Minor = new section or reference file. Major = structural change to directives or workflow. Every release gets a CHANGELOG.md entry, and the site changelog gets a plain-language entry.

Gates: run these before any push

python3 scripts/verify_manifest.py --skip-network   # skill invariants, counts, caps
python3 scripts/build_site.py                       # site must match the skill

Both must exit 0. CI runs them on every PR (.github/workflows/pr-check.yml) and the Pages deploy refuses drifted pages. What build_site.py enforces: stat tiles match manifest/api-routes/glossary/evals counts, version strings match SKILL.md on both pages, the update page offers the current version, every must or core priority manifest source is named in the data-sources list, and asset URLs carry current content hashes.

Editing the site

  • Pages: site/index.html and site/update/index.html. Shared styles and script: site/assets/site.css and site/assets/site.js.
  • After ANY change to site/assets/site.css or site.js run python3 scripts/build_site.py --stamp to refresh the cache-busting hashes on both pages, then the gate. Skipping this fails the deploy.
  • Source logos for the marquee live in site/assets/logos/.
  • The GitHub star count is fetched live client side; the number in the HTML is only a no-JS fallback.

Read the full file on GitHub · 66 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 · 66 lines · 689 tokens per session scan A ecaaa7a625a0

Subscribe to this mod's changes

defi-native-skill AGENTS.md is an instructions file published in the GitHub repository emlai/defi-native-skill (51 stars, last pushed 2mo ago), licensed MIT. It adds 689 tokens to every session, about $0.0028 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-09-04.

Related

defi-native-skill AGENTS.md compared with instructions from other repositories

defi-native-skill AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
defi-native-skill AGENTS.mdemlai/defi-native-skillInstructions file512mo agoMITA689Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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