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 managedcode/dotnet-skills --skill find-repeated-work-within-one-buildgit clone --depth 1 https://github.com/managedcode/dotnet-skillsWrote 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/managedcode/dotnet-skills/find-repeated-work-within-one-build)<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/find-repeated-work-within-one-build"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/find-repeated-work-within-one-build/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/managedcode/dotnet-skills/find-repeated-work-within-one-build"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/find-repeated-work-within-one-build.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.00107 | $0.02603 |
| Opus 5.5 | $0.00043 | $0.01041 |
| Sonnet 5.5 | $0.00021 | $0.00521 |
| Haiku 4.5 | $0.00011 | $0.00260 |
Grade A, and why
find-repeated-work-within-one-build 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 23d 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.
This is a copy
100% identical to find-repeated-work-within-one-build — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Find Repeated Work Within One Build
MSBuild runs targets once per project instance. Work that does not depend on the project, but sits in Directory.Build.targets or a shared target, therefore runs once per project: a git rev-parse in 40 projects is 40 process launches. A project built with different global properties is a different instance, so a shared library can compile several times in one build. The binlog's N calls column shows both. This skill finds the repeats, separates them from work that is legitimately per project, and removes only what is safe to remove.
When to Use
- The same
Execor task (version stamping, tool probes, file generation) runs in every project - Target or Task Performance Summary shows a call count far above the number of projects that need the work
- The same project executes its build targets repeatedly under global-property sets that do not change its outputs
- An
Execspawns one process per item in a list - A "run once per build" guard (
Existscheck, flag property) still runs repeatedly or fails with file-in-use errors under-m
When Not to Use
- Targets that run again on a second, unchanged build: use
incremental-build - Slow evaluation before any target runs: use
eval-performance - Required project variants colliding in shared bin/obj directories: use
check-bin-obj-clash - Idle nodes or a serial dependency chain: use
build-parallelism - NuGet restore repeated across separate
dotnet restore,dotnet buildanddotnet testcommands: useeliminate-redundant-restores - Unranked "why is my build slow": start with
build-perf-baseline, thenbuild-perf-diagnostics
Workflow
Step 1: Count executions
Use a supplied performance summary with execution counts as valid input; a raw binlog is not required. If the user cannot run the build or forbids execution or new logs, work from the summary and repository files. Mark unavailable timing or overlap evidence unknown and proposed fixes not validated; do not execute a build or collect another log.
What ships with it
1 file 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.
- 23d ago First seen · 118 lines · 107 tokens per session scan A 03bfd9ece8e7
find-repeated-work-within-one-build is a skill published in the GitHub repository managedcode/dotnet-skills (527 stars, last pushed 16d ago), licensed MIT. It adds 107 tokens to every session and 2,603 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to find-repeated-work-within-one-build, differing in 0 lines, and is treated as a copy.
find-repeated-work-within-one-build compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| find-repeated-work-within-one-buildmanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 107 | Claude Code, Codex |
| windbg-diagnostic-methodmicrosoft/win-dev-skills | Skill | 521 | 13d ago | MIT | A | 42 | Claude Code |
| windbg-kernel-bugcheck-triagemicrosoft/win-dev-skills | Skill | 521 | 13d ago | MIT | A | 50 | Claude Code |
| windbg-user-exception-triagemicrosoft/win-dev-skills | Skill | 521 | 13d ago | MIT | A | 69 | Claude Code |
| windbg-user-heap-corruption-investigationmicrosoft/win-dev-skills | Skill | 521 | 13d ago | MIT | A | 46 | Claude Code |
| windbg-user-virtual-memory-exhaustionmicrosoft/win-dev-skills | Skill | 521 | 13d ago | MIT | A | 54 | Claude Code |
| windbg-user-wait-chain-analysismicrosoft/win-dev-skills | Skill | 521 | 13d ago | MIT | A | 52 | Claude Code |