- Claude Code
- Codex
- Cursor
- GitHub Copilot
- Gemini CLI
W&B Skills capabilities
Skills covers both the W&B Models SDK (training runs, metrics, artifacts, sweeps) and the Weave SDK (traces, evaluations, scorers). Includes helper libraries, reference docs, and data analysis patterns.Prerequisites
Skills requires the following:- Node.js (for the
npxcommand). - A W&B API key. Create one at wandb.ai/authorize and then set it as an environment variable:
- (Optional) Set your W&B project name as a
WANDB_PROJECTenvironment variable. This allows your agent to target the correct W&B project without you specifying it each time.
Install W&B Skills
To install W&B Skills globally, run the following command with the--global flag:
--agent flag:
--agent and --skill options, see the skills CLI documentation.
Use W&B Skills
Once installed, you can ask the agent to perform W&B-related tasks for your project. The following example prompts demonstrate some of the tasks your agent can do with W&B Skills:- “Log training metrics for my PyTorch model to W&B.”
- “Analyze the loss curves for my last 10 runs and identify the best performing configuration.”
- “Trace my LangChain agent and log the results to Weave.”
- “Run an evaluation on my agent using the test dataset and summarize the results.”
- “Find the failure modes in my last evaluation and classify them.”
- “Compare the configs of run A and run B and show me the differences.”