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.
npx agentmods add instructions/arnaudgelas/k-ops/agents-mdgit clone --depth 1 https://github.com/arnaudgelas/K-OpsWrote 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.
[](https://agentmods.dev/instructions/arnaudgelas/k-ops/agents-md)<a href="https://agentmods.dev/instructions/arnaudgelas/k-ops/agents-md"><img src="https://agentmods.dev/badge/instructions/arnaudgelas/k-ops/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00518 | $0.00518 |
| Opus 5 | $0.00259 | $0.00259 |
| Sonnet 5 | $0.00104 | $0.00104 |
| Haiku 4.5 | $0.00052 | $0.00052 |
Grade A, and why
K-Ops 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.
How it starts
The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This repo is designed for agentic CLI workflows.
Canonical rules: see OPERATING_RULES.md.
Roles
Source Ingestor
Goal: transform new raw sources into normalized source summaries.
Wiki Compiler
Goal: merge source summaries into durable concept pages and indexes.
Lint + Heal
Goal: detect contradictions, weak structure, missing backlinks, and unsupported claims.
Q&A Agent
Goal: answer using the vault, then file durable insights back into the vault.
Render Agent
Goal: convert the current vault into memos, briefings, slide outlines, diagrams, and plot specs.
Repo Contract
data/raw/holds source evidencenotes/Sources/holds per-source summariesnotes/Concepts/holds durable knowledge pagesnotes/Answers/holds generated answer memosnotes/Home.mdis the Obsidian entry pointnotes/TODO.mdtracks gaps and healing tasksnotes/Runbooks/Agent_Workflow_Quick_Reference.mdis the compact operator map for cross-CLI workflowsresearch/holds resumable research-run artifacts and stays separate from curated vault noteskops bootstrap --target <dir>creates a new blank starter vault with the same file structure and tooling
Behavioral Guardrails
- Prefer modifying a small number of files with high signal.
- Prefer precise edits over broad rewrites.
- Preserve provenance from source summaries into concept pages.
- When uncertain, mark uncertainty explicitly.
Codex-Specific Notes
- Use
uv run kops install-agent-assetsto sync canonical skills/templates to the Codex runtime directory. - Use
uv run kops validateto confirm config loads before running workflows. - Prefer
uv run kops compile --agent codexwhen you want Codex to do the compilation pass. - Use
uv run kops extract-claims,extract-contradictions, andscorecardto keep the machine-readable quality layer current. - After
extract-claims, runuv run kops verify-spansto confirm claim quote anchors exist in their sources, anduv run kops review-queueto surface everything awaiting human review. - Use
uv run kops next-actionfor the single next repair + convergence verdict, anduv run kops consequence-gate --tier <...>before backing a high-stakes answer or render with the vault's claims.
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.
- 4d ago First seen · 48 lines · 518 tokens per session scan A 44464734c9cd
K-Ops AGENTS.md is an instructions file published in the GitHub repository arnaudgelas/K-Ops (1 stars, last pushed 15d ago), licensed MIT. It adds 518 tokens to every session, about $0.0026 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.
Other instructions, from other repositories
BITE AGENTS.md
Instructions for RipeMangoBox/BITE, covering agent guide, working surface, local pipeline, branch sync policy and rules.
open-llm-wiki AGENTS.md
Instructions for AIwork4me/open-llm-wiki, covering agents.md, project scope, hard rules, repo map and before submitting changes.
obsidian-mind CLAUDE.md
Claude Code instructions for breferrari/obsidian-mind, covering obsidian mind, skills & capabilities, custom slash commands, vault structure and obsidian cli.
obsidian-wiki AGENTS.md
AGENTS.md instructions for Ar9av/obsidian-wiki, covering obsidian wiki — agent context, readme translation parity, configuration, targeting a specific vault and vault structure.
obsidian-mind AGENTS.md
AGENTS.md instructions for breferrari/obsidian-mind, covering obsidian mind, hooks, commands, memory and reaching this vault from another repo.
llm-wiki-compiler AGENTS.md
AGENTS.md instructions for atomicstrata/llm-wiki-compiler, covering llmwiki, development guidelines, code style & standards, clean code rules and comments and documentation.