custom-agents

Create and configure SwarmAI custom agents with tools, permissions, and MCP integrations.

36|4|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/xg-gh-25/SwarmAI --skill custom-agents-xg-gh-25
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: custom-agents
Source: https://github.com/xg-gh-25/SwarmAI/tree/main/backend/skills/s_custom-agents
Command: npx skills add https://github.com/xg-gh-25/SwarmAI --skill custom-agents-xg-gh-25

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Custom agents enable teams to configure AI helpers with defined tools, permissions, context, and MCP integrations, reducing prompts leakage and setup time.

Core Features & Use Cases

  • Define agent configurations as JSON files for local (.swarm-ai/agents) or global (~/.swarm-ai/agents) usage, with fields like name, description, prompts, mcpServers, tools, toolAliases, allowedTools, resources, hooks, and model.
  • Support for common agent roles: infrastructure specialist, development workflow, and code-review agents, with sample resources and hooks to automate lifecycle events, plus CLI and manual creation options.
  • Centralize tool access control, context inclusion, and resource provisioning to streamline team collaboration and reuse across projects.

Quick Start

Create a new custom agent using the interactive wizard or CLI and tailor its tools, prompts, and MCP settings to your project.

Frequently Asked Questions about custom-agents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure custom AI agents with specific tools and permissions?

You can configure custom AI agents by creating JSON files in local or global directories, specifying fields like name, description, tools, allowedTools, and model to centralize tool access control and context inclusion for your project workflows.

What are custom AI agents used for in development workflows?

Custom AI agents are used to automate specialized project workflows like infrastructure management, development processes, and code reviews. They reduce prompt leakage and setup time by provisioning defined resources, hooks, and MCP integrations for your team.

Can I use MCP integrations and hooks when creating custom agents?

Yes, you can use MCP integrations and hooks when creating custom agents. The configuration supports mcpServers for integrations and hooks to automate lifecycle events, alongside fields for prompts, toolAliases, and resource provisioning.

What is the best way to set up an infrastructure specialist agent?

The best way to set up an infrastructure specialist agent is using the interactive wizard or CLI to generate a JSON configuration file. You define its specific tools, prompts, and MCP settings tailored to your infrastructure project requirements.

Where do custom agent configuration files need to be stored?

Custom agent configuration files need to be stored locally in the .swarm-ai/agents directory or globally in ~/.swarm-ai/agents. This allows teams to centralize configurations for reuse across different projects and workflows.

Does setting up code-review agents require manual JSON editing?

Setting up code-review agents does not require manual JSON editing. You can use the interactive wizard or CLI to create and tailor the agent, defining its tools, prompts, and MCP settings without manually writing the configuration file.