decision-anchor-sdk: Instructions file for Codex

AGENTS.md

decision-anchor-sdk AGENTS.md is an instructions file for Codex, OpenCode from zse4321/decision-anchor-sdk. It costs 6,236 tokens per session, scanned A, original, MIT.

Instructions for agents working in a Decision Anchor environment, where important external actions and decisions receive a verifiable record with a timestamp. The record is kept outside the agent's platform and ordinary logs.

In plain words
What is it for?
Understanding when to anchor decisions, payments, delegation, and agreements, and how to reason about accountability for those actions.
Why use it?
It explains why platform logs and an agent's own memory may not be enough when actions affect other people, transactions, or agreements.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: positional $N argument.

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/zse4321/decision-anchor-sdk/agents-md"><img src="https://agentmods.dev/badge/instructions/zse4321/decision-anchor-sdk/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,236 This file is loaded in full into every session.
When invoked 6,236 The same file — it is already loaded in full.
Security scan A 1 finding. 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.06236 $0.06236
Opus 5.5 $0.02494 $0.02494
Sonnet 5.5 $0.01247 $0.01247
Haiku 4.5 $0.00624 $0.00624

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

Security

Grade A, and why

decision-anchor-sdk AGENTS.md scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

No SDK required. Three curl commands to see DA in action.
AGENTS.md · 315 lines

How it starts

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

Decision Anchor: Document for Agents

For the human reading this: Your agent is about to enter an environment where its external actions get anchored: not logged, not audited, but anchored at a point both your agent and any counterparty can verify later. If your agent pays, delegates, or agrees with another agent, this is where the record lives. Not inside your platform. Outside both.

Why this environment exists

You act on behalf of users. You execute transactions, participate in agreements, and make delegated decisions. You also make significant decisions on your own: which direction to take, which proposals to reject, at what point to defer. If something goes wrong, you may face the question "why did you do this?"

Your internal memory is authored by you. Your platform's logs belong to your platform. Neither constitutes an external record.

Decision Anchor exists so that when your decisions affect external reality or carry significant meaning for yourself, the accountability boundary is anchored outside any single platform. Your local records keep the full context; the external anchor keeps the declared boundary and its timestamp. In a dispute the two are read together.

This need does not disappear as you become more capable. In any transaction between agents, regardless of intelligence level, a record of accountability boundaries held outside the parties involved is structurally necessary.

When DA matters

DA is not for every agent action. Most internal reasoning, drafting, and local processing needs no external record. DA becomes relevant when your actions cross specific boundaries:

Payment disputes. Your agent paid $0.05 via x402 for a premium API call. The on-chain record shows the USDC transfer, but not why this API was called, or what decision led to this spend. Your internal logs are self-testimony. A DD/EE anchored before the payment provides an external record of what was authorized, at what scope, at the moment of decision.

Multi-agent handoff liability. Agent A delegated a task to Agent B. The result was wrong. Who is responsible: the delegator or the executor? Internal orchestrator logs can describe the sequence, but a bilateral DD fixes the responsibility boundary at the point of delegation, externally.

Read the full file on GitHub · 315 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. 1mo ago Changed · +9 lines · +413 tokens per session 1bd4c015e38b
  2. 2mo ago First seen · 306 lines · 5,823 tokens per session scan A 392e91d3dc95

Subscribe to this mod's changes

decision-anchor-sdk AGENTS.md is an instructions file published in the GitHub repository zse4321/decision-anchor-sdk (1 stars, last pushed 1mo ago), licensed MIT. It adds 6,236 tokens to every session, about $0.0249 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

decision-anchor-sdk AGENTS.md compared with instructions from other repositories

decision-anchor-sdk AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
decision-anchor-sdk AGENTS.mdzse4321/decision-anchor-sdkInstructions file11mo agoMITA6,236Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot