swamp-troubleshooting

Diagnose swamp CLI failures through tiered health checks, error inspection, tracing, and source reading.

Updated May 27, 2026
One-click install
npx skills add https://github.com/alvagante/swamp-construction-kit --skill swamp-troubleshooting-alvagante
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: swamp-troubleshooting
Source: https://github.com/alvagante/swamp-construction-kit/tree/main/.agents/skills/swamp-troubleshooting
Command: npx skills add https://github.com/alvagante/swamp-construction-kit --skill swamp-troubleshooting-alvagante

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? When swamp commands fail, run slowly, or behave unexpectedly, it is hard to know where to start debugging. This Skill provides a structured four-tier diagnostic loop that matches symptoms to the cheapest diagnostic tool first, avoiding guesswork and unnecessary deep dives. ## Core Features & Use Cases - Tiered diagnostics: Escalate through health checks (swamp doctor), error inspection (stderr, --json, exit codes), OpenTelemetry tracing, and source code reading only as needed. - Symptom-to-tier index: Jump directly to the right tier for issues like empty audit logs, extensions not loading, swamp-warning: lines, slow workflows, or preflight check failures. - Use Case: A user's extension model does not appear in swamp model type search. The Skill directs them to run swamp doctor extensions --json, inspect stderr for swamp-warning: lines, and only fetch source if those tiers come up clean. ## Quick Start Ask the assistant to diagnose why your swamp workflow is failing or running slowly, and it will walk through the appropriate diagnostic tier.

Frequently Asked Questions about swamp-troubleshooting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose why a swamp command is failing?▼

Start by reading stderr and re-running the command with --json to see structured error details and exit codes. If the failure maps to a known integration, run the matching swamp doctor command first, since it names the failing piece directly.

How do I check if swamp extensions are loading correctly?▼

Run swamp doctor extensions, which forces a catalog rescan and reports per-registry failures for models, vaults, drivers, datastores, and reports. Use --json for CI gating and --verbose for per-source detail.

Why is my swamp extension not appearing in model type search?▼

Run swamp doctor extensions --json to identify load failures, then check stderr for swamp-warning: lines such as missing CalVer version fields. Verify deno check passes and confirm the file sits in the auto-discovered extensions/models directory.

How do I trace a slow swamp workflow with OpenTelemetry?▼

Set OTEL_EXPORTER_OTLP_ENDPOINT to a collector such as local Jaeger and re-run the workflow. Inspect the span waterfall to find the longest swamp.workflow.step spans and drill into model method and driver execute spans.

When should I read swamp source code instead of using doctor commands?▼

Fetch source with swamp source fetch only when doctor commands, error inspection, and tracing fail to explain the behavior, or when the question is about internal implementation. Source reading is the most expensive diagnostic tier.

How do I skip a failing preflight check in a swamp method?▼

Use --skip-check <name> to skip one check or --skip-checks to skip all when running a method. Checks listed as required in the model definition's checks.require cannot be skipped via CLI flags and must be edited in the YAML definition.