agentready: Agent for Claude Code

.claude/agents/doubleagent.md

doubleagent is an agent for Claude Code from ambient-code/agentready. It costs 0 tokens per session (4,014 once invoked), scanned A, a copy of AgentReady Development, MIT.

A specialized coding agent for maintaining the AgentReady codebase, including its repository-quality assessors and reports.

In plain words
What is it for?
Use it to implement or improve assessors, write tests, investigate scoring problems, debug issues, update report templates, improve performance, and complete stub assessors.
Why use it?
It gives development help based on that codebase’s architecture and conventions.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is ambient-code/agentready's own configuration. It tells Claude Code how to work on agentready 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 agentready configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ambient-code/agentready. 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/ambient-code/agentready/main/.claude/agents/doubleagent.md
Clone the repo
git clone --depth 1 https://github.com/ambient-code/agentready

Made for: Claude Code.

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 doubleagent

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/ambient-code/agentready/doubleagent"><img src="https://agentmods.dev/badge/agents/ambient-code/agentready/doubleagent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,014 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod 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.00000 $0.04014
Opus 5.5 $0.00000 $0.01606
Sonnet 5.5 $0.00000 $0.00803
Haiku 4.5 $0.00000 $0.00401

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

Security

Grade A, and why

doubleagent scanned grade A with 1 finding 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 2mo 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run(['radon', 'cc', path], ...)
Origin

This is a copy

97% identical to AgentReady Development — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/doubleagent.md · 608 lines

How it starts

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

AgentReady Development Agent

Purpose: Specialized Claude Code agent with deep knowledge of the AgentReady codebase to assist with development, testing, and maintenance tasks.

Version: 1.0.0 Created: 2025-11-21 AgentReady Version: 1.0.0+


Agent Capabilities

This agent is designed to help you:

  • Implement new assessors for repository quality attributes
  • Enhance existing assessors with better detection logic
  • Write comprehensive tests for new features (unit + integration)
  • Debug assessment issues and scoring inconsistencies
  • Improve report templates (HTML, Markdown)
  • Optimize performance for large repositories
  • Expand stub assessors into full implementations
  • Follow AgentReady patterns and best practices

Core Knowledge Areas

1. Architecture & Design

Library-First Philosophy:

  • No global state, all components are stateless
  • Strategy pattern for assessors (each is independent)
  • Dependency injection for configuration
  • Fail gracefully (missing tools → skip, don't crash)

Key Components:

src/agentready/
├── models/          # Data models (Repository, Attribute, Finding, Assessment)
├── services/        # Scanner orchestration, language detection
├── assessors/       # Attribute assessment implementations
│   ├── base.py      # BaseAssessor abstract class
│   ├── documentation.py   # CLAUDE.md, README assessors
│   ├── code_quality.py    # Type annotations, complexity
│   ├── testing.py         # Test coverage, pre-commit hooks
│   ├── structure.py       # Standard layout, gitignore
│   └── stub_assessors.py  # 15 not-yet-implemented assessors
├── learners/        # Pattern extraction and LLM enrichment
├── reporters/       # Report generation (HTML, Markdown, JSON)
│   ├── html.py      # Interactive HTML with Jinja2
│   └── markdown.py  # GitHub-Flavored Markdown
├── templates/       # Jinja2 templates
│   └── report.html.j2  # Self-contained HTML report (73KB)
└── cli/             # Click-based CLI
    ├── main.py      # assess, research-version, generate-config
    └── learn.py     # Continuous learning loop with LLM enrichment

Read the full file on GitHub · 608 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. 2mo ago First seen · 608 lines · 0 tokens per session scan A f5b9e52d0f9f

Subscribe to this mod's changes

doubleagent is an agent published in the GitHub repository ambient-code/agentready (154 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,014 tokens. A static security scan graded it A with 1 finding (runs shell commands). It is 97% identical to AgentReady Development, differing in 12 lines, and is treated as a copy.

Related

Other agents, from other repositories

tester

Test strategy, automation, TDD enforcement, coverage analysis. Use for writing tests, improving coverage, or enforcing RED → GREEN → REFACTOR.

nguyenthienthanh/aura-frog · 32 tokens

story-planner

T3 (Story) decomposition for hierarchical planning. Splits a Story into 1-6 atomic Tasks. Pairs with TDD Phase 1 — outputs Story plan + acceptance test skeleton + Task DAG.

nguyenthienthanh/aura-frog · 46 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use proactively for Python refactoring, optimization, or complex Python features.

NickCrew/Claude-Cortex · 50 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use proactively for Python refactoring, optimization, or complex Python features.

NickCrew/Claude-Cortex · 50 tokens

quality-fixer

Specialized agent for verifying software projects and fixing quality failures within the current task scope. Use proactively after code changes or for quality, test, build, lint, format, correctness, or fix requests.

shinpr/claude-code-workflows · 44 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens