By duck8823
Local-first Traceary integration for Claude Code with MCP tools and automatic session/audit hooks.
Explain 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 itExecutes bash commands
Hook triggers when Bash tool is used
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub duck8823/traceary --plugin tracearyCapture AI coding sessions to understand intent
Persistent local memory for Claude Code. Every tool call, every file edit, every thinking block from every session — stored verbatim on your machine. Semantic recall in ~126ms with zero API calls.
Session transcript timeline viewer for Claude Code and Codex agent sessions
Thoughtbox observability, protocol enforcement, and CLI for Claude Code
Session log archiver: saves conversations as Markdown or JSON for easy review
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses