cursorrules AGENTS.md

A reference file for configuring AI coding agents in Cursor and Claude Code. It lists where to put rules, commands, skills, settings, hooks, and other configuration files.

In plain words
What is it for?
Use it to discover available agent configurations and locate project settings for Cursor or Claude Code.
Why use it?
It helps developers find and organize the files that control how their coding agents behave.

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

Made for: Codex, OpenCode.

Per session 2,493 This file is loaded in full into every session.
When invoked 2,493 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.02493 $0.02493
Opus 5 $0.01247 $0.01247
Sonnet 5 $0.00499 $0.00499
Haiku 4.5 $0.00249 $0.00249

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

Security

Grade A, and why

cursorrules 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 yesterday.

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 ยท 159 lines

How it starts

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

AGENTS.md - AI Agent Configuration Registry

This file serves as a discoverability layer for AI agent configurations, rules, and commands across both Cursor and Claude Code environments.

๐Ÿ“ Configuration Locations

Cursor IDE

  • Rules: .cursor/rules/**/*.mdc
  • Agents: .cursor/modes.json
  • Commands: .cursor/commands.json + .cursor/commands/*.md
  • Skills: .cursor/skills/**/SKILL.md
  • MCP: .cursor/mcp.json
  • Ignore: .cursorignore

Claude Code

  • Rules: .claude/rules/**/*.md
  • Settings: .claude/settings.json (agents, permissions, hooks, MCP)
  • Commands: .claude/commands/*.md
  • Skills: .claude/skills/ (or embedded in CLAUDE.md)
  • Hooks: .claude/hooks/ (scripts) + settings.json hooks section
  • Ignore: .claudeignore

๐Ÿค– Available Agents

Agent IDE Description File
BasicBitch Cursor Reliable, corporate developer .cursor/modes.json
BasicBitch Claude Reliable, corporate developer .claude/settings.json
Spellchuck Cursor Documentation/grammar specialist .cursor/modes.json
Spellchuck Claude Documentation/grammar specialist .claude/settings.json
Godmode Cursor DevOps/Infrastructure expert .cursor/modes.json
Godmode Claude DevOps/Infrastructure expert .claude/settings.json
SageDaddy Cursor Software architect (20 years) .cursor/modes.json
SageDaddy Claude Software architect (20 years) .claude/settings.json

๐Ÿ“œ Rules Index

Core Rules

Rule Cursor Claude Purpose
create-rule-agent .cursor/rules/core/create-rule-agent.mdc .claude/rules/core/create-rule-agent.md Rule creation standards
create-update-agent .cursor/rules/core/create-update-agent.mdc .claude/rules/core/create-update-agent.md Agent management
security-scan .cursor/rules/core/security-scan-agent.mdc .claude/rules/core/security-scan-agent.md Dependency security
agent-communication .cursor/rules/core/agent-communication-always.mdc .claude/rules/core/agent-communication-always.md Communication style
dependency-analysis .cursor/rules/core/dependency-analysis-agent.mdc .claude/rules/core/dependency-analysis-agent.md Pre-install checks

Read the full file on GitHub ยท 159 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. yesterday First seen ยท 159 lines ยท 2,493 tokens per session scan A ad8331eae6d4

Subscribe to this mod's changes

cursorrules AGENTS.md is an instructions file published in the GitHub repository usrrname/cursorrules (10 stars, last pushed 4mo ago), licensed ISC. It adds 2,493 tokens to every session, about $0.0125 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.