skill-archive
Retire a skill cleanly - move its directory from skills/<category>/ into skills-archive/<category>/, mark it archived in frontmatter with what replaced it…
Skill by MAHDTech
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mahdtech-skill-archive
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/skill-archive
What's inside
- Skill name
skill-archive- Description
- Retire a skill cleanly - move its directory from skills/<category>/ into skills-archive/<category>/, mark it archived in frontmatter with what replaced it, purge or redirect every inbound /skill-name reference (the router included), then re-run lint and sync. Use when you want to archive, deprecate, retire, remove, replace, or merge away a skill, or a /skill-audit flagged one for retirement. Covers when to archive vs delete vs merge and how to avoid dangling references. Cross-references /skill-creator and /skill-router.
- License
- MIT
- Metadata
- group: authoring
- Instructions
- 68 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# Skill Archive
**Invocation:** Start only when the user explicitly requests this workflow.
Retire a skill without deleting it and without leaving a **dangling reference** behind. The collection has two trees with the same shape:
```text
skills/<category>/<name>/SKILL.md in use: installed, listed, routed to
skills-archive/<category>/<name>/SKILL.md retired: readable on the dashboard, never installed
```
Moving a skill across is what retires it. Nothing under `skills-archive/` is installed by `ask skills install`, offered by `npx skills add MAHDTech/agent-skills`, or listed in the README, `agents/AGENTS.md`, or `skills.sh.json`. It stays on the dashboard, marked as archived, so consumers can still read it and fetch it from the repository by hand. A `sync` after the move removes any local links the skill had.
If a replacement is taking over, create it first with `/skill-creator`; archive only once the replacement exists.
## Pick the disposition first
Three ways a skill leaves the live set:
- **Archive** - retire but keep it readable (it shipped, it had users, or its history is worth preserving). `git mv` into `skills-archive/`. The default: shipped skills are never deleted.
- **Delete** - remove it entirely (a never-promoted `in-progress/` draft, a mistake, nothing worth keeping). `git rm` the directory. Not for anything that ever shipped.
- **Merge** - its value belongs inside another skill. Fold the content into the survivor, redirect references to the survivor, then archive or delete the emptied shell.
## Steps (archive)
1. **Move it, keeping the category.** The archive mirrors the live tree, so the skill lands under the same category directory it came from:
```bash
mkdir -p skills-archive/<category>
git mv skills/<category>/<name> skills-archive/<category>/<name>
```
The directory basename is unchanged, so `name` still equals it and lint stays green.
Relative links from the moved skill to live skills now resolve inside `skills-archive/`; repoint them through the live tree (`../../../skills/<category>/<name>/SKILL.md`) so the link checker keeps passing.
2. **Mark it archived in frontmatter.** Add a `metadata` block (or extend the existing one) with the archive date and, when there is one, the successor's name. Both values are strings:
```yaml
metadata:
archived: "2026-09-04"
replaced-by: "new-skill"
```
`archived` is required on every skill under `skills-archive/`; `replaced-by` is optional and names a live skill. The dashboard renders its archived banner from these keys, so the body needs no note. Keep the rest of the frontmatter valid: `name` and `description` must still pass lint.
3. **Purge or redirect inbound references.** Sweep the live tree for the old name and fix each hit - repoint to the replacement, or remove the mention:
```bash
grep -rn '/<name>' skills --include=SKILL.md
```
- **Router** (`skills/authoring/skill-router/SKILL.md`) - remove the retired skill's entry. If a replacement took over its slot, the replacement's entry already covers it.
- **Any other live skill** that referenced `/<name>` - a mention now pointing at an archived skill is a dangling reference; send it to the replacement or drop it. Skills are self-contained by default, so dropping the sentence is usually right.
4. **Regenerate the derived artifacts.** `devenv --no-tui shell -- ask skills lint`, then `devenv --no-tui shell -- ask skills sync`. Sync rebuilds the README, `agents/AGENTS.md`, `skills.sh.json`, and the dashboard from the tree, removes the local links for the archived skill, and stages what it changed; commit that.
## Avoiding dangling references
The router and cross-skill `/skill-name` mentions are the two places a retired name lingers. The grep in step 3 is the sweep; the check is the completion bound below - no _live_ skill may still name the archived one. Archived skills may reference each other and may reference live skills freely, but nothing live points at what you just archived. `/skill-audit` runs the same sweep across the whole collection if you want to catch strays later.
## Restoring
An archived skill comes back the same way it left: `git mv skills-archive/<category>/<name> skills/<category>/<name>`, delete the `archived` and `replaced-by` keys, re-add its router entry, then lint and sync.
## Done when
The skill lives under `skills-archive/<category>/<name>/`, its frontmatter carries `metadata.archived` (and `replaced-by` when a successor exists), no live skill (the router included) still references `/<name>`, lint passes, and a second `sync` leaves no further diff.From MAHDTech/agent-skills, MIT.
More from MAHDTech/agent-skills
- 0.565score
grill-me-with-docs
MAHDTech
Relentlessly interview the user to stress-test a problem, architecture, or design from scratch, while actively maintaining a domain glossary (CONTEXT.md) and…
SkillAFreshness: AClaude Code +9 - 0.565score
delta
MAHDTech
Operate and configure Delta and DeltaDB, the multiplayer agent coding environment and CRDT version control system from Zed Industries.
SkillAFreshness: AClaude Code +9 - 0.565score
tauri
MAHDTech
Reference and development guidelines for Tauri v2+ cross-platform desktop and mobile apps.
SkillAFreshness: AClaude Code +9 - 0.565score
refactor-codebase
MAHDTech
Remove engineering debt, untangle large modules, collapse duplicated logic, and modernize legacy patterns without changing behavior.
SkillAFreshness: AClaude Code +9 - 0.565score
tars-backlog-create-issue
MAHDTech
Use when creating a new backlog issue/ticket in the `.tars/issues/todo/` directory, defining its YAML frontmatter, headings, tasks, acceptance criteria…
SkillAFreshness: AClaude Code +9 - 0.565score
opencode
MAHDTech
Guidance for using OpenCode, the open-source AI coding agent.
SkillAFreshness: AClaude Code +9 - 0.565score
opencode-acp
Benjamin Jesuiter <bjesuiter@gmail.com>
Control OpenCode directly via the Agent Client Protocol (ACP).
SkillAFreshness: AClaude Code +9 - 0.565score
skill-audit
MAHDTech
Periodically audit the whole skill collection for health - validate each skill's frontmatter, clarity, and category, verify every cross-reference resolves…
SkillAFreshness: AClaude Code +9 - 0.565score
skill-creator
MAHDTech
Use when creating a new skill or editing an existing one in this repo - how to name it, place it in the right category, write its frontmatter and description…
SkillAFreshness: AClaude Code +9 - 0.561score
tars-backlog-loop
MAHDTech
Coordinate the full backlog lifecycle by sequentially executing tars-backlog-audit, tars-backlog-triage, and tars-backlog-implement to resolve all issues.
SkillAFreshness: AClaude Code +9 - 0.561score
tars-backlog-audit
MAHDTech
Audit the codebase for bugs, features, security issues, or technical debt, and generate structured issue files in `.tars/issues/todo/`.
SkillAFreshness: AClaude Code +9 - 0.561score
tars-backlog-triage
MAHDTech
Triage pending backlog issues in `.tars/issues/todo/` to verify their accuracy, check for hallucinations, and add review notes.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 30
- Last commit (this folder)
- Oct 10, 2026 (18 days ago)
- Last release
- Oct 23, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/MAHDTech/agent-skills
- Website
- skills.mahdtech.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from MAHDTech
- 0.565score
grill-me-with-docs
MAHDTech
Relentlessly interview the user to stress-test a problem, architecture, or design from scratch, while actively maintaining a domain glossary (CONTEXT.md) and…
SkillAFreshness: AClaude Code +9 - 0.565score
tauri
MAHDTech
Reference and development guidelines for Tauri v2+ cross-platform desktop and mobile apps.
SkillAFreshness: AClaude Code +9 - 0.565score
refactor-codebase
MAHDTech
Remove engineering debt, untangle large modules, collapse duplicated logic, and modernize legacy patterns without changing behavior.
SkillAFreshness: AClaude Code +9 - 0.565score
delta
MAHDTech
Operate and configure Delta and DeltaDB, the multiplayer agent coding environment and CRDT version control system from Zed Industries.
SkillAFreshness: AClaude Code +9 - 0.565score
tars-backlog-create-issue
MAHDTech
Use when creating a new backlog issue/ticket in the `.tars/issues/todo/` directory, defining its YAML frontmatter, headings, tasks, acceptance criteria…
SkillAFreshness: AClaude Code +9 - 0.565score
opencode
MAHDTech
Guidance for using OpenCode, the open-source AI coding agent.
SkillAFreshness: AClaude Code +9
Cite this page
skill-archive. Agent Mart. https://agentmart.dev/skills/mahdtech-skill-archive (last updated 2026-10-24)