hybrid-ralph

hybrid-ralph is a skill for Claude Code from Taoidle/plan-cascade. It costs 52 tokens per session (3,976 once invoked), scanned A, original, MIT.

A planning and execution workflow that turns a task description into a product requirements document (PRD) and tracks several related development tasks.

In plain words
What is it for?
Use it to plan multi-part software work, run independent tasks in parallel, track their progress, and resume interrupted work.
Why use it?
It helps preserve progress after a session is interrupted and keeps tasks ordered when some depend on others.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the plan-cascade plugin — 7 skills, 33 commands shipped together

Good fit Use it to plan multi-part software work, run independent tasks in parallel, track their progress, and resume interrupted work.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Taoidle/plan-cascade
Claude Code
/plugin install plan-cascade

Made for: Claude Code.

Or install plan-cascade, the plugin that ships this one along with the rest of its 7 skills, 33 commands.

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 hybrid-ralph

README.md
[![agentmods](https://agentmods.dev/badge/skills/taoidle/plan-cascade/hybrid-ralph.svg)](https://agentmods.dev/skills/taoidle/plan-cascade/hybrid-ralph)
Your own site
<a href="https://agentmods.dev/skills/taoidle/plan-cascade/hybrid-ralph"><img src="https://agentmods.dev/badge/skills/taoidle/plan-cascade/hybrid-ralph.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,976 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.00052 $0.03976
Opus 5 $0.00026 $0.01988
Sonnet 5 $0.00010 $0.00795
Haiku 4.5 $0.00005 $0.00398

Measured 8d ago against content hash 81658deb61e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

hybrid-ralph 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 8d ago.

The scan reads SKILL.md. This mod also ships 25 executable files (core/__init__.py, core/agent_executor.py, core/agent_monitor.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/hybrid-ralph/SKILL.md · 553 lines

How it starts

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

Hybrid Ralph + Planning-with-Files

A hybrid architecture combining the best of three approaches:

Auto-Recovery Protocol (CRITICAL)

At the START of any interaction, perform this check to recover context after compression/truncation:

  1. Check if .hybrid-execution-context.md exists in the current directory

  2. If YES:

    • Read the file content using Read tool
    • Display: "Detected ongoing hybrid task execution"
    • Show current batch and pending stories from the file
    • Resume story execution based on the state
    • If unsure of state, suggest: /hybrid:resume --auto
  3. If NO but prd.json exists:

    • Run: uv run python "${CLAUDE_PLUGIN_ROOT}/skills/hybrid-ralph/scripts/hybrid-context-reminder.py" both
    • This will generate the context file and display current state

This ensures context recovery even after:

  • Context compression (AI summarizes old messages)

  • Context truncation (old messages deleted)

  • New conversation session

  • Claude Code restart

  • Ralph: Structured PRD format (prd.json), progress tracking patterns, small task philosophy

  • Planning-with-Files: 3-file planning pattern (task_plan.md, findings.md, progress.txt), Git Worktree support

  • Claude Code Native: Task tool with subagents for parallel story execution

Quick Start

Automatic PRD Generation

Generate a PRD from your task description:

/hybrid:auto Implement a user authentication system with login, registration, and password reset

This will:

  1. Launch a Planning Agent to analyze your task
  2. Generate a PRD with user stories
  3. Show the PRD for review
  4. Wait for your approval

Manual PRD Loading

Load an existing PRD file:

/hybrid:manual path/to/prd.json

Approval and Execution

After reviewing the PRD:

/approve

This begins parallel execution of stories according to the dependency graph.

Architecture

File Structure

project-root/
├── prd.json                 # Product Requirements Document
├── findings.md              # Research findings (tagged by story)
├── progress.txt             # Progress tracking
├── .current-story           # Currently executing story
├── .locks/                  # File locks for concurrent access
└── .agent-outputs/          # Individual agent logs

Read the full file on GitHub · 553 lines

Files

What ships with it

37 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 553 lines · 52 tokens per session scan A 81658deb61e7

Subscribe to this mod's changes

hybrid-ralph is a skill published in the GitHub repository Taoidle/plan-cascade (140 stars, last pushed 5mo ago), licensed MIT. It adds 52 tokens to every session and 3,976 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

dos-goal-fleet

Launch multiple goal-scoped workers in waves, each with a witness-gated stop condition and dos arbitrate file-tree safety. Use when an operator asks to run several independent goals in parallel and fold only verified ships.

anthony-chaudhary/dos-kernel · 51 tokens

dos-dispatch-loop

Run recurring dos-dispatch cycles, switching to dos-replan when the backlog drains and stopping on the kernel's loop verdict. Use for unattended dispatch->replan->dispatch work across disjoint lanes.

anthony-chaudhary/dos-kernel · 49 tokens

dos-dispatch

Plan and ship the next batch on one lane: run dos-next-up, acquire a lease with dos arbitrate, gate empty work, dispatch the packet, and archive the run. Use when a single lane should move end to end with collision safety.

anthony-chaudhary/dos-kernel · 56 tokens

dos-next-up

Snapshot the repo's phased-plan portfolio into a dispatch packet: audit candidates with dos verify, render who-does-what, and emit a dos gate verdict. Use when you need the current next-work view before dispatching agents.

anthony-chaudhary/dos-kernel · 53 tokens

dos-replan

Refresh a plan portfolio from evidence: close shipped queue items, update cooldown state, and surface the few decisions an operator must make. Use after dispatch bursts, drained backlogs, or recurring findings.

anthony-chaudhary/dos-kernel · 43 tokens

dos-class-cycle

Run one DOS plan-class lifecycle tick from the workspace [lifecycle] table: evaluate declared transitions, have a judge approve/defer them, write gated plan-meta edits, and log the cycle. Use when gardening plan lifecycle classes automatically.

anthony-chaudhary/dos-kernel · 52 tokens