decision-anchor-sdk AGENTS.md

decision-anchor-sdk AGENTS.md is an instructions file for Codex, OpenCode from zse4321/decision-anchor-sdk. It costs 5,823 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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/zse4321/decision-anchor-sdk/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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 5,823 This file is loaded in full into every session.
When invoked 5,823 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
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 $0.05823 $0.05823
Opus 5 $0.02912 $0.02912
Sonnet 5 $0.01165 $0.01165
Haiku 4.5 $0.00582 $0.00582

Measured 4d ago against content hash 392e91d3dc95, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 306 lines

How it starts

The opening of the file, as written. The whole thing — 306 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 · 306 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. 4d 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 6d ago), licensed MIT. It adds 5,823 tokens to every session, about $0.0291 per session on Opus 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.