diff --git a/.claude/skills/swamp-extension-driver/SKILL.md b/.claude/skills/swamp-extension-driver/SKILL.md index b11ffb96..1909a5ab 100644 --- a/.claude/skills/swamp-extension-driver/SKILL.md +++ b/.claude/skills/swamp-extension-driver/SKILL.md @@ -1,6 +1,15 @@ --- name: swamp-extension-driver -description: Create user-defined TypeScript execution drivers for swamp — implement ExecutionDriver to control where and how model methods run. Use when users want custom execution environments (remote servers, cloud functions, custom containers). Triggers on "custom driver", "extension driver", "execution driver", "ExecutionDriver", "extensions/drivers", "create driver", "new driver type", "driver plugin", "remote execution", "driver implementation". +description: > + Create user-defined TypeScript execution drivers for swamp — implement the + ExecutionDriver interface to control where and how model methods run. Use + ONLY when the user wants to author, build, or implement a new driver in + extensions/drivers/. Do NOT use for running workflows on remote + infrastructure (that is swamp-workflow), running existing models (that is + swamp-model), or debugging driver issues (that is swamp-troubleshooting). + Triggers on "custom driver", "extension driver", "execution driver", + "ExecutionDriver", "extensions/drivers", "create driver", "new driver type", + "driver plugin", "driver implementation", "implement ExecutionDriver". --- # Swamp Extension Driver diff --git a/.claude/skills/swamp-extension-model/SKILL.md b/.claude/skills/swamp-extension-model/SKILL.md index 0a76e694..13a01921 100644 --- a/.claude/skills/swamp-extension-model/SKILL.md +++ b/.claude/skills/swamp-extension-model/SKILL.md @@ -1,6 +1,20 @@ --- name: swamp-extension-model -description: Create, test, and develop extension models for swamp — define Zod schemas, implement model interfaces, smoke test against live APIs, and write manifest.yaml. Use when creating models, writing manifest.yaml, testing extensions, or developing models. Covers all extension types (models, vaults, drivers, datastores, reports). Triggers on "create model", "new model type", "custom model", "extension model", "user model", "typescript model", "extend swamp", "build integration", "zod schema", "model plugin", "deno model", "extensions/models", "model development", "implement model", "smoke test", "test extension", "verify model", "test against API", "before push test", "test extension from another repo", "source extension loading", "manifest", "manifest.yaml", "write manifest". +description: > + Create, test, and develop new extension models for swamp — define Zod + schemas, implement model interfaces, smoke test against live APIs, and write + manifest.yaml. Use ONLY when the user wants to author, build, or implement a + new TypeScript model in extensions/models/. Do NOT use for running or + executing existing models (that is swamp-model), orchestrating models in + workflows (that is swamp-workflow), debugging model errors (that is + swamp-troubleshooting), or publishing, pushing, or releasing extensions (that + is swamp-extension-publish). Triggers on "create model", "new model type", + "custom model", "extension model", "user model", "typescript model", "extend + swamp", "build integration", "zod schema", "model plugin", "deno model", + "extensions/models", "model development", "implement model", "smoke test", + "test extension", "verify model", "test against API", "before push test", + "test extension from another repo", "source extension loading", "manifest", + "manifest.yaml", "write manifest". --- # Swamp Extension Model diff --git a/.claude/skills/swamp-model/SKILL.md b/.claude/skills/swamp-model/SKILL.md index b04f0a88..919042ce 100644 --- a/.claude/skills/swamp-model/SKILL.md +++ b/.claude/skills/swamp-model/SKILL.md @@ -7,8 +7,9 @@ description: > inputs, running or executing methods, viewing outputs, or managing lifecycle (edit, delete). Do NOT use when the user wants to build, create, or implement a custom model type, Zod schema, or TypeScript model — that is - swamp-extension-model. Triggers on "swamp model", "model type", "model - schema", "create input", "type search", "type describe", "run method", + swamp-extension-model. Do NOT use for orchestrating or chaining models in + workflows — that is swamp-workflow. Triggers on "swamp model", "model type", + "model schema", "create input", "type search", "type describe", "run method", "execute method", "validation method", "transform method", "enrichment model", "model validate", "model delete", "model edit", "model output", "output logs", "output format", "CEL expression". diff --git a/.claude/skills/swamp-report/SKILL.md b/.claude/skills/swamp-report/SKILL.md index ceef9a0d..3156529d 100644 --- a/.claude/skills/swamp-report/SKILL.md +++ b/.claude/skills/swamp-report/SKILL.md @@ -1,6 +1,16 @@ --- name: swamp-report -description: Create, register, configure, and run reports for swamp models and workflows. Use when creating report extensions, configuring reports in definition YAML, running reports via CLI, or viewing report output. Triggers on "report", "swamp report", "model report", "create report", "run report", "report extension", "report label", "skip report", "report output", "cost report", "audit report", "workflow report", "report results". +description: > + Create, register, configure, and run reports for swamp models and workflows. + Use when creating report extensions, configuring reports in definition YAML, + running reports via CLI, viewing report output, or accessing execution data + through the report API (dataRepository, UnifiedDataRepository, dataHandles, + MethodReportContext). Do NOT use for debugging report execution failures — + that is swamp-troubleshooting. Triggers on "report", "swamp report", "model + report", "create report", "run report", "report extension", "report label", + "skip report", "report output", "cost report", "audit report", "workflow + report", "report results", "dataRepository", "UnifiedDataRepository", + "dataHandles", "report context", "report data access". --- # Swamp Report Skill diff --git a/evals/promptfoo/generate_config.ts b/evals/promptfoo/generate_config.ts index 3988a521..8a53b2d3 100644 --- a/evals/promptfoo/generate_config.ts +++ b/evals/promptfoo/generate_config.ts @@ -240,7 +240,7 @@ async function main(): Promise { } const systemMessage = - "You are a skill router for swamp, an AI-native automation framework. Your ONLY job is to route user requests to the correct skill by making a tool call. You MUST call exactly one tool for every request. NEVER respond with text. NEVER ask clarifying questions. Even if the request is vague or missing details, route it to the best-matching skill based on the topic and keywords. The skill itself will handle gathering any missing information from the user."; + "You are a skill router for swamp, an AI-native automation framework. Your ONLY job is to route user requests to the correct skill by making a tool call. You MUST call exactly one tool for every request. A text-only response with no tool call is ALWAYS wrong — every request has a best-matching skill. NEVER respond with text. NEVER ask clarifying questions. Even if the request is vague or missing details, route it to the best-matching skill based on the topic and keywords. The skill itself will handle gathering any missing information from the user."; const config = { description: `Swamp skill trigger routing evaluation (${modelAlias})`,