Agent skill

Altium Circuit Investigator

by Tansuo2021 in Tansuo2021/ADtoKeil

Evidence-led analysis of Altium schematic and PCB designs using netlist tracing, full symbol-pin coverage, connector and PCB pad inventories, local schematic screenshots/SVG labels, component…

GPL-3.0Auto-check passedBackend & APIs

Install Altium Circuit Investigator

skills CLI
$ npx skills add Tansuo2021/ADtoKeil --skill altium-circuit-investigator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Tansuo2021/ADtoKeil altium-circuit-investigator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Tansuo2021/ADtoKeil.git skills-src && mkdir -p .claude/skills && cp -r skills-src/altium-circuit-investigator .claude/skills/altium-circuit-investigator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
altium-circuit-investigator
GitHub stars
188
Token cost
~2.1k tokens
SKILL.md length
990 words
Files
11 (incl. scripts, references)
Skills in repo
6
Repo updated
First seen
Licence
GPL-3.0

At a glance

Evidence-led analysis of Altium schematic and PCB designs using netlist tracing, full symbol-pin coverage, connector and PCB pad inventories, local schematic screenshots/SVG labels, component…

  • Works in 7 steps: Run a port inventory when possible. → Include every MCU/processor symbol pin,… → Include every schematic connector pin,… → …
  • Codex must understand
  • SKILL.md covers Prime Directive, Non-Negotiable Coverage Gates, Investigation Workflow and Output Contract, plus 2 more sections
  • Runs Python scripts from its folder

What it does

