Help us shape the future of Go! Take the 2026 Go Developer Survey

thinking-tracer-tools

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2026 License: MIT

README

thinking-tracer-tools

CI Go Reference

Companion tools for thinking-tracer, providing utilities for extracting and processing LLM conversation traces.

Overview

This project provides command-line tools to work with LLM conversation trace files. The initial focus is on Claude Code traces (.jsonl files from ~/.claude/projects/).

Features
  • Prompt Extraction: Generate a timestamped log of user prompts from conversation traces
  • Multiple Formats: Output as markdown, JSON, or plain text
  • Custom Templates: Customize markdown output with Go templates
  • Session Inspection: List trace files and view session metadata

Installation

Homebrew
brew install --cask brain-stm-org/tap/thinkt-prompts
Go
go install github.com/Brain-STM-org/thinking-tracer-tools/cmd/thinkt-prompts@latest
From Source
git clone https://github.com/Brain-STM-org/thinking-tracer-tools.git
cd thinking-tracer-tools
task build

Tools

thinkt-prompts

Extract user prompts from LLM agent trace files.

# Extract prompts from the latest Claude Code session
thinkt-prompts extract -t claude

# Extract from a specific trace file
thinkt-prompts extract -t claude -i session.jsonl

# Write to a file instead of stdout
thinkt-prompts extract -t claude -o PROMPTS.md

# Use a different base directory
thinkt-prompts extract -t claude -d /path/to/.claude

# List available trace files
thinkt-prompts list -t claude

# Show session info
thinkt-prompts info -t claude

Output defaults to stdout. Markdown, JSON, and plain text formats are supported via -f.

Templates control the markdown output format and can be customized with --template. See the thinkt-prompts README for the full template reference and available variables.

  • thinking-tracer - 3D visualization tool for exploring LLM conversation traces

License

MIT License - see LICENSE.txt

Directories

Path Synopsis
cmd
thinkt-prompts command
thinkt-prompts extracts user prompts from LLM agent trace files.
thinkt-prompts extracts user prompts from LLM agent trace files.
internal
claude
Package claude provides types and utilities for Claude Code sessions.
Package claude provides types and utilities for Claude Code sessions.
prompt
Package prompt provides extraction and formatting of user prompts from traces.
Package prompt provides extraction and formatting of user prompts from traces.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL