ralphi-backlog

ralphi-backlog is a skill for Claude Code from fagnerjs/ralphi. It costs 44 tokens per session (541 once invoked), scanned A, original, MIT.

A backlog manager for Ralphi that creates or refreshes backlog.json from prd.json. It keeps work items and their smaller steps aligned with the PRD's user stories and acceptance criteria.

In plain words
What is it for?
Use it when a Ralphi run needs a new backlog, an outdated backlog refreshed, statuses synchronized, or progress markers emitted during implementation.
Why use it?
It prevents the implementation backlog from becoming out of sync with the requirements, while preserving completed work and pointing to the current item.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it when a Ralphi run needs a new backlog, an outdated backlog refreshed, statuses synchronized, or progress markers emitted during implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fagnerjs/ralphi/ralphi-backlog
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.

Any agent
npx skills add fagnerjs/ralphi --skill ralphi-backlog
Clone the repo
git clone --depth 1 https://github.com/fagnerjs/ralphi

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 ralphi-backlog

README.md
[![agentmods](https://agentmods.dev/badge/skills/fagnerjs/ralphi/ralphi-backlog/github.svg)](https://agentmods.dev/skills/fagnerjs/ralphi/ralphi-backlog)
Your own site
<a href="https://agentmods.dev/skills/fagnerjs/ralphi/ralphi-backlog"><img src="https://agentmods.dev/badge/skills/fagnerjs/ralphi/ralphi-backlog/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 ralphi-backlog

Your own site · 80×15
<a href="https://agentmods.dev/skills/fagnerjs/ralphi/ralphi-backlog"><img src="https://agentmods.dev/badge/skills/fagnerjs/ralphi/ralphi-backlog.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 541 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.00044 $0.00541
Opus 5.5 $0.00018 $0.00216
Sonnet 5.5 $0.00009 $0.00108
Haiku 4.5 $0.00004 $0.00054

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

Security

Grade A, and why

ralphi-backlog 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 2mo 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/ralphi-backlog/SKILL.md · 69 lines

What it actually says

Ralphi Backlog

Use this skill when backlog.json is missing, stale, or needs to be updated while working a PRD.

Backlog Contract

backlog.json must stay machine-readable and compact:

{
  "version": 1,
  "sourcePrd": "...",
  "branchName": "...",
  "activeItemId": "BT-001",
  "activeStepId": "ST-001-01",
  "items": [
    {
      "id": "BT-001",
      "storyId": "US-001",
      "title": "Story title",
      "description": "Short summary",
      "status": "pending",
      "notes": "",
      "updatedAt": "2026-03-07T00:00:00.000Z",
      "steps": [
        {
          "id": "ST-001-01",
          "title": "Acceptance criterion text",
          "status": "pending"
        }
      ]
    }
  ]
}

Workflow

  1. Read prd.json first when it exists.
  2. Create one backlog item per user story.
  3. Create one step per acceptance criterion.
  4. Preserve completed status and notes when refreshing existing backlog data.
  5. Keep activeItemId and activeStepId pointed at the current work item.

Status Rules

  • Use pending, in_progress, done, blocked, or disabled.
  • Mark the backlog item done only when the related story is complete in prd.json.
  • Mark individual steps done as they are verified.
  • If a step cannot be finished in the current run, leave it pending or blocked and explain why in notes.
  • If a user disables an item, preserve disabled and skip it when choosing the next task.

Progress Markers

Whenever you switch to a backlog item or complete a step, print a single marker line:

<ralphi-backlog item="BT-001" step="ST-001-01" status="in_progress">
<ralphi-backlog item="BT-001" step="ST-001-03" status="done">

These markers drive the live dashboard. Keep them exact and on their own line.

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. 2mo ago First seen · 69 lines · 44 tokens per session scan A 1140d7ed1456

Subscribe to this mod's changes

ralphi-backlog is a skill published in the GitHub repository fagnerjs/ralphi (6 stars, last pushed 7mo ago), licensed MIT. It adds 44 tokens to every session and 541 once invoked, about $0.0002 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.