By duck8823
Local-first Traceary integration for Claude Code with MCP tools and automatic session/audit hooks.
npx claudepluginhub duck8823/traceary --plugin tracearyExplain the Traceary Claude plugin, its MCP tools, and the built-in hook workflow. Use when the user asks about Traceary in Claude Code or explicitly calls /traceary-help.
Use when the user asks about prior Traceary sessions, event history, command audits, or what happened earlier in the workspace. Trigger on phrases like "Traceary", "session history", "audit trail", "recent events", or "what happened earlier".
Traceary is a local-first CLI and MCP server for recording and searching AI agent work logs, session boundaries, and shell command audits.
AI-assisted development gets messy quickly when:
clear or compactTraceary keeps those records in one local SQLite store so the same history can be reused from the CLI, hooks, and MCP clients.
client, agent, session_id, and repository/work contextTraceary is local-first. It writes to SQLite on your machine and does not include built-in telemetry, analytics, or hosted storage.
go install github.com/duck8823/traceary@latest
brew tap duck8823/traceary https://github.com/duck8823/traceary
brew install traceary
Tagged releases publish macOS and Linux archives on GitHub Releases. See the release guide when you want the packaging details.
Traceary also ships native packages for Claude Code, Codex, and Gemini CLI. See the native integrations guide when you want host-specific install, update, uninstall, and doctor flows.
traceary init is optional. Commands create the database and run migrations on demand.
Use init only when you want to create the DB path up front or confirm write permissions before a session starts.
sid=$(traceary session start --client dogfood --agent codex)
event_id=$(traceary log --client dogfood --agent codex --session-id "$sid" --id-only "Investigating failing tests")
traceary show "$event_id" --json
traceary audit \
--client dogfood \
--agent codex \
--session-id "$sid" \
--command "go test ./..." \
--input '{"stdin":""}' \
--output '{"stdout":"panic: boom","stderr":"stacktrace","exitCode":1}'
traceary search boom --json
traceary session active
traceary log --id-only "Investigating failing tests"
traceary audit --id-only --command "go test ./..." --input '{}' --output '{}'
traceary session end --session-id "$sid" --id-only
traceary init
traceary log <message>
traceary audit [<command> <input> <output>]
traceary list
traceary search <query>
traceary show <event-id>
traceary context
traceary handoff
traceary session start
traceary session end
traceary session latest
traceary session active
traceary hooks print --client <claude|codex|gemini>
traceary hooks install --client <claude|codex|gemini>
traceary hooks guide --client <claude|codex|gemini>
traceary mcp-server
traceary doctor
traceary backup create --output <path>
traceary backup restore --input <path>
traceary gc
traceary log and traceary audit reuse the latest non-stale active session for the resolved repo/work context when --session-id is omittedtraceary session active treats sessions older than 24h as stale unless you pass --allow-staletraceary session start prints a session ID; traceary session end prints the recorded event IDTRACEARY_LANG=ja when you want Japanese messaging--json output stays language-neutralUse the documentation index for the full map. The most common next pages are:
v0.x OSS tool, so check the changelog before upgrading automation around itComplete collection of battle-tested Claude Code configs from an Anthropic hackathon winner - agents, skills, hooks, rules, and legacy command shims evolved over 10+ months of intensive daily use
Executes bash commands
Hook triggers when Bash tool is used
Complete collection of battle-tested Claude Code configs agents, skills, hooks, rules, and legacy command shims evolved over 10+ months of intensive daily use
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer
AI-supervised issue tracker for coding workflows. Manage tasks, discover work, and maintain context with simple CLI commands.