prd-archive

prd-archive is a skill for Claude Code from jpoutrin/product-forge. It costs 10 tokens per session (1,256 once invoked), scanned A, original, MIT.

A command for filing completed or cancelled product requirements documents (PRDs) in an archive. It adds archive details and moves each document into a year-based folder.

In plain words
What is it for?
Use it to archive eligible PRDs, record why they were archived, calculate linked task completion when available, and handle cancelled projects.
Why use it?
It removes finished or cancelled documents from active work while preserving their history and completion information.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is prd-archive ./drafts/completed-feature-frd.md.

Part of the product-design plugin — 43 skills, 8 agents shipped together

Good fit Use it to archive eligible PRDs, record why they were archived, calculate linked task completion when available, and handle cancelled projects.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/jpoutrin/product-forge
agentmods
npx agentmods add skills/jpoutrin/product-forge/prd-archive

Made for: Claude Code.

Or install product-design, the plugin that ships this one along with the rest of its 43 skills, 8 agents.

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 prd-archive

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jpoutrin/product-forge/prd-archive"><img src="https://agentmods.dev/badge/skills/jpoutrin/product-forge/prd-archive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,256 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.00010 $0.01256
Opus 5.5 $0.00004 $0.00502
Sonnet 5.5 $0.00002 $0.00251
Haiku 4.5 $0.00001 $0.00126

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

Security

Grade A, and why

prd-archive 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 1mo 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.

plugins/product-design/skills/prd-archive/SKILL.md · 168 lines

How it starts

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

prd-archive

Category: Product & Strategy

Usage

prd-archive <prd-file> [--reason <reason>] [--force]

Arguments

  • <prd-file>: Required - Path to the PRD file to archive
  • --reason: Optional - Reason for archiving (default: "Implementation complete" or "Project cancelled")
  • --force: Optional - Archive even if status is not COMPLETE or ARCHIVED

Execution Instructions for Claude Code

When this command is run, Claude Code should:

  1. Read the PRD file and validate it exists
  2. Check current status:
    • If COMPLETE: proceed with archiving
    • If ARCHIVED: warn that it's already archived
    • If other status and no --force: ask for confirmation
  3. If PRD has a linked task file, calculate final completion percentage
  4. Add archive metadata to the PRD:
    • archive_date
    • archive_reason
    • final_task_completion (if applicable)
    • implementation_duration (if dates available)
  5. Determine archive location:
    • Extract year from last_updated or use current year
    • Create path: product-docs/prds/archive/YYYY/
    • For cancelled PRDs: product-docs/prds/archive/YYYY/cancelled/
  6. Move the PRD file to archive location (use git mv if in git repo)
  7. Update status to ARCHIVED
  8. Optionally archive the linked task file to the same location
  9. Create an archive summary file if this is the first archive of the month

Archive Metadata

Add to PRD header before moving:

status: ARCHIVED
archive_date: 2025-01-06
archive_reason: Implementation complete - v1.0 released
final_task_completion: 100%
implementation_duration: 15 days
original_location: product-docs/prds/active/feature-prds/

Archive Directory Structure

product-docs/prds/archive/
├── 2025/
│   ├── Q1/
│   │   ├── completed/
│   │   │   ├── user-auth-frd.md
│   │   │   └── user-auth-frd-tasks.md
│   │   ├── cancelled/
│   │   │   └── experimental-feature-frd.md
│   │   └── 2025-Q1-archive-summary.md
│   └── Q2/
└── 2024/

Output Format

📦 Archiving PRD: user-authentication-frd.md

Current Status: COMPLETE
Task Completion: 100% (20/20 tasks)

✅ Adding archive metadata:
   - archive_date: 2025-01-06
   - archive_reason: Implementation complete - v1.0 released
   - final_task_completion: 100%
   - implementation_duration: 15 days

📁 Moving to archive:
   From: product-docs/prds/active/feature-prds/user-authentication-frd.md
   To: product-docs/prds/archive/2025/Q1/completed/user-authentication-frd.md

📄 Also archiving linked task file:
   To: product-docs/prds/archive/2025/Q1/completed/user-authentication-frd-tasks.md

✅ Archive complete!

📊 Archive Summary:
   - Implementation started: 2024-12-22
   - Implementation completed: 2025-01-06
   - Total duration: 15 days
   - Final status: Successfully delivered

Read the full file on GitHub · 168 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. 1mo ago First seen · 168 lines · 10 tokens per session scan A f92d9cc714d6

Subscribe to this mod's changes

prd-archive is a skill published in the GitHub repository jpoutrin/product-forge (16 stars, last pushed 7mo ago), licensed MIT. It adds 10 tokens to every session and 1,256 once invoked, about $0.0000 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-09-03.

Related

Other skills, from other repositories