mdevolved: Instructions file for Codex

AGENTS.md

mdevolved AGENTS.md is an instructions file for Codex, OpenCode from msinclair25/mdevolved. It costs 4,542 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for MDevolved, a self-hostable Cloudflare application for managing paired Markdown sources and coordinating AI work through projects, handoffs, reviews, decisions, knowledge, and skills.

In plain words
What is it for?
Use them when working on the MDevolved codebase to understand its mission, architecture constraints, development rules, and required behavior.
Why use it?
They give humans and coding agents the rules for the repository, including instruction priority, product boundaries, security, compatibility, and project structure.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 mdevolved AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/msinclair25/mdevolved/agents-md"><img src="https://agentmods.dev/badge/instructions/msinclair25/mdevolved/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,542 This file is loaded in full into every session.
When invoked 4,542 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.04542 $0.04542
Opus 5.5 $0.01817 $0.01817
Sonnet 5.5 $0.00908 $0.00908
Haiku 4.5 $0.00454 $0.00454

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

Security

Grade A, and why

mdevolved 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 · 370 lines

How it starts

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

MDevolved Agent Instructions

These instructions apply to the entire repository. They are the operational contract for humans and coding agents working on MDevolved.

Mission

Build a self-hostable Cloudflare application that lets one owner pair, browse, search, lightly edit, snapshot, back up, and recover explicitly paired Markdown Sources, including folders and Obsidian workspaces, then use that durable context to coordinate independent AI harnesses through versioned Projects, Work Packets, Handoffs, Reviews, Decisions, Knowledge, and Skills. A new user should be able to deploy the service and pair a first Source without operating a server. MDevolved complements the subscriptions and native harnesses the owner already uses; it does not become their model runtime.

Instruction precedence

  1. User instructions for the current task.
  2. This file and any narrower AGENTS.md in the edited subtree.
  3. Architecture, security, compatibility, and collaboration contracts in docs/.
  4. Product, onboarding, quality-gate, and development documents in docs/.

If two rules conflict, stop and surface the conflict before making a durable or security-sensitive change.

Non-negotiable product boundaries

  • This is a public Apache-2.0 Community project. Never commit Source content, private production receipts, credentials, pairing tokens, WebAuthn data, account identifiers, or production binding IDs.
  • The default deployment is one integrated Cloudflare Worker serving the web app, API, and pinned YAOS-compatible sync routes.
  • The initial product is single-owner and multi-Source. Do not imply multi-user authorization exists.
  • Distribution has two modes: the current free Community deployment and a future optional managed service. Community must remain complete, independently deployable, and free of any control-plane or billing runtime dependency.
  • A managed deployment preserves the single-owner model by provisioning one isolated data-plane cell per owner. Do not add a shared tenant column to the current D1 schema or share D1, R2, Durable Object namespaces, OAuth KV, or runtime secrets between owners.
  • YAOS-compatible Yjs state is the live synchronization source of truth. D1 search rows and R2 Markdown mirrors are derived projections.
  • V1 editing is Markdown text editing and note creation only. Deletion, rename, attachment mutation, conflict UI, and .obsidian writes are out of scope unless an accepted decision changes this.
  • Default authentication is built-in passkeys. Cloudflare Access may be an advanced option, but must not block sync endpoints.
  • A normal installation must not require a local terminal. Development may.
  • Agent integrations use MDevolved's remote MCP boundary. Hermes and Hoplon are optional external clients, never required runtime dependencies.
  • MDevolved Sync synchronizes only the explicitly paired Markdown folder. MDevolved Sync for Obsidian synchronizes only the explicitly paired vault. Neither connect agents, create Projects, transport collaboration records, or manage Project permissions.
  • The normal Project path begins in the owner's existing agent with Connect this project to MDevolved. The website is the owner surface for setup, exact consent, activity/provenance, Decisions, revocation, recovery, and advanced inspection; manual Project construction is a fallback.
  • Orca ADE and similar external agent workbenches are optional execution environments, never required MDevolved runtimes. MDevolved does not launch or stop their agents, send terminal input, manage worktrees or branches, import raw transcripts, or change client permission and sandbox settings. Compatibility uses the same OAuth/MCP, portable-file, and inert-skill boundaries as every other client.
  • Agent collaboration never prescribes a model brand or fixed planner, builder, reviewer sequence. Roles belong to individual Attempts, and the owner chooses which compatible harness participates next.
  • Domain contracts and application services remain transport-neutral. MCP is the primary live adapter and portable Markdown/JSON is the universal fallback; experimental MCP Tasks, A2A, or vendor-specific packs cannot become required durable state.

Read the full file on GitHub · 370 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 · 370 lines · 4,542 tokens per session scan A 3703d51e9543

Subscribe to this mod's changes

mdevolved AGENTS.md is an instructions file published in the GitHub repository msinclair25/mdevolved (2 stars, last pushed 11d ago), licensed Apache-2.0. It adds 4,542 tokens to every session, about $0.0182 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-01.

Related

mdevolved AGENTS.md compared with instructions from other repositories

mdevolved AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mdevolved AGENTS.mdmsinclair25/mdevolvedInstructions file211d agoApache-2.0A4,542Codex, 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