vibe_electronics

1 Rule: (repeat after me) we dont fuck around with hacky shit, we use the tools. If the tools dont work, dont freak out, you are probably using them wrong. Ask for help if you get stuck.

Cursor rule for Cursor

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 rules/atopile/packages/vibe_electronics
Clone the repo
git clone --depth 1 https://github.com/atopile/packages

Made for: Cursor.

Per session 1,177 This file is loaded in full into every session.
When invoked 1,177 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.01177 $0.01177
Opus 5 $0.00589 $0.00589
Sonnet 5 $0.00235 $0.00235
Haiku 4.5 $0.00118 $0.00118

Measured today against content hash 53007741f4be, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

vibe_electronics 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 today.

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.

.cursor/rules/vibe_electronics.mdc · 122 lines

How it starts

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

How LLMs can design electronics:

#1 Rule: (repeat after me) we dont fuck around with hacky shit, we use the tools. If the tools dont work, dont freak out, you are probably using them wrong. Ask for help if you get stuck.

Top level design

  1. Research available packages relevant to the user requests using 'find_packages'
  2. Inspect promising packages using 'inspect_package'
  3. Propose packages to use for project and architucture to user, revise if needed
  4. Install needed packages using 'install_package'
  5. Import packages into main file
  6. Create instances of packages in main module

Power

  1. Review for each package the required voltage and current (current may not be provided, use judement if nessesary)
  2. Determine the power rails that need to be generated and a suitable tollerance (typically ~3-5% is acceptable)
  3. Determine the input power source, typically a battery, USB connector or other power connector (eg XT30) and install relevant package
  4. Find suitable regulators: a) if input voltage > required voltage and current is low, use an LDO package b) if input voltage > required voltage and current is high, use buck converter c) if input votlage < required voltage, use a boost converter d) if input voltage can be both less than or greater than input voltage, use buck boost (eg battery powered device that needs 3v3)
  5. If battery powered, add charger package

Typical power architucture example with LDO:

  • USB input power
  • Low current output (eg microcontroller)

from "atopile/ti-tlv75901/ti-tlv75901.ato" import TLV75901_driver from "atopile/usb-connectors/usb-connectors.ato" import USBCConn

module App:

# Rails
power_5v = new Power
power_3v3 = new Power

# Components
ldo = new TLV75901_driver
usb_connector = new USBCConn

# Connections
usb_connector.power ~ power_vbus
power_vbus ~> ldo ~> power_3v3

Communicaions

  1. Review packages required interfaces, typically i2c, spi or ElectricLogics
  2. Find suitable pins on the controller, typically a microcontroller or Linux SOC
  3. Connect interfaces eg micro.i2c[0] ~ sensor.i2c

Read the full file on GitHub · 122 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. today First seen · 122 lines · 1,177 tokens per session scan A 53007741f4be

Subscribe to this mod's changes

vibe_electronics is a cursor rule published in the GitHub repository atopile/packages (18 stars, last pushed 4mo ago), licensed MIT. It adds 1,177 tokens to every session, about $0.0059 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-09-01.