Skip to main content Switch to mobile version donelog 0.1.1 Automatically record what your AI coding agent did as tasks, and search them later.
pip install donelog==0.1.1 Copy PIP instructions
Status: under development. v0.1.0 is not released yet.
donelog records each piece of work your AI coding agent (Claude Code) does as a task, automatically, through MCP.
You can list and search those tasks later by keyword or status. Short Japanese words such as 「認証」 work too.
You can ask in plain words, like "Is the login feature done?", and get an answer backed by real task IDs.
You need uv and Python 3.11 or later. donelog is not on PyPI yet, so install it from the repository:
git clone https://github.com/pham2006-ux/donelog.git cd donelog uv tool install . Check that it works (open a new terminal first):
donelog --version If the command is not found, run uv tool update-shell and open a new terminal.
Run these in the folder of the project you want to track:
donelog init # create .donelog/ and add instructions to CLAUDE.md donelog add "Write the README" # add a task by hand donelog list # newest first donelog search 認証 # keyword search donelog done T-0001 # mark as done donelog status T-0001 todo # change the status (todo, in_progress, done) donelog edit T-0001 --title "Write the README (EN)" # change what a task says donelog delete T-0001 # delete for good (asks first) Connect to Claude Code
The easiest way is to let donelog do it. Run this in your project folder:
donelog init --connect-claude This runs claude mcp add for you. You can also run it yourself: donelog init prints the exact command for your machine, for example:
claude mcp add --scope local donelog -- /home/you/.local/bin/donelog mcp The server is registered for that project only (the local scope). Then restart Claude Code and check the connection:
claude mcp list You should see donelog: ... ✓ Connected. From now on, Claude Code records its work with the add_task and update_task tools, following the instructions that donelog init added to CLAUDE.md.
If something is missing, donelog doctor checks the whole setup and tells you how to fix each problem.
Use PowerShell or the VS Code terminal. Run the commands one by one.
If you run donelog from a clone with uv run instead of uv tool install, donelog init prints a command with the full path to Python, for example:
claude mcp add --scope local donelog -- "C:\path\to\donelog\.venv\Scripts\python.exe" -m donelog mcp
Claude Code treats C:\work and c:\work as different folders. Terminals use C:, but VS Code uses c:. donelog init --connect-claude registers both, so Claude Code finds donelog wherever you start it.
To remove the registration: claude mcp remove donelog
The vscode-extension/ folder has a VS Code extension that shows the tasks in the sidebar, updates live while Claude Code works, and lets you search, ask, add, complete and export tasks. It uses the donelog command above, so install that first. It is not on the Marketplace yet. To try it, build and install it from the repository (you need Node.js 20 or later):
cd vscode-extension npm ci npx vsce package --no-dependencies code --install-extension donelog-0.1.0.vsix See the VS Code extension guide for a step-by-step walkthrough, and vscode-extension/README.md for a summary.
Ask in plain words (AI search)
donelog ask "Is the login feature done?" Answer: Done The login form was added in T-0003 and its tests in T-0007. Evidence: T-0003 done Add the login form 2026-12-02 14:36 T-0007 done Add login tests 2026-12-02 15:10 The answer is one of Done, In progress, Not started or Not recorded, with the IDs of the tasks it is based on. donelog only shows IDs that really exist in your task log; anything else the AI returns is removed. With many tasks, donelog first picks the 100 most related (by keywords and newness) and sends only those.
Inside Claude Code (no extra cost)
When you are already in Claude Code, just ask it, for example "Is the login feature done?". Claude Code answers with the search_tasks tool, so no extra AI call is made.
Choosing the AI (backend)
donelog ask uses the backend set in .donelog/config.json:
{"ask_backend": "claude-code", "model": null} ask_backend How it works Cost claude-code (default) Runs your installed Claude Code in non-interactive mode (claude -p) Included in your Claude Pro/Max plan anthropic-api Calls the Anthropic API Pay per use You can also choose per question: donelog ask --backend anthropic-api "...". model is optional; null means Claude Code's default model, or claude-opus-5-5 for the API.
claude-code: donelog removes ANTHROPIC_API_KEY from the environment of the Claude Code it starts, so the question is always answered within your plan, never billed to an API key.
anthropic-api: install the optional package and set the key in an environment variable named DONELOG_ANTHROPIC_API_KEY (not ANTHROPIC_API_KEY: if that one is set, Claude Code itself switches from your plan to API billing; see this support article).
uv tool install --reinstall ".[api]" $env:DONELOG_ANTHROPIC_API_KEY = "sk-ant-..." # this terminal only donelog never creates or reads .env files.
Status is one of todo, in_progress, done (or all for filters). IDs look like T-0001; 1 also works.
JSON output for scripts and editors
Add --json to init, add, list, search, show, done, status, edit, delete, ask, doctor or export -o FILE to get exactly one line of JSON. The VS Code extension uses this.
{"ok": true, "data": {"count": 1, "truncated": false, "tasks": [{"display_id": "T-0001", "title": "...", "status": "done"}]}} {"ok": false, "error": {"code": "not_initialized", "message": "..."}} Error codes: not_initialized, not_found, invalid, config, ask_failed, database, io, conflict. The exit code is 1 when ok is false. With --json, init never asks questions: add --yes to update CLAUDE.md. Likewise delete --json needs --yes. status returns results with one {task, changed, before} per ID (and task/changed for the first one); edit returns {task, changed, before}, where before is the task as it was (the VS Code extension uses it for Undo); delete returns deleted, the list of deleted tasks.
Planning and checking
From a requirements document to tasks. Give Claude Code your requirements document and ask for tasks. It shows the list first, and after you agree, it registers every item as a todo task.
Checking done tasks. Before its first change in a session, Claude Code checks the done tasks that nobody has checked yet. A task that is really finished is marked verified. A task that is not finished goes back to in progress with a note, and Claude Code asks you before it fixes anything.
Tasks are stored in .donelog/donelog.db (SQLite) inside your project. There is no telemetry.
Everything except donelog ask works offline and sends nothing.
donelog ask sends your question and up to 100 tasks (titles, summaries, file names, tags) to Claude, through Claude Code or the Anthropic API, depending on the backend.
donelog init adds .donelog/ to .gitignore. To share tasks with your team, commit an export instead: donelog export --format md -o DONELOG.md.
uv sync --all-extras # install dependencies (including the optional anthropic package) uv run pytest # run the tests uv run ruff check . # lint uv run ruff format . # format Contributing
Bug reports and ideas are welcome. See CONTRIBUTING.md. Changes are listed in CHANGELOG.md.
Released: Dec 3, 2026
MIT View SPDX License List
Development Status 2 - Pre-Alpha
Intended Audience Developers
Operating System OS Independent
Programming Language Python :: 3
Topic Software Development
Release files for donelog 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 96.6 kB
Release files / donelog-0.1.1.tar.gz
Release files / donelog-0.1.1-py3-none-any.whl
Security for donelog 0.1.1
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 3, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 6571ef3











