jtgsystems/Custom-Modes-Roo-Code
66.4
Adequate · 22 September 2026
3.6k
lines of production code
Python
primary language
7
measurements over time
What this system is
This system is a configuration management tool for Roo Code that standardizes and automates the creation of custom AI agent personas. It provides a structured framework for defining specialized roles, such as Accessibility Experts or CLI Developers, through YAML-based mode definitions. The system includes automated scripts to validate, merge, and inject specialized content into these configurations, along with utilities to convert and deploy these modes for both CLI and VS Code environments.
Features
Add CLI tool to convert and manage Roo Code custom modes for VS Code
Introduces a Python script (\convert\_modes.py\) and documentation that allow users to convert CLI-format custom modes into VS Code-compatible YAML and XML rule files. The tool supports listing, searching, and converting modes with smart merge capabilities (updating existing, adding new, preserving others), and includes commands to copy the generated configurations to local or remote VS Code settings directories.
vs-code · high confidence
Automated custom mode management and content injection tooling
Added a suite of Python scripts to automate the lifecycle of Roo Code custom modes. \compile\_modes.py\ reads individual YAML definitions from \custom\_modes.d/\, validates them against a strict schema (checking slugs, required fields, and permissions), and merges them into consolidated \.roomodes\ and \custom\_modes.yaml\ files. \generate\_roomodes.py\ provides flexible generation with support for batching, slug filtering, and size limits. \fix\_modes.py\ automatically improves mode quality by expanding short role definitions and resolving placeholder instructions. Additionally, \inject\_debugging\_playbook.py\, \inject\_engineering\_protocols.py\, \inject\_gap\_skills.py\, and \inject\_github\_superpowers.py\ programmatically inject specialized content—such as SOTA 2026 debugging protocols, engineering rules, and external skill sets—into specific persona configurations.
scripts · high confidence
Introduction of custom AI agent modes and standardized repository configuration
The repository now supports a system of custom AI agent modes, defined in the new \.roomodes\ file (and its variants), which provides specialized personas such as Accessibility Expert, AI Engineer, and CLI Developer with detailed instructions and tooling guidelines. To support this structure, \.gitattributes\ has been added to enforce LF line endings across all text-based configuration and code files, and a comprehensive \.gitignore\ has been introduced to exclude Python build artifacts, IDE settings, and local environment files.
(repo-wide) · high confidence
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.
Score
- CAI 67 → 66 (-1.0)
- Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.
Lenses
- Code Health 80 → 88 (+8.0)
- Architecture 100 → 100 (+0.0)
- Maturity 63 → 63 (+0.2)
- Readiness 60 → 55 (-4.6)
- Security 88 → 88 (+0.0)
Resolved (17)
- Coverage not included — suite not readable by the collector
- Dependency hygiene not measured — no supported dependency manifest was read
- Duplicated block (10 lines × 2) (scripts/inject_gap_skills.py)
- Duplicated block (16 lines × 2) (scripts/compile_modes.py)
- Duplicated block (17 lines × 2) (scripts/compile_modes.py)
- Duplicated block (21 lines × 2) (scripts/fix_modes.py)
- Duplicated block (7 lines × 2) (scripts/batch_roomodes.py)
- Duplicated block (8 lines × 2) (scripts/compile_modes.py)
- Duplicated block (9 lines × 2) (scripts/compile_modes.py)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- Hotspot: scripts/fix_modes.py (scripts/fix_modes.py)
- No exposed public API
- Small-team knowledge concentration
- Test reliability not included
- The 'Per-mode configs' guide is a single-file README that only explains the backup and regeneration workflow, with no link to where to edit individual YAML files or how to regenerate from the combined file. (custom_modes.d/README.md)
New (18)
- Documentation: no architecture or design documentation (README.md)
- Duplicated block (11–12 lines × 2) (scripts/compile_modes.py)
- Duplicated block (13 lines × 2) (scripts/compile_modes.py)
- Duplicated block (16 lines × 2) (scripts/inject_gap_skills.py)
- Duplicated block (17–20 lines × 3) (scripts/compile_modes.py)
- Duplicated block (18 lines × 2) (scripts/compile_modes.py)
- Duplicated block (20 lines × 3) (scripts/fix_modes.py)
- Duplicated block (32–35 lines × 2) (scripts/compile_modes.py)
- Duplicated block (37–39 lines × 2) (scripts/compile_modes.py)
- Duplicated block (6–7 lines × 3) (scripts/compile_modes.py)
- Duplicated block (8 lines × 2) (scripts/batch_roomodes.py)
- Duplicated block (8 lines × 2) (scripts/inject_gap_skills.py)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
Changes since last survey
- 2 commits — 2 feature/other, 0 fixes
By area
- (root) — 1 commit
- .github/FUNDING.yml — 1 commit
Notable commits
- change: Add JTG Systems attribution banner, website link, and tip/sponsorship info
- change: Add sponsorship & tip configuration (JTG Systems)
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
jtgsystems/Custom-Modes-Roo-Code was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 22 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit bd349c4016011717251b5ea53c655eee7b2d649e — the exact code this score is about.
- Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-821afab8930d.