Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

swampswamp 测试

Agent Skill

swamp 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

20,342

周安装

815

GitHub Stars

公开资料未说明

下载量

6,585
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:swamp(swamp 测试)
来源仓库:https://github.com/umag/swamp
安装命令:
openclaw skills install swamp
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install swamp

简介

使用 Swamp 对任何 API 进行建模、测试并通过新功能丰富 *Claw — 从创意到工作集成的完整生命周期

SKILL.md

name
swamp
description
Model any API with Swamp, test it, and enrich *Claw with new capabilities — full lifecycle from idea to working integration
version
0.2.0
metadata
openclaw
requires
bins
emoji
🐊
homepage
https://github.com/systeminit/swamp

Swamp — API Modeling & *Claw Enrichment

You are an AI agent that uses Swamp to model any API, test it, and turn it into a reusable *Claw capability. Swamp is an AI-native automation CLI that represents external resources (APIs, CLIs, cloud services) as typed models with executable methods and composable workflows.

Repository Setup

Before any operation, check if the current directory is a swamp repository. If not, initialize one:

swamp repo init --tool claude

This creates a .swamp/ directory with the necessary structure. Use --tool claude to set up the AI agent integration for Claude/OpenClaw.

API Modeling Workflow

Step 1: Discover Model Types

Find available model types to understand what kinds of resources can be modeled:

swamp model type search
swamp model type describe <type>

The command/shell type is the most versatile — it can model any API via shell commands (curl, httpie, CLI tools).

Step 2: Create a Model

Create a new model definition for the API:

swamp model create <type> <name>

Example: swamp model create command/shell github-issues

Step 3: Edit the Model Definition

Open and edit the model's YAML definition to configure endpoints, authentication, parameters, and methods:

swamp model edit <name>

When editing, define:

  • Methods: The operations this API supports (list, create, update, delete)
  • Inputs: Parameters each method accepts
  • Authentication: Reference vault secrets via CEL expressions
  • Commands: The actual shell commands (curl calls, CLI invocations) that execute each method

Step 4: Validate

Ensure the model definition is well-formed:

swamp model validate <name>

Fix any validation errors before proceeding.

Testing & Execution

Run a Method

Execute a method on your model to test it:

swamp model method run <model_name> <method_name>

Inspect Results

Check outputs, logs, and data from the execution:

swamp model output get <output_id_or_model_name>
swamp model output logs <output_id>
swamp model output data <output_id>

Review History

See past executions:

swamp model method history search
swamp model method history get <output_id_or_model_name>

Iterate on the model definition until methods return the expected results.

Workflow Orchestration

Chain multiple model methods into automated workflows with dependency ordering:

swamp workflow create <name>
swamp workflow edit <name>
swamp workflow validate <name>
swamp workflow run <name>

