coding-agent
Delegate coding tasks to external coding agents (Claude Code, Codex, Pi, OpenCode) via shell. Use when: (1) building new features or apps in a separate…
Create, edit, improve, or audit skills for SwarmClaw agents. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory. Triggers on phrases
$ npx -y skills add swarmclawai/swarmclaw --skill skill-creator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/skill-creatorContext preview
The summary Claude sees to decide when to auto-load this skill.
Create, edit, improve, or audit skills for SwarmClaw agents. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory. Triggers on phrases
name: skill-creator description: Create, edit, improve, or audit skills for SwarmClaw agents. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory. Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".
Guidance for creating effective skills that extend SwarmClaw agent capabilities.
Skills are modular, self-contained packages that provide specialized knowledge, workflows, and tools. They transform a general-purpose agent into a specialized one equipped with procedural knowledge that no model can fully possess.
1. Specialized workflows — multi-step procedures for specific domains 2. Tool integrations — instructions for working with specific file formats or APIs 3. Domain expertise — company-specific knowledge, schemas, business logic 4. Bundled resources — scripts, references, and assets for complex and repetitive tasks
The context window is a shared resource. Only add context the agent doesn't already have. Challenge each piece of information: "Does the agent really need this explanation?" Prefer concise examples over verbose explanations.
skill-name/
├── SKILL.md (required)
│ ├── YAML frontmatter (name + description, required)
│ └── Markdown instructions (required)
└── Bundled Resources (optional)
├── scripts/ — Executable code (Python/Bash/etc.)
├── references/ — Documentation loaded into context as needed
└── assets/ — Files used in output (templates, icons, fonts)Executable code for tasks that require deterministic reliability or are repeatedly rewritten. Token efficient and may be executed without loading into context.
Documentation loaded as needed to inform the agent's process. Keep only essential instructions in SKILL.md; move detailed reference material here.
Files not loaded into context but used in output (templates, images, fonts). Separates output resources from documentation.
1. Understand the skill with concrete examples 2. Plan reusable contents (scripts, references, assets) 3. Initialize the skill 4. Edit the skill (implement resources, write SKILL.md) 5. Validate the skill 6. Iterate based on real usage
Ask the user clarifying questions:
Analyze each example to identify what scripts, references, and assets would be helpful:
Use the bundled init script to create the directory structure:
python3 {baseDir}/scripts/init_skill.py <skill-name> --path <output-directory> [--resources scripts,references,assets] [--examples]Examples:
python3 {baseDir}/scripts/init_skill.py my-skill --path skills
python3 {baseDir}/scripts/init_skill.py my-skill --path skills --resources scripts,referencesWrite instructions that would help another agent instance execute tasks effectively. Include information that is beneficial and non-obvious.
**Writing guidelines:** Use imperative/infinitive form. Keep SKILL.md body under 500 lines.
**Frontmatter description:** Include both what the skill does and specific triggers for when to use it. This is the primary mechanism for skill selection.
Run the validator to check structure and frontmatter:
python3 {baseDir}/scripts/quick_validate.py <path/to/skill-folder>1. Use the skill on real tasks 2. Notice struggles or inefficiencies 3. Update SKILL.md or bundled resources 4. Test again
Skills use a three-level loading system:
1. **Metadata** (name + description) — always in context (~100 words) 2. **SKILL.md body** — when skill triggers (<5k words) 3. **Bundled resources** — as needed (unlimited, since scripts can be executed without reading)
Keep SKILL.md lean. Move detailed information to reference files and describe clearly when to read them.
The self-hosted AI agent runtime and multi-agent framework for autonomous agents. Open-source agent swarms with durable agent memory, MCP tools, skills, delegation, schedules, and 23+ LLM providers — a practical Claude Code and LangChain alternative.
Repo: swarmclawai/swarmclaw
Delegate coding tasks to external coding agents (Claude Code, Codex, Pi, OpenCode) via shell. Use when: (1) building new features or apps in a separate…
GitHub operations via `gh` CLI: issues, PRs, CI runs, code review, API queries. Use when: (1) checking PR status or CI, (2) creating/commenting on issues, (3)…
Use Google Workspace CLI (`gws`) for Drive, Docs, Sheets, Gmail, Calendar, Chat, and related Workspace API tasks.
Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro). Use when asked to create, generate, or edit images and a Gemini API key is available.…
Edit or create PDFs with natural-language instructions using the nano-pdf CLI. Use when asked to make a PDF, edit a PDF, add pages, change text in a PDF, or…
Generate images via OpenAI Images API (GPT Image, DALL-E 3, DALL-E 2). Supports batch generation with random prompt sampler and HTML gallery output. Use when…