Recall from the attic
First, in the same shell command as anything below, locate the script:
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)
Query: $ARGUMENTS.
node "$ATTIC_JS" recall "$ARGUMENTS"
The script scores slug, index hook and item body, returns the best match, and lists alternatives.
- No
.attic/yet, or nothing matches: say so in one line and stop. Do not invent an answer or go read source files unless the user asks. - Several plausible matches: report the best one, then list the alternative handles in one line so the user can redirect.
- Report the item in at most ten lines. Keep code, paths and commands verbatim. End with the handle.
Never rewrite or delete items while recalling.