Workflows support:

  • Parallel job execution
  • Dependency ordering between jobs
  • Trigger conditions via CEL expressions
  • Cross-model references (one model's output feeds into another)

Check workflow results:

swamp workflow history get <name>
swamp workflow history logs <run_id>

Vault & Credentials

Store API keys and secrets securely — never hardcode them:

swamp vault create <type> <name>
swamp vault put <vault_name> <KEY=value>
swamp vault list-keys <vault_name>

Reference secrets in model definitions using CEL expressions like vault.get("my-vault", "API_KEY").

Data Management

Inspect outputs and artifacts across models:

swamp data list <model_name>
swamp data get <model_name> <data_name>
swamp data search <query>

Swamp-Club Authentication

Swamp-club is the community registry and collaboration layer. Authenticate to push/pull extensions and share work:

swamp auth login
swamp auth login --server <url>
swamp auth whoami
swamp auth logout
  • swamp auth login opens a browser-based login flow by default
  • Use --no-browser with --username and --password for headless/CI environments
  • Set SWAMP_CLUB_URL env var to target a custom server
  • Always verify identity with swamp auth whoami after login

Authentication is required before pushing extensions to the registry.

Extensions

Extensions expand Swamp's model types and capabilities. Use the extension registry to share and reuse custom models:

Pull an Extension

Install a community or team extension from the registry:

swamp extension pull <extension_name>
swamp extension pull <extension_name> --force

Use --force to overwrite existing files without prompting.

List Installed Extensions

See what extensions are currently installed:

swamp extension list

Push an Extension

Publish your own extension to the swamp registry (requires swamp auth login first):

swamp extension push <manifest-path>
swamp extension push <manifest-path> --dry-run

Use --dry-run to build the archive locally and verify it without actually publishing. Use -y to skip confirmation prompts.

Remove an Extension

Uninstall a pulled extension and clean up its files:

swamp extension remove <extension_name>

Extension Workflow

The typical flow for extending Swamp with new model types:

  1. Create custom TypeScript model definitions in extensions/models/
  2. Test locally with swamp model create <your-type> <name>
  3. Package with a manifest file
  4. Dry-run: swamp extension push ./manifest.yaml --dry-run
  5. Publish: swamp extension push ./manifest.yaml
  6. Others install: swamp extension pull <your-extension>

Enriching *Claw with New Capabilities

Once a Swamp model is validated and working, turn it into a standalone *Claw skill:

  1. Export the model: Use swamp model get <name> --json to extract the full definition
  2. Generate a SKILL.md: Create a new skill file that wraps the Swamp model's methods as agent instructions
  3. Include setup instructions: Document the required env vars, binaries, and vault configuration
  4. Publish to ClawHub: Share the skill with the community via clawhub publish

The generated skill should:

  • Require swamp in its bins dependency
  • Reference the swamp repo and model by name
  • Map each model method to a clear agent instruction
  • Include examples of typical invocations

Sharing via Extensions

For reusable model types (not just individual models), publish as a Swamp extension:

  1. Build the custom model type in extensions/models/
  2. Push to the Swamp registry: swamp extension push ./manifest.yaml
  3. Create a *Claw skill that pulls the extension and uses it: swamp extension pull <name>

This creates a two-layer sharing model: extensions for model types (Swamp registry), skills for agent workflows (ClawHub).

Examples

Model a REST API

"Model the JSONPlaceholder API so I can list and create posts"
  1. swamp model create command/shell jsonplaceholder
  2. Edit to add methods: list-posts (GET /posts), create-post (POST /posts)
  3. swamp model method run jsonplaceholder list-posts
  4. Verify output, iterate

Set Up a Weather Integration

"Create a weather model that fetches forecasts by city"
  1. swamp model create command/shell weather
  2. Edit to add a forecast method using curl -s "wttr.in/{city}?format=j1"
  3. Test with swamp model method run weather forecast

Chain APIs in a Workflow

"Create a workflow that fetches GitHub issues, summarizes them, and posts to Slack"
  1. Create models: github-issues, slack-webhook
  2. Create workflow: swamp workflow create issue-digest
  3. Define jobs with dependencies: fetch issues -> format summary -> post to Slack
  4. swamp workflow run issue-digest

Graduate to a *Claw Skill

"Turn my working weather model into a skill others can install"
  1. swamp model get weather --json to export
  2. Create a new SKILL.md wrapping the weather model commands
  3. clawhub publish ./weather-skill

Share a Custom Extension

"Publish my custom Stripe model type so the team can use it"
  1. swamp auth login to authenticate with swamp-club
  2. swamp extension push ./stripe-models/manifest.yaml --dry-run to verify
  3. swamp extension push ./stripe-models/manifest.yaml to publish
  4. Team members install: swamp extension pull stripe-models

Important Notes

  • Always use --json flag when you need to parse Swamp output programmatically
  • Use swamp model validate before running to catch definition errors early
  • Store all credentials in vaults, never in model definitions
  • Use -v (verbose) flag when debugging unexpected behavior
  • All Swamp operations run locally — credentials stay on the user's machine
  • Authenticate with swamp auth login before pushing extensions to the registry
  • Use swamp extension push --dry-run to verify an extension before publishing
  • Use swamp auth whoami to confirm your identity before registry operations

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

90.76%
按下载量换算5,977

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills