Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

clade-observability

Skill by jeremylongshore

Adds logging and monitoring to Claude API calls. It records tokens, latency, estimated cost, and errors, and sets alert thresholds for production Claude integrations.

  • Score 80
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install clade-observability

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clade-observability ~/.claude/skills/clade-observability

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install clade-observability in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives guidance and a TypeScript wrapper for instrumenting every Claude API call. The wrapper, trackedCreate(), wraps client.messages.create and logs the model, input, output and cache read tokens, duration, stop reason, and an estimated cost for each successful request. Failed requests are logged with the error type, status code, and request ID before the error is rethrown.

The skill also lists key metrics with example alert thresholds, including error rate, p95 latency, daily cost, and 429 and 529 rates. It points to the Anthropic console for the usage dashboard and spending limits. It is aimed at developers who run production Claude integrations and need usage and cost visibility.

Written from the project's SKILL.md and checked against it.

What it can do

  • Token loggingLogs input, output, and cache read tokens for each successful request.
  • Latency trackingRecords request duration in milliseconds for each call.
  • Cost estimateEstimates the cost of each call from per-model token rates.
  • Error loggingLogs error type, status, and request ID for failed calls.
  • Alert thresholdsLists example alert thresholds for error rate, latency, cost, and 429/529 rates.
  • Console monitoringPoints to the Anthropic console usage dashboard and spending limits.

What you need

  • Anthropic API access for Claude API calls
  • TypeScript code using the @claude-ai/sdk package
  • Completed clade-install-auth setup
  • Logging infrastructure such as console, structured logs, or an observability platform
  • A production Claude integration to monitor

Try asking

  • Add token and cost logging to my Claude API calls
  • Set up alert thresholds for my Anthropic integration
  • Log request IDs and error types for failed Claude requests

Good to know

  • Anthropic API logs are not available through the API, so you must build your own logging.
  • Cost estimates use hardcoded per-model rates and fall back to Sonnet rates for unknown models.
  • The example rates cover only three model names listed in the code.

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/.curated/clade-observability/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEdit

  • SKILL.md4 KB
  • references/one-pager.md2 KB

Alternatives to clade-observability

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

clade-observability: common questions

Does this skill show how to track Claude API usage and costs?

Yes. The trackedCreate() wrapper logs tokens and an estimated cost for each successful messages.create call.

Can I get Claude API logs from Anthropic through the API?

No. The skill states that API logs are not available via the API, so you need to use your own logging.

Which alerts does the skill suggest?

It suggests alerts on error rate, p95 latency, daily cost, 429 rate, 529 rate, and token usage against a daily budget.

How do I install clade-observability?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is clade-observability free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is clade-observability safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.

What are alternatives to clade-observability?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

clade-observability Install

Add to stack

Loading.