agentic-sdk: Instructions file for Codex

AGENTS.md

agentic-sdk AGENTS.md is an instructions file for Codex, OpenCode from leifericf/agentic-sdk. It costs 930 tokens per session, scanned A, original, MIT.

A set of repository instructions for agentic-sdk, a runtime-independent skill system for software development across C, Zig, Clojure, and Elixir.

In plain words
What is it for?
Use it when modifying agentic-sdk's skills, agents, deterministic runtime spine, hooks, templates, documentation, or tests.
Why use it?
It explains which files define the system, which generated files should not be edited directly, and what rules must be followed before committing changes.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 agentic-sdk AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/leifericf/agentic-sdk/agents-md"><img src="https://agentmods.dev/badge/instructions/leifericf/agentic-sdk/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 930 This file is loaded in full into every session.
When invoked 930 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.00930 $0.00930
Opus 5.5 $0.00372 $0.00372
Sonnet 5.5 $0.00186 $0.00186
Haiku 4.5 $0.00093 $0.00093

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

Security

Grade A, and why

agentic-sdk 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 · 76 lines

How it starts

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

AGENTS.md

Guidance for working on agentic-sdk itself. Read this before changing anything in this repo.

What this is

agentic-sdk is a runtime-agnostic skill system for software development across C, Zig, Clojure, and Elixir. This repo is the source. The authoritative design is docs/design.md; read it first when a change touches architecture, the install model, or the spine.

Layout

  • skills/<name>/SKILL.md: the atomic skill catalog (flat). skills/shared/ holds the cross-cutting doctrine references, not a skill.
  • agents/<name>.md: the 8-agent fleet.
  • src/spine/ + mino.edn: the deterministic spine (mino). test/spine/ its tests.
  • hooks/: hook templates (master form) plus the shared mino policy.
  • templates/: the project CLAUDE.md and gitignore skeletons.
  • docs/design.md: the spec.
  • .opencode/agent/: derived, generated by agentic agents sync; never hand-edit.

This repo keeps its source at the root (skills/, agents/, mino.edn, src/). The ~/.agentic-sdk/<project>/ home applies to installed projects, not here.

Non-negotiables

  • Prose standard. No em-dashes, no ASCII arrows in prose, no process IDs, terse humanized prose. agentic lint enforces it; run it before every commit.
  • No leaks. Never name predecessor or private projects; the maintainer holds the forbidden-token list and it is never written into the public repo, not even as a ban list. No domain framing borrowed from another system. Generalize any product-specific example to the bounded stack plus Functional Core / Imperative Shell.
  • Commits. jj-first. One line, category-first imperative subject (Skills: ..., Docs: ..., Fix: ..., Build: ..., Refactor: ..., Tests: ...). No body, no AI attribution, no version numbers. Never advance the main bookmark or push without the maintainer's say-so.

Before you commit

  • mino task test: the spine suite is green.
  • agentic lint $(find docs skills templates hooks -name '*.md'): zero findings.
  • agentic agents check .: the derived OpenCode agents match the masters.
  • Leak scan: rg -ni '<forbidden tokens>' skills/ agents/ docs/ templates/ hooks/ src/

Read the full file on GitHub · 76 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 · 76 lines · 930 tokens per session scan A 226d4ccda881

Subscribe to this mod's changes

agentic-sdk AGENTS.md is an instructions file published in the GitHub repository leifericf/agentic-sdk (5 stars, last pushed 1mo ago), licensed MIT. It adds 930 tokens to every session, about $0.0037 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

agentic-sdk AGENTS.md compared with instructions from other repositories

agentic-sdk AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentic-sdk AGENTS.mdleifericf/agentic-sdkInstructions file51mo agoMITA930Codex, 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