Borrowing it
Nothing to install: this file belongs to Shaurya-Sethi/circuitron. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Shaurya-Sethi/circuitron/main/AGENTS.mdgit clone --depth 1 https://github.com/Shaurya-Sethi/circuitronWrote 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/instructions/shaurya-sethi/circuitron/agents-md)<a href="https://agentmods.dev/instructions/shaurya-sethi/circuitron/agents-md"><img src="https://agentmods.dev/badge/instructions/shaurya-sethi/circuitron/agents-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.
<a href="https://agentmods.dev/instructions/shaurya-sethi/circuitron/agents-md"><img src="https://agentmods.dev/badge/instructions/shaurya-sethi/circuitron/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.02588 | $0.02588 |
| Opus 5.5 | $0.01035 | $0.01035 |
| Sonnet 5.5 | $0.00518 | $0.00518 |
| Haiku 4.5 | $0.00259 | $0.00259 |
Grade A, and why
circuitron AGENTS.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.
This is a copy
100% identical to circuitron copilot-instructions.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Instructions for working on Circuitron
Circuitron is an AI-powered PCB design accelerator that converts natural language requirements into SKiDL scripts, KiCad schematics, and PCB layouts using a multi-agent orchestration pipeline.
Architecture Overview
Core Pipeline Flow
The system follows a sophisticated, multi-stage agent workflow defined in circuitron/pipeline.py. It is not a simple linear sequence but includes robust, nested correction loops.
- Planner → Plan Editor (optional user feedback loop)
- Part Finder → Part Selector
- Documentation Agent (gathers context via RAG)
- Code Generator
- Validation & Correction Loop:
- The Validator agent checks the generated code.
- If validation fails, the Corrector agent attempts to fix it. This loop continues until the code is valid or a retry limit is reached.
- Runtime Check & Correction Loop:
- A runtime check is performed in a Docker container.
- If it fails, the Runtime Corrector agent attempts a fix. This loop continues until the script runs successfully.
- ERC (Electrical Rule Check) & Handling Loop:
- The ERC Handler agent runs ERC checks.
- If errors or unapproved warnings are found, it attempts to fix them. This loop continues until ERC passes or warnings are explicitly accepted by the agent.
- Final Execution: The final, validated script is executed to produce KiCad files.
Each agent has specific responsibilities and uses the OpenAI Agents SDK with structured Pydantic models defined in circuitron/models.py.
Key Components
- Agents (
circuitron/agents.py): Specialized OpenAI agents for each pipeline stage. - MCP Server (
circuitron/mcp_manager.py): A single, shared connection for RAG documentation, code validation, and hallucination detection. - Tools (
circuitron/tools.py): Docker-isolated functions for calculations, KiCad library searches, and ERC checks. - UI (
circuitron/ui/app.py): A Rich-based terminal interface for progress tracking and interactive plan editing.
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.
- 2mo ago First seen · 217 lines · 2,588 tokens per session scan A 8aaa1eafee15
circuitron AGENTS.md is an instructions file published in the GitHub repository Shaurya-Sethi/circuitron (129 stars, last pushed 5mo ago), licensed MIT. It adds 2,588 tokens to every session, about $0.0104 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to circuitron copilot-instructions.md, differing in 0 lines, and is treated as a copy.
circuitron AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| circuitron AGENTS.mdShaurya-Sethi/circuitron | Instructions file | 129 | 5mo ago | MIT | A | 2,588 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |