attic-git SKILL.md skillA

attic-git 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-git@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
codex/skills/attic-git/SKILL.md
Versions recorded
7
Latest version
v1.6.1, committed Sep 23, 2026
First version recorded
Sep 4, 2026
Size
2,337 bytes
Repository stars
5
License
MIT

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".

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

# Attic and git

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)
```

`.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 `$(dirname "$ATTIC_JS")/../../..` and show the
   real path in the command you print.

3. Verify by describing the check, or running it in a scratch clone: two
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nishikantaray/attic/attic-git@sha256:69a21941ff0c8324

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_zlbni3fr6feazbkw.svg)](https://markdownregistry.com/a/art_zlbni3fr6feazbkw)

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 2,337 BA view · diff
v1.6.02026-09-18 e3fa82c 2,337 BA view · diff
v1.5.02026-09-12 dc2a53a 2,337 BA view · diff
v1.4.02026-09-08 f66d6e9 2,337 BA view · diff
v1.3.02026-09-06 cd5b998 2,337 BA view · diff
v1.2.12026-09-06 d69e38b 2,337 BA view · diff
v1.2.02026-09-04 85a2280 2,337 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 (2337 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_zlbni3fr6feazbkw
GET https://markdownregistry.com/api/v1/resolve?ref=nishikantaray/attic/attic-git
GET https://markdownregistry.com/api/v1/blob/69a21941ff0c8324a40e6b96776924cef1bf4d1768e3a5258dcb15e4af3e8c3b

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-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
attic SKILL.md skill
nishikantaray/attic · codex/skills/attic/SKILL.md · Offloads context. Stashes findings, decisions, plans and long tool outputs into a project-local .attic/ folder and…
v1.6.1 · audit A · 5 stars

Every file in nishikantaray/attic

Other files named attic-git

attic-git SKILL.md skill
nishikantaray/attic · 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

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