Borrowing it
Nothing to install: this file belongs to lanegrid/agtrace. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/lanegrid/agtrace/main/.claude/skills/agtrace-provider-normalization/SKILL.mdgit clone --depth 1 https://github.com/lanegrid/agtraceWrote 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.
[](https://agentmods.dev/skills/lanegrid/agtrace/agtrace-provider-normalization)<a href="https://agentmods.dev/skills/lanegrid/agtrace/agtrace-provider-normalization"><img src="https://agentmods.dev/badge/skills/lanegrid/agtrace/agtrace-provider-normalization/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/lanegrid/agtrace/agtrace-provider-normalization"><img src="https://agentmods.dev/badge/skills/lanegrid/agtrace/agtrace-provider-normalization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00031 | $0.01689 |
| Opus 5.5 | $0.00012 | $0.00676 |
| Sonnet 5.5 | $0.00006 | $0.00338 |
| Haiku 4.5 | $0.00003 | $0.00169 |
Grade A, and why
agtrace-provider-normalization 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agtrace Provider Normalization Expert
This skill provides deep knowledge of how agtrace normalizes diverse AI agent log formats into unified domain types. Use this when working with provider implementations, tool normalization, or understanding the schema-on-read architecture.
Quick Reference
mise run test:providers # Run provider tests
mise run test:types # Run types tests
mise run lab:grep -- "pattern" --json --limit 5 # Search real event data
mise run verify # Full check (fmt + clippy + test + build)
Three-Tier Provider Architecture
Tier 1: Trait-Based Adapter Pattern
Every provider implements three core traits bundled in a ProviderAdapter:
LogDiscovery -> File discovery and session location
SessionParser -> Raw log parsing to AgentEvent timeline
ToolMapper -> Tool call normalization and classification
Key Files:
crates/agtrace-providers/src/traits.rs- trait definitionscrates/agtrace-providers/src/registry.rs- adapter factory
Tier 2: Provider-Specific Implementation
Each provider has this structure:
provider/
├── discovery.rs # LogDiscovery trait impl
├── parser.rs # SessionParser trait impl
├── mapper.rs # ToolMapper trait impl
├── io.rs # Raw file I/O
├── schema.rs # Provider-specific schemas
├── tools.rs # Provider-specific tool args
├── tool_mapping.rs # Tool classification
└── models.rs # Data structures
Provider directories:
crates/agtrace-providers/src/claude/crates/agtrace-providers/src/codex/
Tier 3: Unified Domain Types
All providers normalize to common types in agtrace-types:
| Type | Location | Variants |
|---|---|---|
EventPayload |
event/payload.rs |
User, Reasoning, ToolCall, ToolResult, Message, TokenUsage, Notification, SlashCommand |
ToolCallPayload |
tool/payload.rs |
FileRead, FileEdit, FileWrite, Execute, Search, Mcp, Generic |
ToolKind |
tool/types.rs |
Read, Write, Execute, Plan, Search, Ask, Other |
ToolOrigin |
tool/types.rs |
System, Mcp |
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.
- 1mo ago Changed · -7 lines · -2 tokens per session 3a70dd738116
- 1mo ago First seen · 222 lines · 33 tokens per session scan A 304f31ba4207
agtrace-provider-normalization is a skill published in the GitHub repository lanegrid/agtrace (62 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 31 tokens to every session and 1,689 once invoked, about $0.0001 per session on Opus 5.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.
Other skills, from other repositories
domain-modeling
Build or sharpen a project's domain language and durable decisions. Use when terminology is fuzzy or contradictory, relationships need scenario testing, the code disagrees with the stated model, or a glossary or ADR-class decision must be updated; do not trigger merely to read existing context.
mcp-builder
Design, build, configure, or debug Model Context Protocol servers for codewhale, including stdio and HTTP/SSE transports.
build-teaql-app
Build or change a TeaQL application in Java, Rust, Go, Swift, Python, C#/.NET, or TypeScript, including Kotlin/JVM applications that consume Java-generated libraries. Mandatory order: first draft and save a complete KSML model, then verify the client and evaluate that saved model, repair it through repeated evaluation…
durable-objects
Build, debug, or review Cloudflare Durable Objects code for persistent state and coordination.
telegram
Owner-only Telegram text bridge and Mini App gateway for the existing Ouroboros interface.
datadog
Datadog monitoring integration for querying logs, metrics, monitors, events, traces, hosts, and incidents during RCA investigations.