OBSERVABILITY / Weights & Biases
Weave Instrumentation
Adds Weave tracing to Python or TypeScript agents one path at a time, with read-back checks of the stored spans.
“Add Weave tracing to Python or TypeScript agents and LLM applications. Use when asked to instrument model calls, tools, or agent turns with Weave.”
01 / THE REASONING
Why this made the selection.
- The file stops before any edit when no valid W&B login exists, forbids running wandb login in the agent session, and says not to read, print or ask for an API key.
- It treats empty results, failed queries and unavailable checks as unverified rather than passes, and says an init banner or successful flush is not proof of delivery.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- skills/weave-instrument/SKILL.md (login check, mechanism choice, incremental implementation, verification)
- README.md (requirements table, skill table, installation)
- LICENSE Apache-2.0 text
Our findings
- Turn, LLM, tool and subagent spans are checked by gen_ai.operation.name values invoke_agent, chat and execute_tool.
- The file requires preserving provider tool-call IDs and closing spans on failure.
Not established by this review
- The installer was not run, and the skill was not executed against a project or service. No W&B project was contacted.
- The references/ files and the upstream wandb/weave copy were not opened.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Add a skill to your workflow.
DOCUMENTED COMMAND
npx skills add wandb/skills Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.
- The README documents npx skills add wandb/skills and selecting one skill with --skill <name>; the skill table names this skill weave-instrument.
- The command does not pin revision 4efbb9fd82e8076cbe5d2332167b19f2bba90d85. Compare the installed SKILL.md and references with that revision.
- Set up the W&B login yourself in a separate terminal; the skill tells the agent not to collect the key in chat.
Before you start
- Node.js and npm for the documented Skills installer
- A W&B account and an application that can reach the target entity/project
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
- Skill definition ↗Checked
https://github.com/wandb/skills/blob/4efbb9fd82e8076cbe5d2332167b19f2bba90d85/skills/weave-instrument/SKILL.md
Supports: summary, upstreamDescription, whySelected, limitations, access, review
https://github.com/wandb/skills/blob/4efbb9fd82e8076cbe5d2332167b19f2bba90d85/README.md
Supports: install, compatibility
- Repository licence ↗Checked
https://github.com/wandb/skills/blob/4efbb9fd82e8076cbe5d2332167b19f2bba90d85/LICENSE
Supports: license