Skip to content
Agentmart
Submit a tool

wandb-primary

Primary W&B skill for broad or mixed Weights & Biases work: project overviews, W&B runs and artifacts, Weave traces and evaluations, Reports, Workspaces…

Skill by wandbOfficial

IndexedApache-2.0★ 71
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/wandb-wandb-primary

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Primary W&B skill for broad or mixed Weights & Biases work: project overviews, W&B runs and artifacts, Weave traces and evaluations, Reports, Workspaces, Automations, Sweeps, Launch, and Agent Lens. Use when the task spans multiple W&B surfaces or the user asks generally what is happening in a W&B project.

Use cases: productivity, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/wandb-primary

What's inside

Skill name
wandb-primary
Description
Primary W&B skill for broad or mixed Weights & Biases work: project overviews, W&B runs and artifacts, Weave traces and evaluations, Reports, Workspaces, Automations, Sweeps, Launch, and Agent Lens. Use when the task spans multiple W&B surfaces or the user asks generally what is happening in a W&B project.
License
Apache-2.0
Instructions
1,735 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • body: 1735 lines (spec recommends under 500)

Files (49)

  • SKILL.md
  • AGENT_LENS.md · references/
  • ARTIFACTS_AND_REGISTRY.md · references/
  • ARTIFACT_OPS.md · references/
  • AUTOMATION_OPS.md · references/
  • COLLECTION_OVERVIEWS.md · references/
  • HYPOTHESIS_GENERATION.md · references/
  • LAUNCH.md · references/
  • REPORTS.md · references/
  • RUNS_TABLE.md · references/
  • RUN_LOGS.md · references/
  • RUN_OPS.md · references/
  • SWEEPS.md · references/
  • WANDB_CONCEPTS.md · references/
  • WANDB_SDK.md · references/
  • WEAVE_SDK.md · references/
  • WORKSPACES.md · references/
  • artifact_helpers.py · scripts/
  • artifact_helpers_impl.py · scripts/
  • automation_helpers.py · scripts/
  • automation_helpers_impl.py · scripts/
  • collection_overview_helpers.py · scripts/
  • collection_overview_helpers_impl.py · scripts/
  • launch_helpers.py · scripts/
  • launch_helpers_impl.py · scripts/
  • report_helpers.py · scripts/
  • report_helpers_impl.py · scripts/
  • report_write.py · scripts/
  • report_write_impl.py · scripts/
  • sweeps_helpers.py · scripts/
  • sweeps_helpers_impl.py · scripts/
  • wandb_helpers.py · scripts/
  • wandb_helpers_impl.py · scripts/
  • wandb_run_ops.py · scripts/
  • __init__.py · scripts/wandb_run_ops_lib/
  • cli.py · scripts/wandb_run_ops_lib/
  • common.py · scripts/wandb_run_ops_lib/
  • core.py · scripts/wandb_run_ops_lib/
  • wandb_run_vocab.py · scripts/
  • weave_agent_ops.py · scripts/
  • weave_agent_ops_impl.py · scripts/
  • weave_helpers.py · scripts/
  • weave_helpers_impl.py · scripts/
  • weave_monitor_ops.py · scripts/
  • weave_monitor_ops_impl.py · scripts/
  • workspace_ops.py · scripts/
  • workspace_ops_impl.py · scripts/
  • workspace_write.py · scripts/
  • workspace_write_impl.py · scripts/

SKILL.md (first lines)

<!--
SPDX-FileCopyrightText: 2026 CoreWeave, Inc.
SPDX-License-Identifier: Apache-2.0
SPDX-PackageName: skills
-->

# W&B Primary Skill

## Environment defaults

- **Python**: run scripts with the Python environment available to your coding agent. Install missing optional packages only when needed.
- **Credentials**: use `WANDB_API_KEY`, `WANDB_ENTITY`, and `WANDB_PROJECT` from the user's environment or prompt.

---

## Scope and approach

Classify each request before acting:

