Documentation

Everything you need to install, use, and configure Trace.

v1.0 — Updated April 2026

01 Getting Started

Install

Three methods. Pick the one that fits your setup.

macOS / Linux
brew install BlueMeta-Technologies/tap/trace
Windows (Scoop)
scoop bucket add bluemeta https://github.com/BlueMeta-Technologies/scoop-bucket
scoop install trace
Direct download
curl -sSL trace.bluemetatech.com/install.sh | sh
First run

Type trace and the product explains itself.

TimeWhat happens
T+0sYou type trace
T+0.3sFirst paint. Wordmark and loading indicator.
T+1sSession index read. List populates with titles and dates.
T+5-15sJSONL files parsed. Costs, tokens, and anomalies appear.
T+15sFully indexed. Scanner results flagged. Budget footer visible.

No tutorial. No wizard. No signup. The product is immediately legible.

What Trace reads

Trace reads Claude Code session logs from ~/.claude/projects/. Each session is a JSONL file containing prompts, responses, and token usage data.

Trace does not modify these files. It does not read any other files on your system. All parsed data is stored in ~/.bluemeta/trace.db.

02 Interface

Session list
Trace session list — click to enlarge

The home view. Every Claude Code session, newest first.

ElementWhat it shows
CClaude Code session indicator
UCursor session indicator (reserved for v1.1)
Sensitive data patterns detected (local scan)
TitleAuto-generated from the first prompt, truncated to 60 characters
MetadataDate, project name, cost, token count

Sessions are grouped under TODAY, YESTERDAY, THIS WEEK, LAST WEEK, OLDER headers.

Session detail

Press Enter on any session. Three tabs, switchable via Tab or 1 2 3.

TabContent
PromptsEvery message with role label (you / assistant), timestamp, and inline cost. Navigate with n/p.
CodeAll fenced code blocks extracted from assistant responses, grouped by language.
CostToken breakdown (input, output, cache read, cache creation), model, anomaly explanations, sensitive data flags, per-message cost table.

Press Esc to return to the session list.

Filters

Press f to open the filter panel.

FilterOptions
ProjectAuto-discovered from your sessions. Defaults to all.
Costall, >$1, >$10, >$50, >$100
Anomaliesall or flagged only
Sensitiveall or flagged only

Navigate with j/k, change values with h/l. Press Enter to apply, Esc to cancel.

Saved prompts library

Press L from the session list to browse your saved prompts.

ActionKey
Save current prompts (in the Prompts tab)
Copy current promptc (in the Prompts tab)
Navigate promptsn next, p previous
Open libraryL (from session list)
Copy from libraryc (in the library view)

03 Intelligence

Cost tracking
Trace cost breakdown — click to enlarge

Trace calculates cost per message by multiplying token counts against published Anthropic pricing.

Token typeWhat it measures
InputTokens sent to the model (your prompts + context)
OutputTokens generated by the model
Cache readTokens served from prompt cache (cheaper than input)
Cache creationTokens written to prompt cache (more expensive than input)

Budget bar

The footer shows today's spend, monthly spend, and a color-coded budget bar when a budget is configured:

  • Green — under 50% of budget
  • Amber — 50-80% of budget
  • Red — over 80% of budget

Set a budget in settings (,) or with --budget 500.

Anomaly detection

Trace computes a rolling 30-day baseline per tool and flags sessions that deviate significantly.

TypeTriggerSeverity
Token spikeTotal tokens > 3 standard deviations above baselineInfo / Warning / Critical (scales with magnitude)
Context bloatAverage input per message > 2x baselineWarning
Output collapseOutput/input ratio < 0.5x baselineWarning

Anomaly explanations cite real numbers: "7.1x your typical session. Used 60.0K tokens total — baseline is 8.5K tokens."

Anomaly detection requires at least 10 sessions in the rolling baseline before flagging. The footer shows "Calibrating" until enough data is collected.

Sensitive data scanner

Local regex scanner runs during session ingestion. All scanning happens on your machine. No data is transmitted.

Credentials

PatternSeverity
AWS access key (AKIA...)Critical
AWS secret keyCritical
GitHub token (ghp_, gho_, ghs_)Critical
Generic API key/tokenWarning
Private key header (-----BEGIN PRIVATE KEY-----)Critical

Personal identifiers

PatternSeverity
SSN format (XXX-XX-XXXX)Critical
Credit card number (Luhn-validated)Critical
Email addressInfo

Federal classification markers

PatternSeverity
TOP SECRETCritical
SECRET (with marking format)Critical
NOFORNCritical
CUIWarning
ITAR, EXPORT CONTROLLEDWarning
CONFIDENTIAL (with marking format)Warning
UNCLASSIFIED//FOUO, FOR OFFICIAL USE ONLYInfo
LIMITED DISTRIBUTIONInfo

Contract markers

PatternSeverity
TRADE SECRETWarning
ATTORNEY-CLIENT PRIVILEGEDWarning
PROPRIETARYInfo

Disable the scanner entirely with --no-scan. Per-pattern configuration is planned for v1.1.

04 Configuration

Settings

Press , from the session list to open settings. Navigate with arrow keys, change values with h/l, press Esc to save and return.

SettingOptionsDefault
Themetrace, mono, high-contrasttrace
Sensitive data scanneron, offon
Monthly budgetnone, $50, $100, $200, $500none
CLI flags
FlagDescriptionDefault
--themeColor themetrace
--demoSanitize display for safe screenshotsoff
--no-scanDisable sensitive data scanningoff
--no-ingestSkip session ingestion (use existing DB)off
--db <path>Custom database file path~/.bluemeta/trace.db
--budget <n>Monthly budget in USD0 (no budget)
--debug-watcherLog all filesystem watcher eventsoff

Examples

# Standard usage
trace

# High-contrast theme with $200 budget
trace --theme high-contrast --budget 200

# Demo mode for screenshots
trace --demo

# Use a pre-seeded demo database
trace --db ~/.bluemeta/trace-demo.db --no-ingest --no-scan
Demo mode

Run trace --demo to sanitize displayed data for safe screenshot sharing.

What changesHow
Project namesReplaced with project-1, project-2, etc.
Username in pathsReplaced with user
Session titlesTruncated to first 8 words
Dollar amountsReplaced with relative cost bars (■■■□□□□□)

Demo mode is display-only. Stored data is never modified.

Privacy

All data stays local in ~/.bluemeta/trace.db. Trace makes three documented network calls:

CallWhenOpt-in?
Update checktrace --check-updatesYes
Pricing table fetchtrace updateYes
Install verificationFirst install onlyOne-time

Verify with network monitoring tools:

# macOS
nettop -p $(pgrep trace)

# Linux
ss -tunp | grep trace

# Windows
netstat -b | findstr trace

See the full Privacy Verification Guide.

Keyboard shortcuts

Global

KeyAction
?Toggle help overlay
q / Ctrl+CQuit
Esc / BackspaceBack (from any sub-view)

Session list

KeyAction
j / kNavigate up / down
EnterOpen session detail
/Full-text search
fOpen filters
LSaved prompts library
,Settings

Session detail

KeyAction
Tab / Shift+TabNext / previous tab
1 2 3Jump to Prompts / Code / Cost tab
h / lPrevious / next tab
sSave current prompt to library
cCopy current prompt to clipboard
n / pNext / previous user prompt
EscBack to session list