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.
npx agentmods add skills/microsoft/agents/agents-sdk-typescript-otelnpx skills add microsoft/Agents --skill agents-sdk-typescript-otelgit clone --depth 1 https://github.com/microsoft/AgentsWrote 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/microsoft/agents/agents-sdk-typescript-otel)<a href="https://agentmods.dev/skills/microsoft/agents/agents-sdk-typescript-otel"><img src="https://agentmods.dev/badge/skills/microsoft/agents/agents-sdk-typescript-otel.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00088 | $0.03686 |
| Opus 5 | $0.00044 | $0.01843 |
| Sonnet 5 | $0.00018 | $0.00737 |
| Haiku 4.5 | $0.00009 | $0.00369 |
Grade A, and why
agents-sdk-typescript-otel 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 4d 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 — 456 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenTelemetry for Agents SDK (JavaScript/TypeScript)
Goal
Configure traces, metrics, and logs for an Agents SDK application, including the SDK's built-in telemetry and a local Aspire Dashboard. Make the smallest complete change that fits the project's module system, build process, package manager, and existing observability architecture.
Non-negotiable rules
- Inspect the project before editing. Extend an existing OpenTelemetry SDK registration instead of creating a second global provider.
- Start the OpenTelemetry SDK before importing the Agents SDK, HTTP, Express,
or the application entry point. Preload instrumentation with Node's
--importor--requireoption. - Use a stable application-specific
service.name. - Let OTLP exporters read standard environment variables. Never embed collector credentials, API keys, or connection strings in source.
- Do not force all OpenTelemetry packages to the same version. The JavaScript
package family intentionally mixes stable API/SDK versions and
0.xexporter/instrumentation versions. Install a compatible set together and preserve the lockfile. - Never add message text, prompts, responses, tokens, authorization headers, cookies, secrets, attachment contents, user names, user IDs, conversation IDs, activity IDs, or arbitrary HTTP headers to custom telemetry by default.
- Keep custom metric attributes low-cardinality. Good dimensions include route type, activity type, channel ID, operation, status, and error type.
- Do not configure always-on sampling as a production default. Honor
OTEL_TRACES_SAMPLERandOTEL_TRACES_SAMPLER_ARG. - Explicitly flush telemetry during shutdown. Do not silently ignore exporter or shutdown errors.
- Aspire Dashboard anonymous mode is local-development only. Bind it to loopback and never deploy that configuration.
- Telemetry must record and rethrow application errors, not swallow them.
Workflow
Complete these steps in order.
1. Inspect the application
What ships with it
2 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.
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.
- 4d ago First seen · 456 lines · 88 tokens per session scan A 0143fe086e7c
agents-sdk-typescript-otel is a skill published in the GitHub repository microsoft/Agents (1,050 stars, last pushed 7d ago), licensed MIT. It adds 88 tokens to every session and 3,686 once invoked, about $0.0004 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.
Other skills, from other repositories
weilink
Manage WeChat messaging via WeiLink. Activate when the user mentions "WeChat", "weilink", "微信", messaging contacts, checking messages, replying to someone, or sending files/images to a contact.
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
azure-mgmt-apicenter-dotnet
Azure API Center SDK for .NET. Centralized API inventory management with governance, versioning, and discovery. Use for creating API services, workspaces, APIs, versions, definitions, environments, deployments, and metadata schemas. Triggers: "API Center", "ApiCenterService", "ApiCenterWorkspace", "ApiCenterApi", "API…
azure-mgmt-botservice-dotnet
Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".
azure-communication-chat-java
Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.