- Agent Skills Codex में टास्क-विशिष्ट विशेषज्ञ क्षमताएँ जोड़ने वाली एक विस्तार संरचना है, जो खास workflows को भरोसेमंद ढंग से पूरा करने में मदद करती है
- हर skill
SKILL.md फ़ाइल और वैकल्पिक scripts·resources·assets से मिलकर बनती है, इसलिए इसे टीमों या कम्युनिटी के बीच share किया जा सकता है
- Codex skills को explicit invocation (
/skills कमांड या $ इनपुट) और implicit invocation (टास्क विवरण से मेल खाने पर अपने-आप उपयोग) दोनों तरीकों से चलाता है
- Skills को REPO, USER, ADMIN, SYSTEM जैसी कई storage locations और priority system के ज़रिये मैनेज किया जाता है, और
$skill-creator से नई skill बनाई जा सकती है
- यह फीचर Codex के CLI और IDE extension दोनों में उपलब्ध है, और GitHub आदि से skills इंस्टॉल करके इसकी क्षमताएँ बढ़ाई जा सकती हैं
Agent Skills का अवलोकन
- Agent Skills वह संरचना है जो Codex को नई क्षमताएँ और विशेषज्ञता देती है
- Skills किसी खास काम को करने के लिए instructions, resources, और optional scripts को package करती हैं
- इन्हें टीमों या कम्युनिटी के बीच share किया जा सकता है, और ये open Agent Skills standard पर आधारित हैं
- यह Codex के CLI और IDE extension दोनों में इस्तेमाल की जा सकती है
Skill structure और components
- हर skill
SKILL.md फ़ाइल को केंद्र में रखकर बनाई जाती है, और इसकी फ़ोल्डर संरचना कुछ इस तरह होती है
SKILL.md: अनिवार्य, इसमें instructions और metadata शामिल होते हैं
scripts/: वैकल्पिक executable code
references/: वैकल्पिक documents
assets/: वैकल्पिक templates और resources
- Codex context को कुशलतापूर्वक मैनेज करने के लिए progressive disclosure तरीका अपनाता है
- शुरुआत में केवल skill का नाम और विवरण लोड होता है, और ज़रूरत पड़ने पर पूरी instructions पढ़ी जाती हैं
Skills invoke करने के तरीके
- Explicit invocation
/skills कमांड या $ इनपुट से skill को सीधे चुना जा सकता है
- Codex web और iOS वर्ज़न अभी explicit invocation को support नहीं करते, लेकिन repository में शामिल skills को prompt के ज़रिये इस्तेमाल किया जा सकता है
- Implicit invocation
- जब यूज़र का काम skill के विवरण से मेल खाता है, तो Codex अपने-आप उस skill का इस्तेमाल करता है
Skill storage locations और priority
- Codex कई locations से skills लोड करता है, और ऊँची priority वाली location की skill उसी नाम वाली नीचे की skill को override कर देती है
- मुख्य scope और locations
REPO: $CWD/.codex/skills, $CWD/../.codex/skills, $REPO_ROOT/.codex/skills
USER: $CODEX_HOME/skills या ~/.codex/skills
ADMIN: /etc/codex/skills
SYSTEM: Codex में डिफ़ॉल्ट रूप से शामिल skills
- हर scope का उपयोग व्यक्तिगत, टीम, और सिस्टम-स्तरीय प्रबंधन उद्देश्यों के अनुसार किया जाता है
Skill बनाने का तरीका
- Codex की built-in
$skill-creator skill का उपयोग करके नई skill अपने-आप बनाई जा सकती है
$plan skill के साथ मिलाकर इस्तेमाल करने पर skill बनाने से पहले योजना तैयार की जा सकती है
- मैन्युअल रूप से बनाने पर, किसी वैध location में फ़ोल्डर बनाएँ और
SKILL.md फ़ाइल लिखें
- अनिवार्य फ़ील्ड:
name, description
- वैकल्पिक फ़ील्ड:
metadata.short-description
- Skills Agent Skills specification पर आधारित हैं
Skill installation और examples
$skill-installer skill का उपयोग करके GitHub के public skill repository से skills इंस्टॉल की जा सकती हैं
- उदाहरण:
$skill-installer linear
- अन्य repositories की skills भी इंस्टॉल की जा सकती हैं
- Built-in skills के उदाहरण
$plan: नई feature development या जटिल समस्याओं के समाधान के लिए योजना बनाना
$skill-installer linear: Linear context तक पहुँच
$skill-installer notion-spec-to-implementation: Notion data तक पहुँच
Codex developers के लिए इसका महत्व
- Agent Skills, Codex की extensibility और collaboration बढ़ाने वाला एक प्रमुख घटक है
- Developers अपनी खुद की skills परिभाषित करके automated development workflows बना सकते हैं
- CLI·IDE integration, GitHub integration, और standardized skill specification के ज़रिये Codex ecosystem के विस्तार की संभावनाएँ और मज़बूत होती हैं
अभी कोई टिप्पणी नहीं है.