second-brain-os: Skill for Claude Code

.agents/skills/archive-project/SKILL.md

archive-project is a skill for Claude Code from the-sid-dani/second-brain-os. It costs 101 tokens per session (2,490 once invoked), scanned A, original, MIT.

A procedure for closing a completed project by marking it done, moving its whole folder to the configured archive, and updating the parent area's index. It can also record a retrospective in the project's memory file.

In plain words
What is it for?
Use it when finishing and archiving a project, recording what was learned, and regenerating the list of projects in its parent area.
Why use it?
It keeps the project's status, location, and navigation index consistent so completed work is no longer treated as active but remains discoverable.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is the-sid-dani/second-brain-os's own configuration. It tells Claude Code how to work on second-brain-os itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything second-brain-os configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash .claude/skills/reindex/reindex.sh "<workspace.root>/<workspace.areas>/<parent_hq>".

Reuse

Borrowing it

Nothing to install: this file belongs to the-sid-dani/second-brain-os. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/the-sid-dani/second-brain-os/main/.agents/skills/archive-project/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/the-sid-dani/second-brain-os

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/the-sid-dani/second-brain-os/archive-project/github.svg)](https://agentmods.dev/skills/the-sid-dani/second-brain-os/archive-project)
Your own site
<a href="https://agentmods.dev/skills/the-sid-dani/second-brain-os/archive-project"><img src="https://agentmods.dev/badge/skills/the-sid-dani/second-brain-os/archive-project/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 archive-project

Your own site · 80×15
<a href="https://agentmods.dev/skills/the-sid-dani/second-brain-os/archive-project"><img src="https://agentmods.dev/badge/skills/the-sid-dani/second-brain-os/archive-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,490 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.00101 $0.02490
Opus 5.5 $0.00040 $0.00996
Sonnet 5.5 $0.00020 $0.00498
Haiku 4.5 $0.00010 $0.00249

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

Security

Grade A, and why

archive-project 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 7d 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.

.agents/skills/archive-project/SKILL.md · 187 lines

How it starts

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

archive-project

Closes the loop on a project: appends a retrospective to memory.md (optional but encouraged), flips status: active → done in CLAUDE.md's YAML frontmatter, moves the whole folder to <workspace.root>/<workspace.archive>/<slug>/, then regenerates the parent Area's index.md. The project moves WHOLE — there is no artifact-promotion step (thin-Areas model: Areas hold rules + memory + a generated index only; archived projects stay discoverable via the Area index).

Before you begin: read the Configuration section in root CLAUDE.md. Path tokens like <workspace.projects> resolve to whatever's defined there — don't hardcode.

Why this exists

/prune-projects filters on the status field. A project that gets moved by hand without the status flip looks active forever — <assistant.name> can't tell it's archived. This skill makes the right thing the easy thing: one command, frontmatter and filesystem stay consistent, optional retro captures the "what did we learn" without forcing it.

The retro matters because the project's memory.md is the only durable record of the decision history. Once a project is archived, nobody re-reads its memory unless something breaks — so a one-paragraph "what worked / what didn't" entry at the end is high-leverage. But forcing it would make the user skip the skill entirely, which is worse. Make it cheap to opt in.

When to use

Trigger phrases (not exhaustive):

  • "archive the X project"
  • "I'm done with X"
  • "wrap up X"
  • "move X to archive"
  • "X is finished — close it out"
  • "shelve X for now"
  • "clean up the X work"

Do NOT trigger for:

  • A shipped Area app under <workspace.area_apps>/ — to retire one, move the repo to <workspace.archive>/<slug>/app/ beside a short CLAUDE.md note (what it was, remote, why retired). A COD project's own app/ needs nothing special: it moves with the project folder.
  • Pausing a project — that's a status change to paused, not an archive. Edit the frontmatter directly.
  • Deleting — never. Archive is move, not delete.

Read the full file on GitHub · 187 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago Changed · -1 lines · -128 tokens per session d6c93b4508b9
  2. 1mo ago First seen · 188 lines · 229 tokens per session scan A 7c0745776995

Subscribe to this mod's changes

archive-project is a skill published in the GitHub repository the-sid-dani/second-brain-os (3 stars, last pushed 7d ago), licensed MIT. It adds 101 tokens to every session and 2,490 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

peer-onboard

A procedure for bringing an outside lead or peer into a shared working setup, including their contact space, records, previous conversations, and ongoing session.

tonydzi/second-brain-starter-kit · 152 tokens

contrib-watch

Watch incoming feedback from outside engineers on your open-source repos: comments, reviews, issues, mentions. Use when you need to find who replied to your pull requests or issues, triage human versus bot responses, and answer within a day with evidence.

tonydzi/second-brain-starter-kit · 54 tokens

retro-lost

Run a retrospective for an abandoned agent session (untouched for over 24 hours, never closed with a retro): rebuild context cold from the transcript, list what was built, sort Keep/Drop/Try and file the durable parts. Use from a nightly routine or on demand. Triggers: /retro-lost, retro for an abandoned session.

tonydzi/second-brain-starter-kit · 74 tokens

issue-match

Measure a target repository's queue and find a live open issue the contribution would close, before opening a pull request there. Reports how many PRs are open, how many of the last N closed ones were actually merged, and which issue to attach to, because a cold PR into a dead queue is a wasted artifact. Triggers…

tonydzi/second-brain-starter-kit · 87 tokens

local-engineer-outreach

An engineer-outreach workflow that manages ongoing conversations with engineering contacts and moves them through planned next steps toward an invitation or call to action.

tonydzi/second-brain-starter-kit · 280 tokens

outbound-gate

Gate for any outbound message before it leaves: pull request or issue comment, DM, invite, post, email. Use before sending to check facts, tone, platform rules, registry status and AI-slop, and to block text that fails.

tonydzi/second-brain-starter-kit · 54 tokens