custom-agent-creator
БесплатноБез исполняемых скриптовНе проверенSkill to create custom agents for VS Code Copilot or OpenCode, helping users configure and generate agent files with proper formatting and configurations. Use…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Custom Agent Creator
Overview
This skill guides the creation of custom agents for either VS Code Copilot or OpenCode. It helps users define agent properties like name, description, tools, models, and permissions, then generates the appropriate configuration file in the correct format.
Workflow
Step 1: Determine Target Platform
If the user hasn't specified, ask whether they want to create an agent for:
- VS Code Copilot (.agent.md files)
- OpenCode (JSON/markdown configs)
Step 2: Gather Agent Specifications
Collect detailed information about the agent:
- Agent Name: Clear, descriptive identifier (e.g., "code-reviewer", "planner")
- Description: Brief explanation of what the agent does and when to use it
- Role/Purpose: Specific task the agent is designed for (e.g., "security auditing", "documentation writing")
- Tools & Permissions: Which capabilities are needed
- Model Preference: Specific AI model if needed (otherwise use default)
- Additional Config: Temperature, steps limit, handoffs, etc.
Step 3: Validate Requirements
Ensure all required fields are provided:
- Copilot: name, description, tools list
- OpenCode: description, mode (primary/subagent), tool permissions
Step 4: Generate Configuration File
Create the appropriate file based on platform:
- Copilot: Generate
.agent.mdwith YAML frontmatter + markdown body - OpenCode: Generate markdown config file with YAML frontmatter
Step 5: Add Specialized Instructions
Write clear, actionable instructions in the file body:
- Define the agent's role and expertise
- Specify key behaviors and guidelines
- Include workflow steps if applicable
- Provide tool usage guidance
Step 6: Configure Tools & Permissions
Set appropriate tool access levels:
- Copilot: Specify tool names in
toolsarray - OpenCode: Set individual tool permissions (true/false/"ask")
Copilot Agents
Custom agents for VS Code Copilot are defined in .agent.md files with YAML frontmatter.
File Structure:
- Frontmatter: YAML with fields like
description,name,tools,model,handoffs - Body: Markdown instructions for the agent
Common Fields:
description: Brief description shown in chat inputtools: List of available toolsmodel: AI model to usehandoffs: Suggested next steps for workflow transitions
See references/copilot-agents.md for complete documentation.
OpenCode Agents
Agents for OpenCode can be defined in JSON config or Markdown files.
Configuration Options:
description: Required descriptionmode: "primary" or "subagent"model: Model identifiertools: Tool permissions (true/false)permissions: Granular control over actionstemperature: Response creativity (0.0-1.0)
See references/opencode-agents.md for complete documentation.
Validation & Verification Steps
After generating the agent configuration, verify the following:
1. File Structure Validation
- ✅ File exists in correct location (
.github/agents/for Copilot,.opencode/agents/for OpenCode) - ✅ File has correct extension (
.agent.mdfor Copilot,.mdfor OpenCode) - ✅ File name matches agent identifier (e.g.,
code-reviewer.agent.md)
2. Frontmatter Validation
- ✅ YAML frontmatter is syntactically valid
- ✅ Required fields present:
description,name(Copilot) ormode(OpenCode) - ✅ No invalid field values (e.g., tools exist, models are supported, temperature is 0.0-1.0)
3. Instructions Validation
- ✅ Agent body contains clear, actionable instructions
- ✅ Instructions are specific to the agent's role
- ✅ Tool references are correct (use
#tool:toolNameformat for Copilot)
4. Platform-Specific Validation
For Copilot agents:
- ✅ Tools list contains valid Copilot tools
- ✅ Model names are valid (check Copilot's supported models)
- ✅ Handoffs reference existing agents (if configured)
- ✅ File can be loaded in VS Code without errors
For OpenCode agents:
- ✅ Mode is either "primary" or "subagent"
- ✅ Tool permissions are boolean or "ask"/"allow"/"deny" (for permissions)
- ✅ Temperature value is between 0.0 and 1.0
- ✅ File can be loaded by OpenCode config parser
5. Functionality Verification
- ✅ Agent can be invoked/selected in the UI
- ✅ Tools specified are actually available and functional
- ✅ Instructions are followed when the agent is used
- ✅ No errors in agent logs when activated
Concrete Examples
Example 1: VS Code Copilot Security Reviewer Agent
File: .github/agents/security-reviewer.agent.md
---
description: Reviews code for security vulnerabilities and best practices
name: Security Reviewer
tools: ['fetch', 'search', 'usages']
model: ['Claude Opus 4.5', 'GPT-5.2']
handoffs:
- label: Fix Issues
agent: agent
prompt: Now implement fixes for the security issues identified above.
send: false
---
# Security Code Reviewe
Установить custom-agent-creator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл custom-agent-creator?
Skill to create custom agents for VS Code Copilot or OpenCode, helping users configure and generate agent files with proper formatting and configurations. Use when users want to create specialized AI assistants for VS Code Copilot (.agent.md files) or OpenCode (JSON/markdown agent configs) with specific tools, prompts, models, and behaviors. If the user is not specific about the target platform, ask them to specify Copilot or OpenCode.
Как установить скилл custom-agent-creator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл custom-agent-creator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic