agent-opfor AGENTS.md

Project instructions for agent-opfor, an open-source tool for simulating attacks against AI agents and MCP servers. They describe its monorepo, a codebase containing several related projects in one repository.

In plain words
What is it for?
Use them when working on agent-opfor, especially when navigating its agents.md files, monorepo structure, build process, or key files.
Why use it?
They give coding agents the project structure, key files, and working rules needed to change the right parts of the repository.

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/keyvaluesoftwaresystems/agent-opfor/agents-md
Clone the repo
git clone --depth 1 https://github.com/KeyValueSoftwareSystems/agent-opfor

Made for: Codex, OpenCode.

Per session 8,563 This file is loaded in full into every session.
When invoked 8,563 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.08563 $0.08563
Opus 5 $0.04281 $0.04281
Sonnet 5 $0.01713 $0.01713
Haiku 4.5 $0.00856 $0.00856

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

Security

Grade A, and why

agent-opfor 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 3d 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 · 412 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 3d ago First seen · 412 lines · 8,563 tokens per session scan A a17dd32b14f8

Subscribe to this mod's changes

agent-opfor AGENTS.md is an instructions file published in the GitHub repository KeyValueSoftwareSystems/agent-opfor (576 stars, last pushed 15d ago), with no licence file. It adds 8,563 tokens to every session, about $0.0428 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-30.

Related

Other instructions, from other repositories

nuguard backend-service-contracts.instructions.md

NuGuard backend microservice endpoint reference — correct URLs, route prefixes, auth headers, and request/response shapes for all 6 services. Use this when writing code that calls or tests any NuGuard API endpoint.

NuGuardAI/nuguard · 4,317 tokens

nuguard copilot-instructions.md

Copilot instructions for NuGuardAI/nuguard, covering github copilot instructions, project overview, development commands, package layout and coding style.

NuGuardAI/nuguard · 2,420 tokens

nuguard CLAUDE.md

Claude Code instructions for NuGuardAI/nuguard, covering claude.md, commands, install dependencies, run all tests and run a single test file or test by name.

NuGuardAI/nuguard · 2,143 tokens

nuguard postgresql-db-guidelines.instructions.md

Use PostgreSQL-specific best practices when creating new databases/instances, schemas, migrations, or SQL. Covers JSONB, arrays, custom types, indexing, performance, and RLS/security.

NuGuardAI/nuguard · 438 tokens

AgentHound CLAUDE.md

Instructions for adithyan-ak/AgentHound, covering agenthound maintainer contract, required checks, hard boundaries, core invariants and module registration.

adithyan-ak/AgentHound · 1,136 tokens

guardana CLAUDE.md

Instructions for guardana/guardana, covering claude.md — agent guidance for this repository, what this project is, what "done" means right now, product principles — they outrank convenience, in every 0.x and architecture in brief.

guardana/guardana · 6,736 tokens