Podcasts पर वापस जाएंClaude
Claude Code skills
कॉन्फ़िगरेशन और मल्टी-फ़ाइल स्किल्स
A basic skill works with just a name and description, but here are some other advanced tips that can make your skills really effective in claw code.
एक बेसिक skill सिर्फ नाम और description से काम करती है, लेकिन यहाँ कुछ और advanced tips हैं जो Claude Code में आपकी skills को वाकई असरदार बना सकती हैं।
The agentskills.io open standard has many available fields.
agentskills.io open standard में कई उपलब्ध fields हैं।
We already went over the name, which identifies your skill, uses lowercase letters, numbers, and hyphens only.
हम पहले ही name field के बारे में बात कर चुके हैं, जो आपकी skill की पहचान करता है और इसमें सिर्फ lowercase अक्षर, संख्याएँ और hyphens होते हैं।
A maximum of 64 characters and should match your directory name.
अधिकतम 64 अक्षर और आपके directory नाम से मेल खाना चाहिए।
a description which is also required which tells Claude when to use the skill.
एक description, जो भी जरूरी है, Claude को बताती है कि skill कब उपयोग करनी है।
This is a maximum of,024 characters and is the most important field.
यह अधिकतम 1,024 अक्षरों की होती है और सबसे महत्वपूर्ण field है।
Claude uses this for matching.
Claude इसका उपयोग matching के लिए करता है।
But we can also add other optional fields.
लेकिन हम अन्य optional fields भी जोड़ सकते हैं।
One of them is the allowed tools field which restricts which tools Claude can use when the skill is active.
उनमें से एक है allowed tools field, जो यह प्रतिबंधित करती है कि skill सक्रिय होने पर Claude कौन से tools उपयोग कर सकता है।
The model field which specifies which cla model to use for the skill.
model field, जो बताती है कि skill के लिए कौन सा Claude model उपयोग करना है।
Try to be explicit with your instructions.
अपनी instructions में स्पष्ट रहने की कोशिश करें।
For example, if someone told me my job was to help with dogs, I wouldn't know what to do.
उदाहरण के लिए, अगर किसी ने मुझसे कहा कि मेरा काम कुत्तों की मदद करना है, तो मुझे नहीं पता होता कि क्या करूँ।
So, we have to assume Claude would think the same way.
तो, हमें मान लेना होगा कि Claude भी ऐसे ही सोचेगा।
A good description answers two questions.
एक अच्छी description दो सवालों का जवाब देती है।
What does this skill do?
यह skill क्या करती है?
And when should Claus use it?
और Claude को इसे कब इस्तेमाल करना चाहिए?
Now, if this job description was given to me, I feel a little bit more confident that I could get the job done.
अब, अगर मुझे यह job description दी जाए, तो मुझे थोड़ा ज्यादा भरोसा है कि मैं काम कर सकता हूँ।
If your skill isn't triggering, add more keywords that match how you phrase requests.
अगर आपकी skill trigger नहीं हो रही, तो और keywords जोड़ें जो आपकी requests के तरीके से मेल खाते हों।
Sometimes you want a skill that can only read files, not modify them.
कभी-कभी आप चाहते हैं कि skill सिर्फ files पढ़ सके, उन्हें modify न करे।
This could be for security sensitive workflows, read only tasks or more.
यह security-sensitive workflows, read-only tasks या अन्य कामों के लिए हो सकता है।
We have the allowed tools field to make this possible.
इसे संभव बनाने के लिए हमारे पास allowed tools field है।
When this skill is active, Claw can only use those tools without asking permission.
जब यह skill सक्रिय हो, तो Claude बिना permission माँगे सिर्फ उन्हीं tools का उपयोग कर सकता है।
No editing, no writing, no bash commands.
कोई editing नहीं, कोई writing नहीं, कोई bash commands नहीं।
If you omit allowed tools, the skill doesn't restrict anything.
अगर आप allowed tools छोड़ देते हैं, तो skill कुछ भी restrict नहीं करती।
Claude uses its normal permission model.
Claude अपना सामान्य permission model उपयोग करता है।
Skills share Claw's context window with your conversation.
Skills, Claude की context window को आपकी conversation के साथ share करती हैं।
When Claude wants to use a skill, it will decide to load the contents of that skill into context.
जब Claude कोई skill उपयोग करना चाहता है, तो वह उस skill का content context में load करने का फैसला करता है।
However, sometimes you'll need some references, examples, or some utility scripts that are required by the skill.
हालाँकि, कभी-कभी आपको कुछ references, examples, या utility scripts की जरूरत होती है जो skill के लिए आवश्यक हैं।
But cramming it all into one 20,000 line text file means you take up a lot of space in the context window.
लेकिन सब कुछ एक 20,000 लाइनों की text file में ठूँसने का मतलब है context window में बहुत जगह लेना।
And let's be real here, it's just not a lot of fun to maintain that.
और सच कहें तो, इसे maintain करना बिल्कुल मजेदार नहीं है।
This is where progressive disclosure comes in.
यहीं पर progressive disclosure काम आती है।
Put your essential instructions in skill.mmp and detailed reference material in separate files that Claude reads only when needed.
अपनी जरूरी instructions skill.md में रखें और विस्तृत reference material अलग files में जिन्हें Claude सिर्फ जरूरत पड़ने पर पढ़ता है।
The open standard also suggests having a scripts folder for executable code, references for additional documentation and assets for images, templates or other data files that would be relevant for that skill.
open standard यह भी सुझाता है कि executable code के लिए scripts folder, अतिरिक्त documentation के लिए references, और उस skill से संबंधित images, templates या अन्य data files के लिए assets folder हो।
Then in skill.md link to the supporting files.
फिर skill.md में supporting files का link दें।
Here, Claude reads architecture.md only when someone asks about system design.
यहाँ, Claude, architecture.md तभी पढ़ता है जब कोई system design के बारे में पूछता है।
If they're asking where to add a component, let's say, it just never loads.
अगर वे पूछ रहे हैं कि component कहाँ जोड़ें, मान लीजिए, तो यह कभी load ही नहीं होती।
It's like having a table of contents in the context window rather than fitting the whole entire document in there.
यह ऐसा है जैसे context window में पूरा document भरने की बजाय एक table of contents रखना।
Keep skill.md under 500 lines.
skill.md को 500 lines से कम रखें।
If you're exceeding that, then maybe consider should this be split up into different content.
अगर आप उससे ज्यादा हो रहे हैं, तो शायद सोचें कि क्या इसे अलग-अलग content में बाँटना चाहिए।
Scripts in your skill directory can run without loading their contents into context.
आपकी skill directory के scripts, उनका content context में load किए बिना run हो सकते हैं।
The script executes and only the output consumes tokens.
script execute होती है और सिर्फ output ही tokens लेता है।
Tell claw to run the script, not read it.
Claude को script run करने के लिए कहें, पढ़ने के लिए नहीं।
This is very useful for environment validation, data transformations that need to be consistent, operations that are more reliable as tested code than generated code.
यह environment validation, data transformations जो consistent होनी चाहिए, और उन operations के लिए बहुत उपयोगी है जो generated code की तुलना में tested code के रूप में अधिक reliable होती हैं।
Skills support metadata fields.
Skills metadata fields को support करती हैं।
Name and description which are required.
name और description, जो जरूरी हैं।
Allowed tools restricts available tools and model specifies which claw to use.
allowed tools उपलब्ध tools को restrict करता है और model बताता है कि कौन सा Claude उपयोग करना है।
Descriptions need specific actions and trigger phrases to match for reliability.
Descriptions में reliability के लिए specific actions और trigger phrases होने चाहिए।
For larger skills, use progressive disclosure.
बड़ी skills के लिए, progressive disclosure उपयोग करें।
Keep your skill.md file under 500 lines and link to the supporting files that load only when needed.
अपनी skill.md file को 500 lines से कम रखें और supporting files का link दें जो सिर्फ जरूरत पड़ने पर load होती हैं।
Scripts [music] can execute without loading their contents, keeping context efficient.
Scripts [music] अपना content load किए बिना execute हो सकती हैं, जिससे context efficient रहता है।