Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add happyhappy-jun/writing-driven-autoresearch --skill weave-add-tracinggit clone --depth 1 https://github.com/happyhappy-jun/writing-driven-autoresearchWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/happyhappy-jun/writing-driven-autoresearch/weave-add-tracing)<a href="https://agentmods.dev/skills/happyhappy-jun/writing-driven-autoresearch/weave-add-tracing"><img src="https://agentmods.dev/badge/skills/happyhappy-jun/writing-driven-autoresearch/weave-add-tracing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/happyhappy-jun/writing-driven-autoresearch/weave-add-tracing"><img src="https://agentmods.dev/badge/skills/happyhappy-jun/writing-driven-autoresearch/weave-add-tracing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00103 | $0.01146 |
| Opus 5.5 | $0.00041 | $0.00458 |
| Sonnet 5.5 | $0.00021 | $0.00229 |
| Haiku 4.5 | $0.00010 | $0.00115 |
Grade A, and why
weave-add-tracing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add W&B Weave Tracing
Instrument an existing AI application, run a representative task, and verify that the resulting Weave trace explains the application's behavior. Preserve the application design unless the user explicitly requests a refactor.
Operating Rules
- Verify current SDK and integration behavior with official W&B Weave documentation before relying on exact APIs or auto-patching claims.
- Add observability without changing prompts, control flow, retries, tool behavior, or user-visible output.
- Initialize Weave once at the application boundary. Reuse an existing valid
weave.init()call. - Prefer a small trace tree of meaningful workflow, model, retrieval, and tool boundaries over decorating every helper.
- Do not duplicate calls already captured by a supported provider or framework integration.
- Trace only serializable inputs and outputs. Summarize or reference large objects and documents.
- Never send credentials, access tokens, private notes, unpublished documents, or unnecessary personal data to Weave.
- Do not introduce
weave.Model, datasets, assets, scorers, or evaluations unless the user separately requests them.
Workflow
1. Preflight
- Detect the project language, package manager, entrypoint, and normal test or run command.
- Search for existing Weave setup and classify the task:
- Fresh: no Weave integration exists.
- Evolve:
weave.init(),@weave.op, or framework tracing already exists.
- Identify model providers, agent frameworks, tools, retrieval, callbacks, retries, and async boundaries.
- Confirm the target Weave project from existing configuration or
team/project. Do not put credentials in source code. - Read
references/codebase-analysis.mdfor a repository-wide integration scan.
2. Build a Compact Trace Map
Present the proposed root and child Calls before editing. Include file, symbol, reason, and capture behavior.
run_agent() root workflow Op
|- provider model call automatic integration
|- retrieve_context() custom Op
`- execute_tool() custom Op
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 100 lines · 103 tokens per session scan A 034d8b004f2d
weave-add-tracing is a skill published in the GitHub repository happyhappy-jun/writing-driven-autoresearch (23 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 103 tokens to every session and 1,146 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
weave-add-tracing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| weave-add-tracinghappyhappy-jun/writing-driven-autoresearch | Skill | 23 | 3mo ago | Apache-2.0 | A | 103 | Claude Code |
| agent-platform-model-registrygoogle/skills | Skill | 22k | yesterday | Apache-2.0 | A | 60 | Claude Code, Codex |
| foundry-config-setupmicrosoft/agent-framework | Skill | 15k | yesterday | MIT | A | 65 | Claude Code, Codex |
| google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skills | Skill | 22k | yesterday | Apache-2.0 | A | 132 | Claude Code, Codex |
| training-checkwanshuiyin/Auto-claude-code-research-in-sleep | Skill | 19k | 3d ago | MIT | A | 35 | Claude Code |
| nemo-automodel-launcher-configNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 30 | Claude Code |
| finetuningmicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 132 | Claude Code |