Skip to content
Back to skills

Dolly

ASecurity

Task memory for this repo (.dolly/): board, step log, versioned specs. Use before touching code on a task with history, when picking work back up, after a slice of work lands, when a spec changes, or for "where did we leave off" / "log this" / any dolly command.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 20, 2026
ai-agentsgogit

Works with

  • terminal
  • cli

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add nick-delirium/dolly --skill dolly --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dolly?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dolly
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nick-delirium-dolly/badge)](https://www.skillsdirectory.com/skills/nick-delirium-dolly)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dolly
description: >
  Task memory for this repo (.dolly/): board, step log, versioned specs. Use before
  touching code on a task with history, when picking work back up, after a slice of
  work lands, when a spec changes, or for "where did we leave off" / "log this" / any
  dolly command.
---

Task memory live in the dolly store (`dolly whoami` print where; usually `.dolly/`, committed, shared with teammates). State live in files, not in your memory of the conversation. Read before write. Never hand-edit it — CLI keeps frontmatter, versions, step counters consistent.

## One repo, many tasks

Your task is a SLICE of an ongoing codebase. Other tasks came before, made decisions, set conventions. Before deciding anything on an unfamiliar task:

```
dolly project                      # what is true about this repo: architecture, conventions, invariants
dolly board                        # what exists, what is in flight, what shipped
dolly why a.ts b.ts                # which tasks touched this code, what they concluded, the commits
dolly recall <words>               # search every step note, spec, plan answer, dream, the brief
```

`dolly why` is the link nothing else gives you: dolly records the files every step touched, and ranks tasks by how rare the shared files are. Read it before changing shared code — you may be about to undo a deliberate choice. Skipped it if you: reinvent an existing convention, edit a file against another task's direction, ask what the repo already answers.

`dolly recall` before re-deciding anything: the option may already be weighed or rejected. Hits print `path:line` — open there, don't re-grep. `--kind decision` = Decisions / Dead ends / Why sections, `Rejected:` / `decided to` lines + planning answers; narrow with `--status`, `--since 30d`, `--task <ref>`, `-n N`, `--all-projects`.

Code map in repo (`.codegraph/`, `graft/`, `.serena/`)? Use it before grep. Do not build an index inside `.dolly/`.

## Rehydrate — read in tiers

| Need | Command |
|---|---|
| what work exists | `dolly board` |
| picking up a task, about to write code | **`dolly context <ref>`** ← default |
| orienting only | `dolly context <ref> --brief` |
| archaeology: why is the code like this | `dolly why <file>` · `dolly recall <words>` · `dolly context <ref> -n 0` |

`dolly context` = the brief's Invariants + Conventions + newest Lessons, related tasks, full spec, criteria, log, last 3 steps' full context (`--brief`: short spec, criteria, recent log only). Log say *what* happened; step context say *why* — you need why before changing code. Session-start text is only the index.

`<ref>` = 8-char id (`3pkndyj2`) · slug · exact title · a word only one title has · `current` (default when omitted). Reads also take a fuzzy title and say which task they picked; writes refuse a guess and list candidates — re-run with the id. Ambiguous → picker in a terminal, list otherwise.

Pick up work → `dolly status <ref> working` first. That also attaches this conversation: auto-log only ever writes to a task the conversation already wrote to.

## Log every major step

```
dolly step current -m "<1-3 lines: what you understood and did>" --auto-files --detail-file <notes.md>
```

Major step = slice landed · bug root-caused · migration written · approach abandoned · dependency added. Not every edit. Log BEFORE a risky refactor and AFTER it lands.

| Flag | Lands in | Content |
|---|---|---|
| `-m` | `task.md` log, skimmed by humans | OUTCOME. Never the request. |
| `--detail-file` / `--detail` | `context/steps.jsonl` (append-only), rendered to `context/steps.md` | Note to an agent with zero context: decisions + why, rejected options + why, gotchas, snippets, next. |

- bad: `add country and browser filters` ← the request, worthless
- good: `Filters land in search endpoint as AND-ed where clauses. Needed composite index on (country, browser) or p95 blew past 300ms.`

Step without detail is half a step. `--auto-files` read changed files from git; `--files a.ts,b.ts` when git is noisy. Text/file flags take `-` for stdin. Secrets in what you write become `[redacted:<kind>]`, `$HOME` becomes `~`. `--private` keeps the detail on this machine (`.dolly/.local/`, never committed); the log says a private note exists.

## Compact — when asked, or when context says bodies are out of view

`dolly compact <ref>` prints one long task's old step bodies, the rules and the exact `--save` command. You write the rollup; dolly writes none and deletes nothing. Save with the printed `--through`.

## Dream — when session start says one is due, or the user asks

`/dolly:dream`, or `dolly dream` in a **subagent** (the material is large; keep it out of the working conversation). It prints everything since the last dream + the brief + rules; you write What happened · Decisions · Went wrong · Went well · Ideas · Lessons · Proposed brief edits, and save with the printed `--through`. Lessons are appended to the brief; **never `dolly project set` from a dream** — other brief edits are proposals the human applies. `dolly dream --week` rolls a finished week's days up. Read one: `dolly dream show [YYYY-MM-DD|YYYY-Www]`.

## Statuses

`todo → planning → working → validating → done`

```
dolly status current validating --note "<exactly what the human must check>"
```

`validating` = you are done, human must verify. **Never set `done`** — human's call. The `--note` is what the human sees in `dolly review` (their walk over the queue, terminal-only; it refuses under an agent): make it the checklist. Sent back to `working` → the human's note is the last status line in the log.

## Opening a PR

`dolly pr <id>` prints title, blank line, body: short spec, criteria with ticks, written steps + spec changes, files, the validating note as how-to-verify. Use it as the PR description (`gh pr create --title "<title>" --body-file <file>`). `dolly pr <id> --create --yes` runs gh itself — only when the user asked you to open the PR. Private notes never go in.

## Spec changed mid-flight

Never silently rewrite. Version it:

```
dolly spec current --short "<2-5 line summary>" --file <new-full-spec.md> --reason "<why it changed>"
```

Old spec moves to "Superseded versions" at the bottom of the same `context/spec.md`, with the reason. `--short` / `--criteria` alone = no version bump, still logged. `--add-criteria c` appends. `--criteria` is the whole new list (unchanged text keeps its tick); dropping any is refused unless `--replace-criteria`. Rename: `dolly spec <ref> --title "<new title>"`.

## New task

Needs questions answered → **dolly-planning** skill. Small and understood:

```
dolly new "<title>" --short "<2-5 line spec>" --criteria "x works" --criteria "y works" --tag auth
```

One task = one feature. Scope grows → new task, link it in the step detail.

## Repo-level knowledge → `dolly project`

`.dolly/project.md`: Overview, Architecture, Conventions, Invariants, Glossary, Lessons — what is TRUE about the code (CLAUDE.md says how to BEHAVE). You maintain it: learn a boundary, a banned pattern, an invariant, why something is shaped weird → `dolly project set "<Section>" --text "..."`. Find it wrong → fix it; a stale brief is worse than none. Fact useful to a task that does not exist yet → brief. Fact about what THIS task did → step.

## Conversation already started without dolly?

```
dolly reindex                     # digest of THIS session: requests verbatim, files touched, commands run
dolly reindex --apply             # import it: new task, one step per turn (idempotent)
dolly reindex --apply --into <ref>
```

Then replace the imported spec (it only stitches raw requests together): `dolly spec <ref> --short "..." --file <spec.md> --reason "reindexed from session <id>"`. Fix misleading imported summaries with a corrective step, never by rewriting.

## Hard rules

- Steps are append-only. Wrong step → a new step correcting it.
- Committing work for a task: end the message with a `Dolly-Task: <id>` trailer. `dolly why` maps commits to tasks through it. With `dolly install git-hooks` the commit-msg hook adds it (once; it skips a message that has one).
- Step notes: `### Decisions` / `### Dead ends` headings make them findable with `dolly recall --kind decision` (dreams' Decisions / Went wrong / Lessons too).
- Commit `.dolly/` with the code — unless `dolly whoami` says the store is `linked`/`global` (outside the repo, private, nothing to commit).
- Every step is stamped with your handle (`DOLLY_USER` → `.dolly/local.json` → `gh` → git email → `$USER`).
- Store newer than your dolly → writes refused. Do NOT work around it; upgrade dolly. Older store → lossless upgrades apply themselves; risky ones wait for `dolly migrate` (`--dry-run` first).
- Warnings on every command, a rendering "held", a stale block, a lock that will not clear → `dolly doctor` names it and what to do; `dolly doctor --fix` does only the safe repairs. `task.md` / `steps.md` are renderings: a hand edit to one is held (warned about) until the text is recorded with dolly and the file deleted.
- Want the old dialogue back: `dolly continue <ref>` prints `claude --resume <session>`.
- Not initialized: `dolly init`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.