attic-sweep
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…
Skill by NishikantaRay
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/nishikantaray-attic-sweep
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: 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/attic-sweep
What's inside
- Skill name
attic-sweep- Description
- 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 pass.
- License
- MIT
- Instructions
- 46 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: templates/session.md
Files (1)
- SKILL.md
SKILL.md (first lines)
# Sweep the session into the attic
First, in the same shell command as anything below, locate the script:
```bash
ATTIC_JS=$(ls -d "${CODEX_HOME:-$HOME/.codex}"/plugins/cache/attic/attic/*/skills/attic/scripts/attic.js "${CODEX_HOME:-$HOME/.codex}"/skills/attic/scripts/attic.js "$HOME"/.agents/skills/attic/scripts/attic.js .agents/skills/attic/scripts/attic.js 2>/dev/null | sort -V | tail -1)
```
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 "$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 "$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 "$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."
Copy commands, paths and errors verbatim. No secrets.From NishikantaRay/Attic, MIT.
More from NishikantaRay/Attic
- 0.584score
attic
NishikantaRay
Offloads context.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
attic-fail
NishikantaRay
Record an approach that was tried and did not work, so nobody repeats it.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
attic-git
NishikantaRay
Everything about .attic/ and git: fixes merge conflicts in INDEX.md and DECISIONS.md by installing a union merge driver, and sets up a shared attic for a team.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
attic-recall
NishikantaRay
Pull ONE item back out of .attic/ by slug or search words and summarise it.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
attic-review
NishikantaRay
Check which stashed items may no longer match the code, and resolve them.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
attic-stash
NishikantaRay
Stash the current finding, result, plan or decision into .attic/ and reply with its handle.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
attic-stats
NishikantaRay
Report what the attic costs and what it holds, measured from local session transcripts.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
attic-pin
NishikantaRay
Pin an attic item so it is always injected into new sessions and never trimmed when the index outgrows its budget.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
attic-prune
NishikantaRay
Find stale attic items and archive them.
SkillBFreshness: B★ 5Claude Code +9 - 0.575score
attic-doctor
NishikantaRay
Check the CONTENTS of .attic/ for drift: orphaned items, stale index lines, malformed frontmatter, oversized hooks, and leaked credentials.
SkillBFreshness: B★ 5Claude Code +9 - 0.574score
attic-index
NishikantaRay
List everything in the attic.
SkillBFreshness: B★ 5Claude Code +9 - 0.570score
attic-help
NishikantaRay
One-screen reference for the attic commands and levels.
SkillBFreshness: B★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 23, 2026 (1 month ago)
- Last release
- Sep 23, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/NishikantaRay/Attic
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from NishikantaRay
- 0.584score
attic
NishikantaRay
Offloads context.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
attic-fail
NishikantaRay
Record an approach that was tried and did not work, so nobody repeats it.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
attic-git
NishikantaRay
Everything about .attic/ and git: fixes merge conflicts in INDEX.md and DECISIONS.md by installing a union merge driver, and sets up a shared attic for a team.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
attic-recall
NishikantaRay
Pull ONE item back out of .attic/ by slug or search words and summarise it.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
attic-review
NishikantaRay
Check which stashed items may no longer match the code, and resolve them.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
attic-stash
NishikantaRay
Stash the current finding, result, plan or decision into .attic/ and reply with its handle.
SkillBFreshness: B★ 5Claude Code +9
Cite this page
attic-sweep skill. Agent Mart. https://agentmart.dev/skills/nishikantaray-attic-sweep (last updated 2026-10-24)