circuitron copilot-instructions.md

circuitron copilot-instructions.md is an instructions file for GitHub Copilot from Shaurya-Sethi/circuitron. It costs 2,588 tokens per session, scanned A, original, MIT.

Project instructions for Circuitron, an AI tool that turns plain-language PCB requirements into design files for KiCad, an electronics design program. They describe its multi-step process for finding parts, generating code, and checking the result.

In plain words
What is it for?
Use them when developing, reviewing, or fixing Circuitron’s planning, part-selection, documentation, code-generation, and correction pipeline.
Why use it?
They give an agent the project map and expected workflow, reducing guesswork when changing or debugging Circuitron. They also explain how validation, runtime checks, and electrical rule checks are handled.

Instructions file for GitHub Copilot

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.

agentmods
npx agentmods add instructions/shaurya-sethi/circuitron/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/Shaurya-Sethi/circuitron

Made for: GitHub Copilot.

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 circuitron copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/shaurya-sethi/circuitron/copilot-instructions.svg)](https://agentmods.dev/instructions/shaurya-sethi/circuitron/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/shaurya-sethi/circuitron/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/shaurya-sethi/circuitron/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,588 This file is loaded in full into every session.
When invoked 2,588 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.02588 $0.02588
Opus 5 $0.01294 $0.01294
Sonnet 5 $0.00518 $0.00518
Haiku 4.5 $0.00259 $0.00259

Measured 5d ago against content hash 8aaa1eafee15, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

circuitron copilot-instructions.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 5d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.github/copilot-instructions.md · 217 lines

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.

  1. PlannerPlan Editor (optional user feedback loop)
  2. Part FinderPart Selector
  3. Documentation Agent (gathers context via RAG)
  4. Code Generator
  5. 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.
  6. 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.
  7. 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.
  8. 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.

Read the full file on GitHub · 217 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. 5d ago First seen · 217 lines · 2,588 tokens per session scan A 8aaa1eafee15

Subscribe to this mod's changes

circuitron copilot-instructions.md is an instructions file published in the GitHub repository Shaurya-Sethi/circuitron (122 stars, last pushed 3mo ago), licensed MIT. It adds 2,588 tokens to every session, about $0.0129 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.

Related

Other instructions, from other repositories

KiCAD-Schematic-Manipulation CLAUDE.md

Claude Code instructions for richard-luc/KiCAD-Schematic-Manipulation, covering claude.md, ⚠️ critical development rules, 🚫 git commit policy, 📦 version management policy and 📋 feature development policy.

richard-luc/KiCAD-Schematic-Manipulation · 3,043 tokens

EverOS CLAUDE.md

Claude Code instructions for EverMind-AI/EverOS, covering everos — md-first memory extraction framework, quick commands, architecture, engineering practices and branch strategy.

EverMind-AI/EverOS · 1,056 tokens

llm-wiki CLAUDE.md

Instructions for nvk/llm-wiki, covering llm-wiki development guide, testing, github auth and transport, structural tests (always run — no llm, instant) and behavioral evals (run when changing command logic).

nvk/llm-wiki · 2,049 tokens

OpenContracts CLAUDE.md

Claude Code instructions for Open-Source-Legal/OpenContracts, covering claude.md, project overview, baseline commit rules, essential commands and backend (django).

Open-Source-Legal/OpenContracts · 9,286 tokens

disp8ch AGENTS.md

AGENTS.md instructions for aaronnat23/disp8ch, covering agents, repo instructions and session startup.

aaronnat23/disp8ch · 227 tokens

kicad-mcp AGENTS.md

AGENTS.md instructions for blwfish/kicad-mcp: Conventions for any AI agent (Claude Code, Cursor, etc.) working in this repo. General contributor guidance — bug reports, PR style, threshold-test coverage — is in CONTRIBUTING.md. This file holds the few rules that are easy to violate while generating code and expensive…

blwfish/kicad-mcp · 1,386 tokens