CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

maple-agent-tracing-vercel-ai-sdk

Trace Vercel AI SDK agents with Maple: register the AI SDK's OpenTelemetry integration, export to Maple, and pass a conversation id so each chat is one Agent Session with transcript, tool calls, sub-agents and tokens. Covers generateText, streamText, ToolLoopAgent, Node.js and Next.js. Triggers on 'trace my vercel ai sdk agent', 'add Maple to vercel ai sdk', 'agent sessions for vercel ai sdk', 'OpenTelemetry for vercel ai sdk', 'trace my ai sdk app'.

Quality

98%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

96%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.

The body is a dense, fully executable runbook: every step has exact commands or complete code, the workflow is explicitly sequenced with a thorough verification checklist and error-recovery guidance, and it never explains things Claude already knows. The only weakness is that everything lives in one ~245-line file with no progressive disclosure to one-level-deep references.

Suggestions

Move the legacy 'AI SDK 5/6' section (including the full ConversationIdProcessor class) into a references/ file and link to it from a two-line pointer, keeping SKILL.md focused on the v7 path.

Consider splitting the long Step 7 verification checklist into a short inline core (session grouping, framework, tokens) plus a references/verify.md for the full span-level expectations.

Replace the vague "see the OpenRouter guide" mention with an explicit link or path so the reference is clearly signalled.

DimensionReasoningScore

Conciseness

The body is telegraphic and expert-only — e.g. "An always-throwing execute needs an explicit return type (Promise<string>) or it infers never" and "NodeSDK() with no span processors builds a batched OTLP http/protobuf exporter from these variables" — with zero explanation of concepts Claude already knows (no OTel or AI SDK tutorials). Every line carries a version pin, command, failure mode, or code, matching the level-5 anchor (lean, assumes competence, every token earns its place); the version/date-sensitive material is confined to the clearly-labeled legacy "AI SDK 5/6 (only if the user won't upgrade)" section rather than scattered date conditionals.

5 / 5

Actionability

Guidance is copy-paste ready throughout: exact install commands ("npm install ai@^7.0.106 @ai-sdk/otel @opentelemetry/sdk-node"), complete runnable TS for NodeSDK init, the Next.js register() function, the ToolLoopAgent prepareCall/callOptionsSchema pattern, and a fully implemented ConversationIdProcessor class. The common cases (Node.js, Next.js, serverless, agents, useChat, streaming) are each covered with concrete code, matching the level-5 anchor.

5 / 5

Workflow Clarity

Steps 0–7 form a coherent sequence (Detect → Key/region → Install/init → Conversation id → Content → Tools/errors/sub-agents → Flush → Verify) with an explicit verification checklist of expected outcomes ("Framework shows Vercel AI SDK, not Unidentified", per-span token/TTFT checks) and error-recovery feedback (a 401 means region mismatch: "try the other endpoint"; flush failures are caught so telemetry never crashes the app). This matches the level-5 anchor: clear sequence, explicit validation, feedback loops, and a checklist.

5 / 5

Progressive Disclosure

The single file is well-structured with unambiguous step headers and isolates legacy 5/6 content in its own end section, but at ~245 lines all detail is inline with no bundle files (no references/, scripts/, or assets/ exist) — material like the full SpanProcessor class and the long verify checklist could live one level deep. The one external pointer, "see the OpenRouter guide", is not signalled with a path or link, which is a minor navigation gap; this sits between the level-4 anchor (good structure, most content appropriately placed, minor gaps) and level 5 (well-signalled one-level-deep references), closer to 4 since there are no references to signal.

4 / 5

Total

19

/

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, dense with concrete capabilities, and it explicitly states both what the skill does and when to use it via five natural trigger phrases. Its product-specific naming (Vercel AI SDK + Maple) makes conflict with other skills highly unlikely.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — "register the AI SDK's OpenTelemetry integration, export to Maple, and pass a conversation id so each chat is one Agent Session with transcript, tool calls, sub-agents and tokens" — and enumerates concrete surface area ("generateText, streamText, ToolLoopAgent, Node.js and Next.js"). It matches the level-5 anchor (multiple specific concrete actions, comprehensive coverage); level 4 would require minor coverage gaps, and none are evident.

5 / 5

Completeness

Both "what" (register the OTel integration, export to Maple, pass a conversation id to get one Agent Session per chat with transcript, tool calls, sub-agents and tokens) and "when" (an explicit "Triggers on ..." clause with concrete trigger phrases) are clearly answered, matching the level-5 anchor exactly. The 'Use when' cap at 3 does not apply because explicit trigger guidance is present.

5 / 5

Trigger Term Quality

Five explicit natural-phrasing triggers are given: "trace my vercel ai sdk agent", "add Maple to vercel ai sdk", "agent sessions for vercel ai sdk", "OpenTelemetry for vercel ai sdk", "trace my ai sdk app" — phrasings a user would actually say, covering both casual ("trace my ai sdk app") and technical ("OpenTelemetry for vercel ai sdk") variants. This matches the level-5 anchor of comprehensive natural-term coverage including variations.

5 / 5

Distinctiveness Conflict Risk

The niche is unambiguous — tracing Vercel AI SDK agents specifically with Maple — and every trigger phrase names "vercel ai sdk" or "ai sdk" plus Maple, so overlap with generic observability or other framework skills is minimal. This matches the level-5 anchor (clear niche with distinct triggers); level 4 would require minor overlap risk with closely related skills, which the product-specific naming avoids.

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

Path

skills/maple-agent-tracing-vercel-ai-sdk/SKILL.md

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.