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 theonedev/tod --skill fix-failed-buildgit clone --depth 1 https://github.com/theonedev/todWrote 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/theonedev/tod/fix-failed-build)<a href="https://agentmods.dev/skills/theonedev/tod/fix-failed-build"><img src="https://agentmods.dev/badge/skills/theonedev/tod/fix-failed-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/theonedev/tod/fix-failed-build"><img src="https://agentmods.dev/badge/skills/theonedev/tod/fix-failed-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00017 | $0.00477 |
| Opus 5.5 | $0.00007 | $0.00191 |
| Sonnet 5.5 | $0.00003 | $0.00095 |
| Haiku 4.5 | $0.00002 | $0.00048 |
Grade A, and why
fix-failed-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 16d 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 — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Fix a failed OneDev build
Use configured tod and the build reference from the prompt. Ask for the
reference if it is missing. Keep the current checkout. Verify that
git symbolic-ref --short HEAD identifies a branch and that
tod project current identifies the build's project.
Diagnose the failure
Read tod build get <build> and tod build get-log <build>. Check the
project and commitHash in the build detail against the checkout. Use the
failing commit as evidence and verify that the fix applies to the current
branch before editing.
If the log says a required dependency failed, get that build's detail.
- Cancelled dependency. Report it as the blocker and stop.
- Failure on the same commit. Diagnose that build instead, following further required dependency failures as needed.
- Failure on a different commit. Report the dependency as the cause of the current failure and stop.
For these failure lines, take the exact report name inside the brackets. Preserve spaces and casing, and quote the name as one argument. Read the report before deciding on a fix.
[<report>]: found problems with severity <severity> or higher→tod build get-code-problems <build> "<report>" <severity>.[<report>]: <count> not passed test cases→tod build get-unit-test-report <build> "<report>". To download a referenced artifact, add--artifact <artifact-path> > <output-file>.
Use tod build get-changes-since-success <build> if the previous successful
build helps explain the failure. Inspect .onedev-buildspec.yml for job
configuration problems and run tod build get-spec-schema before changing it.
Leave the fix in the checkout
Make and verify the fix locally. Use git status --short to confirm what
changed. Leave edits unstaged and uncommitted, with any push or OneDev
comment outside this workflow.
If no edit is appropriate, explain why. Stop on an unmet precondition or an unrecoverable error and report the failing command and error when applicable.
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.
- 16d ago Changed · -55 lines · -8 tokens per session ce06f4ff8105
- 3mo ago First seen · 105 lines · 25 tokens per session scan A 2765962c5d60
fix-failed-build is a skill published in the GitHub repository theonedev/tod (17 stars, last pushed 5d ago), licensed MIT. It adds 17 tokens to every session and 477 once invoked, about $0.0001 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.
fix-failed-build compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fix-failed-buildtheonedev/tod | Skill | 17 | 5d ago | MIT | A | 17 | Claude Code, Codex |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 71 | Claude Code, Codex |
| observability-audit-sessionsIBM/mcp-context-forge | Skill | 4.9k | today | Apache-2.0 | A | 64 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 343 | today | Apache-2.0 | A | 112 | Claude Code |
| performance-verificationvalkor-ai/loom | Skill | 1.6k | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | today | Apache-2.0 | A | 15 | Claude Code, Codex |