Custom-Modes-Roo-Code: Instructions file for Codex

AGENTS.md

Custom-Modes-Roo-Code AGENTS.md is an instructions file for Codex, OpenCode from jtgsystems/Custom-Modes-Roo-Code. It costs 1,223 tokens per session, scanned A, original, MIT.

Repository instructions for maintaining the Custom-Modes-Roo-Code project, a set of custom modes for the Roo Code coding assistant in Visual Studio Code.

In plain words
What is it for?
Use them when modifying the project’s scripts, assets, agent definitions, schemas, workflows, or VS Code-related files.
Why use it?
They give maintainers a shared set of rules for reading the repository, making focused changes, preserving checks, and following its file layout.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md; built for roo code.

This is jtgsystems/Custom-Modes-Roo-Code's own configuration. It tells Codex and OpenCode how to work on Custom-Modes-Roo-Code 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 Custom-Modes-Roo-Code configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jtgsystems/Custom-Modes-Roo-Code. 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/jtgsystems/Custom-Modes-Roo-Code/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/jtgsystems/Custom-Modes-Roo-Code

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 Custom-Modes-Roo-Code AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jtgsystems/custom-modes-roo-code/agents-md/github.svg)](https://agentmods.dev/instructions/jtgsystems/custom-modes-roo-code/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/jtgsystems/custom-modes-roo-code/agents-md"><img src="https://agentmods.dev/badge/instructions/jtgsystems/custom-modes-roo-code/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 Custom-Modes-Roo-Code AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jtgsystems/custom-modes-roo-code/agents-md"><img src="https://agentmods.dev/badge/instructions/jtgsystems/custom-modes-roo-code/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,223 This file is loaded in full into every session.
When invoked 1,223 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.01223 $0.01223
Opus 5.5 $0.00489 $0.00489
Sonnet 5.5 $0.00245 $0.00245
Haiku 4.5 $0.00122 $0.00122

Measured 1mo ago against content hash 17ca290cef75, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Custom-Modes-Roo-Code 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 1mo 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 · 104 lines

How it starts

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

AGENTS.md

Senior Maintainer Contract

  • Purpose: keep this repository stable, secure, well-tested, and aligned with existing patterns.
  • Default mode: smallest safe change that solves the verified problem.
  • Do not guess conventions.
  • Do not disable tests, lint, type checks, or security controls to make a change pass.
  • Do not introduce major-version dependency upgrades without a migration plan and a dedicated PR.

Repository Snapshot

  • Repository: jtgsystems/Custom-Modes-Roo-Code
  • Default branch: main
  • Visibility: public
  • Summary: Custom modes for Roo Code VS Code extension - Enhanced AI coding assistance configurations
  • Detected stack: mixed or uncategorized source repo

Read First

  • README.md
  • CONTRIBUTING.md
  • CLAUDE.md
  • .github/workflows/

Key Paths

  • scripts/
  • assets/
  • agents/
  • custom_modes.d/
  • schemas/
  • vs-code/

Directory Guidance

  • scripts/: keep maintenance scripts idempotent and document environment assumptions.

Repository Rules

  • Keep changes focused on the task and match the existing file layout and naming patterns.
  • Update tests and docs when behavior changes or public interfaces move.
  • Do not commit secrets, credentials, ad-hoc exports, or large generated artifacts unless the repository already tracks them intentionally.
  • Prefer the existing automation and CI workflow over one-off commands when both paths exist.

Global Best Practices

  • Understand the repo before editing: read the local guidance, README, docs, and relevant tests first.
  • Follow existing architecture, conventions, and tooling; do not guess stack-specific patterns when the repo already defines them.
  • Make the smallest safe change that solves the real problem, and prefer focused diffs over broad rewrites.
  • Verify changes with the repo's actual checks, and add or update regression tests for behavior changes when practical.
  • Keep public APIs and backward compatibility stable unless the task explicitly allows a breaking change.
  • Do not overwrite user work, unrelated changes, or existing security controls just to make a check pass.
  • Update docs when commands, config, setup, architecture, or user-visible behavior changes.
  • If the change is ambiguous or high-risk, stop and produce a safe partial fix or a clear plan instead of guessing.
  • Leave clear notes on what changed, why it changed, what checks ran, and any remaining risk.
  • Legacy agent guidance exists in CLAUDE.md; keep it aligned with AGENTS.md if those files remain in use.
  • Avoid archive-style folders unless the task explicitly targets them: .retired/.

Read the full file on GitHub · 104 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. 1mo ago First seen · 104 lines · 1,223 tokens per session scan A 17ca290cef75

Subscribe to this mod's changes

Custom-Modes-Roo-Code AGENTS.md is an instructions file published in the GitHub repository jtgsystems/Custom-Modes-Roo-Code (185 stars, last pushed 1mo ago), licensed MIT. It adds 1,223 tokens to every session, about $0.0049 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-30.

Related

Other instructions, from other repositories