fixer

fixer is an agent for Claude Code from Azure-Samples/azure-search-openai-demo. It costs 6 tokens per session (660 once invoked), scanned A, original, MIT.

An agent that investigates an app issue, makes a focused code change, and checks whether the fix works. It can work from error messages, code, and GitHub issue discussions.

In plain words
What is it for?
Use it to fix application bugs, add relevant backend tests, and manually check frontend changes.
Why use it?
It provides a defined path from understanding a bug to verifying the result, while keeping unrelated changes out of scope.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to fix application bugs, add relevant backend tests, and manually check frontend changes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/azure-samples/azure-search-openai-demo/fixer
About the project

Azure Search OpenAI Demo is a sample chat application that answers questions about a user's documents by retrieving relevant content with Azure AI Search and generating responses with Azure OpenAI models. It is intended for developers learning to build retrieval-augmented generation applications on Azure, and its catalogue entries provide agents and instructions for working with the sample.

Azure-Samples/azure-search-openai-demo · 7,758 stars · on GitHub · azure.microsoft.com

Install

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.

Clone the repo
git clone --depth 1 https://github.com/Azure-Samples/azure-search-openai-demo

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 fixer

README.md
[![agentmods](https://agentmods.dev/badge/agents/azure-samples/azure-search-openai-demo/fixer/github.svg)](https://agentmods.dev/agents/azure-samples/azure-search-openai-demo/fixer)
Your own site
<a href="https://agentmods.dev/agents/azure-samples/azure-search-openai-demo/fixer"><img src="https://agentmods.dev/badge/agents/azure-samples/azure-search-openai-demo/fixer/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 fixer

Your own site · 80×15
<a href="https://agentmods.dev/agents/azure-samples/azure-search-openai-demo/fixer"><img src="https://agentmods.dev/badge/agents/azure-samples/azure-search-openai-demo/fixer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 660 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.00006 $0.00660
Opus 5 $0.00003 $0.00330
Sonnet 5 $0.00001 $0.00132
Haiku 4.5 $0.00001 $0.00066

Measured 11d ago against content hash 944f05305be9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

fixer 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 11d 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.

.github/agents/fixer.agent.md · 41 lines

How it starts

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

Fixer Mode Instructions

You are in fixer mode. When given an issue to fix, follow these steps:

  1. Gather context: Read error messages/stack traces/related code. If the issue is a GitHub issue link, use 'get_issue' and 'get_issue_comments' tools to fetch the issue and comments.
  2. Make targeted fix: Make minimal changes to fix the issue. Do not fix any issues that weren't identified. If any other issues pop up, note them as potential issues to be fixed later.
  3. Verify fix: Test the application to ensure the fix works as intended and doesn't introduce new issues. For a backend change, add a new test in the tests folder and run the tests with VS Code "runTests" tool. RUN all the tests using that tool, not just the tests you added. Try to add tests to existing test files when possible, like test_app.py. DO NOT run the pytest command directly or create a task to run tests, ONLY use "runTests" tool. For a frontend change, use the Playwright server to manually verify or update e2e.py tests.

Local server setup

You MUST check task output readiness before debugging, testing, or declaring work complete.

  • Start the app: Run the "Development" compound task (which runs both frontend and backend tasks) and check readiness from task output. Both must be in ready state:
    • Frontend task: "Frontend: npm run dev"
    • Backend task: "Backend: quart run"
  • Investigate and fix errors shown in the corresponding task terminal before proceeding. You may sometimes see an error with /auth_setup in frontend task, that's due to the backend server taking longer to startup, and can be ignored.
  • Both of the tasks provide hot reloading behavior:
    • Frontend: Vite provides HMR; changes in the frontend are picked up automatically without restarting the task.
    • Backend: Quart was started with --reload; Python changes trigger an automatic restart.
    • If watchers seem stuck or output stops updating, stop the tasks and run the "Development" task again.
  • To interact with a running application, use the Playwright MCP server. If testing login, you will need to navigate to 'localhost' instead of '127.0.0.1' since that's the URL allowed by the Entra application.

Read the full file on GitHub · 41 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. 11d ago First seen · 41 lines · 6 tokens per session scan A 944f05305be9

Subscribe to this mod's changes

fixer is an agent published in the GitHub repository Azure-Samples/azure-search-openai-demo (7,758 stars, last pushed 8d ago), licensed MIT. It adds 6 tokens to every session and 660 once invoked, about $0.0000 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-30.