scope-logic-analyzer

Test equipment integration for signal analysis (oscilloscope and logic analyzer)

509 stars

Best use case

scope-logic-analyzer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Test equipment integration for signal analysis (oscilloscope and logic analyzer)

Teams using scope-logic-analyzer should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/scope-logic-analyzer/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/embedded-systems/skills/scope-logic-analyzer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/scope-logic-analyzer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How scope-logic-analyzer Compares

Feature / Agentscope-logic-analyzerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Test equipment integration for signal analysis (oscilloscope and logic analyzer)

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Oscilloscope/Logic Analyzer Skill

## Overview

This skill provides test equipment integration for signal analysis, enabling automated measurements, protocol decoding, and timing verification using oscilloscopes and logic analyzers.

## Capabilities

### Oscilloscope Operations
- Channel configuration
- Trigger setup and management
- Measurement automation
- Waveform capture and export
- Math and FFT operations
- Cursor measurements
- Mask testing

### Logic Analyzer Operations
- Digital channel configuration
- Protocol decoder setup
- Trigger configuration
- Capture depth management
- State vs timing mode
- Parallel bus capture

### Signal Measurements
- Rise/fall time measurement
- Frequency and period
- Duty cycle analysis
- Amplitude measurements
- Pulse width measurement
- Signal integrity metrics
- Eye diagram analysis

### Protocol Decoding
- I2C protocol decoding
- SPI protocol decoding
- UART/RS-232 decoding
- CAN/LIN decoding
- Custom protocol definitions

### Timing Analysis
- Setup and hold time verification
- Propagation delay measurement
- Clock jitter analysis
- Timing margin verification
- Glitch detection

### FFT and Frequency Analysis
- Spectrum analysis
- Harmonic analysis
- THD calculation
- EMI pre-compliance
- Noise floor analysis

### Instrument Integration
- Keysight/Agilent instruments
- Tektronix oscilloscopes
- Rigol oscilloscopes
- Saleae Logic analyzers
- Sigrok/PulseView
- SCPI command automation

## Target Processes

- `signal-integrity-testing.js` - Signal quality validation
- `hardware-bring-up.js` - Initial signal verification
- `real-time-performance-validation.js` - Timing validation

## Dependencies

- Oscilloscope software/drivers
- Logic analyzer software (Saleae Logic, Sigrok)
- VISA/SCPI libraries
- Protocol decoder plugins

## Usage Context

This skill is invoked when tasks require:
- Signal integrity verification
- Timing analysis and validation
- Protocol debugging
- Hardware validation
- EMI pre-compliance testing

## Measurement Examples

### Rise Time Measurement
```python
scope.channel[1].enabled = True
scope.channel[1].scale = 1.0  # V/div
scope.trigger.source = "CH1"
scope.trigger.level = 1.65  # V
scope.trigger.slope = "RISE"

measurement = scope.measure.rise_time("CH1")
print(f"Rise time: {measurement * 1e9:.2f} ns")
```

### Logic Analyzer Capture
```python
analyzer.set_sample_rate(24e6)  # 24 MHz
analyzer.set_capture_depth(10e6)  # 10M samples
analyzer.add_decoder("i2c", sda=0, scl=1)
analyzer.trigger.add_condition("i2c_start")
analyzer.start_capture()
```

## Configuration

```yaml
equipment:
  oscilloscope:
    type: keysight | tektronix | rigol
    connection: visa | usb | ethernet
    address: "TCPIP::192.168.1.100::INSTR"
  logic_analyzer:
    type: saleae | sigrok
    sample_rate: 24MHz
    channels: 8
```

Related Skills

terraform-analyzer

509
from a5c-ai/babysitter

Specialized skill for analyzing Terraform configurations. Supports parsing, security scanning (tfsec, checkov), cost estimation (infracost), drift detection, and plan visualization across AWS, Azure, and GCP.

db-query-analyzer

509
from a5c-ai/babysitter

Analyze database query performance with execution plans and index recommendations

code-complexity-analyzer

509
from a5c-ai/babysitter

Analyze code complexity metrics including cyclomatic complexity, code smells, and technical debt

cloudformation-analyzer

509
from a5c-ai/babysitter

Validate and analyze AWS CloudFormation templates for security and best practices

semantic-code-analyzer

509
from a5c-ai/babysitter

LLM-powered semantic analysis of code diffs to detect business-logic trojans

sast-analyzer

509
from a5c-ai/babysitter

Static Application Security Testing orchestration and analysis. Execute Semgrep, Bandit, ESLint security plugins, CodeQL, and other SAST tools. Parse, prioritize, and deduplicate findings across multiple tools with remediation guidance.

crypto-analyzer

509
from a5c-ai/babysitter

Cryptographic implementation analysis and validation for encryption algorithms, key sizes, and certificate management

semver-analyzer

509
from a5c-ai/babysitter

Analyze code changes and determine semantic version bumps. Detect breaking changes automatically, suggest version bump (major/minor/patch), generate changelog entries, and validate version consistency.

scope-permission-designer

509
from a5c-ai/babysitter

Design and implement scoped permission models

api-diff-analyzer

509
from a5c-ai/babysitter

Compare API specifications to detect breaking changes. Compare OpenAPI spec versions, categorize changes by severity, generate migration guides, and block breaking changes in CI.

process-analyzer

509
from a5c-ai/babysitter

Analyze processes, identify workflows, define boundaries and scope, and map process requirements for specialization creation.

protocol-analyzer

509
from a5c-ai/babysitter

Serial protocol analysis and debugging for common embedded interfaces (I2C, SPI, UART)