MCP HubMCP Hub
Volver a habilidades

swarmclaw

swarmclawai
Actualizado 6 days ago
560
113
560
Ver en GitHub
Metaagentsorchestrationmulti-agentruntimememorydelegationskillsconnectorsdreaming

Acerca de

Esta habilidad enseña a los agentes cómo utilizar las capacidades principales de la plataforma SwarmClaw, incluyendo sus seis herramientas primitivas, memoria persistente y sistema de delegación. Úsela cuando un agente esté ejecutándose en SwarmClaw y necesite comprender las funciones de orquestación del entorno de ejecución. Cubre el manejo de datos locales, la gestión de credenciales y el sistema de habilidades para flujos de trabajo multiagente.

Instalación rápida

Claude Code

Recomendado
Principal
npx skills add swarmclawai/swarmclaw -a claude-code
Comando PluginAlternativo
/plugin add https://github.com/swarmclawai/swarmclaw
Git CloneAlternativo
git clone https://github.com/swarmclawai/swarmclaw.git ~/.claude/skills/swarmclaw

Copia y pega este comando en Claude Code para instalar esta habilidad

Documentación

SwarmClaw Platform

SwarmClaw is an AI agent runtime and multi-agent orchestration platform. It gives agents a uniform set of tools, persistent memory, connector integrations, and the ability to delegate work to other agents.

Website: https://swarmclaw.ai Docs: https://swarmclaw.ai/docs GitHub: https://github.com/swarmclawai/swarmclaw npm: npm install -g swarmclaw

The 6 Primitive Tools

Every agent has access to these core tools. They cover the full range of agent capabilities.

ToolPurposeWhen to Use
filesRead, write, edit, list, search filesAny file operation on the workspace filesystem
executeRun bash scripts (sandboxed or host)Shell commands, curl, data processing, package management
memoryStore and retrieve persistent knowledgeFacts, preferences, decisions that should survive across sessions
platformTasks, communication, delegation, projectsCoordinating with humans and other agents
browserControl a headless browserInteractive web pages, JavaScript-rendered content
skillsDiscover and load skill documentationLearning how to use tools, APIs, or workflows

Tool Selection Guide

TaskTool
Edit a source filefiles (edit action)
Run testsexecute
Call a REST API (JSON)execute (curl)
Scrape a dynamic web pagebrowser
Remember a user preferencememory
Ask the user a questionplatform (communicate.ask_human)
Send a Slack messageplatform (communicate.send_message)
Hand off work to another agentplatform (communicate.delegate)
Find out how a tool worksskills (read action)

Credentials

Credentials are configured per agent in the SwarmClaw UI. They are:

  • Injected as environment variables into execute tool runs (e.g., $OPENAI_API_KEY, $GITHUB_TOKEN)
  • Automatically redacted from all tool output -- secrets never appear in chat history
  • Named by convention: <PROVIDER>_API_KEY or custom names set in the credential config

You never need to ask the user for API keys directly. If a credential is configured, it's available as an env var. If it's not configured, tell the user which credential to add in the agent settings.

The Skill System

Skills are markdown files that teach agents how to use tools, APIs, and workflows. They are documentation, not executable code.

Loading Skills

{ "tool": "skills", "action": "list" }
{ "tool": "skills", "action": "read", "name": "tools/files" }
{ "tool": "skills", "action": "search", "query": "github pr" }

Skill Locations

  • skills/ -- built-in skills shipped with SwarmClaw
  • data/skills/ -- user-created skills added at runtime

When to Load Skills

  • Before using a tool you're unfamiliar with
  • When a task involves an API or workflow you haven't used before
  • When the user asks you to do something and you're unsure of the best approach

Agent Capabilities

Memory

Agents have persistent memory across sessions:

  • Working memory (session-scoped): scratch notes, intermediate results
  • Durable memory (cross-session): user preferences, project facts, decisions
  • Memories are automatically surfaced in context when relevant
  • Store important learnings proactively -- don't wait to be asked

Dreaming

Agents with dreaming enabled automatically consolidate memories during idle periods. You can also trigger a dream manually:

Check dream status

{ "tool": "memory", "action": "list", "category": "dream_reflection" }

Manual dream trigger

Use the platform API to trigger a dream cycle:

{ "tool": "execute", "command": "curl -s -X POST http://localhost:3456/api/memory/dream -H 'Content-Type: application/json' -d '{\"agentId\":\"YOUR_AGENT_ID\"}'" }

Dream cycles produce dream_reflection and consolidated_insight memories that help maintain a clean, coherent memory store over time.

Delegation

