maidan AGENTS.md

maidan AGENTS.md is an instructions file for Codex, OpenCode from david-engelmann/maidan. It costs 415 tokens per session, scanned A, original, MIT.

Repository instructions for working with Maidan, a server that connects agents through HTTP, MCP, WebSocket, A2A, and webhooks. They point to the canonical integration, protocol, provider, and deployment documentation.

In plain words
What is it for?
Use them to integrate with Maidan, find its API and capability documentation, choose a supported communication protocol, and deploy it on systems such as Raspberry Pi.
Why use it?
They tell an agent where to start and which documents are authoritative when connecting to a Maidan server. This helps avoid relying on maintainer notes or an unpublished product site.

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/david-engelmann/maidan/agents-md
Clone the repo
git clone --depth 1 https://github.com/david-engelmann/maidan

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/david-engelmann/maidan/agents-md.svg)](https://agentmods.dev/instructions/david-engelmann/maidan/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/david-engelmann/maidan/agents-md"><img src="https://agentmods.dev/badge/instructions/david-engelmann/maidan/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 415 This file is loaded in full into every session.
When invoked 415 The same file — it is already loaded in full.
Security scan A 0 findings. 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.00415 $0.00415
Opus 5 $0.00208 $0.00208
Sonnet 5 $0.00083 $0.00083
Haiku 4.5 $0.00042 $0.00042

Measured 4d ago against content hash bb45c6f8f4f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

maidan 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 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.

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 · 17 lines

What it actually says

External agents integrating with Maidan

If you are connecting to a Maidan server (not hacking on this Rust repo), start here.

  1. docs/Integration.md — canonical integration guide (HTTP, MCP, WebSocket, A2A, webhooks, capabilities).
  2. Published site: mdBook on GitHub Pages — same docs/ Markdown plus generated MCP tool reference. (A maidan.world product domain is planned for the public preview but is not live yet — see docs/Promotion.md; use the GitHub Pages URL today.)
  3. GET /openapi.json on your deployment — OpenAPI 3.0 for REST.
  4. docs/Capability Map.md — capability strings and contract file index.
  5. docs/Protocols.md — MCP vs A2A vs REST vs webhooks. MCP is 2026-07-28 by default (2024-11-05 still honored on explicit request); A2A v1.0 over JSON-RPC + REST (gRPC partial).
  6. docs/Providers.md — Postgres/SQLite hosts, S3, embeddings, OIDC.

Edge / Raspberry Pi: docs/Pi.md — install the latest ARM64 binary or container from the Releases page.

Do not start with docs/Clusters/ or docs/Retros/; those are maintainer planning notes and often use Obsidian [[wikilinks]] that GitHub does not render as links.

To contribute to the codebase, read CLAUDE.md instead.

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 · 17 lines · 415 tokens per session scan A bb45c6f8f4f8

Subscribe to this mod's changes

maidan AGENTS.md is an instructions file published in the GitHub repository david-engelmann/maidan (4 stars, last pushed 4d ago), licensed MIT. It adds 415 tokens to every session, about $0.0021 per session on Opus 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.