Swampのロゴ

Swamp

組織
swamp-club
swamp

Swamp CLI — モデルの作成と実行、ワークフローの構築と検証、データの検索と管理、Vaultシークレットの保存と取得、拡張機能の開発と公開、リポジトリの初期化、レポートの実行、課題の登録、エラーのトラブルシューティングに対応します。swampコマンド(swamp model、swamp workflow、swamp vault、swamp data)、拡張機能の開発、リポジトリのセットアップ、診断に関する質問で起動します。スタートガイドやオンボーディング(swamp-getting-startedを使用)、プルリクエスト、git操作、worktree管理、cronやエージェントのスケジュール設定、swampと無関係な一般的なコーディング作業には使用しないでください。

Add to TypingMind

概要

公開者swamp-club
リポジトリswamp
スキル名swamp
スター
647
フォーク
46
同梱ファイル
103
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 103個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    swamp-clubがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Swamp」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/swamp-club/swamp/tree/main/.claude/skills/swamp
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/swamp-club/swamp.git /tmp/swamp
mkdir -p .claude/skills
cp -r /tmp/swamp/.claude/skills/swamp .claude/skills/swamp
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSwampを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にSwampを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Swampは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Swamp

Core Concepts

  • Models — typed resource definitions exposing methods (create, stop, destroy, sync).
  • Data — versioned state snapshots produced by method runs; referenced via CEL expressions.
  • Workflows — declarative DAGs chaining model methods with guard expressions for idempotent execution and assert steps for validation.
  • Vaults — secret storage referenced by models at runtime.
  • Extensions — TypeScript packages adding model types, vault backends, datastores, reports, and webhook handlers.
  • Grants — authorization rules for swamp serve access control.
  • Serve — exposes the repo over the network with TLS and authentication.

Routing Table

Route to the right guide based on what the user needs.

User intentGuide
Models — create, run, edit, delete, search typesreferences/model/guide.md
Workflows — create, run, validate, DAG, historyreferences/workflow/guide.md
Data — list, query, versions, GC, deletereferences/data/guide.md
Vaults — create, store/read secrets, expressionsreferences/vault/guide.md
Reports — run, configure, view, filterreferences/report/guide.md
Repository — init, upgrade, datastores, sourcesreferences/repo/guide.md
Extensions — create models/vaults/datastores/reports/webhooksreferences/extension/guide.md
Publishing — push extensions to registry, deprecatereferences/extension-publish/guide.md
Issues — file bugs, features, security reportsreferences/issue/guide.md
Run tracking — active runs, stale detection, diagnosticsreferences/model/guide.md
Architecture — which primitive to use, design trade-offsreferences/architecture/guide.md
Sharing — promote solo repo to team, datastore + vault setupreferences/share/guide.md
Serve — auth, grants, access control, tokens, OAuthreferences/serve/guide.md
Troubleshooting — errors, health checks, diagnosticsreferences/troubleshooting/guide.md

Common Commands

bash
# Models
swamp model create <type> <name>               # create a model definition
swamp model @<type> method run <method> <name> # run a method on a model
swamp model get <name> --json                  # inspect current model state
swamp model type search [query]                # find available model types
swamp model list                               # list all models in the repo

# Data
swamp data list <name>                         # list data versions for a model
swamp data query '<CEL predicate>'             # query data with CEL expressions
# read one item's latest content (`swamp data get` is deprecated)
swamp data query 'model("<model>") && name == "<data>"' --select content

# Workflows
swamp workflow create <name>                   # create a new workflow
swamp workflow validate <name>                 # validate DAG before running
swamp workflow run <name>                      # execute a workflow
swamp workflow run <name> --input key=value    # execute with inputs
swamp workflow resume <name>                   # resume a suspended workflow
swamp workflow resume <name> --run <id>        # retry a failed run's failed steps
swamp workflow resume <name> --from <step>     # re-enter failed run at step
swamp workflow history search --json           # search run history

# Run tracking
swamp run history                              # recent runs (last 24h)
swamp run history --active                     # what's running right now?
swamp run doctor                               # diagnose stale/orphaned runs
swamp run doctor --fix                         # auto-reap stale runs

# Vaults, Reports, Extensions
swamp vault create <type> <name>               # create a vault for secrets
swamp report run <name>                        # run a report
swamp extension init <name>                    # scaffold a new extension

Workflow

  1. Route — match intent to a guide in the routing table.
  2. Load — read the guide; load its reference.md if needed, deeper references/ only when the guide says to.
  3. Validate — before running any workflow: swamp workflow validate <name>. Before destructive methods (delete, stop, destroy): swamp model get <name> --json to confirm the target exists and is in the expected state. Proceed only when validation passes.
  4. Verify args — run swamp help <subcommand> (e.g. swamp help model method run) to confirm exact flags and arguments before executing. The output is structured JSON — the canonical CLI schema.
  5. Execute — run the command.
  6. On failure — load references/troubleshooting/guide.md and diagnose before retrying or changing definitions.

Rules

  1. Use the routing table, not memory. Don't answer from cached knowledge about swamp commands — always load the current guide.
  2. Consult the architecture guide for design decisions. Before choosing between primitives (model vs. workflow vs. extension vs. report) or explaining a design trade-off, load references/architecture/guide.md and cite the design doc you relied on.
  3. Use swamp commands, don't go around them. Query data with swamp data query, not by grepping .swamp/ files. Interact with resources through model methods, not raw CLI tools when a model type already wraps the API — check with swamp model type search. Composing with --json output (e.g. piping through jq) is fine — the anti-pattern is bypassing swamp entirely.
  4. Verify flags with swamp help before executing. swamp help <command> outputs the full CLI schema as structured JSON — every subcommand, argument, and option. Always run it to confirm exact flags before executing a swamp command (workflow step 4). Do not guess flags from memory.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

ほかに43個のファイルがあります。

よくある質問

AIスキル「Swamp」では何ができますか?

Swamp CLI — モデルの作成と実行、ワークフローの構築と検証、データの検索と管理、Vaultシークレットの保存と取得、拡張機能の開発と公開、リポジトリの初期化、レポートの実行、課題の登録、エラーのトラブルシューティングに対応します。swampコマンド(swamp model、swamp workflow、swamp vault、swamp data)、拡張機能の開発、リポジトリのセットアップ、診断に関する質問で起動します。スタートガイドやオンボーディング(swamp-getting-startedを使用)、プルリクエスト、git操作、worktree管理、cronやエージェントのスケジュール設定、swampと無関係な一般的なコーディング作業には使用しないでください。

TypingMindでSwampを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Swampはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSwampをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/swamp-club/swamp/tree/main/.claude/skills/swampを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Swampを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Swampで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSwampを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Swamp」は無料ですか?

swamp-clubがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