🍀 Spring Date with Fortune, Prizes with Raffle! Growth Value Phase 1️⃣ 7️⃣ Spring Raffle Carnival Begins!
Seize Spring's Good Luck! 👉 https://www.gate.com/activities/pointprize?now_period=17
🌟 How to Participate?
1️⃣ Enter [Square] personal homepage, click the points icon next to your avatar to enter [Community Center]
2️⃣ Complete Square or Hot Chat tasks such as posting, commenting, liking, speaking to earn growth value
🎁 Every 300 points can raffle once, 10g gold bars, Gate Red Bull gift box, VIP experience card and more prizes waiting for you to win!
Details 👉 https://www.gate.com/ann
如何在3分鐘內創建OpenClaw技能
技能是高品質AI代理的關鍵部分
你不能沒有它們,且自定義技能通常是必不可少的
安全第一:在生產使用前務必在本地測試
1. 創建目錄
範例 ( 在終端輸入 ):
| mkdir -p ~/.openclaw/workspace/skills/skill_name
這是存放所有技能相關數據的地方
2. SKILL·md ( LLM指令 )
關鍵在於正確表達所需的LLM行動的本質
此文件使用YAML前置標記來存放元數據,Markdown用於指令
重要:
> 使其可執行、具體且簡潔
> 提及具體工具
- 你可以在前置標記中定義自定義工具 ((可選) )
> 解釋該做什麼以及如何反應
錯誤範例:
向世界打招呼
正確範例:
---
name: hello_world
description: 一個簡單的技能,用來打招呼。
---
當用戶請求打招呼時,使用echo工具說“來自你的自定義技能的你好!”
3. 刷新OpenClaw
請求你的代理“刷新技能”或手動重啟網關
OpenClaw將識別新目錄和技能