# Bug Reproduction Receipt — CI & Flaky Tests

> Turn a bug report into a failure another engineer can rerun, then check the same case after a requested fix.

Bug Reproduction Receipt — CI & Flaky Tests is a free AI agent skill on Agensi by Stanislav Ivanov, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Stanislav Ivanov](https://www.agensi.io/creators/sivanov)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Uses: 3
- Version: 1.1
- Last updated: 2026-10-23
- Security: scan passed (2026-10-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/bug-reproduction-receipt-ci-flaky-tests
- Tags: testing, code-review, debugging, flaky-tests, ci, regression-testing, reproducibility, quality-gates

## About this skill

A bug report says something broke. A patch says it is fixed. Keep a runnable case that connects the two.

Bug Reproduction Receipt helps your agent reduce the report to the input, setup and command that expose the failure. It records the revision, environment, expected result and actual signal so the next engineer can repeat the observation.

### Keep the same test before and after

When you request a fix, the workflow follows the reproduced path, makes the smallest supported change and reruns that same case with relevant adjacent checks. For an intermittent failure, it records bounded attempts and failures on both sides of the change.

You receive a reproduction recipe and separate conclusions: whether the original failure was reproduced, and whether a requested fix was verified on that case. If execution is unavailable, the recipe remains useful and its result stays unverified.

Use it for a bug handoff, a failed CI investigation or a disputed fix. It runs through your agent and project tools, with no hosted service or MCP server required. A short successful run does not prove an intermittent bug can never return.

## Known limitations

A failure may depend on unavailable infrastructure, private data, timing, or environment. Bounded attempts do not prove flakiness eliminated. A code-path hypothesis without execution is not a reproduced runtime failure.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Bug Reproduction Receipt — CI & Flaky Tests skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What is in the reproduction recipe?

The relevant revision, runtime and setup, the smallest useful input or command, the expected and observed failure signal, and the attempts actually run. Private logs and credentials stay out of the shared receipt.

### Can it fix the bug as well?

When you request a fix, it investigates the reproduced path, makes a scoped change and reruns the same case plus relevant adjacent checks. Without a rerun, verification remains missing.

### What if the failure is intermittent?

It keeps the relevant conditions as stable as practical and reports failures over bounded attempts. No recurrence during that series is reported as not reproduced; it does not establish permanent elimination.

### Does it need a hosted service?

No. It is an instruction-only workflow for the agent and test tools you already use. Actual execution still needs the project access and environment required by the reported failure.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
