CtrlK
BlogDocsLog inGet started
Tessl Logo

maple-agent-tracing-claude-agent-sdk

Trace Claude Agent SDK agents (TypeScript and Python) and Claude Code CLI sessions with Maple: configure Claude Code's built-in OpenTelemetry so each conversation becomes one Maple Agent Session with prompts, model calls, tool calls and tokens. Triggers on 'trace my claude agent sdk agent', 'add Maple to claude agent sdk', 'agent sessions for claude code', 'OpenTelemetry for claude agent sdk', 'send my claude code sessions to Maple'.

76

Quality

95%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

88%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A high-quality operational skill: it assumes Claude's competence, carries only verifiable vendor-specific behavior, and provides copy-paste-ready code for all three surfaces with a real verification step and diagnostic feedback loops. The main weaknesses are version-sensitive details embedded in the mainline steps and a long inline Reference notes section that could live in a separate file.

Suggestions

Move the 'Reference notes (for explaining results to the user)' section into a references/ file (e.g. references/span-map.md) and link it one level deep, keeping SKILL.md as the step-by-step overview.

Collect the minimum-version requirements (SDK >= 0.3.283 / >= 0.2.160, CLI >= 2.1.283) into a single pinned 'Version requirements' block so version-rot is isolated and easy to update, rather than repeating them across Steps 0, 2c, and 5.

The near-duplicate 15-variable OTEL env lists in Step 2a, 2b, and 2c could be presented once as a variable table, with each surface showing only its container format (TS object / Python dict / settings JSON).

DimensionReasoningScore

Conciseness

The body is dense with non-obvious vendor facts and never explains concepts Claude already knows (e.g. 'the Agent SDK emits nothing itself. query() spawns the Claude Code CLI', the TS 'REPLACES' vs Python 'MERGES over the inherited env' distinction, settings-precedence rules). However, the rubric directs a penalty for time-sensitive details outside an 'old patterns'/'deprecated' section, and version-bound facts are woven throughout the steps ('Need >= 0.3.283 (bundles Claude Code 2.1.283)', 'Claude Code >= 2.1.282 ignores the vars', 'Claude Code 2.1.283 may run Agent calls in the background'), so it sits between 'efficient' (4) and 'every token earns its place' (5).

4 / 5

Actionability

Fully executable, copy-paste-ready guidance per surface: complete `maple-env.ts` and `maple_env.py` modules, a mergeable `~/.claude/settings.json` block, TS and Python session-resume patterns, exact endpoints and headers ('https://ingest.maple.dev', 'Authorization=Bearer <key>'), install commands, and verification commands ('claude --debug-file /tmp/claude.log, then grep 3P telemetry'). These cover the common cases with concrete code rather than hints.

5 / 5

Workflow Clarity

Steps 0-7 are clearly sequenced (Detect, Key/region, per-surface setup, Session boundary, Content, Tools/errors, Flush, Verify) with an explicit validation phase: Step 7 prescribes a two-turn one-tool test run, a checklist of expected Maple outcomes, and feedback loops for error recovery ('If spans exist but the turn nests under an unrelated trace, an inherited TRACEPARENT survived: fix the env stripping', 'A 401 ... usually means the key belongs to the other region: try the other endpoint').

5 / 5

Progressive Disclosure

The single file is well-organized with meaningful headers ('Step 0: Detect' through 'Step 7: Verify', 'Reference notes', 'Do not') and no nested or dead references, and no bundle files exist to navigate. But at ~250 lines it exceeds overview scale, and the 'Reference notes (for explaining results to the user)' section (~15 dense bullets on span maps, token counting, cost, and truncation) is reference material inlined in SKILL.md rather than split into a one-level-deep referenced file - 'good structure; minor organization gaps' rather than a clear overview pointing to detail.

4 / 5

Total

18

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is exemplary: third-person, concrete, and complete, stating exactly what the skill configures and when it applies, with explicit natural-language trigger phrases that make routing unambiguous. No over-claims or padding are present.

DimensionReasoningScore

Specificity

Multiple concrete, specific actions with comprehensive coverage: 'Trace Claude Agent SDK agents (TypeScript and Python) and Claude Code CLI sessions with Maple', 'configure Claude Code's built-in OpenTelemetry so each conversation becomes one Maple Agent Session with prompts, model calls, tool calls and tokens'. This matches the 5 anchor's breadth (analogous to 'Extract text and tables from PDF files, fill forms, merge documents, convert pages to images'); it is not the 4 anchor because coverage spans every capability the skill delivers rather than having minor gaps.

5 / 5

Completeness

Both what and when are explicit. What: tracing SDK agents (TS/Py) and CLI sessions in Maple via built-in OpenTelemetry, yielding sessions with prompts, model calls, tool calls and tokens. When: the explicit 'Triggers on ...' clause with five concrete trigger phrases, mirroring the 5 anchor example's structure.

5 / 5

Trigger Term Quality

Comprehensive natural phrasing via five quoted triggers users would actually say: 'trace my claude agent sdk agent', 'add Maple to claude agent sdk', 'agent sessions for claude code', 'OpenTelemetry for claude agent sdk', 'send my claude code sessions to Maple', supplemented by surface keywords (TypeScript, Python, CLI, OpenTelemetry). These cover synonyms and both surfaces; nothing obvious is missing, which fits the 5 anchor over the 4 ('a few natural terms missing').

5 / 5

Distinctiveness Conflict Risk

Clear niche with product-specific triggers (Maple + Claude Agent SDK / Claude Code + OpenTelemetry); virtually no overlap with generic tracing or PDF/document-style skills, so conflict risk is minimal.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
MapleTechLabs/maple
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.