- **Brief** — a focused read or compute that maps to one query and a short answer
  ("How many runs?", "Best loss?", "Show the config of abc123"). Solve it in one
  script; add a second only if the first surfaced a load-bearing lead. Default to
  brief when in doubt.
- **Intense** — open-ended investigation with iterative discovery: ambiguous data,
  unknown schema, cross-cutting joins, plots, multi-stage analysis ("What's wrong
  with my training runs?", "Compare these sweeps"). Several scripts are fine, but
  each must be load-bearing — plan the next call from the data you just got, not
  from a generic checklist.

A W&B project has two complementary surfaces — **runs** (experiment tracking,
`wandb.Api()`) and **Weave traces** (observability, `weave.init()` →
`client.get_calls()`). For a broad "what's going on in this project?" question,
probe **both** in the first evidence pass (parallel scripts, or the combined
"Summarize project" recipe below), then scope the answer to the surface(s) that
actually hold data. If a surface is empty, don't mention it.

---

## Fast recipes — use these first

These cover the most common tasks. Each is a single script. Copy, fill in placeholders, run.

## Fast product/API answers

For small W&B product or API questions, answer directly from this section. Do not run
tools, inspect docs, or query the user's project unless they explicitly ask for live
data. Keep the answer short: direct answer, exact UI/API path, minimal code if useful.
If the recommendation depends on missing context, include targeted diagnostic questions
in the same response instead of blocking.

For workspace migration or project-structure guidance, ask the diagnostic questions
before prescribing a structure or script. Use the phrase "Before I prescribe a
structure/script, I need to know:" and include the questions that materially change
the answer; then give only tentative guidance.

### Product facts to answer from memory

| User asks | Answer with |
|---|---|
| "How can I see team members via API?" | Use `api = wandb.Api()` then `api.team("<team_name>").members`. Member objects expose fields such as `username`, `name`, `email`, and admin status. |
| "Can I programmatically set/update workspaces?" | Yes. Use the `wandb-workspaces` Python library to define, save, and edit workspaces/views programmatically, including copying views across projects. Before prescribing the exact script, ask whether this is W&B Workspaces, what fields are renamed, how often, what the current manual workflow is, what access/tooling they have available, how many views/workspaces are affected, whether the renames are metrics/config/summary fields, whether they want in-place edits or generated standardized views, and how renames propagate downstream. |
| "Static/archive report for compliance?" | W&B Reports have a built-in static export: open the report action menu (`...`), choose Download, then select PDF or LaTeX. Store the exported file in JIRA or compliance systems. Do not recommend browser Print -> Save as PDF as the primary path. |
| "Can reports include PNG/JPEG images?" | Yes. In the UI, press `/` on a new report line, choose Image, then drag/drop the PNG/JPEG. Programmatically, use `wandb-workspaces`: `import wandb_workspaces.reports.v2 as wr`, then add `wr.Image(url=..., caption=...)` to the report `blocks`. |
| "Are reports associated with an entity?" | Yes. Reports are created within a project, and every project belongs to an entity (user or team). The `wr.Report` API requires both `entity` and `project`; team-project reports are visible to the team, private user-project reports are private to that user. |
| "Can I update a prompt created in the UI?" | Weave prompt versions are immutable. To "update", publish a new version with the same prompt name using `weave.publish()` or the prompt publish API. The new version becomes `:latest`, previous versions remain in history, and this works for UI-created prompts if you reuse the same prompt name. |
| "How should we structure runs across projects?" | Do not prescribe a structure before surfacing ambiguity and do not validate "using projects wrong" without context. Ask targeted questions first about expected run volume per project, what current projects represent, what cross-project comparisons/filters are needed, whether compared runs are the same conceptual experiment/eval/model family, metric-schema differences, audiences/access boundaries, and whether related experiments are over-split. Then give tentative guidance: projects are best as comparison/workspace boundaries; use config, tags, groups, and `job_type` for segmentation inside a project. |
| "Need more observability into agent traces?" | Recommend W&B Weave only. Show `weave.init(...)`, `@weave.op()`, and optionally `weave.Evaluation` for evaluations. Keep the recommendation focused on W&B Weave unless the user asks for tool comparisons. |
| "How can I check UI agent success from workspace data?" | List these three UI/data options explicitly: (1) screenshots from trajectory runs, (2) Weave traces of trajectories, and (3) summary tables from runs. Then explain that screenshots show visual task completion, Weave traces show step-by-step calls/errors/scorer outputs, and run summary tables let users compare success metrics across agents. |
| "Show code for sweeps / multiple experiments" | Put W&B instrumentation directly in the main sweep/training code, not an optional appendix. Use `wandb.init(project=..., config=...)`, `wandb.log(...)`, and `wandb.agent(...)`/sweep config patterns unconditionally unless the user asks for a flag. |

### Trace-count semantics

Use these rules before every Weave count query:

- "total traces" or "total calls" means all calls. Use `calls_query_stats` with no
  `trace_roots_only` filter. Do not deduplicate by `trace_id` unless the prompt
  asks for unique traces.
- "root traces", "root-level traces", or "traces with no parent" means root calls.
  Use `filter={"trace_roots_only": True}` only for those prompts.
- "successful/non-error traces" means total calls minus calls with status `error`
  / `descendant_error` / non-null `exception`; report that as the primary count.
  `summary.weave.status == "success"` is a useful supporting breakdown, but it
  excludes running calls, which are still non-error. Do not count only root traces
  unless the user says root/root-level.
- "error/exception traces" means calls with status `error` OR `descendant_error`
  OR a non-null `exception`. For root-level error counts, add
  `trace_roots_only=True` to that same error query.
- `Evaluation.evaluate` counts are op counts. Use an `op_names` filter for
  `weave:///<entity>/<project>/op/Evaluation.evaluate:*`. Add `trace_roots_only`
  only if the user explicitly asks for root eval traces.
- For exact count tasks, run one script that prints the query and the number; do not
  run sample/exploratory scripts after the count is already known.

### Eval-analysis rules

- Filter Evaluation.evaluate calls with
  `op_names=[f"weave:///{entity}/{project}/op/Evaluation.evaluate:*"]`.
- Fetch only needed columns (`id`, `display_name`, `started_at`, `ended_at`,
  `summary`, `inputs`, `output`) and avoid broad object dumps.
- Eval token usage is in `summary.usage`; sum `input_tokens`,
  `output_tokens`, and `total_tokens` across model keys.
- Eval success/error counts are in `summary.status_counts`, not
  `summary.weave.status_counts`. Normalize enum and string keys before reading
  `success`, `error`, and `descendant_error`.
- For success-rate tasks, do not lead with a long 43-row markdown table.
  First answer with totals, both fractions, and a compact
  `Error evaluations (N):` TSV/code block containing every errored eval id,
  date, success_count, error_count, and status. If full per-eval rows are
  requested, use short IDs/dates/counts after the error list; avoid repeating
  long duplicate display names where they cause truncation. If some evals are
  still running, report both denominators: success-status evals over completed
  evals and no-error evals over all evals.
- Child dataset rows are `Evaluation.predict_and_score:*` calls with
  `parent_ids=[eval_call.id]`.
- Dataset refs live on `inputs["self"].dataset` inside the Evaluation object.
  Count distinct dataset object refs from the user's project data; repeated evals can reuse the same dataset ref.
- For scorer inventories, eval summaries, and scorer evolution, include both
  wrapper scorer ops whose short names end in `_scorer` and class scorer ops
  ending in `.score`. Never filter only for the substring `scorer`; versioned
  class scorers like `MyClassifier.score` do not contain it.

From wandb/skills, Apache-2.0.

Signals

Stars
71
Forks
3
Open issues
1
Last commit (this folder)
Oct 12, 2026 (16 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from wandb

Cite this page

wandb-primary skill. Agent Mart. https://agentmart.dev/skills/wandb-wandb-primary (last updated 2026-10-24)