मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट7.6k · #13108

create-agent

यह क्या करती है

यह स्किल बताती है कि Forge कोडिंग ऐप के लिए कस्टम एजेंट फ़ाइलें कैसे लिखें। हर एजेंट एक markdown फ़ाइल है, जिसके ऊपर सेटिंग का हेडर और नीचे निर्देश होते हैं। यह उन लोगों के लिए है जो Forge को अपने हिसाब से बदलना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आप Forge ऐप के लिए नया कस्टम एजेंट बनाना चाहते हैं।
  • ✓जब आपको मौजूदा एजेंट के टूल या निर्देश बदलने हैं।
  • ✓जब आप समझना चाहते हैं कि Forge एजेंट फ़ाइलें कैसे संरचित होती हैं।

Skill का लिंक

https://github.com/tailcallhq/forgecode/blob/main/.forge/skills/create-agent/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/tailcallhq/forgecode/blob/main/.forge/skills/create-agent/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप Forge के लिए एक कस्टम एजेंट बना सकते हैं जो मेरे कोड की स्टाइल से जुड़ी समस्याएं देखे?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट एक markdown फ़ाइल लिखता है जिसके हेडर में एजेंट का नाम और उसके टूल होते हैं, फिर बॉडी में निर्देश जोड़ता है। फ़ाइल प्रोजेक्ट के agents फ़ोल्डर में सहेजी जाती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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:

  1. YAML Frontmatter (required):

    • id: Unique agent identifier
    • title: Agent display name
    • description: Detailed description of what the agent does
    • reasoning: Configuration with enabled: true/false
    • tools: List of tools the agent can use
    • user_prompt: Template for user context
  2. 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
अक्सर पूछे जाने वाले सवाल

एजेंट फ़ाइलें कहां जाती हैं?

वे प्रोजेक्ट के forge फ़ोल्डर के भीतर agents नाम के फ़ोल्डर में जाती हैं।

हेडर में क्या होना चाहिए?

उसमें एजेंट की ID, शीर्षक, विवरण, रीज़निंग सेटिंग, टूल और यूज़र प्रॉम्प्ट शामिल हैं।

क्या मैं मौजूदा एजेंट बदल सकता हूं?

हां। स्किल नई फ़ाइलें बनाने के साथ मौजूदा एजेंट फ़ाइल बदलने के बारे में भी बताती है।

जानकारी

लेखक का मूल विवरण

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

लोकप्रियता

GitHub स्टार
7.6k
रैंकिंग में स्थान
#13108
लाइसेंस
Apache-2.0
अपडेट की गई
1/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

create-command

7.6k

यह आपके एजेंट को Forge के लिए दोबारा चलने वाले कमांड बनाना सिखाती है, जो क्रम से चलने वाले markdown चरणों के रूप में लिखे जाते हैं।

AI और एजेंटएजेंट

create-github-issue

7.6k

यह आपके एजेंट को GitHub इश्यू बनाने में मदद करती है, जो रिपॉज़िटरी के अपने issue टेम्पलेट का पालन करे, सही फ़ील्ड और लेबल के साथ।

कोडिंगसामान्य कोडिंग

create-plan

7.6k

यह आपके एजेंट को किसी जटिल काम के लिए चरणों, जोखिमों और विकल्पों वाली विस्तृत योजना लिखने में मदद करती है, कोड बदलने से पहले।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

github-pr-comments

7.6k

यह आपके एजेंट को GitHub pull request की हर इनलाइन टिप्पणी पर काम करने में मदद करती है, हर मांगा गया बदलाव एक-एक करके करते हुए।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills