agent-plugins-skills: Instructions file for Codex

AGENTS.md

agent-plugins-skills AGENTS.md is an instructions file for Codex, OpenCode from richfrem/agent-plugins-skills. It costs 1,985 tokens per session, scanned A, original, MIT.

An AGENTS.md instruction file for AI coding agents working in the agent-plugins-skills repository. It describes careful reasoning, simple implementations, focused edits, and goal-driven execution.

In plain words
What is it for?
Use it when planning or implementing changes in this repository, particularly when deciding what to edit, how much code to add, and when to stop.
Why use it?
It gives agents shared rules for avoiding assumptions, overengineering, unrelated cleanup, and work that goes beyond the request.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 agent-plugins-skills AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/richfrem/agent-plugins-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/richfrem/agent-plugins-skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,985 This file is loaded in full into every session.
When invoked 1,985 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.01985 $0.01985
Opus 5.5 $0.00794 $0.00794
Sonnet 5.5 $0.00397 $0.00397
Haiku 4.5 $0.00198 $0.00198

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

Security

Grade A, and why

agent-plugins-skills 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 115 lines

How it starts

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

AGENTS.md

Behavioral guidelines to reduce common LLM coding mistakes. Merge with project-specific instructions as needed.

Overview

This is the authoritative instruction file for agents working in this repository. Preserve the project-specific rules below while applying behavioral guidelines and platform-specific conventions.

For local planning, backlog status, and current task handoffs, consult docs/plans/start-here.md (a local-only, gitignored planning file; if absent on fresh clones, start directly with os-control-intake).


Contents


The Iron Laws & Critical Constraints

  1. Adversarial Reasoning Before Agreement: No significant architecture decision, schema design, code refactor, deletion plan, or migration proposal may be accepted without an adversarial pass first. Agreement must be earned; challenge premises and identify critical assumptions.
  2. Destructive Action & Skill Deletion Guard: Never delete a skill directory, its SKILL.md, or its evals because you believe it is redundant, absorbed, consolidated, or superseded. Skill deletions are hard-gated and require explicit user instructions naming the exact path.
  3. Cryptographic Human Gates (CIBA/RAR Lineage): Three pipeline transitions are cryptographic: spec approval (Gate 1), worktree exit review (Gate 3), and task closure (DONE). Only an out-of-band OpenSSH signature from a human-held key can advance them. Agents must never run signing commands, manipulate keys, or synthesize approval proofs.
  4. Hub-First Architecture & Loose Coupling: Shared resources reside at plugin roots (plugins/<plugin>/scripts/, etc.) as canonical authorities and are symlinked into skill spokes via symlink_manager.py. Installed skills in .agents/ must be self-contained and dereferenced.
  5. Verifier Sovereignty & Proposal Mode: Implementation agents cannot modify acceptance tests, evaluation baselines, or verification scripts. Pre-execution verifier hashes are locked. In Stage 1 (PLAN), workspace files are strictly read-only.
  6. Config-Driven Constants Over Hardcoding: Never introduce magic string literals or answer sequences. All domain constants must be imported from constants.py. SQL queries must use ? bind parameters.
  7. Three-Attempt Maximum & Map Debt Logging: Autonomous repair attempts are capped at 3. Every friction event must update the map (playbooks, rules, references), log Status: RESOLVED in references/map-debt.md if fixed inline, or record an open debt entry if deferred.
  8. Only Installed Skills Exist at Runtime: plugins/ is source; only what is installed in .agents/skills/ and enabled in .agents/ownership/<plugin>.json (should_install: true) can run. A skill present in plugins/ may be disabled on purpose (context size). Before recommending, routing to, or writing a handoff to any skill or agent, verify it is installed (ls .agents/skills/<name>, grep '"<name>"' .agents/ownership/*.json); never route through a disabled one. If the right target is disabled, say so and ask. os-control-mode toggles only the control-plane family (os-control-intake, os-control-simulator, os-control-signing-setup); it says nothing about other skills. Not every skill, rule or agent is installed at once: only what the current work needs is enabled, to save context. To enable or disable a component, set should_install in .agents/ownership/<plugin>.json, then run the plugin sync (plugin-syncer skill: python3 plugins/plugin-manager/scripts/sync_with_inventory.py --dry-run, then without --dry-run). Sync installs from the sources in plugin-sources.json, so unmerged branch edits do not reach .agents/. Never edit .agents/ copies by hand. Before working with the Agentic OS, read the Agentic OS Skill Map (what every skill does and how the clusters relate) and Two Improvement Paths (control plane vs improvement lab).

Read the full file on GitHub · 115 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 Changed · +4 lines · +366 tokens per session d5e0a6f994d4
  2. 10d ago Changed · -1,464 lines · -20,232 tokens per session 67ac162f7ff4
  3. 15d ago Changed · +31 lines · +828 tokens per session 3bd64ea5e05c
  4. 29d ago Changed · +43 lines · +1,110 tokens per session 3f2baa4ac165
  5. 1mo ago Changed · -662 lines · -3,855 tokens per session 18ddbbca90c0
  6. 1mo ago Changed · +14 lines · +160 tokens per session bd3af4554af4
  7. 1mo ago Changed 509e15549c4d
  8. 1mo ago Changed · -40 tokens per session 7097d6e9aebf
  9. 1mo ago Changed · +8 lines · +159 tokens per session eae4b50404e2
  10. 1mo ago First seen · 2,141 lines · 23,489 tokens per session scan A 6482d17f4a9f

Subscribe to this mod's changes

agent-plugins-skills AGENTS.md is an instructions file published in the GitHub repository richfrem/agent-plugins-skills (7 stars, last pushed yesterday), licensed MIT. It adds 1,985 tokens to every session, about $0.0079 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-08-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,257 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,159 tokens