Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

swamp

bởi umag

Coding Agents & IDEs
391Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Model any API with Swamp, test it, and enrich *Claw with new capabilities — full lifecycle from idea to working.

Mô tả

Kỹ năng này làm gì

Swamp is a CLI that models external APIs and services as typed, executable definitions with methods, inputs, and vault-managed credentials. You create models, test them locally, chain them into workflows, and optionally publish them as reusable extensions or *Claw skills.

Typed model definitions with built-in validation and a credential vault prevent the drift and credential leakage common in ad-hoc shell scripts.

Khi nào nên dùng

  • Wrapping a REST API into a testable agent capability
  • Chaining GitHub and Slack API calls into an automated digest workflow
  • Storing API keys in a local vault and referencing them across models
  • Publishing a custom model type to a shared team registry
  • Converting a validated model into a standalone installable skill

Quy trình ví dụ

ĐẦU VÀO

User asks: Fetch open GitHub issues and post a summary to Slack

AGENT
  1. 1

    Run swamp repo init --tool claude to set up the local repository

  2. 2

    Create two models: swamp model create command/shell github-issues and swamp model create command/shell slack-webhook

  3. 3

    Edit each model definition to configure methods, curl commands, and vault-referenced credentials

  4. 4

    Create a workflow with swamp workflow create issue-digest and define job dependency ordering

  5. 5

    Run swamp workflow run issue-digest and inspect results with swamp workflow history get issue-digest

ĐẦU RA

Workflow executes fetch and post steps in order, logs each step's output, and delivers a Slack message summarizing the open issues

Yêu cầu

  • swamp CLI binary installed
  • Swamp-Club account (required to push extensions to the registry)

Cài đặt

clawhub install umag/swamp

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết