attic-sweep SKILL.md skillA

attic-sweep from nishikantaray/attic is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nishikantaray/attic/attic-sweep@v1.6.1

Pins v1.6.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
nishikantaray/attic
Path
skills/attic-sweep/SKILL.md
Versions recorded
7
Latest version
v1.6.1, committed Sep 23, 2026
First version recorded
Sep 4, 2026
Size
1,962 bytes
Repository stars
5
License
MIT

Save the state of the current session into the attic before context is lost: the current plan, open questions, in-progress work, and any finding not yet stashed. Use right before /compact or /clear, at the end of a session, or when the user says "save state", "wrap up", "before compact", "checkpoint", "context is getting long", "summarise what we've done so far", "where are we", or "recap the session". A request to recap session progress IS a sweep: give the recap and persist it in the same…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Sweep the session into the attic

Goal: after this runs, a fresh session that reads only `.attic/INDEX.md`
could continue the work.

Pipeline:

1. **Collect.** Review the conversation for anything not yet stashed:
   findings, decisions and why, the current plan and what is done, open
   questions, and in-progress state (files being edited, failing tests,
   commands to rerun).
2. **Dedupe.** Run the index and drop anything already covered. Append to an
   existing item where there is genuinely new detail.

```bash
node "${CLAUDE_SKILL_DIR}/../attic/scripts/attic.js" index
```

3. **Write.** One stash per finding or decision, following `/attic-stash`.
   Then one session item, using `templates/session.md` as the shape:

```bash
node "${CLAUDE_SKILL_DIR}/../attic/scripts/attic.js" stash \
  --slug session-$(date +%F) --kind plan --title "Session $(date +%F)" \
  --hook "<what this session is doing, one line>" --body-file <tmpfile>
```

4. **Verify.**

```bash
node "${CLAUDE_SKILL_DIR}/../attic/scripts/attic.js" validate
```

   Fix anything it reports before finishing.
5. **Report.** List the handles written, one per line, then a single line:
   "Safe to /compact."
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nishikantaray/attic/attic-sweep@sha256:1ebebb326d92cbe0

The line at the top of this page pins the label v1.6.1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_x2qvm246gcgwo2g3.svg)](https://markdownregistry.com/a/art_x2qvm246gcgwo2g3)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Sep 4, 2026 and Sep 23, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
v1.6.1 latest2026-09-23 ec26888 1,962 BA view · diff
v1.6.02026-09-18 e3fa82c 1,962 BA view · diff
v1.5.02026-09-12 dc2a53a 1,962 BA view · diff
v1.4.02026-09-08 f66d6e9 1,962 BA view · diff
v1.3.02026-09-06 cd5b998 1,962 BA view · diff
v1.2.12026-09-06 d69e38b 1,962 BA view · diff
v1.2.02026-09-04 85a2280 1,962 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1962 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nishikantaray/attic · 5 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_x2qvm246gcgwo2g3
GET https://markdownregistry.com/api/v1/resolve?ref=nishikantaray/attic/attic-sweep
GET https://markdownregistry.com/api/v1/blob/1ebebb326d92cbe0ae5e12ae60b0b9ba06332b916c6394b5ee25c9e47122f742

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from nishikantaray/attic

attic-doctor SKILL.md skill
nishikantaray/attic · codex/skills/attic-doctor/SKILL.md · Check the CONTENTS of .attic/ for drift: orphaned items, stale index lines, malformed frontmatter, oversized hooks, and…
v1.6.1 · audit A · 5 stars
attic-fail SKILL.md skill
nishikantaray/attic · codex/skills/attic-fail/SKILL.md · Record an approach that was tried and did not work, so nobody repeats it. Use when the user says "that didn't work"…
v1.6.1 · audit A · 5 stars
attic-git SKILL.md skill
nishikantaray/attic · codex/skills/attic-git/SKILL.md · Everything about .attic/ and git: fixes merge conflicts in INDEX.md and DECISIONS.md by installing a union merge…
v1.6.1 · audit A · 5 stars
attic-help SKILL.md skill
nishikantaray/attic · codex/skills/attic-help/SKILL.md · One-screen reference for the attic commands and levels.
v1.6.1 · audit A · 5 stars
attic-index SKILL.md skill
nishikantaray/attic · codex/skills/attic-index/SKILL.md · List everything in the attic. Use for questions about the attic's CONTENTS as a whole with no particular topic: "what's…
v1.6.1 · audit A · 5 stars
attic-pin SKILL.md skill
nishikantaray/attic · codex/skills/attic-pin/SKILL.md · Pin an attic item so it is always injected into new sessions and never trimmed when the index outgrows its budget. Use…
v1.6.1 · audit A · 5 stars
attic-prune SKILL.md skill
nishikantaray/attic · codex/skills/attic-prune/SKILL.md · Find stale attic items and archive them. Use when the user says "prune the attic", "the attic is getting big", "clean…
v1.6.1 · audit A · 5 stars
attic-recall SKILL.md skill
nishikantaray/attic · codex/skills/attic-recall/SKILL.md · Pull ONE item back out of .attic/ by slug or search words and summarise it. Use when the question names a TOPIC: "what…
v1.6.1 · audit A · 5 stars
attic-review SKILL.md skill
nishikantaray/attic · codex/skills/attic-review/SKILL.md · Check which stashed items may no longer match the code, and resolve them. Use when the user says "review the attic"…
v1.6.1 · audit A · 5 stars
attic-stash SKILL.md skill
nishikantaray/attic · codex/skills/attic-stash/SKILL.md · Stash the current finding, result, plan or decision into .attic/ and reply with its handle. Use when the user says…
v1.6.1 · audit A · 5 stars
attic-stats SKILL.md skill
nishikantaray/attic · codex/skills/attic-stats/SKILL.md · Report what the attic costs and what it holds, measured from local session transcripts. Use when the user asks "is the…
v1.6.1 · audit A · 5 stars
attic-sweep SKILL.md skill
nishikantaray/attic · codex/skills/attic-sweep/SKILL.md · Save the state of the current session into the attic before context is lost: the current plan, open questions…
v1.6.1 · audit A · 5 stars

Every file in nishikantaray/attic

Other files named attic-sweep

attic-sweep SKILL.md skill
nishikantaray/attic · codex/skills/attic-sweep/SKILL.md · Save the state of the current session into the attic before context is lost: the current plan, open questions…
v1.6.1 · audit A · 5 stars

Browse by kind, by grade A, or by owner.