Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By JamesPrialv1.0.1MITIn 1 marketplace
Captures TodoWrite tool usage and saves to timestamped history file with configurable log location (default: .claude/todos.json)
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that automatically captures all TodoWrite tool activity and saves it as timestamped history.
This plugin hooks into Claude Code's TodoWrite tool usage and maintains a comprehensive log of all todo updates in .claude/todos.json at your project root. Perfect for tracking task progress over time, analyzing workflow patterns, or maintaining an audit trail of your work sessions.
Add your local marketplace:
/plugin marketplace add ./path/to/marketplace
Install the plugin:
/plugin install todo-log@marketplace-name
Copy the todo-log directory to your Claude Code plugins location and enable it via settings.
Once installed, the plugin works automatically. Every time Claude uses the TodoWrite tool, the plugin will:
.claude/todos.json in your project root (or custom location if configured)The plugin supports two storage backends:
| Backend | Default Path | Best For |
|---|---|---|
| JSON (default) | .claude/todos.json | Simple logging, human-readable |
| SQLite | .claude/todos.db | Large datasets, querying by session/status |
Switch to SQLite:
export TODO_STORAGE_BACKEND=sqlite
JSON Backend:
# Use custom JSON log location
export TODO_LOG_PATH=logs/todos.json
SQLite Backend:
export TODO_STORAGE_BACKEND=sqlite
export TODO_SQLITE_PATH=data/todos.db
Path resolution:
CLAUDE_PROJECT_DIRWhen using SQLite backend, you can query your todos programmatically:
from storage.sqlite_backend import SQLiteStorageBackend
from pathlib import Path
backend = SQLiteStorageBackend(Path(".claude/todos.db"))
# Get all entries from a specific session
entries = backend.get_entries_by_session("session-abc123")
# Get all pending todos across all sessions
pending = backend.get_todos_by_status("pending")
The plugin saves data to .claude/todos.json in the following format:
[
{
"timestamp": "2025-11-14T10:30:45.123Z",
"session_id": "abc123def456",
"cwd": "/home/user/my-project",
"todos": [
{
"content": "Implement user authentication",
"status": "completed",
"activeForm": "Implementing user authentication"
},
{
"content": "Write unit tests",
"status": "in_progress",
"activeForm": "Writing unit tests"
},
{
"content": "Update documentation",
"status": "pending",
"activeForm": "Updating documentation"
}
]
}
]
.claude/todos.json (in your project root)TODO_LOG_PATH environment variable (see Configuration section)You can view your todo history at any time:
cat .claude/todos.json
Or use jq for formatted output:
jq '.' .claude/todos.json
/plugin list/hooksclaude --debugEnsure the script is executable:
chmod +x todo-log/scripts/save-todos.py
CLAUDE_PROJECT_DIR environment variable is settodo-log/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest
├── hooks/
│ └── hooks.json # Hook configuration
├── scripts/
│ ├── save_todos.py # Main hook entry point
│ ├── test_save_todos.py # Main test suite
│ └── storage/ # Storage backend package
│ ├── __init__.py # Backend factory
│ ├── protocol.py # Types and protocols
│ ├── json_backend.py # JSON file backend
│ ├── sqlite_backend.py # SQLite database backend
│ └── tests/ # Backend tests
├── LICENSE
└── README.md
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub jamesprial/claude-plugins --plugin todo-logPlugins from other owners that cover similar ground