agent-kernel: Skill for Claude Code

.agents/skills/ak-dev-new-tracing-provider/SKILL.md

ak-dev-new-tracing-provider is a skill for Claude Code, Codex from yaalalabs/agent-kernel. It costs 82 tokens per session (4,802 once invoked), scanned A, original, Apache-2.0.

A development guide for adding a new service that records agent activity, such as traces of requests and runs, to Agent Kernel.

In plain words
What is it for?
Use it to implement the provider interface, add traced runners for supported agent frameworks, and connect the provider to Agent Kernel's settings.
Why use it?
It gives contributors a defined structure for connecting a tracing service without designing the integration from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents).

This is yaalalabs/agent-kernel's own configuration. It tells Claude Code and Codex how to work on agent-kernel itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-kernel configures →

Reuse

Borrowing it

Nothing to install: this file belongs to yaalalabs/agent-kernel. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/yaalalabs/agent-kernel/develop/.agents/skills/ak-dev-new-tracing-provider/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/yaalalabs/agent-kernel

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 ak-dev-new-tracing-provider

README.md
[![agentmods](https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-new-tracing-provider/github.svg)](https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-new-tracing-provider)
Your own site
<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-new-tracing-provider"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-new-tracing-provider/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.

agentmods 80×15 button for ak-dev-new-tracing-provider

Your own site · 80×15
<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-new-tracing-provider"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-new-tracing-provider.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,802 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00082 $0.04802
Opus 5.5 $0.00033 $0.01921
Sonnet 5.5 $0.00016 $0.00960
Haiku 4.5 $0.00008 $0.00480

Measured today against content hash caa2fb98e60c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ak-dev-new-tracing-provider 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 today.

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.

.agents/skills/ak-dev-new-tracing-provider/SKILL.md · 357 lines

How it starts

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

Adding a New Tracing Provider

This guide walks through adding a new observability/tracing provider to Agent Kernel. Use the Langfuse implementation (ak-py/src/agentkernel/trace/langfuse/) as the canonical reference. For a backend reached through plain OpenTelemetry (no vendor SDK), see the CloudWatch provider (ak-py/src/agentkernel/trace/cloudwatch/): it installs its own SDK TracerProvider and OTLP exporter once (or reuses one already installed, since OpenTelemetry honours only the first), wraps each run through a span(name, session) context manager on the provider class that its runners receive, and adds a provider-specific helper module (sigv4.py) beside the runners.

Architecture Overview

Agent Kernel's tracing system:

  1. BaseTrace (trace/base.py) defines the interface — one method per supported framework that returns a traced Runner (or None)
  2. Trace (trace/trace.py) is a factory that creates the appropriate trace instance based on AKConfig.trace.type
  3. Each framework Module checks for a trace runner at initialization — if tracing is enabled, it uses the traced runner instead of the default
  4. Traced runners extend the base framework runner and wrap execution with spans/traces
  5. BaseTrace.fetch_spans(query) (optional, not abstract) reads spans back from the provider's cloud as provider-neutral FetchedSpans; Trace.fetch_spans is the facade users call (Trace.get().fetch_spans(last=..., session_id=...)), and Trace.fetch_traces groups the same spans into FetchedTraces on top of it, so a provider implements only fetch_spans. A provider that only sends traces skips it and raises NotImplementedError (step 6)

Step-by-Step

1. Create the Trace Provider Directory

ak-py/src/agentkernel/trace/<provider>/
├── __init__.py
├── <provider>.py        # Main trace class
├── openai.py            # Traced OpenAI runner
├── langgraph.py         # Traced LangGraph runner
├── crewai.py            # Traced CrewAI runner
├── adk.py               # Traced Google ADK runner
├── smolagents.py        # Traced Smolagents runner
├── pydanticai.py        # Traced Pydantic AI runner
├── maf.py               # Traced Microsoft Agent Framework runner
├── claude.py            # Traced Claude Agent SDK runner
└── fetch.py             # Optional: <Provider>TraceFetcher, reads spans back (step 6)

Read the full file on GitHub · 357 lines

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. today Changed · +16 lines caa2fb98e60c
  2. 3d ago Changed · +31 lines ac0916bf1780
  3. 8d ago Changed · +1 lines dc84888fd237
  4. 29d ago Changed · +4 lines · +4 tokens per session ce5c00ca1dbf
  5. 1mo ago Changed · +3 lines 652c39045b94
  6. 1mo ago Changed · +2 lines f1231792eafb
  7. 2mo ago First seen · 300 lines · 78 tokens per session scan A e1b8b5e1f551

Subscribe to this mod's changes

ak-dev-new-tracing-provider is a skill published in the GitHub repository yaalalabs/agent-kernel (192 stars, last pushed yesterday), licensed Apache-2.0. It adds 82 tokens to every session and 4,802 once invoked, about $0.0003 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.

Related

ak-dev-new-tracing-provider compared with skills from other repositories

ak-dev-new-tracing-provider next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ak-dev-new-tracing-provideryaalalabs/agent-kernelSkill192yesterdayApache-2.0A82Claude Code, Codex
cloud-native-security-defensivej4flmao/agent-skillsSkill383d agoMITA127Claude Code, Codex
notionArvo-AI/auroraSkill454yesterdayApache-2.0A23Claude Code
datadogArvo-AI/auroraSkill454yesterdayApache-2.0A28Claude Code
scalewayArvo-AI/auroraSkill454yesterdayApache-2.0A29Claude Code
terrasharkLukasNiessen/terrasharkSkill7104d agoMITA56Claude Code, Codex
isaac-automatorisaac-sim/IsaacAutomatorSkill27011d agoApache-2.0A123Claude Code, Codex