Agents can delegate work to other agents:

  • delegate: route a task to a specific agent and wait for the result
  • spawn: create a subagent that runs independently (fire-and-forget or session-based)
  • Use agents.list to discover available agents and their specializations

Connectors

Agents can communicate through external platforms:

  • Discord, Slack, Telegram, and custom webhooks
  • Messages sent via platform tool with communicate.send_message
  • Inbound messages from connectors trigger agent sessions automatically

MCP Servers

Agents can also use tools served by external Model Context Protocol servers:

  • Register MCP servers under MCP Servers in the UI (stdio / sse / streamable-http transports supported).
  • Quick-setup presets include SwarmVault (local-first knowledge vault) and SwarmDock (agent marketplace — browse tasks, bid, submit work, earn USDC). The SwarmDock preset is pre-filled for the hosted endpoint at https://swarmdock-api.onrender.com/mcp and just needs the Bearer header (generate a key and register an agent at swarmdock.ai/mcp/connect). See docs/mcp-servers.md for the full workflow.
  • Once attached to an agent, MCP tools appear alongside the built-in tools at execution time.

Workspace Conventions

  • The workspace root is the agent's working directory
  • File paths in tool calls are relative to the workspace root
  • /workspace/... paths are resolved to the workspace root automatically
  • The $WORKSPACE env var points to the workspace root in execute tool runs

Best Practices

  1. Load skills before unfamiliar operations. A 30-second skill read prevents minutes of trial and error.

  2. Use the right tool for the job. Don't use execute with echo > file.txt when files write action is cleaner. Don't use browser when curl in execute suffices.

  3. Store important context in memory. If you learn something that would help in future sessions (user preference, project convention, API quirk), store it immediately.

  4. Ask rather than guess. When genuinely uncertain about user intent, use communicate.ask_human. A brief clarification is better than wasted work on the wrong approach.

  5. Delegate when appropriate. If another agent is better suited for a subtask, delegate. Check agents.list to know what's available.

  6. Be explicit about what you're doing. When running commands, editing files, or making decisions, explain your reasoning. Transparency builds trust.

  7. Respect file access boundaries. Stay within the workspace unless the agent has machine-scope access. Never write to system directories.

  8. Handle errors gracefully. When a tool call fails, read the error message, diagnose the issue, and retry with a corrected approach. Don't repeat the same failing call.

Repositorio GitHub

swarmclawai/swarmclaw
Ruta: skills/swarmclaw
0
agent-frameworkagent-memoryagent-runtimeagent-swarmagentsai

Habilidades relacionadas

content-collections

Meta

Esta habilidad proporciona una configuración probada en producción para Content Collections, una herramienta centrada en TypeScript que transforma archivos Markdown/MDX en colecciones de datos con tipado seguro mediante validación Zod. Úsala al construir blogs, sitios de documentación o aplicaciones Vite + React con mucho contenido para garantizar seguridad de tipos y validación automática de contenido. Abarca todo, desde la configuración del plugin de Vite y compilación MDX hasta la optimización de despliegue y validación de esquemas.

Ver habilidad

polymarket

Meta

Esta habilidad permite a los desarrolladores crear aplicaciones con la plataforma de mercados de predicción Polymarket, incluyendo la integración de API para operaciones y datos de mercado. También proporciona transmisión de datos en tiempo real a través de WebSocket para monitorear operaciones en vivo y actividad del mercado. Úsela para implementar estrategias de trading o crear herramientas que procesen actualizaciones de mercado en tiempo real.

Ver habilidad

creating-opencode-plugins

Meta

Esta habilidad ayuda a los desarrolladores a crear complementos de OpenCode que se conectan a más de 25 tipos de eventos, como comandos, archivos y operaciones LSP. Proporciona la estructura del complemento, las especificaciones de la API de eventos y los patrones de implementación para módulos en JavaScript/TypeScript. Úsala cuando necesites interceptar, monitorear o extender el ciclo de vida del asistente de IA de OpenCode con lógica personalizada basada en eventos.

Ver habilidad

sglang

Meta

SGLang es un framework de alto rendimiento para el servicio de LLM que se especializa en generación rápida y estructurada para JSON, expresiones regulares y flujos de trabajo de agentes utilizando su caché de prefijos RadixAttention. Ofrece una inferencia significativamente más rápida, especialmente para tareas con prefijos repetidos, lo que lo hace ideal para salidas complejas y estructuradas, y conversaciones multiturno. Elige SGLang sobre alternativas como vLLM cuando necesites decodificación restringida o estés construyendo aplicaciones con uso extensivo de prefijos compartidos.

Ver habilidad