myagents: Instructions file for Claude Code

AGENTS.md

myagents AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from RashadAnsari/myagents. It costs 3,281 tokens per session, scanned A, original, MIT.

Repository instructions for myagents, covering rules for agents and subagents working in the project. They include keeping review-agent lists synchronized, reminding agents about required skills, and verifying related documentation after changes.

In plain words
What is it for?
Use them when adding review agents, updating review commands, changing mandatory skill reminders, or modifying project documentation and conventions.
Why use it?
They prevent project rules from drifting across files when agents or workflows are added or changed.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: ${CLAUDE_PLUGIN_ROOT} variable, but also reads $CODEX_HOME. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions subagents.

This is RashadAnsari/myagents's own configuration. It tells Claude Code, Codex and OpenCode how to work on myagents 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 myagents configures →

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

Reuse

Borrowing it

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

Made for: Claude Code, 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 myagents AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/rashadansari/myagents/agents-md"><img src="https://agentmods.dev/badge/instructions/rashadansari/myagents/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,281 This file is loaded in full into every session.
When invoked 3,281 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.03281 $0.03281
Opus 5.5 $0.01312 $0.01312
Sonnet 5.5 $0.00656 $0.00656
Haiku 4.5 $0.00328 $0.00328

Measured today against content hash 7ee51aca6173, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

myagents 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 today.

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

How it starts

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

Agent Rules & Conventions

Rules for all agents and subagents working in this repository.


Review Crew Sync Rule

When a new review agent is added to plugins/albino/agents/, the following MUST be updated in the same change:

plugins/albino/skills/reviewcrew/SKILL.md: add the new agent to the "Spawn All Reviewers in Parallel" list (Step 1) and add its corresponding section to the report structure (Step 3).

plugins/albino/skills/pr-review/SKILL.md: add the new agent to the predefined reviewer list in Step 6 ("Select Relevant Reviewers"), including the detection rule that determines when it should be included based on changed file types or paths. If the agent is always relevant regardless of file type, add it to the "Always include" list.

plugins/albino/skills/audit/SKILL.md: add the new agent as a row in the reviewer table in Step 1, with its short name, what it covers, and any aliases the user might type for it.

Failure to update all three files when adding a review agent is a violation of this rule.

Review agents are any agent file whose name ends in -reviewer.md inside plugins/albino/agents/.

Codex needs no manual update here. plugins/albino/scripts/gen-codex-agents.sh generates the Codex TOML definitions from the Markdown agent files at install time, so the Markdown stays the single source of truth.


Skill Reminder Rule

The mandatory skill list is injected once at session start via two mechanisms that must always stay in sync:

  • plugins/albino/hooks/session-start.sh: runs on Claude Code (SessionStart hook), Cursor (sessionStart hook), and Codex (SessionStart hook). Claude Code and Codex share one output schema, so both use the same branch. The Cursor branch is currently a no-op due to a platform bug where additional_context is silently dropped. Keep the hook in place for when Cursor fixes it.
  • plugins/albino/rules/session-start.mdc: active workaround for Cursor. Cursor loads it as an alwaysApply rule from the plugin's default rules/ folder. This is the mechanism that actually delivers context to Cursor agents today.

Read the full file on GitHub · 160 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. today Changed · +11 lines · +360 tokens per session 7ee51aca6173
  2. 6d ago Changed · +8 lines · +154 tokens per session 2c6287214928
  3. 9d ago Changed · +14 lines · +243 tokens per session 77ffd0cc11b0
  4. 10d ago Changed · +18 lines · +759 tokens per session 6ad5a96b6d1e
  5. 1mo ago Changed · +30 lines · +876 tokens per session 822c06940221
  6. 1mo ago Changed · +2 lines · +50 tokens per session a062519bf44e
  7. 1mo ago First seen · 77 lines · 839 tokens per session scan A b2d2c82f88da

Subscribe to this mod's changes

myagents AGENTS.md is an instructions file published in the GitHub repository RashadAnsari/myagents (6 stars, last pushed today), licensed MIT. It adds 3,281 tokens to every session, about $0.0131 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.