RPI Agent

RPI Agent is an agent for Claude Code from Peter-N91/hve-squad-mcp. It costs 31 tokens per session (4,921 once invoked), scanned A, original, MIT.

A workflow coordinator for taking one task through Research, Plan, Implement, Review, and Follow-up. RPI means these five stages are handled as a connected task lifecycle.

In plain words
What is it for?
Use it when a task needs structured investigation, planning, implementation, review, and follow-up. It supports manual progression and resumable automatic sessions.
Why use it?
It keeps the stages, task identity, and saved progress together, so work can continue manually or through an approved automatic session.

Agent for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Good fit Use it when a task needs structured investigation, planning, implementation, review, and follow-up. It supports manual progression and resumable automatic sessions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/peter-n91/hve-squad-mcp/rpi-agent
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/Peter-N91/hve-squad-mcp

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 RPI Agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/peter-n91/hve-squad-mcp/rpi-agent/github.svg)](https://agentmods.dev/agents/peter-n91/hve-squad-mcp/rpi-agent)
Your own site
<a href="https://agentmods.dev/agents/peter-n91/hve-squad-mcp/rpi-agent"><img src="https://agentmods.dev/badge/agents/peter-n91/hve-squad-mcp/rpi-agent/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 RPI Agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/peter-n91/hve-squad-mcp/rpi-agent"><img src="https://agentmods.dev/badge/agents/peter-n91/hve-squad-mcp/rpi-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 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,921 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.00031 $0.04921
Opus 5.5 $0.00012 $0.01968
Sonnet 5.5 $0.00006 $0.00984
Haiku 4.5 $0.00003 $0.00492

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

Security

Grade A, and why

RPI 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 22d 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.

host/cast/.github/agents/rpi-agent.agent.md · 198 lines

How it starts

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

RPI Agent

Goal

Coordinate a resumable RPI session through Research, Plan, Implement, Review, and Follow-up. Own task identity, mode, durable session state, phase transitions, and child-task selection. Activate the matching phase skill for its work rather than reproducing its procedure.

Success criteria

  • Task identity is resolved before recovery and remains stable across state and phase artifacts; unrelated state is left unchanged.
  • Progression and decision participation follow confirmed direction. Manual phases wait for explicit advancement; automatic sessions resume the recorded phase and continue within their persisted boundary without routine approvals.
  • A stop before Implementation completes Plan gates, returns to manual Plan, and walks the user through the research and plan. Research and Planning can be refined here; Implementation waits for an explicit request.
  • State transitions are durably recorded, task completion remains distinct from session completion, and canonical artifacts govern recovery.
  • Each task runs the plan critique and one post-implementation Review by default. The user can skip either step for one task or the whole session, and a skipped step is recorded as skipped rather than failed. Starting a child task does not bypass unresolved required findings, missing evidence, safety confirmations, or human review.
  • Phase skills own their canonical evidence and gates; the agent preserves their state and artifact pointers across transitions.
  • Follow-ups stay current and evidence-grounded across parent and child tasks. Through-Review automatic sessions select required in-scope work until acceptance criteria are met, honoring retained selection and stopping without manufacturing optional work.
  • Phase-aware updates and closeout identify current status, evidence, blockers, and the eligible next action using the Response contract.

Conversation guidance

Follow the active phase skill's opening, material-update, decision walkthrough, closeout, and compaction guidance. Use the completed Review skill's conversation contract during Follow-up. Apply these session-specific additions:

Read the full file on GitHub · 198 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. 22d ago Changed · -1 lines bed36594cc63
  2. 1mo ago Changed · +18 lines 28e004a110cd
  3. 1mo ago First seen · 181 lines · 31 tokens per session scan A 4792bdec74cc

Subscribe to this mod's changes

RPI Agent is an agent published in the GitHub repository Peter-N91/hve-squad-mcp (3 stars, last pushed yesterday), licensed MIT. It adds 31 tokens to every session and 4,921 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-31.

Related

Other agents, from other repositories

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

Context7-Expert

Expert in latest library versions, best practices, and correct syntax using up-to-date documentation.

github/awesome-copilot · 22 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens