vibe_electronics

vibe_electronics is a cursor rule for Cursor from atopile/packages. It costs 1,177 tokens per session, scanned A, original, MIT.

A set of coding rules for designing electronics with available software and hardware tools. It covers choosing packages, connecting them, and checking power requirements.

In plain words
What is it for?
Use it when selecting electronics packages, planning power rails, choosing regulators, and designing battery or USB-powered circuits.
Why use it?
It encourages a planned component and power design instead of improvised electronics work.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when selecting electronics packages, planning power rails, choosing regulators, and designing battery or USB-powered circuits.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/atopile/packages/vibe_electronics
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/atopile/packages

Made for: Cursor.

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 vibe_electronics

README.md
[![agentmods](https://agentmods.dev/badge/rules/atopile/packages/vibe_electronics/github.svg)](https://agentmods.dev/rules/atopile/packages/vibe_electronics)
Your own site
<a href="https://agentmods.dev/rules/atopile/packages/vibe_electronics"><img src="https://agentmods.dev/badge/rules/atopile/packages/vibe_electronics/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 vibe_electronics

Your own site · 80×15
<a href="https://agentmods.dev/rules/atopile/packages/vibe_electronics"><img src="https://agentmods.dev/badge/rules/atopile/packages/vibe_electronics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.01177 $0.01177
Opus 5.5 $0.00471 $0.00471
Sonnet 5.5 $0.00235 $0.00235
Haiku 4.5 $0.00118 $0.00118

Measured 1mo ago against content hash 53007741f4be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

.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. 1mo ago 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 5mo ago), licensed MIT. It adds 1,177 tokens to every session, about $0.0047 per session on Opus 5.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.