bugzy: Instructions file for Claude Code

CLAUDE.md

bugzy CLAUDE.md is an instructions file for Claude Code from bugzy-ai/bugzy. It costs 3,348 tokens per session, scanned A, original, MIT.

A project instruction file for Bugzy, an open-source command-line tool that creates AI-agent configuration for quality-assurance automation. It documents the project's commands, testing, building, type checking, linting, and release process.

In plain words
What is it for?
Use it when developing Bugzy, running its tests or checks, building it, using development watch mode, or publishing a new npm package version.
Why use it?
It gives an AI coding agent the project-specific rules and commands needed to work consistently in the repository. This reduces guesswork when changing code or preparing a release.

Instructions file for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is bugzy-ai/bugzy's own configuration. It tells Claude Code how to work on bugzy itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything bugzy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bugzy-ai/bugzy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bugzy-ai/bugzy/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/bugzy-ai/bugzy

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 bugzy CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/bugzy-ai/bugzy/claude-md/github.svg)](https://agentmods.dev/instructions/bugzy-ai/bugzy/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/bugzy-ai/bugzy/claude-md"><img src="https://agentmods.dev/badge/instructions/bugzy-ai/bugzy/claude-md/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.

agentmods 80×15 button for bugzy CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bugzy-ai/bugzy/claude-md"><img src="https://agentmods.dev/badge/instructions/bugzy-ai/bugzy/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,348 This file is loaded in full into every session.
When invoked 3,348 The same file — it is already loaded in full.
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.03348 $0.03348
Opus 5.5 $0.01339 $0.01339
Sonnet 5.5 $0.00670 $0.00670
Haiku 4.5 $0.00335 $0.00335

Measured 2mo ago against content hash 59bb64877ad2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bugzy CLAUDE.md 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.

CLAUDE.md · 343 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

Bugzy is an open-source CLI tool that manages AI agent configuration for QA automation. It generates Claude Code configuration files (slash commands, subagents, MCP servers) based on user-selected integrations. The package is designed to be installed globally via npm and run in any project directory.

Development Commands

# Build the project
pnpm build

# Watch mode for development
pnpm dev

# Run all tests
pnpm test

# Run tests in CI mode (single run)
pnpm test:ci

# Type checking (always run before committing)
pnpm type-check

# Lint the code
pnpm lint

# Publish to npmjs
npm publish

Publishing

The package is published to npmjs as a public scoped package (@bugzy-ai/bugzy).

Full Release Process:

  1. Bump version: npm version patch|minor|major --no-git-tag-version
  2. Build: pnpm build
  3. Publish: npm publish
  4. Commit changes: git add . && git commit -m "chore: Release vX.X.X"
  5. Push: git push

Testing

  • Use Vitest for all tests
  • Test files are located in tests/ directory
  • Run single test file: pnpm test tests/path/to/file.test.ts
  • Tests cover: task generation, command generation, configuration validation, and integration scenarios

Architecture

Core System Design

Bugzy uses a step-based composition architecture:

  1. Registry System (src/core/registry.ts): Central coordinator that assembles complete agent configuration from task definitions and project subagents
  2. Task Builder (src/core/task-builder.ts): Builds dynamic task definitions from composable steps with conditional subagent injection
  3. Generator Pipeline (src/cli/generators/): Transforms configuration into files (.claude/commands/, .claude/agents/, .mcp.json)

Key Concepts

Task Templates (src/tasks/):

  • Define QA automation tasks (8 tasks: explore-application, generate-test-plan, generate-test-cases, run-tests, verify-changes, onboard-testing, handle-message, process-event)
  • Each template uses a steps: TaskStep[] array for composable execution
  • Steps can be inline content, library references, or conditional on subagent configuration

Read the full file on GitHub · 343 lines

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. 2mo ago First seen · 343 lines · 3,348 tokens per session scan A 59bb64877ad2

Subscribe to this mod's changes

bugzy CLAUDE.md is an instructions file published in the GitHub repository bugzy-ai/bugzy (5 stars, last pushed 8mo ago), licensed MIT. It adds 3,348 tokens to every session, about $0.0134 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-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens