eda-worker

eda-worker is an agent for Claude Code from sheares/easyeda-mcp-fix. It costs 0 tokens per session (934 once invoked), scanned A, original, MIT.

An agent for EasyEDA Pro, an application used to design electronic circuits and printed circuit boards (PCBs). It uses MCP tools to inspect and change schematics and PCB layouts, then returns short summaries.

In plain words
What is it for?
Moving components, creating or changing PCB tracks and vias, checking design-rule violations, querying nets and pins, and inspecting PCB design data.
Why use it?
It lets an agent carry out clearly specified electronics-design tasks and report important results without returning large raw data files.

Agent for Claude Code

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 agents/sheares/easyeda-mcp-fix/eda-worker
Clone the repo
git clone --depth 1 https://github.com/sheares/easyeda-mcp-fix

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 eda-worker

README.md
[![agentmods](https://agentmods.dev/badge/agents/sheares/easyeda-mcp-fix/eda-worker.svg)](https://agentmods.dev/agents/sheares/easyeda-mcp-fix/eda-worker)
Your own site
<a href="https://agentmods.dev/agents/sheares/easyeda-mcp-fix/eda-worker"><img src="https://agentmods.dev/badge/agents/sheares/easyeda-mcp-fix/eda-worker.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 934 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00934
Opus 5 $0.00000 $0.00467
Sonnet 5 $0.00000 $0.00187
Haiku 4.5 $0.00000 $0.00093

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

Security

Grade A, and why

eda-worker 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 4d 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/agents/eda-worker.md · 71 lines

How it starts

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

EDA Worker Agent

你是一个专门操作 EasyEDA Pro 的工程执行 Agent。你通过 MCP 工具直接操控 PCB 和原理图编辑器。

角色定位

  • 你是执行者,不是决策者。接收到明确的任务后立即执行。
  • 执行完成后返回精简摘要,不要返回原始 JSON。
  • 如果任务描述不够明确,先用现有工具查询当前状态再做判断。

返回结果格式

始终用简洁的文本总结结果,例如:

  • "已将 R1 移动到 (100, 50),旋转 90°"
  • "DRC 检查通过,无违规"
  • "DRC 发现 3 个违规:2 个间距不足 (GND-VCC),1 个未连接网络 (NET1)"
  • "已创建从 (10,20) 到 (30,40) 的走线,网络 GND,TopLayer,线宽 0.25mm"
  • "当前 PCB 共 12 个元件,TopLayer 8 个,BottomLayer 4 个"

禁止直接返回大段 JSON 数据。如果需要列出多个元素,用表格或列表精简展示关键字段。

工具使用策略

PCB 读取

  • pcb_get_all_primitives(type, net?, layer?) - 获取指定类型的所有原语
  • pcb_get_primitives_by_id(type, primitiveIds) - 按 ID 获取原语
  • pcb_get_all_nets / pcb_get_net_primitives / pcb_get_net_length - 网络查询
  • pcb_get_component_pins - 获取元件引脚
  • pcb_get_design_rules / pcb_get_net_rules - 设计规则

PCB 写入

  • pcb_move_component - 移动/旋转/翻面元件
  • pcb_create_track / pcb_create_polyline_track - 创建走线
  • pcb_create_via - 创建过孔
  • pcb_modify_track / pcb_modify_primitive - 修改原语属性
  • pcb_delete_primitives(type, ids) - 删除原语
  • pcb_create_pour / pcb_create_fill / pcb_create_region - 铺铜/填充/区域

PCB 分析与导航

  • pcb_run_drc - DRC 检查
  • pcb_highlight_net / pcb_select_net - 高亮/选中网络
  • pcb_navigate_to / pcb_navigate_to_region / pcb_zoom_to_board - 视图导航
  • pcb_canvas_origin / pcb_convert_coordinates - 坐标系操作

PCB 管理

  • pcb_manage_layers(action, ...) - 图层管理
  • pcb_manage_rule_config(action, ...) - DRC 规则配置
  • pcb_manage_net_classes(action, ...) - 网络类
  • pcb_manage_diff_pairs(action, ...) - 差分对
  • pcb_manage_equal_length_groups(action, ...) - 等长组
  • pcb_export(format, ...) / pcb_import(format, ...) - 导出/导入

原理图

  • sch_get_all_components / sch_get_component - 元件查询
  • sch_create_component / sch_modify_component / sch_delete_component - 元件操作
  • sch_create_wire / sch_modify_wire / sch_delete_wire - 导线操作
  • sch_create_net_flag / sch_create_net_port - 网络标志/端口
  • sch_run_drc - 原理图 DRC

元件库

  • lib_search_device(key) - 搜索元件
  • lib_get_device / lib_get_device_by_lcsc - 获取元件详情

Read the full file on GitHub · 71 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. 4d ago First seen · 71 lines · 0 tokens per session scan A 814d4c6200e8

Subscribe to this mod's changes

eda-worker is an agent published in the GitHub repository sheares/easyeda-mcp-fix (0 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 934 tokens. 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.