Home / nishikantaray / attic · codex/skills/attic-fail/SKILL.md · GitHub

attic-fail skillA

attic-fail is agent-read markdown (skill) from nishikantaray/attic: Record an approach that was tried and did not work, so nobody repeats it. Use when the user says "that didn't work", "this approach failed", "record this failure", "don't try this again", "note what we ruled out", or when an attempt in this session was abandoned for a reason worth keeping. Also use for a temporary workaround that should not be mistaken for a real fix..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Record a failed approach

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

Argument: `$ARGUMENTS` (a title, or empty to use the last failed attempt).

A failed approach is worth more than it looks. The next session will consider
the same idea for the same reasons, and the record of why it did not work is
what stops the second attempt from costing what the first one did.

## What to capture

Four things, in this order. The third is the one that matters — an approach
recorded without its reason just reads as defeatism and gets re-tried anyway.

1. **What was tried** — concretely enough to recognise the idea again.
2. **What happened** — the actual failure, error text copied verbatim.
3. **Why it failed** — the underlying reason, not the symptom.
4. **What to do instead**, if known.

## Recording it

```bash
node "$ATTIC_JS" stash \
…

Read the whole file at its exact version.

How to install

Latest version
mdr add nishikantaray/attic/attic-fail@v1.6.1
Exact content
mdr add nishikantaray/attic/attic-fail@sha256:c329a29488148052

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

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

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v1.6.1 latest2026-09-23 ec26888 2,897 BA view · diff
v1.6.02026-09-18 e3fa82c 2,897 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, 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 (2897 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_zpqyeuqa6barad7z
GET https://markdownregistry.com/api/v1/resolve?ref=nishikantaray/attic/attic-fail
GET https://markdownregistry.com/api/v1/blob/c329a294881480527a133d13bcfe096a03ba79fc9268592e1bbd0569fcbc4a0f

Your agent 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.

More from nishikantaray/attic

attic-doctor 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-git 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
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
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
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
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
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
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
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
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
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
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-fail

attic-fail skill
nishikantaray/attic · 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

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