agent-identifier
यह क्या करती है
यह स्किल बताती है कि Claude Code agent फ़ाइल कैसे लिखें। यह एक केंद्रित सहायक है जो जटिल काम खुद से संभालता है। यह उन डेवलपर के लिए है जो Claude Code के लिए अपने agents बनाते हैं।
कब इस्तेमाल करें
- ✓जब आप किसी खास स्वायत्त काम के लिए नया Claude Code agent बनाना चाहें।
- ✓जब आपको agent फ़ाइल के frontmatter, जैसे name, description, model या color, लिखने हों।
- ✓जब आप agent के trigger उदाहरण और system prompt साफ़ तरीके से लिखवाना चाहें।
Skill का लिंक
https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/agent-identifier/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे pull requests को सुरक्षा समस्याओं के लिए जाँचने वाला Claude Code agent बनाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट फ़ाइल-फ़ॉर्मेट के नियमों का पालन करता है, उदाहरणों के साथ एक साफ़ trigger विवरण लिखता है, और एक system prompt लिखता है जो बताता है कि agent कैसे व्यवहार करे।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Agent Development for Claude Code Plugins
Overview
Agents are autonomous subprocesses that handle complex, multi-step tasks independently. Understanding agent structure, triggering conditions, and system prompt design enables creating powerful autonomous capabilities.
Key concepts:
- Agents are FOR autonomous work, commands are FOR user-initiated actions
- Markdown file format with YAML frontmatter
- Triggering via description field with examples
- System prompt defines agent behavior
- Model and color customization
When to Use
Use this skill when the user asks to:
- Create an agent
- Add an agent
- Write a subagent
- Define agent frontmatter
- Decide when to use description examples
- Configure agent tools, colors, or model behavior
- Design autonomous agent structure, triggering conditions, or system prompts
When Not to Use
Do not use this skill for:
- Slash command design
- Hook configuration
- MCP server setup
- General plugin layout questions that belong to
plugin-structure
Agent File Structure
Complete Format
---
name: agent-identifier
description: Use this agent when [triggering conditions]. Examples:
<example>
Context: [Situation description]
user: "[User request]"
assistant: "[How assistant should respond and use this agent]"
<commentary>
[Why this agent should be triggered]
</commentary>
</example>
<example>
[Additional example...]
</example>
model: inherit
color: blue
tools: ["Read", "Write", "Grep"]
---
You are [agent role description]...
**Your Core Responsibilities:**
1. [Responsibility 1]
2. [Responsibility 2]
**Analysis Process:**
[Step-by-step workflow]
**Output Format:**
[What to return]
Frontmatter Fields
name (required)
Agent identifier used for namespacing and invocation.
Format: lowercase, numbers, hyphens only Length: 3-50 characters Pattern: Must start and end with alphanumeric
Good examples:
code-reviewertest-generatorapi-docs-writersecurity-analyzer
Bad examples:
helper(too generic)-agent-(starts/ends with hyphen)my_agent(underscores not allowed)ag(too short, < 3 chars)
description (required)
Defines when Claude should trigger this agent. This is the most critical field.
Must include:
- Triggering conditions ("Use this agent when...")
- Multiple
<example>blocks showing usage - Context, user request, and assistant response in each example
<commentary>explaining why agent triggers
Format:
Use this agent when [conditions]. Examples:
<example>
Context: [Scenario description]
user: "[What user says]"
assistant: "[How Claude should respond]"
<commentary>
[Why this agent is appropriate]
</commentary>
</example>
[More examples...]
Best practices:
- Include 2-4 concrete examples
- Show proactive and reactive triggering
- Cover different phrasings of same intent
- Explain reasoning in commentary
- Be specific about when NOT to use the agent
model (required)
Which model the agent should use.
Options:
inherit- Use same model as parent (recommended)sonnet- Claude Sonnet (balanced)opus- Claude Opus (most capable, expensive)haiku- Claude Haiku (fast, cheap)
Recommendation: Use inherit unless agent needs specific model capabilities.
color (required)
Visual identifier for agent in UI.
Options: blue, cyan, green, yellow, magenta, red
Guidelines:
- Choose distinct colors for different agents in same plugin
- Use consistent colors for similar agent types
- Blue/cyan: Analysis, review
- Green: Success-oriented tasks
- Yellow: Caution, validation
- Red: Critical, security
- Magenta: Creative, generation
tools (optional)
Restrict agent to specific tools.
Format: Array of tool names
tools: ["Read", "Write", "Grep", "Bash"]
Default: If omitted, agent has access to all tools
Best practice: Limit tools to minimum needed (principle of least privilege)
Common tool sets:
- Read-only analysis:
["Read", "Grep", "Glob"] - Code generation:
["Read", "Write", "Grep"] - Testing:
["Read", "Bash", "Grep"] - Full access: Omit field or use
["*"]
System Prompt Design
The markdown body becomes the agent's system prompt. Write in second person, addressing the agent directly.
Structure
Standard template:
You are [role] specializing in [domain].
**Your Core Responsibilities:**
1. [Primary responsibility]
2. [Secondary r
अक्सर पूछे जाने वाले सवाल
क्या agent और command एक ही हैं?
नहीं। agents स्वायत्त काम के लिए होते हैं, जबकि commands वे काम हैं जिन्हें उपयोगकर्ता खुद शुरू करता है।
agent फ़ाइलें किस फ़ॉर्मेट में होती हैं?
वे YAML frontmatter वाली ऊपर से शुरू होने वाली Markdown फ़ाइलें होती हैं।
क्या यह model और color सेट कर सकती है?
हाँ। मार्गदर्शन में agents के model और color सेटिंग भी शामिल हैं।
जानकारी
लेखक का मूल विवरण
Use when creating or configuring Claude Code agents and their frontmatter.
लोकप्रियता
- GitHub स्टार
- 6.0k
- रैंकिंग में स्थान
- #14478
- लाइसेंस
- MIT
- अपडेट की गई
- 19/10/2026
कमेंट
- …
इस repository की और skills
architecture-design
6.0kयह आपके एजेंट को machine learning प्रोजेक्ट के कोड का मानक ढाँचा सिखाती है, और registrable हिस्से जोड़ते समय factory व registry पैटर्न का उपयोग करती है।
bug-detective
6.0kयह आपके एजेंट को कोड की गलतियाँ ढूँढने और ठीक करने में मदद करती है, एक साफ़ तरीके से: समस्या समझना, सबूत जुटाना, विचार जाँचना और सुधार को परखना।
citation-verification
6.0kयह आपके एजेंट को शैक्षणिक पेपर के हर citation को भरोसेमंद स्रोतों से मिलाना सिखाती है, ताकि नकली या गलत संदर्भ पकड़े जाएँ।
code-review-excellence
6.0kयह आपके एजेंट को code changes और pull requests की समीक्षा करने में मदद करती है, साफ़, विनम्र और प्राथमिकता वाली टिप्पणियों के साथ जो असली bugs पकड़ें।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।