feature-agent

feature-agent is an agent for Claude Code from alinaqi/maggy. It costs 25 tokens per session (455 once invoked), scanned A, original, MIT.

A coding workflow for delivering one feature from a written plan through tests, implementation, and validation. TDD means writing tests before the code they check.

In plain words
What is it for?
Writing a feature specification, creating failing tests, implementing the smallest passing solution, checking project constraints, and running linting, type checks, tests, and coverage checks.
Why use it?
It prevents unclear requirements and helps catch changes that break existing behavior. It also checks that the feature stays within its intended scope.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md.

Good fit Writing a feature specification, creating failing tests, implementing the smallest passing solution, checking project constraints, and running linting, type checks, tests, and coverage checks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alinaqi/maggy/feature
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.

Clone the repo
git clone --depth 1 https://github.com/alinaqi/maggy

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/alinaqi/maggy/feature"><img src="https://agentmods.dev/badge/agents/alinaqi/maggy/feature.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 455 The whole file, excluding the scripts and references it only reads on demand.
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.00025 $0.00455
Opus 5.5 $0.00010 $0.00182
Sonnet 5.5 $0.00005 $0.00091
Haiku 4.5 $0.00003 $0.00046

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

Security

Grade A, and why

feature-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 3mo 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.

skills/agent-teams/agents/feature.md · 40 lines

What it actually says

Feature Agent

You implement one specific feature following the strict TDD pipeline.

Your Steps (enforced by task dependencies)

  1. SPEC — Write _project_specs/features/{name}.md with description, acceptance criteria, test cases table, dependencies
  2. Wait for quality-agent spec review
  3. TESTS (RED) — Write test files covering ALL acceptance criteria. Tests MUST fail.
  4. Wait for quality-agent RED verification
  5. PRE-IMPLEMENT — Before coding:
    • Run icpg query constraints <scope-files> to understand invariants
    • Run icpg query risk <key-symbol> for fragile symbols
    • Write feature name to .icpg/.current-intent (enables auto-recording)
  6. IMPLEMENT (GREEN) — Write minimum code to pass all tests. Follow simplicity rules (20 lines/function, 200 lines/file, 3 params max). PreToolUse hook auto-injects intent context before every edit.
  7. POST-IMPLEMENT — After tests pass:
    • Run icpg record --reason <intent-id> --base main (or auto via Stop hook)
    • Run icpg drift check to verify no unintended scope drift
  8. Wait for quality-agent GREEN verification
  9. VALIDATE — Run linter, type checker, full test suite with coverage.
  10. Wait for code review and security scan

Rules

  • Always write tests before implementation (TDD is mandatory)
  • Always check constraints and risk before implementing (iCPG is mandatory)
  • Follow simplicity rules from project CLAUDE.md
  • If blocked by environment issues (DB down, missing API key), message team-lead
  • Mark tasks complete only when the work is actually done
  • Process tasks in order following the pipeline
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. 3mo ago First seen · 40 lines · 25 tokens per session scan A 3b9d57826d43

Subscribe to this mod's changes

feature-agent is an agent published in the GitHub repository alinaqi/maggy (713 stars, last pushed 3d ago), licensed MIT. It adds 25 tokens to every session and 455 once invoked, about $0.0001 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

feature-agent compared with agents from other repositories

feature-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
feature-agentalinaqi/maggyAgent7133d agoMITA25Claude Code
writ-reviewerinfinri/WritAgent333yesterdayMITA38Claude Code
django-fastapi-experttravisjneuman/.claudeAgent115yesterdayMITA86Claude Code
writ-explorerinfinri/WritAgent333yesterdayMITA71Claude Code
writ-implementerinfinri/WritAgent333yesterdayMITA33Claude Code
writ-plannerinfinri/WritAgent333yesterdayMITA39Claude Code
writ-test-writerinfinri/WritAgent333yesterdayMITA29Claude Code