swamp-getting-started

Guides new swamp users through creating, running, and inspecting a first model via a state-machine checklist.

2|Updated Oct 16, 2021
One-click install
npx skills add https://github.com/pattobrien/dotfiles --skill swamp-getting-started-pattobrien
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: swamp-getting-started
Source: https://github.com/pattobrien/dotfiles/tree/main/claude/skills/swamp-getting-started
Command: npx skills add https://github.com/pattobrien/dotfiles --skill swamp-getting-started-pattobrien

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? New swamp users often don't know where to begin: which model type to pick, how to create a model, run a method, or read the output. This Skill provides an interactive, step-gated onboarding walkthrough that takes a user from zero to a working first model with verification at every stage. ## Core Features & Use Cases - State-machine onboarding: Progresses through five gated states (goals understood, model created, method run, output inspected, graduated), refusing to advance until each verification passes. - Model type resolution: Searches local types and the extension registry, pulls matching extensions, and falls back to a command/shell model for ad-hoc goals. - Failure recovery and delegation: Provides per-state recovery steps for validation errors, failed runs, and missing output, plus a delegation map routing next steps (workflows, vaults, extensions) to the swamp skill. - Use Case: A user who just installed swamp says "show me how swamp works" — the Skill checks for existing models, asks about their goal, finds a matching model type, creates and validates the model, runs a read-only method, inspects the output, and suggests concrete next steps. ## Quick Start Ask the assistant to walk you through getting started with swamp by creating and running your first model.

Frequently Asked Questions about swamp-getting-started

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

FAQPage Schema
How do I get started with swamp after installing it?▼

Start by stating your automation goal in plain words. The walkthrough searches local model types and the extension registry for a match, creates a model with swamp model create, validates it, runs a read-only method, and shows the output step by step.

How do I create my first swamp model?▼

First find a model type with swamp model type search or swamp extension search, pulling an extension if needed. Then run swamp model create <type> <name>, edit the generated YAML to match your goal, and confirm it passes swamp model validate.

What happens if I already have swamp models set up?▼

The walkthrough runs swamp model search first; if models already exist, it tells you that you are past onboarding and stops. You can then describe what you want to work on and be routed to the appropriate swamp guide.

Why did my swamp model validation fail?▼

Validation usually fails due to missing required arguments, invalid argument values, or a wrong file path. Check the type schema with swamp model type describe, fix the model YAML, then re-run swamp model validate before continuing.

When should I use command/shell versus a typed model in swamp?▼

Use command/shell only for genuine one-off ad-hoc commands like checking disk space. For wrapping CLI tools or building integrations, create a typed model or custom extension with proper schemas instead.

How do I store credentials for swamp models securely?▼

Create a vault with swamp vault create local_encryption, store secrets with swamp vault put, and reference them in model YAML using the vault.get expression. This keeps API keys out of plain configuration files.