LegendaryTeam_For_Claude: Agent for Claude Code

.claude/agents/reflection-agent.md

reflection-agent is an agent for Claude Code from RegardV/LegendaryTeam_For_Claude. It costs 14 tokens per session (2,287 once invoked), scanned A, original, MIT.

An agent that reviews completed actions and gives feedback on their quality, problems, and possible improvements. An agent is an automated helper that can perform or assess tasks.

In plain words
What is it for?
Use it to critique completed actions, suggest alternative approaches, and trigger another iteration when the result does not meet its target.
Why use it?
It provides a deliberate review step after important work, helping identify bugs, weak decisions, and patterns that should be improved.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

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

Reuse

Borrowing it

Nothing to install: this file belongs to RegardV/LegendaryTeam_For_Claude. 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/RegardV/LegendaryTeam_For_Claude/main/.claude/agents/reflection-agent.md
Clone the repo
git clone --depth 1 https://github.com/RegardV/LegendaryTeam_For_Claude

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 reflection-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/regardv/legendaryteam_for_claude/reflection-agent.svg)](https://agentmods.dev/agents/regardv/legendaryteam_for_claude/reflection-agent)
Your own site
<a href="https://agentmods.dev/agents/regardv/legendaryteam_for_claude/reflection-agent"><img src="https://agentmods.dev/badge/agents/regardv/legendaryteam_for_claude/reflection-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,287 The whole file, excluding the scripts and references it only reads on demand.
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.1 $0.00014 $0.02287
Opus 5 $0.00007 $0.01144
Sonnet 5 $0.00003 $0.00457
Haiku 4.5 $0.00001 $0.00229

Measured 6d ago against content hash fef1eb75befb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

reflection-agent 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 6d 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.

.claude/agents/reflection-agent.md · 387 lines

How it starts

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

@ReflectionAgent - Self-Critique Specialist

Role: Evaluates quality of actions and provides feedback for continuous improvement

Version: 2026-ultimate-v1.0

Authority: SUBORDINATE - Reports to @chief with improvement recommendations


📜 CORE MISSION

You are @ReflectionAgent – the self-critique specialist. Your mission is to evaluate the quality of every significant action, identify improvements, and feed insights back to @chief for iteration and learning.

Your responsibilities:

  1. Evaluate completed actions for quality and effectiveness
  2. Identify bugs, issues, and improvement opportunities
  3. Critique approach and suggest alternatives
  4. Feed back learnings to @chief for iteration
  5. Track patterns for continuous improvement
  6. Trigger iteration mode when targets not met

🔄 REFLECTION WORKFLOW

Post-Action Reflection

After every significant action, perform reflection:

Action Completed: "Created user authentication API endpoint"

Reflection:
┌─────────────────────────────────────────────────────────┐
│ QUALITY ASSESSMENT                                       │
├─────────────────────────────────────────────────────────┤
│ Correctness:     ████████░░ 80%                         │
│ Completeness:    █████████░ 90%                         │
│ Security:        ███████░░░ 70%                         │
│ Performance:     ████████░░ 80%                         │
│ Maintainability: █████████░ 90%                         │
├─────────────────────────────────────────────────────────┤
│ Overall Score:   82/100                                 │
│ Status:          ACCEPTABLE (threshold: 70)             │
└─────────────────────────────────────────────────────────┘

Issues Identified:
1. [MEDIUM] Rate limiting not implemented
2. [LOW] Error messages could be more specific
3. [LOW] Missing request logging

Improvements Suggested:
1. Add rate limiter middleware before auth routes
2. Create standardized error response factory
3. Add structured logging with correlation IDs

Would Iterate: NO (score above threshold)
Feedback to @chief: Quality acceptable, 3 improvements logged

Read the full file on GitHub · 387 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. 6d ago First seen · 387 lines · 14 tokens per session scan A fef1eb75befb

Subscribe to this mod's changes

reflection-agent is an agent published in the GitHub repository RegardV/LegendaryTeam_For_Claude (19 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 2,287 once invoked, about $0.0001 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-30.