fix-bugs

fix-bugs is a skill for Claude Code from rajitsaha/100xprism. It costs 51 tokens per session (1,029 once invoked), scanned A, original, MIT.

An autonomous bug-fixing workflow that investigates reports from sources such as CI tests, Docker logs, Slack, or a written description.

In plain words
What is it for?
Investigating failing builds, error messages, log output, shared bug reports, and linked Slack discussions, then fixing the underlying problem.
Why use it?
It gathers the relevant error and project context so the cause can be traced before changes are made. For unclear failures, it uses systematic debugging first instead of guessing.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is pytest) ./venv/bin/pytest <failing-test> -v --tb=short -q 2>&1 | tail -30 ;;.

Good fit Investigating failing builds, error messages, log output, shared bug reports, and linked…

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/rajitsaha/100xprism
agentmods
npx agentmods add skills/rajitsaha/100xprism/fix-bugs

Made for: Claude Code.

Wrote 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.

agentmods badge for fix-bugs

README.md
[![agentmods](https://agentmods.dev/badge/skills/rajitsaha/100xprism/fix-bugs.svg)](https://agentmods.dev/skills/rajitsaha/100xprism/fix-bugs)
Your own site
<a href="https://agentmods.dev/skills/rajitsaha/100xprism/fix-bugs"><img src="https://agentmods.dev/badge/skills/rajitsaha/100xprism/fix-bugs.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,029 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.01029
Opus 5 $0.00026 $0.00515
Sonnet 5 $0.00010 $0.00206
Haiku 4.5 $0.00005 $0.00103

Measured 6d ago against content hash dfa101ad74a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

fix-bugs 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 6d 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.

.agents/skills/fix-bugs/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fix — Autonomous Bug Fixer

Fix the bug described or linked. Investigate and fix without step-by-step guidance.

Do NOT ask for permission — investigate and fix autonomously.

How to use

  • /fix — fix the most recent failing CI run
  • /fix <description> — fix from plain description
  • /fix <docker logs paste> — trace error to root cause and fix
  • /fix <Slack URL or paste> — read thread, extract bug report, fix

Phase 1 — Gather context

Read the error in full — message, stack trace, or thread. Do not skip this step.

If the root cause is not obvious from the error/stack/logs → invoke the systematic-debugging skill first to diagnose before attempting any fix. /fix assumes you know (or can quickly find) what's broken; for mysterious failures, diagnosis comes first. Don't guess.

Detect the stack so context-gathering matches the project (canonical block — source: _lib/reference.md):

PROJECT_ROOT=$(git rev-parse --show-toplevel); cd "$PROJECT_ROOT"
CI_SYSTEM=""; ls "$PROJECT_ROOT"/.github/workflows/*.y*ml >/dev/null 2>&1 && CI_SYSTEM=github-actions
TEST_RUNNER=""
grep -q '"vitest"' package.json */package.json 2>/dev/null && TEST_RUNNER=vitest
[ -z "$TEST_RUNNER" ] && grep -q '"jest"' package.json */package.json 2>/dev/null && TEST_RUNNER=jest
[ -z "$TEST_RUNNER" ] && { [ -f pyproject.toml ] || ls requirements*.txt >/dev/null 2>&1; } && TEST_RUNNER=pytest
[ -z "$TEST_RUNNER" ] && [ -f go.mod ] && TEST_RUNNER="go test"
[ -z "$TEST_RUNNER" ] && [ -f Cargo.toml ] && TEST_RUNNER="cargo test"

# If fixing CI on a GitHub-Actions repo with gh available: read the most recent failure
if [ "$CI_SYSTEM" = github-actions ] && command -v gh >/dev/null 2>&1; then
  gh run list --limit 3
  gh run view --log-failed "$(gh run list --limit 1 --json databaseId -q '.[0].databaseId')" 2>/dev/null | tail -80
fi

For non-GitHub CI, read the failing job from that provider (GitLab/CircleCI UI or CLI). For docker logs: parse for ERROR/CRITICAL lines, identify service + file. For Slack thread: extract the bug report and reproduction steps.

Read the full file on GitHub · 105 lines

Files

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.

Changes

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.

  1. 6d ago First seen · 105 lines · 51 tokens per session scan A dfa101ad74a6

Subscribe to this mod's changes

fix-bugs is a skill published in the GitHub repository rajitsaha/100xprism (10 stars, last pushed 6d ago), licensed MIT. It adds 51 tokens to every session and 1,029 once invoked, about $0.0003 per session on Opus 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-31.