Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .claude/skills/swamp-extension-driver/SKILL.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 15 additions & 1 deletion .claude/skills/swamp-extension-model/SKILL.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 3 additions & 2 deletions .claude/skills/swamp-model/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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".
Expand Down
12 changes: 11 additions & 1 deletion .claude/skills/swamp-report/SKILL.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion evals/promptfoo/generate_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ async function main(): Promise<void> {
}

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})`,
Expand Down
Loading