wandb
Weights & Biases (W&B) API for ML experiment tracking, LLM observability (Weave), run management, and artifact versioning. Use when user mentions "W&B", "Weights & Biases", "wandb", "Weave", "experiment tracking", "ML runs", "model artifacts", or "LLM tracing".
What this skill does
## Troubleshooting
If requests fail, run `zero doctor check-connector --env-name WANDB_TOKEN` or `zero doctor check-connector --url https://api.wandb.ai/graphql --method POST`
## Authentication
All requests require an API key passed as a Bearer token:
```
Authorization: Bearer $WANDB_TOKEN
```
## Key Endpoints
Base URL: `https://api.wandb.ai`
W&B exposes two main interfaces:
- **REST API** — run management, artifacts, reports
- **GraphQL API** — flexible queries at `https://api.wandb.ai/graphql`
---
### 1. Fetch Runs for a Project
List all runs in a project with their metrics and config.
```bash
curl -s "https://api.wandb.ai/api/v1/runs/<entity>/<project>" --header "Authorization: Bearer $WANDB_TOKEN"
```
Replace `<entity>` with your W&B username or team name, and `<project>` with your project name.
Response includes an array of run objects with `name`, `state`, `summary` (final metrics), and `config`.
### 2. Fetch a Single Run
```bash
curl -s "https://api.wandb.ai/api/v1/runs/<entity>/<project>/<run-id>" --header "Authorization: Bearer $WANDB_TOKEN"
```
### 3. Update Run Tags or Notes
Write to `/tmp/wandb_run_patch.json`:
```json
{
"tags": ["production", "v2"],
"notes": "Best performing checkpoint at epoch 10"
}
```
```bash
curl -s -X PATCH "https://api.wandb.ai/api/v1/runs/<entity>/<project>/<run-id>" --header "Authorization: Bearer $WANDB_TOKEN" --header "Content-Type: application/json" -d @/tmp/wandb_run_patch.json
```
### 4. Query Runs via GraphQL
GraphQL is the most powerful interface for filtering and aggregating runs. Write to `/tmp/wandb_query.json`:
```json
{
"query": "query FetchRuns($project: String!, $entity: String!) { project(name: $project, entityName: $entity) { runs(first: 10, order: \"-summary_metrics.val_acc\") { edges { node { name displayName state createdAt summary config } } } } }",
"variables": {
"project": "<your-project>",
"entity": "<your-entity>"
}
}
```
```bash
curl -s -X POST "https://api.wandb.ai/graphql" --header "Authorization: Bearer $WANDB_TOKEN" --header "Content-Type: application/json" -d @/tmp/wandb_query.json
```
### 5. List Artifacts for a Project
```bash
curl -s "https://api.wandb.ai/api/v1/artifacts/<entity>/<project>" --header "Authorization: Bearer $WANDB_TOKEN"
```
### 6. Download an Artifact File
First fetch the artifact manifest to get file download URLs:
```bash
curl -s "https://api.wandb.ai/api/v1/artifacts/<entity>/<project>/<artifact-sequence-name>/<artifact-version>" --header "Authorization: Bearer $WANDB_TOKEN"
```
Replace `<artifact-version>` with `latest` or a specific version like `v3`.
### 7. List Reports (Saved Views)
```bash
curl -s "https://api.wandb.ai/api/v1/reports/<entity>/<project>" --header "Authorization: Bearer $WANDB_TOKEN"
```
### 8. Log a Custom Metric to a Run (via GraphQL Mutation)
Write to `/tmp/wandb_upsert.json`:
```json
{
"query": "mutation UpsertRun($entity: String!, $project: String!, $name: String!, $summary: JSONString) { upsertBucket(input: {entityName: $entity, projectName: $project, name: $name, summaryMetrics: $summary}) { bucket { id name } } }",
"variables": {
"entity": "<your-entity>",
"project": "<your-project>",
"name": "<run-id>",
"summary": "{\"custom_metric\": 0.95}"
}
}
```
```bash
curl -s -X POST "https://api.wandb.ai/graphql" --header "Authorization: Bearer $WANDB_TOKEN" --header "Content-Type: application/json" -d @/tmp/wandb_upsert.json
```
---
## Prerequisites
Connect the **Weights & Biases** connector at [app.vm0.ai/connectors](https://app.vm0.ai/connectors).
> **Troubleshooting:** If requests fail, run `zero doctor check-connector --env-name WANDB_TOKEN` or `zero doctor check-connector --url https://api.wandb.ai/graphql --method POST`
---
## Guidelines
1. **Entity vs. Project**: `entity` is your W&B username or team slug; `project` is the project name — both are required for most endpoints
2. **GraphQL for complex queries**: prefer GraphQL (`/graphql`) for filtering by metrics, sorting, or aggregating many runs; REST is better for simple CRUD
3. **Run IDs**: run IDs are short alphanumeric strings (e.g. `abc12def`) visible in the W&B UI URL: `wandb.ai/<entity>/<project>/runs/<run-id>`
4. **Artifact versions**: versions are zero-indexed integers prefixed with `v` (e.g. `v0`, `v1`); use `latest` as a shorthand for the most recent version
5. **Rate limits**: W&B enforces per-user rate limits; for bulk operations use pagination with `first`/`after` in GraphQL cursors
## API Reference
- Documentation: https://docs.wandb.ai/ref/rest
- GraphQL API: https://docs.wandb.ai/ref/query-panel/graphql
- Python SDK: https://docs.wandb.ai/ref/python
- Weave (LLM observability): https://wandb.github.io/weave/
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.