saleae-mcp-debugger

saleae-mcp-debugger is a skill for Claude Code, Codex from layer1labs/specsmith. It costs 0 tokens per session (969 once invoked), scanned A, original, MIT.

A procedure for capturing and decoding firmware signals with a Saleae Logic 2 device connected to an MCP server. Firmware is software running on hardware, and hardware-in-the-loop means testing it with the real device attached.

In plain words
What is it for?
Use it to discover connected devices, start and wait for captures, export analyzer data, close captures, and diagnose connection or version problems.
Why use it?
It gives a defined process for checking compatibility, connecting to Logic 2, collecting signal data, and handling incomplete or invalid tool responses.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to discover connected devices, start and wait for captures, export analyzer data, close captures, and diagnose connection or version problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/layer1labs/specsmith/saleae-mcp-debugger
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.

Any agent
npx skills add layer1labs/specsmith --skill saleae-mcp-debugger
Clone the repo
git clone --depth 1 https://github.com/layer1labs/specsmith

Made for: Claude Code, Codex.

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 saleae-mcp-debugger

README.md
[![agentmods](https://agentmods.dev/badge/skills/layer1labs/specsmith/saleae-mcp-debugger/github.svg)](https://agentmods.dev/skills/layer1labs/specsmith/saleae-mcp-debugger)
Your own site
<a href="https://agentmods.dev/skills/layer1labs/specsmith/saleae-mcp-debugger"><img src="https://agentmods.dev/badge/skills/layer1labs/specsmith/saleae-mcp-debugger/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 saleae-mcp-debugger

Your own site · 80×15
<a href="https://agentmods.dev/skills/layer1labs/specsmith/saleae-mcp-debugger"><img src="https://agentmods.dev/badge/skills/layer1labs/specsmith/saleae-mcp-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 969 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00969
Opus 5.5 $0.00000 $0.00388
Sonnet 5.5 $0.00000 $0.00194
Haiku 4.5 $0.00000 $0.00097

Measured 1mo ago against content hash 94225ae7c8e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

saleae-mcp-debugger 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.

docs/skills/saleae-mcp-debugger/SKILL.md · 102 lines

How it starts

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

Saleae Logic 2 MCP Debugger Skill

Use this skill for hardware-in-the-loop firmware capture and decode workflows through the Saleae Logic 2 MCP server.

1) Version compatibility check procedure

  • Minimum supported Logic 2 version: 2.4.0+ (validated on 2.4.44).
  • On startup, call initialize and capture:
    • MCP server version
    • API/protocol version
  • If version is missing, unknown, or below 2.4.0, fail fast with remediation:
    • Upgrade Logic 2 to 2.4.0 or newer.
    • Re-enable Automation/MCP endpoint.
    • Re-run initialization before issuing capture/analyzer calls.

2) MCP connection setup (HTTP transport, port 10530)

  • Transport endpoint: http://127.0.0.1:10530.
  • Ensure Logic 2 Automation settings expose the MCP server on localhost.
  • Parse tool results robustly: result payloads are text JSON in result.content[0].text.
  • Required parsing behavior:
    • Validate JSON before field access.
    • Handle missing keys with explicit error messages.
    • Preserve raw text payload in logs when parsing fails.

3) Capture lifecycle (start → wait → export → close)

  1. Discover device: get_devices.
  2. Begin capture: start_capture.
  3. Wait until completion or timeout: wait_capture.
  4. Optional explicit end: stop_capture (if capture mode requires it).
  5. Export data/artifacts: export_raw_data_csv, export_raw_data_binary, export_data_table_csv, or legacy_export_analyzer.
  6. Persist capture if needed: save_capture.
  7. Release resources: close_capture.

Core tools to support:

  • get_devices
  • start_capture
  • stop_capture
  • wait_capture
  • load_capture
  • save_capture
  • close_capture
  • add_analyzer
  • remove_analyzer
  • add_high_level_analyzer
  • remove_high_level_analyzer
  • export_raw_data_csv
  • export_raw_data_binary
  • export_data_table_csv
  • legacy_export_analyzer

4) SPI analyzer setup with known edge cases and fallback strategy

  • Use MCP field names exactly:
    • analyzerName
    • analyzerLabel
  • Known integration edge case:
    • Setting MISO may return:
      • [INVALID_REQUEST] Invalid value type for analyzer setting "MISO", expected number
    • This has been observed for tested encodings and should be treated as a known interoperability issue.
  • Fallback/retry strategy:
    1. Retry with numeric channel index values for all SPI channel fields.
    2. Retry with minimal SPI settings (Clock, Enable, MISO) and defaults for others.
    3. If still rejected, continue capture export without SPI analyzer and emit a structured warning with remediation.

Read the full file on GitHub · 102 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 · 102 lines · 0 tokens per session scan A 94225ae7c8e8

Subscribe to this mod's changes

saleae-mcp-debugger is a skill published in the GitHub repository layer1labs/specsmith (8 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 969 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.

Related

Other skills, from other repositories

analyze-kernel-bottleneck

Systematically identify whether a GPU kernel is compute-bound, memory-bound, or latency-bound using roofline analysis, occupancy calculations, compute/load ratio per tile, and SASS instruction inspection. Produces a decision matrix for optimization strategy selection (cp.async, warp interleaving, tiling…

pjt222/agent-almanac · 77 tokens

dependency-scan

Phase 1 mandatory dependency scan. Runs all 6 checks in a single invocation - route hrefs, component import consumers, shared type/utility consumers, test file references, FK references, access control policies. Returns a structured report per check with exact file paths and line numbers. Invoke once with the full…

marcoguillermaz/Tierward · 84 tokens

systematic-debugging

Enforce root-cause investigation before any fix. Use when encountering a bug, test failure, unexpected behavior, or build error.

marcoguillermaz/Tierward · 31 tokens

pet-development

Use when developing, running, or debugging Commodore PET software (Commodore BASIC or 6502 assembly) on the VICE emulator with the pet CLI or the pet-tools MCP server. Covers the build/run/observe/debug loop, the stopped-state discipline, PET text encodings, and per-model differences.

nschneir/PET-Project · 66 tokens

gke-ai-troubleshooting-tpu-dynamic-slices-monitoring

Monitors, troubleshoots, and manages GKE TPU Dynamic Slices custom resources. Use when checking TPU slice lifecycle states, troubleshooting slice provisioning failures, validating single-slice or multi-slice (JobSet) workload manifests, or safely patching stuck finalizers and disabling the slice controller. Don't use…

google/skills · 107 tokens

gke-ai-troubleshooting-tpu-vbar-oom

Diagnoses and prevents vbarcontrolagent segfaults, out-of-memory (OOM) errors, and TPU device initialization failures on TPU v6e nodes in GKE caused by race conditions during TPU device resets or high-frequency metrics polling. Use when troubleshooting vbarcontrolagent crashes, memory cgroup OOMs in serial console…

google/skills · 125 tokens