/orchestra:export-tracefrom orchestra
Exports traces and captures from a hosted observability backend via CLI. Handles explicit trace IDs or bounded workload windows, producing local files for review.
Ships in orchestra. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Retrieve one explicit hosted trace without scanning the capture catalog. Resolve its request IDs through the customer trace lookup endpoint, then reuse the bounded request capture exporter.
For a named workload day rather than explicit trace IDs, use the workload
flow below. For a before/after task comparison, use
../ramp-and-verify/references/review-rollout.md.
trace_id as authorization for a redacted local summary export,
not for raw prompts or completions.--include-payload --yes only when the developer explicitly asks for the
full, raw, or complete trace/captures. Announce that the files may contain
prompts, completions, and tool payloads before running it..understudy/; never print, paste, commit, or upload trace
bodies.Prefer the installed orchestra binary. In this repository checkout:
npm run build
node dist/bin.js status --json
Use node dist/bin.js in place of understudy below when necessary.
Resolve the project from repo config or an explicit --project /
--project-id. Resolve --workload only when the developer supplied or
requested that narrower scope.
For redacted metadata, run:
orchestra traces export <trace-id> \
--project <project> \
--out .understudy/traces/<trace-id>
For an explicitly requested full trace, run:
orchestra traces export <trace-id> \
--project <project> \
--out .understudy/traces/<trace-id> \
--include-payload --yes
For several explicit IDs, put one per line in a private local file and use
--trace-ids-file <path>. Do not use or recreate an unbounded --all
operation.
Inspect only metadata artifacts:
trace.json — trace_id, ordered request_ids, and export counts;failed-request-ids.txt — request captures to retry;failed-trace-ids.txt — trace lookups or trace exports to retry;*.summary.json or *.payload.json — private per-request files.Do not print payload file contents. Rerun the same command to resume; completed request files are skipped.
When the developer asks to inspect the conversation locally, build the private viewer:
orchestra traces build-viewer \
--source .understudy/traces/<trace-id> \
--trace-id <trace-id> \
--output .understudy/trace-viewer/<trace-id>
When the developer wants an eval, cost profile, or benchmark from the local
files, hand off to ../ingest-traces/SKILL.md.
Resolve one exact organization/project/workload. With authorization for full payloads, export a completed UTC calendar day:
orchestra traces export --org <org-id> --project-id <project-id> \
--workload <name-or-id> --date <YYYY-MM-DD> \
--out .understudy/traces/<run> --include-payload --yes
--last 1d instead selects the last 24 hours. Inspect source/summary.json
and source/skipped.jsonl: any skipped capture means some indexed captures
were not materialized. Local hashes prove the saved bytes, not uncaptured
traffic coverage. Never silently present a skipped export as complete.
For arbitrary paired windows and verified request accounting, use the rollout
review flow linked above rather than hand-merging independent day exports.
404 for one trace: report that the trace is absent from the authorized
project/workload or that the platform trace lookup has not deployed. Do not
scan capture history as a fallback.401/403: stop and route auth/project readiness to
../use-understudy-gateway/SKILL.md.failed-request-ids.txt: report a partial export and rerun the
same command; do not claim the trace is complete.trace_id: fail closed and
report the contract violation.End with the trace ID, project/workload scope, redacted or full mode, request
count, complete/partial status, private output directory, and one next action:
open the local viewer, retry failures, or route to ingest-traces.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub understudylabs/orchestra-agent-tools --plugin orchestra43 skills in this plugin
/audit-verifier-reliabilityUse when deciding whether a verifier reward is trustworthy for optimization./calibrate-difficultyMeasure per-band model headroom from a local, source-bound run artifact before investing in training./capture-evidenceUse when a developer wants to build an eval from their real LLM app before changing anything — "measure how my app is doing today", "build an eval from my workload", "we have no baseline", "is my current model actually good". Turns the workload into auditable local artifacts (harness, metric, frozen splits, baseline); has a public-benchmark on-ramp when no traces exist.Other plugins' skills for the same job