tracely

tracely is a skill for Claude Code, Codex from Jwuthri/Tracely-ai. It costs 120 tokens per session (2,800 once invoked), scanned A, original, MIT.

A toolset for recording what an AI agent does in production and using those records as automated checks in continuous integration, the system that tests code before it is shipped. It can observe common AI libraries automatically or accept manually defined traces for custom code.

In plain words
What is it for?
It is for instrumenting AI agents, recording model calls and business logic, adding evaluations, finding failure patterns, creating regression cases, and blocking releases when behavior worsens.
Why use it?
It connects real production failures to regression tests, so fixes can be checked later without maintaining a separate test dataset by hand. It also helps investigate missing traces and agent behavior.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; positional $N argument.

About the project

Tracely is a CI/CD system for AI agents that turns failed production traces into replayable regression tests. Development teams use it to detect and group agent failures, run the resulting cases on pull requests, and block changes that reproduce those failures. The catalogue entries provide skills for operating this trace-based testing and observability workflow.

Jwuthri/Tracely-ai · 1,189 stars · on GitHub · tracely-ai.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jwuthri/tracely-ai/tracely
Any agent
npx skills add Jwuthri/Tracely-ai --skill tracely
Clone the repo
git clone --depth 1 https://github.com/Jwuthri/Tracely-ai

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tracely

README.md
[![agentmods](https://agentmods.dev/badge/skills/jwuthri/tracely-ai/tracely.svg)](https://agentmods.dev/skills/jwuthri/tracely-ai/tracely)
Your own site
<a href="https://agentmods.dev/skills/jwuthri/tracely-ai/tracely"><img src="https://agentmods.dev/badge/skills/jwuthri/tracely-ai/tracely.svg" alt="Measured on agentmods" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,800 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00120 $0.02800
Opus 5 $0.00060 $0.01400
Sonnet 5 $0.00024 $0.00560
Haiku 4.5 $0.00012 $0.00280

Measured 6d ago against content hash aa8946b56328, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

tracely scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/tracely/SKILL.md · 202 lines

How it starts

The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tracely

Trace-native CI/CD for AI agents. One loop:

production trace → failure detection → regression test → CI gate

The trace is the source of truth. Evaluators, failure clusters, regression cases, gates and trends are all derived from it — there are no hand-authored datasets. Docs: https://doc.tracely-ai.com.

Pick the path first

Do not start writing spans. Ask what the code already looks like, then pick:

The user's code Path Effort
Calls OpenAI / Anthropic / Gemini / Mistral / Bedrock / Groq SDKs Automaticinit(instrument="auto") 1 line
Uses LangChain / LangGraph / LlamaIndex / CrewAI / LiteLLM Automatic + that extra 1 line
Uses OpenAI Agents SDK / Claude Agent SDK / Google ADK Automatic, named explicitly 1 line
Has business logic worth seeing (routers, tools, retrievers) Automatic + @observe 1 decorator each
Needs spans the auto path can't produce (custom retrievers, guardrails, handoffs, multimodal I/O, hand-rolled providers) Manual context managers references/manual.md
Is TypeScript / Go / Ruby / anything not Python Emit OTLP directly — no SDK references/automatic.md § other languages
Already emits OpenTelemetry / OpenInference / OpenLLMetry Point the existing exporter at Tracely, add 2 attributes references/automatic.md § other languages

Default to automatic. Manual spans are the escape hatch, not the starting point, and the two compose — manual spans nest inside auto-instrumented traces in the same tree.

Connect

import tracely_sdk as tracely   # pip install "tracely-ai[openai]"  ([anthropic] [langchain] [all])

tracely.init(
    endpoint="http://localhost:8000",   # hosted: https://api.tracely-ai.com
    api_key="tracely_dev_key",          # an ingest key — Settings → API keys. The key IS the workspace.
    service_name="support-agent",
    env="prod",                         # prod | staging | ci | dev — the gating axis
    instrument="auto",
)

Read the full file on GitHub · 202 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 202 lines · 120 tokens per session scan A aa8946b56328

Subscribe to this mod's changes

tracely is a skill published in the GitHub repository Jwuthri/Tracely-ai (1,189 stars, last pushed yesterday), licensed MIT. It adds 120 tokens to every session and 2,800 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories