relay-archive

Archives a Relay project worktree after PR merge while preserving notes and plans.

3|Updated Jun 17, 2026
One-click install
npx skills add https://github.com/ronaknnathani/relay --skill relay-archive-ronaknnathani
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: relay-archive
Source: https://github.com/ronaknnathani/relay/tree/main/skills/relay-archive
Command: npx skills add https://github.com/ronaknnathani/relay --skill relay-archive-ronaknnathani

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? After a project's pull request is merged, leftover git worktrees and branches clutter the repository, but deleting them outright risks losing useful notes and plans. This Skill cleans up the worktree while preserving the project's recorded artifacts. ## Core Features & Use Cases - Worktree Cleanup: Removes the git worktree associated with a finished Relay project. - Artifact Preservation: Keeps project notes and plans stored under the Relay state directory instead of discarding them. - Use Case: After your pull request for a feature is merged, run the archive command with the project slug to reclaim disk space while retaining the planning history for future reference. ## Quick Start Ask the agent to archive the Relay project with slug 'request-validation' now that its pull request has been merged.

Frequently Asked Questions about relay-archive

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean up a Relay project after its PR is merged?▼

Run the relay archive command with the project slug, for example relay archive request-validation. This removes the project's git worktree while keeping its notes and plans on disk.

Does archiving a Relay project delete my notes and plans?▼

No, archiving preserves the project's notes and plans stored in the Relay state directory. Only the worktree is cleaned up, so the planning history remains available for reference.

When should I archive a Relay project?▼

Archive a project after its pull request has been merged and the work is complete. Archiving before merge would remove the worktree still needed for addressing review feedback or check failures.

What argument does the relay archive command take?▼

The command takes a single project slug argument, which is the identifier Relay assigned when the project was created. You can find slugs of existing projects under the Relay projects state directory.