create-agent
Was er macht
Dieser Skill erklärt, wie man eigene Agenten-Dateien für die Coding-App Forge schreibt. Jeder Agent ist eine Markdown-Datei mit einem Kopfbereich aus Einstellungen und einem Hauptteil mit Anweisungen. Er richtet sich an Menschen, die Forge anpassen wollen.
Wann du ihn nutzt
- ✓Wenn du einen neuen eigenen Agenten für die Forge-App erstellen willst.
- ✓Wenn du die Werkzeuge oder Anweisungen eines bestehenden Agenten ändern musst.
- ✓Wenn du verstehen willst, wie Forge-Agenten-Dateien aufgebaut sind.
Link zum Skill
https://github.com/tailcallhq/forgecode/blob/main/.forge/skills/create-agent/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Kannst du einen eigenen Forge-Agenten erstellen, der meinen Code auf Stilprobleme prüft?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent schreibt eine Markdown-Datei mit einem Kopfbereich, der Agenten-Namen und Werkzeuge nennt, und ergänzt dann die Anweisungen im Hauptteil. Die Datei wird im Agenten-Ordner des Projekts gespeichert.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen
Wohin kommen die Agenten-Dateien?
Sie kommen in einen Ordner namens agents im forge-Ordner des Projekts.
Was muss der Kopfbereich enthalten?
Er enthält die ID des Agenten, den Titel, die Beschreibung, die Denkeinstellung, die Werkzeuge und den Nutzer-Prompt.
Kann ich einen bestehenden Agenten bearbeiten?
Ja. Der Skill beschreibt sowohl das Ändern bestehender als auch das Anlegen neuer Agenten-Dateien.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 7.6k
- Platz im Ranking
- #13108
- Lizenz
- Apache-2.0
- Aktualisiert
- 1.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
create-command
7.6kLehrt deinen Agenten, wiederverwendbare Befehle für die Coding-App Forge zu erstellen, geschrieben als Markdown-Schritte, die der Reihe nach laufen.
create-github-issue
7.6kHilft deinem Agenten, ein GitHub-Issue nach der eigenen Issue-Vorlage des Repositorys anzulegen, mit den richtigen Feldern und Labels.
create-plan
7.6kHilft deinem Agenten, bei einer komplexen Aufgabe vor jeder Codeänderung einen ausführlichen Umsetzungsplan mit Schritten, Risiken und Alternativen zu schreiben.
github-pr-comments
7.6kHilft deinem Agenten, jeden Inline-Kommentar an einem GitHub-Pull-Request abzuarbeiten und jede gewünschte Änderung nacheinander umzusetzen.
Ähnliche Skills
add-model-provider
394kLässt deinen Agenten einen neuen KI-Modellanbieter mit sicheren Befehlen an OpenClaw anbinden, API-Schlüssel nicht im Klartext speichern und einen Live-Test starten.
acp-router
394kHilft deinem Agenten, eine Aufgabe über OpenClaw an einen Coding-Assistenten wie Claude Code oder Cursor zu senden, damit die Arbeit in diesem Tool läuft.
browser-automation
394kBringt deinem Agenten bei, Webseiten Schritt für Schritt zu steuern, einschließlich Anmeldungen, Tabs und Wiederherstellung, wenn eine Seite nicht mehr reagiert.