Altium Circuit Investigator is an agent skill from Tansuo2021/ADtoKeil. Evidence-led analysis of Altium schematic and PCB designs using netlist tracing, full symbol-pin coverage, connector and PCB pad inventories, local schematic screenshots/SVG labels, component topology, and explicit uncertainty. Use when Codex must understand, document, review, or map hardware from .SchDoc, .PcbDoc, .PrjPcb, Gerber, screenshots, or exported schematic images, including MCU pin maps, external port definitions, firmware/software functions, sensors, actuators, power rails, and unclear circuit blocks.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/evidence-checklist.md` and `references/firmware-from-hardware.md`).

It sits in Backend & APIs, covering Backend development. The licence is GPL-3.0.

When your agent uses it

  • Codex must understand
  • Map hardware from .SchDoc
  • Exported schematic images
  • Including MCU pin maps

Example prompts

  • “/altium-circuit-investigator”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Run a port inventory when possible.
  2. Include every MCU/processor symbol pin, not only pins that appear in the netlist. Mark missing nets as NC/未连接.
  3. Include every schematic connector pin, including empty/no-connect pins when the symbol exposes them.
  4. Compare schematic connector pins with PCB pads and call out mismatches.
  5. Render or inspect local schematic context for every signal still described as "unknown", "aux", "control", "out", "in", "feedback", or…
  6. Deep-trace each firmware-relevant control/feedback signal at least one active device beyond the MCU.
  7. List open questions explicitly. Do not silently drop pins, ports, PCB-only jumpers, or parser warnings.

What it can do on your machine

Read from SKILL.md and the folder at commit 56ab07d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 6 files in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Altium Circuit Investigator loads about 2.1k tokens when it runs, and up to ~5.6k if it reads all its reference files. Until then it costs about 136 tokens; SKILL.md has 990 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~136
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Tansuo2021/ADtoKeil at commit 56ab07d, republished under its GPL-3.0 licence (© Tansuo2021). 990 words, ~2,089 tokens.

Download SKILL.mdSave it as .claude/skills/altium-circuit-investigator/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
altium-circuit-investigator
description
Evidence-led analysis of Altium schematic and PCB designs using netlist tracing, full symbol-pin coverage, connector and PCB pad inventories, local schematic screenshots/SVG labels, component topology, and explicit uncertainty. Use when Codex must understand, document, review, or map hardware from .SchDoc, .PcbDoc, .PrjPcb, Gerber, screenshots, or exported schematic images, including MCU pin maps, external port definitions, firmware/software functions, sensors, actuators, power rails, and unclear circuit blocks.

Altium Circuit Investigator

Use this skill to understand Altium designs without guessing. It complements altium-schematic-reader: first collect structured net/component data, then prove circuit meaning with topology, local labels, PCB evidence, and coverage checks.

Prime Directive

Do not state a circuit function as fact until it is supported by evidence. A net name, part value, or symbol shape is only a clue. Confirm with:

  • exact netlist endpoints: designator, pin, pin name, net
  • full symbol pin coverage, including NC/unconnected pins
  • local schematic text/labels/screenshots
  • topology through passives, transistors, optocouplers, relays, sensors, and connectors
  • PCB pads, side, placement, and net names
  • datasheet or measurement when polarity or behavior is not proven

Use evidence levels:

  • Confirmed: proven by netlist, symbol pins, PCB, local image/text, or datasheet.
  • Likely: topology strongly supports it but polarity, external harness, or exact behavior is not proven.
  • Hypothesis: plausible but weakly supported.
  • Unknown / needs review: do not decide yet.

Non-Negotiable Coverage Gates

Before writing a final report or design document:

  1. Run a port inventory when possible.
  2. Include every MCU/processor symbol pin, not only pins that appear in the netlist. Mark missing nets as NC/未连接.
  3. Include every schematic connector pin, including empty/no-connect pins when the symbol exposes them.
  4. Compare schematic connector pins with PCB pads and call out mismatches.
  5. Render or inspect local schematic context for every signal still described as "unknown", "aux", "control", "out", "in", "feedback", or only by a cryptic name.
  6. Deep-trace each firmware-relevant control/feedback signal at least one active device beyond the MCU.
  7. List open questions explicitly. Do not silently drop pins, ports, PCB-only jumpers, or parser warnings.

Investigation Workflow

  1. Identify inputs:

    • Prefer .PrjPcb for full hierarchy.
    • Use .SchDoc when only one sheet is available.
    • Use .PcbDoc to confirm physical connectors, pads, PCB-only jumpers, layer side, and net names.
    • Treat screenshots/rendered SVG as required evidence when local labels or block titles matter.
    • On Windows, if altium_monkey is missing under the default python, check other installed launchers such as py -3.12 before falling back. Do not assume the dependency is absent until the Python environment has been checked.
  2. Build the first map:

    • Run scripts/port_inventory.py --schdoc ... --pcbdoc ... --out inventory.json when possible. Use the Python interpreter that can import altium_monkey, e.g. py -3.12 script.py ... on machines where default python is too new or lacks the package.
    • Run scripts/coverage_report.py inventory.json --format md --out coverage.md.
    • Check summary counts: MCU pins, connector pins, PCB-only ports, suspicious nets.
    • If there is no .PcbDoc, still run schematic inventory and mark PCB confirmation as unavailable.
  3. Create full MCU/processor coverage:

    • Use symbol pins as the source of completeness.
    • Merge each symbol pin with its netlist endpoint when connected.
    • For every pin, document: pin number, pin name/alternate functions, net, function, evidence, and firmware implication.
    • Mark unconnected pins as NC/未连接; for oscillator/reset/debug pins, say what must be configured or verified.
    • Watch for same-net surprises, such as one analog net tied to two MCU pins.
  4. Inventory external and board-level ports:

    • List schematic connector pins and PCB pad nets side by side.
    • Distinguish external ports from PCB-only jumpers, 0-ohm links, copper straps, test pads, fiducials, and marks.
    • Preserve pin-order mismatches or footprint extra pads instead of normalizing them away.
  5. Trace target nets:

    • Start from the user-named net, MCU pin, connector pin, or unknown signal.
    • Run scripts/trace_net_deep.py for multi-hop traces.
    • Follow through passives, transistor bases/gates, optocouplers, relays, sensors, switches, protection parts, and connector/load endpoints.
    • Stop at processors/large IC internals unless a datasheet or pin function is being checked.
  6. Inspect local schematic context:

    • Run scripts/render_region.py around target nets or coordinates.
    • Search the SVG text for nearby Chinese/English labels, block titles, notes, connector labels, and part values.
    • Use image/SVG labels as evidence, not as a replacement for netlist facts.
    • For any generic label like QD_CTRL, QD_OUT, AUX, IN, OUT, CTRL, FB, or AD, inspect the local region before naming the function.
  7. Infer function:

    • Combine netlist endpoints, topology, local labels, and PCB confirmation.
    • Confirm the final endpoint: load, sensor, communication interface, supply rail, feedback path, debug header, or board-only jumper.
    • State active polarity only when topology proves it. If a sensor's physical orientation or threshold matters, require datasheet or measurement.
  8. Reflect before output:

    • Ask what evidence would disprove the conclusion.
    • Reverse-check every claimed function from external connector/load back to MCU.
    • Check that all MCU pins, connectors, and suspicious nets from the coverage report are represented somewhere in the output.
Show full SKILL.md (263 more words)Show less

Output Contract

For a targeted circuit explanation:

text
Conclusion:
Evidence:
- netlist: ...
- topology: ...
- image/local label: ...
- pcb: ...
Reasoning:
Firmware/software meaning:
Risks / To confirm:

For a Markdown design document:

  1. Source files and parser confidence.
  2. System/block summary.
  3. Full MCU/processor pin table.
  4. External connector table with schematic and PCB evidence.
  5. PCB-only jumpers/test pads/terminals.
  6. Power rails and domains.
  7. Functional blocks: actuators, sensors, communications, metering, protections.
  8. Key net traces with evidence.
  9. Firmware/software mapping: GPIO/ADC/PWM/UART/I2C/timers, safe states, filters, faults, production tests.
  10. Confirmed facts, likely conclusions, and open questions.

Firmware-Oriented Rules

When turning hardware into firmware requirements:

  • Include startup safe state for every output.
  • Include pull-up/pull-down and expected idle level when proven.
  • Include debounce/filtering for switches, sensors, tach/FG, water level, tilt, and fault inputs.
  • Include ADC scaling/calibration only when resistor topology and reference are known.
  • Include production-test hooks for every actuator/sensor.
  • Mark active polarity as measurement_needed when a physical sensor, relay contact, optocoupler direction, or external harness can invert behavior.

Bundled Resources

  • Use scripts/port_inventory.py to collect schematic connectors, full symbol pins, MCU pins, suspicious named nets, local labels, and PCB ports/pads.
  • Use scripts/coverage_report.py to summarize completeness and highlight MCU pins, PCB-only ports, and suspicious nets.
  • Use scripts/trace_net_deep.py to trace a net through passives, drivers, optocouplers, relays, switches, and connectors.
  • Use scripts/render_region.py to render a full or cropped schematic SVG around a net endpoint or coordinate.
  • Use scripts/schdoc_probe.py for single-sheet .SchDoc net tracing and SVG rendering when project-level tools are unavailable.
  • Use scripts/generate_firmware_design_report.py when a Chinese Markdown firmware-design scaffold is useful.
  • Read references/topology-patterns.md when inferring function from connected components.
  • Read references/evidence-checklist.md before finalizing a design document or disputed answer.
  • Read references/firmware-from-hardware.md when generating embedded firmware/software design details.

© Tansuo2021, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 10 other files (scripts, references) in altium-circuit-investigator of Tansuo2021/ADtoKeil.

  • SKILL.md
  • agents/openai.yaml
  • references/evidence-checklist.md
  • references/firmware-from-hardware.md
  • references/topology-patterns.md
  • scripts/coverage_report.py
  • scripts/generate_firmware_design_report.py
  • scripts/port_inventory.py
  • scripts/render_region.py
  • scripts/schdoc_probe.py
  • scripts/trace_net_deep.py

Open the folder on GitHubat commit 56ab07d

Compare with similar skills

Altium Circuit Investigator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Altium Circuit Investigator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Altium Circuit Investigator this skillTansuo2021/ADtoKeil188—~2.1kAutomated safety check: PassGPL-3.0
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Fortify Developmentcoollabsio/coolify63k4 repos~1.9kAutomated safety check: PassMIT
Node Backend Development Guidelinesdiet103/claude-code-infrastructure-showcase10k2 repos~2kAutomated safety check: PassMIT
Laravel Best Practicesanonaddy/anonaddy4.9k13 repos~1.2kAutomated safety check: PassMIT
Laravel Actionscoollabsio/coolify63k—~2.4kAutomated safety check: PassApache-2.0

Similar skills

  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Backend & APIsAuto-check passed
  • Node Backend Development Guidelines

    diet103/claude-code-infrastructure-showcase

    Sets layered architecture and coding rules for Node.js, Express and TypeScript microservices, covering routes, controllers, services, repositories, Prisma, Sentry and Zod.

    10k GitHub starsUsed in 2 repos~2k tokens
    Backend & APIsAuto-check passed
  • Laravel Best Practices

    anonaddy/anonaddy

    Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code.

    4.9k GitHub starsUsed in 13 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • Laravel Actions

    coollabsio/coolify

    Build, refactor, and troubleshoot Laravel Actions using lorisleiva/laravel-actions.

    63k GitHub stars~2.4k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Nodejs Backend Patterns

    ever-works/ever-works

    Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices.

    162 GitHub starsUsed in 18 repos~4k tokens
    Backend & APIsAuto-check passed

More from Tansuo2021/ADtoKeil

  • Altium Schematic Reader

    Tansuo2021/ADtoKeil

    Read and reason about Altium Designer projects and schematics using structured data from .PrjPcb and .SchDoc files.

    188 GitHub stars~1.4k tokensUpdated 4 mo ago
    Auto-check passed
  • Keil

    Tansuo2021/ADtoKeil

    Keil MDK/uVision build skill for embedded projects. An agent skill from Tansuo2021/ADtoKeil.

    188 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Serial

    Tansuo2021/ADtoKeil

    Embedded serial-port debugging skill. An agent skill from Tansuo2021/ADtoKeil.

    188 GitHub stars~754 tokensUpdated 4 mo ago
    Auto-check passed
  • Workflow

    Tansuo2021/ADtoKeil

    Thin orchestration layer for embeddedskills. An agent skill from Tansuo2021/ADtoKeil.

    188 GitHub stars~625 tokensUpdated 4 mo ago
    Auto-check passed
  • Build and review maintainable embedded MCU firmware from schematic, PCB, netlist, pin-map, BOM, Keil/C51/MDK projects, vendor demo code, or hardware debug evidence.

    188 GitHub stars~1.5k tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Altium Circuit Investigator

What does Altium Circuit Investigator do?

Evidence-led analysis of Altium schematic and PCB designs using netlist tracing, full symbol-pin coverage, connector and PCB pad inventories, local schematic screenshots/SVG labels, component…. Altium Circuit Investigator is an agent skill from Tansuo2021/ADtoKeil. Evidence-led analysis of Altium schematic and PCB designs using netlist tracing, full symbol-pin coverage, connector and PCB pad inventories, local schematic screenshots/SVG labels, component topology, and explicit uncertainty.

When should I use Altium Circuit Investigator?

Altium Circuit Investigator fits situations like: Codex must understand; map hardware from .SchDoc; exported schematic images; including MCU pin maps.

How do I install Altium Circuit Investigator in Claude Code?

Run `npx skills add Tansuo2021/ADtoKeil --skill altium-circuit-investigator -a claude-code`. Or copy the skill folder (altium-circuit-investigator in Tansuo2021/ADtoKeil) into .claude/skills/altium-circuit-investigator in your project. Claude Code loads it when a task matches its description.

How do I install Altium Circuit Investigator in Codex?

Run `npx skills add Tansuo2021/ADtoKeil --skill altium-circuit-investigator -a codex`. Or copy the skill folder (altium-circuit-investigator in Tansuo2021/ADtoKeil) into .agents/skills/altium-circuit-investigator in your project. Codex loads it when a task matches its description.

Can I use Altium Circuit Investigator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Tansuo2021/ADtoKeil --skill altium-circuit-investigator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/altium-circuit-investigator, .gemini/skills/altium-circuit-investigator, .github/skills/altium-circuit-investigator and .opencode/skills/altium-circuit-investigator in your project.

What does Altium Circuit Investigator need to run?

Going by SKILL.md and its folder, Altium Circuit Investigator needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Altium Circuit Investigator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Altium Circuit Investigator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Altium Circuit Investigator use?

Altium Circuit Investigator is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Altium Circuit Investigator use?

About 2.1k tokens (SKILL.md is roughly 8.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.5k tokens, read only when the agent opens those files.

What are the alternatives to Altium Circuit Investigator?

Skills that share tags, products or a category with Altium Circuit Investigator: Configuring Horizon (coollabsio/coolify, 63k stars), Fortify Development (coollabsio/coolify, 63k stars), Node Backend Development Guidelines (diet103/claude-code-infrastructure-showcase, 10k stars) and Laravel Best Practices (anonaddy/anonaddy, 4.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Altium Circuit Investigator?

Tansuo2021 (a GitHub user) maintains it in Tansuo2021/ADtoKeil, which has 188 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on June 7, 2026.

Source: Tansuo2021/ADtoKeil on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.