attic-git
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.
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-git-fec6ec
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
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
attic-git- Description
- 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. Use whenever git and .attic/ appear in the same problem: "merge conflicts in INDEX.md", "the attic keeps conflicting", "conflict in DECISIONS.md", "share the attic with my team", "commit the attic", "onboard someone to our attic".
- License
- MIT
- Instructions
- 42 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Attic and git
`.attic/INDEX.md` and `DECISIONS.md` are append-only, so two branches that
each stash something will conflict on every merge. The fix is a union merge
driver.
1. Add to the repository's `.gitattributes` (create it if absent):
```
.attic/INDEX.md merge=attic
.attic/DECISIONS.md merge=attic
```
2. Each developer runs this once per clone. Git does not allow a repository
to configure a driver command for security reasons, so this cannot be
automated for them:
```bash
git config merge.attic.name "attic union merge"
git config merge.attic.driver "node <path-to-plugin>/scripts/attic-merge.js %O %A %B %P"
```
Resolve `<path-to-plugin>` from `${CLAUDE_SKILL_DIR}/../..` and show the
real path in the command you print.
3. Verify by describing the check, or running it in a scratch clone: two
branches each appending an item should merge with no conflict markers.
Then tell the user what to commit, from `docs/TEAM.md`:
- **Commit** `.attic/INDEX.md`, `.attic/items/`, `.attic/DECISIONS.md` for
shared memory.
- **Consider gitignoring** `.attic/items/session-*.md`, which are personal
working state and rarely useful to others.
- **A committed attic is in git history.** If a credential ever reaches it,
rotating the credential is the fix. Removing the file is not enough.
If someone declines the merge driver, warn them that conflicts on INDEX.md
will be frequent and that resolving them by picking one side silently loses
the other side's items.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-sweep
NishikantaRay
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…
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
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
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from NishikantaRay
- 0.584score
attic
NishikantaRay
Offloads context.
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-fail
NishikantaRay
Record an approach that was tried and did not work, so nobody repeats it.
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-git skill. Agent Mart. https://agentmart.dev/skills/nishikantaray-attic-git-fec6ec (last updated 2026-10-24)