New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rpi-kit

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rpi-kit

Research → Plan → Implement. AI-assisted feature development with 13 named agents, delta specs, and knowledge compounding.

latest
Source
npmnpm
Version
2.6.0
Version published
Maintainers
1
Created
Source

RPIKit -- Research -> Plan -> Implement

AI-assisted feature development with 13 named agents, delta specs, and knowledge compounding.

RPIKit works with Claude Code, Gemini CLI, and Codex. It guides developers through a structured 7-phase pipeline. Each phase is run by specialized agents with distinct personas -- so you research before you plan, plan before you code, and review before you ship.

Quick Start

# Install via npm
npm install -g rpi-kit

# Install for your preferred tool
rpi-kit install

# First time: guided setup
/rpi:onboarding

How It Works

RPIKit breaks feature development into 7 phases, each driven by named agents:

#PhaseCommandAgentsOutput
1Request/rpi:newLunaREQUEST.md -- elicited requirements
2Research/rpi:researchAtlas + Scout + NexusRESEARCH.md -- GO/NO-GO verdict
3Plan/rpi:planMestre + Clara + Pixel + NexusPLAN.md + eng.md + pm.md + ux.md + delta/
4Implement/rpi:implementForge + SageCode + IMPLEMENT.md
5Simplify/rpi:simplifyRazorSimplified code
6Review/rpi:reviewHawk + Shield + Sage + NexusPASS / FAIL verdict
7Docs/rpi:docsQuillUpdated documentation

Use /rpi <feature> to auto-detect the current phase and progress to the next one.

Commands

CommandDescription
/rpi <feature>Auto-progress to next phase -- detects current state and runs the appropriate step
/rpi:new <feature>Interactive interview with Luna to create REQUEST.md
/rpi:research <feature>Codebase analysis (Atlas) + technical investigation (Scout)
/rpi:plan <feature>Architecture (Mestre) + product spec (Clara) + UX (Pixel)
/rpi:implement <feature>Execute PLAN.md tasks with per-task commits (Forge)
/rpi:simplify <feature>Dead code removal and simplification (Razor)
/rpi:review <feature>Adversarial review (Hawk) + security audit (Shield) + test coverage (Sage)
/rpi:docs <feature>Generate documentation from artifacts (Quill)
/rpi:initConfigure RPIKit and generate rpi/context.md
/rpi:statusShow all features and their current phase
/rpi:party <topic>Multi-agent debate on any topic
/rpi:learnSave a solution or insight to the knowledge base
/rpi:archive <feature>Merge delta specs into rpi/specs/ and clean up
/rpi:updateUpdate RPIKit plugin to the latest version
/rpi:onboardingGuided first-time setup with codebase analysis

Agents

RPIKit uses 13 named agents, each with a distinct persona:

AgentPersonaPhaseTools
LunaCurious analyst who asks uncomfortable questionsRequestRead, Glob, Grep, AskUserQuestion
AtlasMethodical explorer who maps every corner of the codebaseResearchRead, Glob, Grep
ScoutSkeptical investigator who researches external optionsResearchRead, Glob, Grep, WebSearch, WebFetch
NexusDiplomatic synthesizer who merges outputs and facilitates debatesCross-phase + PartyRead, Write, Glob, Grep, Agent, AskUserQuestion
MestrePragmatic architect who hates over-engineeringPlanRead, Glob, Grep
ClaraValue-driven PM who cuts scope without mercyPlanRead, Glob, Grep
PixelEmpathetic UX designer who thinks from the user's perspectivePlan (conditional)Read, Glob, Grep
ForgeDisciplined executor who follows the plan preciselyImplementRead, Write, Edit, Bash, Glob, Grep
SageParanoid tester who thinks in edge casesImplement (TDD) + ReviewRead, Write, Edit, Bash, Glob, Grep
RazorMinimalist simplifier who measures quality by deletion countSimplifyRead, Write, Edit, Bash, Glob, Grep
HawkAdversarial reviewer forced to find problems (zero findings = re-analyse)ReviewRead, Glob, Grep
ShieldSecurity sentinel who thinks like an attacker (OWASP, secrets, injection)ReviewRead, Glob, Grep
QuillConcise technical writer who explains the "why", not the "what"DocsRead, Write, Edit, Glob, Grep

Key Features

Delta Specs

Instead of maintaining full specifications, RPIKit captures only what changes. During planning, Mestre generates delta/ADDED/, delta/MODIFIED/, and delta/REMOVED/ directories. On archive, Nexus merges deltas into rpi/specs/.

Party Mode

/rpi:party "GraphQL vs REST?" starts a multi-agent debate. Nexus selects 3-5 relevant agents, each argues from their persona's perspective, and Nexus synthesizes a recommendation. Results can be saved to rpi/solutions/decisions/.

Knowledge Compounding

Solutions discovered during review are automatically saved to rpi/solutions/. Use /rpi:learn to manually save insights. During research, Scout searches past solutions before looking externally.

Auto-Flow

/rpi <feature> detects the current phase by checking which artifacts exist and runs the next phase automatically. No need to remember which command comes next.

Quick Flow

For small features, use --quick to skip the full research and plan phases. Luna asks 1-2 questions, Forge generates a mini-plan inline, and Razor does a quick simplify. If Forge detects complexity > S during implementation, it stops and suggests the full pipeline.

Configuration

Run /rpi:init to generate .rpi.yaml, or create it manually:

version: 2

# Directories
folder: rpi/features
specs_dir: rpi/specs
solutions_dir: rpi/solutions
context_file: rpi/context.md

# Execution
parallel_threshold: 8
commit_style: conventional
tdd: false

# Conditional agents
ux_agent: auto                 # auto | always | never

# Quick flow
quick_complexity: S

# Knowledge compounding
auto_learn: true

# Party mode
party_default_agents: 4

Directory Structure

rpi/
├── context.md                          # Project conventions and stack
├── specs/                              # Current system specifications
│   ├── auth/
│   │   └── session-management.md
│   └── ...
├── solutions/                          # Knowledge base (compounding)
│   ├── performance/
│   ├── security/
│   ├── database/
│   ├── testing/
│   ├── architecture/
│   ├── patterns/
│   └── decisions/                      # Party mode outputs
└── features/                           # Active features
    └── oauth/
        ├── REQUEST.md
        ├── research/
        │   └── RESEARCH.md
        ├── delta/
        │   ├── ADDED/
        │   ├── MODIFIED/
        │   └── REMOVED/
        ├── plan/
        │   ├── PLAN.md
        │   ├── eng.md
        │   ├── pm.md
        │   └── ux.md
        └── implement/
            └── IMPLEMENT.md

License

MIT

Keywords

claude-code

FAQs

Package last updated on 20 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts