feature-archive

feature-archive is a skill for Claude Code from rp1-run/rp1. It costs 17 tokens per session (432 once invoked), scanned A, original, Apache-2.0.

A feature-archive workflow that moves completed feature documentation from the active area into an archive and checks that required documents exist.

In plain words
What is it for?
Use it to archive a feature, create the archive location when needed, and handle duplicate archive identifiers with a timestamp.
Why use it?
It keeps active project records focused on current work while preserving completed features. The document check helps prevent archiving an incompletely recorded feature by accident.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the rp1-dev plugin — 23 skills, 36 agents shipped together

Good fit Use it to archive a feature, create the archive location when needed, and handle duplicate archive identifiers with a timestamp.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rp1-run/rp1/feature-archive
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 rp1-run/rp1 --skill feature-archive
Clone the repo
git clone --depth 1 https://github.com/rp1-run/rp1

Made for: Claude Code.

Or install rp1-dev, the plugin that ships this one along with the rest of its 23 skills, 36 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 feature-archive

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rp1-run/rp1/feature-archive"><img src="https://agentmods.dev/badge/skills/rp1-run/rp1/feature-archive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 432 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.00017 $0.00432
Opus 5.5 $0.00007 $0.00173
Sonnet 5.5 $0.00003 $0.00086
Haiku 4.5 $0.00002 $0.00043

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

Security

Grade A, and why

feature-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/dev/skills/feature-archive/SKILL.md · 69 lines

What it actually says

Feature Archive

Archives completed feature docs from active -> archives dir.

Usage

/rp1-dev:feature-archive <feature-id>

Behavior

  • Moves .rp1/work/features/{FEATURE_ID}/ -> .rp1/work/archives/features/{FEATURE_ID}/
  • Creates archives/features/ if missing
  • Existing archive ID -> appends timestamp suffix
  • Validates docs exist before archiving

Execution

Step 1: Invoke Agent

{% dispatch_agent "rp1-dev:feature-archiver" %} MODE: archive FEATURE_ID: {FEATURE_ID} SKIP_DOC_CHECK: false WORK_ROOT: {workRoot} {% enddispatch_agent %}

Step 2: Handle Response

If agent returns JSON w/ type: "needs_confirmation":

{"type":"needs_confirmation","reason":"minimal_docs","feature_id":"...","message":"..."}

{% ask_user "Feature '{FEATURE_ID}' has minimal documentation (no requirements.md or design.md). Archive anyway?", options: "Yes - Archive anyway", "No - Cancel" %}

  • Yes: Re-invoke w/ SKIP_DOC_CHECK: true
  • No: Output Archive aborted by user + STOP

Step 3: Report

Display agent success output directly.

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 · 69 lines · 17 tokens per session scan A 22a38b411842

Subscribe to this mod's changes

feature-archive is a skill published in the GitHub repository rp1-run/rp1 (38 stars, last pushed 16d ago), licensed Apache-2.0. It adds 17 tokens to every session and 432 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-09-07.

Related

Other skills, from other repositories

openspec-bulk-archive-change

Archive multiple completed OpenSpec changes at once. Use when archiving several parallel changes. Also use for a plural archive request - "openspec bulk-archive", "opsx bulk-archive", "openspec archive all", or "openspec archive these changes".

intent-driven-dev/intent-driven-template · 61 tokens

openspec-bulk-apply-change

Use when multiple active OpenSpec changes should be applied concurrently in isolated worktrees with delegated verification and no merge.

intent-driven-dev/intent-driven-template · 30 tokens

product-management

Expertise in product management lifecycle, from ideation to launch. Covers requirements gathering, user story creation, prioritization, and product strategy. Use this skill for product planning, writing PRDs, defining MVPs, or competitive analysis.

HK-hub/AgentSkills · 50 tokens

openspec-new-change

Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature, fix, or modification with a structured step-by-step approach. Also use when the user says "openspec new change" or "opsx new".

intent-driven-dev/intent-driven-template · 58 tokens

openspec-archive-change

Archive a completed OpenSpec change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete. Also use when the user says "openspec archive" or "opsx archive".

intent-driven-dev/intent-driven-template · 50 tokens

prd-to-plan

Turn a PRD into a multi-phase implementation plan using tracer-bullet vertical slices, saved as a local Markdown file in ./plans/. Use when user wants to break down a PRD, create an implementation plan, plan phases from a PRD, or mentions "tracer bullets".

HK-hub/AgentSkills · 61 tokens