attic-doctor SKILL.md skillA

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

Check the CONTENTS of .attic/ for drift: orphaned items, stale index lines, malformed frontmatter, oversized hooks, and leaked credentials. Use when the user says "check the attic", "attic doctor", "is the attic healthy", or "did anything leak into the attic". Never use this for git, merge or conflict problems, even though they sound like breakage: every merge conflict goes to attic-git.

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 doctor

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

```bash
node "$ATTIC_JS" validate
```

Exit 0 is healthy. Exit 3 means errors were found.

Report what it printed, then act:

| Problem | Fix |
|---|---|
| INDEX line points at a missing item file | Remove the line, or restore the item if it was deleted by mistake. |
| Item file not listed in INDEX.md | Run `attic.js rebuild` to regenerate the index from the item files. |
| Missing or malformed frontmatter | Repair the file to match `references/item-format.md`. |
| Hook over 100 chars | Shorten it; the index is injected into every session. |
| Possible credential | **Stop.** Tell the user which file and line, recommend rotating the credential, and remove the value from the item. If `.attic/` is committed, it is in git history too. |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nishikantaray/attic/attic-doctor@sha256:7a8a98f1a3b24e57

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

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

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-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
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-doctor

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

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