Skip to main content

Skill Converter

@keeb/skill-converterv2026.10.15.2· 11d agoBEHAVIORSWORKFLOWSSKILLSACCEPTED WARNINGS
01README

Convert Claude Code skills into swamp workflows: finds registry extensions for the services a skill uses, has Claude plan the conversion, then writes the workflow, scaffolds missing extension models, and optionally pulls the extensions.

02Behaviors1
@keeb/skill-converterv2026.10.15.2skill_converter.ts
fn parse(path: string)
Read a skill (SKILL.md file or skill directory) and extract its structure
ArgumentTypeDescription
pathstringPath to a SKILL.md file or a skill directory, absolute or relative to the repo
fn discover(extraQueries?: array, useClaude?: boolean, perQuery?: number, pinned?: array, maxExtensions?: number)
Search the swamp-club registry for extensions covering the services the skill uses
ArgumentTypeDescription
extraQueries?arrayAdditional registry search queries
useClaude?booleanAsk Claude for service names and queries; when false, only detected CLI tools and extraQueries are searched
perQuery?numberRegistry hits kept per query (1-25)
pinned?arrayExtensions always included in the catalog regardless of search results (e.g. the LLM integration to use for judgment steps)
maxExtensions?numberExtensions hydrated with type metadata for planning (1-40)
fn plan(localTypes?: array, guidance?: string, maxRepairs?: number)
Ask Claude for a conversion plan grounded in the discovered catalog, and validate it
ArgumentTypeDescription
localTypes?arrayModel types already installed in the target repo that the plan may use (from `swamp model type search --json`)
guidance?stringExtra instructions for the conversion (scope, naming, constraints)
maxRepairs?numberTimes Claude may revise a plan that fails validation (0-3)
fn apply(workflowsDir?: string, extensionsDir?: string, overwrite?: boolean, install?: boolean, validate?: boolean)
Write the planned workflow and extension scaffolds into the repo, and optionally pull extensions
ArgumentTypeDescription
workflowsDir?stringWhere to write the workflow, relative to the repo
extensionsDir?stringWhere to write model scaffolds
overwrite?booleanOverwrite existing scaffold files (the workflow file is always updated in place, keeping its id)
install?booleanRun `swamp extension pull` for each planned extension
validate?booleanRun `swamp workflow validate` on the written workflow and record the result (expect failures for extensions not yet pulled)

Resources

skill(infinite)— Parsed skill: frontmatter, body, references, detected CLI tools and hosts
catalog(infinite)— Registry extensions (with types, methods and arguments) relevant to the skill
plan(infinite)— Validated conversion plan: extensions to pull/create/extend, vault secrets, workflow
conversion(infinite)— What apply wrote to the repo, what it pulled, and what is left to do

Files

workflowYaml(application/yaml)— Generated workflow YAML
scaffold(text/typescript)— Generated extension model scaffold (TypeScript)
03Workflows1
@keeb/skill-to-swamp9ad723ff-a152-4681-b303-d761b7d66325

Convert a Claude Code skill into swamp automation: parse the SKILL.md, find registry extensions for the services it uses, have Claude plan the conversion (via the local claude CLI), then write the workflow and extension scaffolds into the repo and optionally pull the extensions.

convertparse → discover → plan → apply on one converter instance
1.parse— Read the skill and extract its structure
2.discover— Search the registry for extensions covering the skill's services
3.plan— Have Claude produce and validate a conversion plan
4.apply— Write the workflow and scaffolds; pull extensions when install is true
04Skills1
skill-converter1 file
05Previous Versions1
2026.10.15.1yanked
06Stats
A
93 / 100
Downloads
27
Archive size
115.4 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License1/2partial

    no SPDX license declared

  • Verified public repository2/2earned

08Platforms
09Labels