← ClaudeAtlas

automatelisted

Automate: search sessions for work to automate: errors that repeat and are never fixed (a hook that fails, a gate that blocks good turns, a skill listed twice), work done by hand again and again, and the turns one session lost. Use when asked what keeps breaking, what to automate, what a session learned, or to scan sessions, Langfuse, git or the factory for recurring problems, and to fix the findings picked (act). NOT for: one bug (use /aleph:diagnosing-bugs), code quality (use /aleph:refit-code).
crsmithdev/aleph · ★ 0 · AI & Automation · score 65
Install: claude install-skill crsmithdev/aleph
# Automate Search what happened at run time for work an agent or a tool could take over: what keeps going wrong, what keeps being done by hand, and where a session lost turns. Then fix the findings Chris picks. refit-agents reads one repo's agent files; automate reads what happened, in every repo on the machine. The argument sets the scope: - A window (`3d`, `30d`), or none for 14 days: steps 1 to 5. A **finding** is one cause seen in two or more sessions (three for work done by hand). Claude Code deletes transcripts after 30 days by default, so a longer window sees less than it says. - `session [<id>]`, or none at the end of a session: the [Session](#session) steps, for this session or a past one. - `act`, with the findings Chris picks from a report: the [Act](#act) steps. ## Steps 1. **Scan.** Run `bun <skill dir>/scan.ts --days <n>`, and save its JSON in the scratchpad. It reads every transcript under `~/.claude/projects` (about 15 s for 14 days). Each finding has a `kind`, a `key`, its `count`, `sessions`, `days`, `cli` (sessions that are Chris's; the rest are headless workers), `first`, `last`, the raw `sample` and `cwd` of the latest hit, and `ids` (the latest sessions it was seen in). `cut` counts the findings past `--top`. The scan leaves out commands that only read and errors with no word in them. Drop hits from your own session: its id is in the path of the transcript it writes now. Done when the JSON is saved and you have read every fin