create-agent
O que ela faz
Esta skill explica como escrever arquivos de agentes personalizados para o aplicativo de programação Forge. Cada agente é um arquivo markdown com um cabeçalho de configurações e um corpo de instruções. É para quem quer personalizar o Forge.
Quando usar
- ✓Quando você quer criar um novo agente personalizado para o aplicativo Forge.
- ✓Quando você precisa alterar as ferramentas ou as instruções de um agente existente.
- ✓Quando você quer entender como os arquivos de agente do Forge são estruturados.
Link da skill
https://github.com/tailcallhq/forgecode/blob/main/.forge/skills/create-agent/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Pode criar um agente personalizado para o Forge que revise meu código em busca de problemas de estilo?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente escreve um arquivo markdown com um cabeçalho que nomeia o agente e suas ferramentas, e depois acrescenta as instruções no corpo. O arquivo é salvo na pasta de agentes do projeto.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
{{{{raw}}}}
Create Agents
Create and manage agents for the code-forge application. Agents are specialized AI assistants with specific capabilities, tools, and behaviors.
File Location
CRITICAL: All agent files must be created in the <cwd>/.forge/agents directory, where <cwd> is the current working directory of your code-forge project.
- Directory:
<cwd>/.forge/agents - File format:
{agent-id}.md - Example: If your project is at
/home/user/my-project, agents go in/home/user/my-project/.forge/agents/
This is the only location where forge will discover and load custom agents.
Agent File Structure
Every agent file must have:
YAML Frontmatter (required):
id: Unique agent identifiertitle: Agent display namedescription: Detailed description of what the agent doesreasoning: Configuration withenabled: true/falsetools: List of tools the agent can useuser_prompt: Template for user context
Agent Body (required):
- Agent identity and purpose
- Core principles
- Capabilities
- Methodology
- Best practices
- Limitations and boundaries
Example Agent File
---
id: "forge"
title: "Perform technical development tasks"
description: "Hands-on implementation agent that executes software development tasks..."
reasoning:
enabled: true
tools:
- sem_search
- sage
- fs_search
- read
- write
- undo
- remove
- patch
- shell
- fetch
- skill
- mcp_*
user_prompt: |-
<{{event.name}}>{{event.value}}</{{event.name}}>
<system_date>{{current_date}}</system_date>
---
You are Forge, an expert software engineering assistant...
## Core Principles:
...
Complete Sample Agent
This sample demonstrates a complete agent structure:
---
id: "sample-agent"
title: "Sample agent for demonstration"
description: "A sample agent that demonstrates the complete agent file structure with all required fields and common patterns."
reasoning:
enabled: true
tools:
- sem_search
- read
- write
- shell
user_prompt: |-
<{{event.name}}>{{event.value}}</{{event.name}}>
<system_date>{{current_date}}</system_date>
---
You are Sample Agent, a demonstration agent that shows how to structure agent files.
## Core Principles:
1. **Principle 1**: Description of the first core principle
2. **Principle 2**: Description of the second core principle
3. **Principle 3**: Description of the third core principle
## Capabilities:
### Capability Category 1:
- Description of first capability
- Description of second capability
### Capability Category 2:
- Description of third capability
- Description of fourth capability
## Methodology:
### Step 1: First Step
Description of the first step in the methodology.
### Step 2: Second Step
Description of the second step in the methodology.
### Step 3: Third Step
Description of the third step in the methodology.
## Best Practices:
- Best practice 1
- Best practice 2
- Best practice 3
## Limitations and Boundaries:
This agent cannot perform certain tasks. When asked to do so, politely explain the limitations and suggest alternative approaches.
Creating a New Agent
Step 1: Determine Agent Purpose
Identify what the agent should accomplish:
- What is the agent's primary function?
- What tasks will it perform?
- What tools does it need?
- What are its limitations?
- How does it differ from existing agents?
Step 2: Choose Agent ID and Title
Use descriptive IDs and titles:
- ID: Use lowercase with hyphens for multi-word (e.g.,
code-reviewer,test-automation) - Title: Use clear, descriptive text (e.g., "Review code quality", "Automate testing")
Step 3: Write the Agent File
Create the file in the <cwd>/.forge/agents directory with the format: {agent-id}.md
IMPORTANT: The file MUST be in <cwd>/.forge/agents where <cwd> is your current working directory. Agents placed anywhere else will not be discovered by forge.
Frontmatter
---
id: "your-agent-id"
title: "Your Agent Title"
description: "Detailed description of what this agent does, its capabilities, and when to use it."
reasoning:
enabled: true
tools:
- tool1
- tool2
- tool3
user_prompt: |-
<{{event.name}}>{{event.value}}</{{event.name}}>
<system_date>{{current_date}}</system_date>
---
Agent Body
The body should include:
- Agent introduction and identity
- Core principles (typically 5-7 principles)
- Capabilities
Perguntas frequentes
Onde ficam os arquivos de agente?
Ficam em uma pasta chamada agents, dentro da pasta forge do projeto.
O que o cabeçalho deve conter?
Ele inclui o ID do agente, o título, a descrição, a configuração de raciocínio, as ferramentas e o prompt do usuário.
Posso editar um agente existente?
Sim. A skill cobre tanto a alteração de um arquivo de agente existente quanto a criação de novos.
Detalhes
Descrição original do autor
Create new agents for the code-forge application. Agents are stored as .md files in the <cwd>/.forge/agents directory with YAML frontmatter (id, title, description, reasoning, tools, user_prompt) and markdown body containing agent instructions. Use when users need to add new agents, modify existing agents, or understand the agent file structure.
repo: tailcallhq/forgecode
Popularidade
- Estrelas no GitHub
- 7,6 mil
- Posição no ranking
- #13108
- Licença
- Apache-2.0
- Atualizada em
- 01/11/2026
Comentários
- …
Mais skills deste repositório
create-command
7,6 milEnsina seu agente a criar comandos reutilizáveis para o aplicativo de programação Forge, escritos como passos em markdown que rodam em ordem.
create-github-issue
7,6 milAjuda seu agente a abrir uma issue no GitHub que segue o modelo de issue do próprio repositório, com os campos e as etiquetas certos.
create-plan
7,6 milAjuda seu agente a escrever um plano de implementação detalhado para uma tarefa complexa, com passos, riscos e alternativas, antes de qualquer alteração de código.
github-pr-comments
7,6 milAjuda seu agente a percorrer todos os comentários em linha de um pull request no GitHub, fazendo cada alteração pedida uma de cada vez.
Skills parecidas
add-model-provider
394 milPermite que seu agente conecte um novo provedor de modelos de IA ao OpenClaw com comandos seguros, guarde as chaves de API com segurança e faça um teste ao vivo.
acp-router
394 milAjuda seu agente a enviar uma tarefa a um assistente de programação, como Claude Code ou Cursor, pelo OpenClaw, para que o trabalho rode nessa ferramenta.
browser-automation
394 milEnsina seu agente a controlar páginas web passo a passo, incluindo logins, abas e recuperação quando uma página para de responder.