token-budget-otel — Observability Workflow
Instrument token-budget events with OpenTelemetry, verify delta counters locally, and scope exporter, tag and lifecycle behavior.
$1
Works with the AI Agents you already use
token-budget-otel — Observability Workflow
Example session with this skill installed
Use token-budget-otel-workflow to integrate this package and run its local fixture, keeping unverified provider behavior explicit.
- Read your context and instructions
- Compiled the token-budget-otel
Local synthetic fixture result from the published package: {"decisionObserved":true,"tokenDeltaObserved":true,"note":"no exporter"}
Interpretation: Requires separately configured OTel providers/exporters for delivery. Return value is a handler, not teardown. Avoid duplicate instrumentation and high-cardinality/private tags. Usage deltas are not retained-context gauges or invoice reconciliation. Backend export was not live-tested.
Next validation: Inject a local meter/tracer recorder and assert decision span plus positive token delta. Repeat getContext without new messages and check no duplicate consumption delta. Exercise overflow/costWarning only on disposable synthetic budgets. Verify exporter delivery separately in an authorized test backend.
Evidence scope: source version 0.1.5 suite passed 5 tests; published 0.1.4 was separately exercised with the included fixture. These are distinct baselines. Live provider/SDK/backend behavior was not tested, and no network service credential was needed for the example.
Connects securely to your tools. The creator never sees your data.
About this skill
Instrument token-budget events with OpenTelemetry, verify delta counters locally, and scope exporter, tag and lifecycle behavior.
Original application-integration playbook covering setup, exact supported exports, migration, failure handling and local verification. This is a curated workflow package, not a new MCP server or automatic host-context control.
Verified source 0.1.5: 5 tests passed. The included local fixture also passed against published npm 0.1.4 tarball code using peer/dependency resolution from the reviewed monorepo, not an independent clean-consumer install. No live provider, embedding service or telemetry backend was contacted.
Limitations: Requires separately configured OTel providers/exporters for delivery. Return value is a handler, not teardown. Avoid duplicate instrumentation and high-cardinality/private tags. Usage deltas are not retained-context gauges or invoice reconciliation. Backend export was not live-tested.
The separate npm runtime remains free/open-source under MIT at https://github.com/shivam039/token-budget/tree/main/packages/token-budget-otel. MIT notice is preserved; this $1 purchase is for original curated workflow instructions, not exclusive runtime access. Provider/exporter services, if selected, are separately authorized and may charge. No runtime dependencies are bundled and no blanket dependency-security clearance is promised.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
Requires separately configured OTel providers/exporters for delivery. Return value is a handler, not teardown. Avoid duplicate instrumentation and high-cardinality/private tags. Usage deltas are not retained-context gauges or invoice reconciliation. Backend export was not live-tested.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 19 days ago
- Accounts
GitHub@shivam.dixit/token-budget@shivam.dixit/token-budget-otel@0.1.4
- Software
Node.js 18+Terminal access@opentelemetry/api
Git
- Optional
- OpenTelemetry SDKorexporter
Use your own OpenTelemetry SDK or exporter; it is only for optional delivery.
Permissions
Allowed Hosts
Project-scoped setup, edits and synthetic local fixtures. No provider/exporter endpoint is configured by this skill. Any live data transmission or optional service use requires the authorized destination and scope; never include credentials in evidence.