The body contains detailed instructions and examples for the AI:
Copy
# Skill TitleDetailed instructions for the AI on how to use this skill.## UsageStep-by-step guidance on what the AI should do.## Examples### Example 1User: "example query"Action: Specific steps the AI should take## NotesAny additional context or edge cases.
When the user asks for cryptocurrency prices:1. Call load_skill with name="crypto" and file="SKILL.md"2. Run: `python3 scripts/crypto.py {symbol}`3. Parse the JSON output4. Format as: "{Symbol}: ${price} USD"
❌ Bad
Copy
Use this skill to get crypto prices.Run the script to get information.
## Examples### Example 1: Single cryptocurrencyUser: "What's the Bitcoin price?"1. Run: `python3 scripts/crypto.py BTC`2. Response: "Bitcoin (BTC): $45,234.56 USD"### Example 2: Multiple cryptocurrenciesUser: "Show me ETH and SOL prices"1. Run: `python3 scripts/crypto.py ETH SOL`2. Format each result on a new line
## Running the ScriptExecute the price lookup script:```bashpython3 scripts/crypto.py {symbol}```The script is located at `scripts/crypto.py` relative to the skill directory.
The AI will automatically resolve relative paths to absolute paths when executing commands.
---name: cryptodescription: Get real-time cryptocurrency prices. Use when users ask about Bitcoin, Ethereum, or other crypto prices and market data.---# Cryptocurrency Price Checker## Instructions1. **Identify the cryptocurrency** the user is asking about (Bitcoin, Ethereum, Solana, etc.)2. **Execute the appropriate script** - `python3 scripts/crypto.py btc` - Get Bitcoin price - `python3 scripts/crypto.py eth` - Get Ethereum price - `python3 scripts/crypto.py sol` - Get Solana price - `python3 scripts/crypto.py doge` - Get Dogecoin price - `python3 scripts/crypto.py <symbol>` - Get any crypto price by symbol3. **Format the response** with: - USD price (and local currency if applicable) - 24-hour price change percentage - Source attribution to CoinGecko - Note that crypto prices are volatile and change rapidly## Examples**User:** "What's the current Bitcoin price?"**Action:** Execute `python3 scripts/crypto.py btc`**Response:** "Bitcoin is currently trading at $67,234. It has changed +2.3% in the last 24 hours. (Source: CoinGecko)"**User:** "How much is Ethereum worth?"**Action:** Execute `python3 scripts/crypto.py eth`**Response:** "Ethereum is currently priced at $3,456, down -1.2% over the past 24 hours. (Source: CoinGecko)"**User:** "Check Solana and Dogecoin prices"**Action:** Execute `python3 scripts/crypto.py sol` and `python scripts/crypto.py doge`**Response:** "Current prices - Solana: $145 (+5.7% 24h), Dogecoin: $0.12 (+0.8% 24h). (Source: CoinGecko)"
Write a concise description that helps the AI decide when to use the skill:✅ Good: “Get real-time cryptocurrency prices and market data. Use when users ask about crypto prices, market cap, or trading volume.”❌ Bad: “Crypto skill”
2. Step-by-step instructions
Provide numbered steps the AI can follow:Example:
Load the skill file
Extract the required parameters
Run the script with parameters
Parse the output
Format the response
3. Command syntax
Show exact command syntax:✅ Good: python3 scripts/tool.py --param value❌ Bad: “Run the tool with parameters”
4. Response format
Specify how to format responses:Example Response Format:Format the price as: ” (): $ USD”Example: “Bitcoin (BTC): $45,234.56 USD”
5. Error handling
Explain what to do when things go wrong:Error Handling Example:If script exits with error:
---name: api_servicedescription: Fetch data from external API---# API Service## Usage1. Extract required parameters from user query2. Run: `python3 scripts/api.py --param1 {value1} --param2 {value2}`3. Parse JSON response4. Format for user## Examples[Detailed examples here]
---name: knowledge_basedescription: Answer questions using reference data---# Knowledge Base## Usage1. Load reference data: load_skill(name="knowledge_base", file="references/data.md")2. Search for relevant information3. Provide answer based on data## Data FormatThe reference data contains:- field1: Description- field2: Description