feat(skill): optimize SKILL.md description for better auto-triggering (#324)
Rewrites the skill description with platform aliases (zh+en) and action triggers so agents reliably auto-invoke the skill. Maintainer follow-up on the branch: removed nonexistent skill_view tool reference, dropped finance category (no references/finance.md), updated the EN-locale test assertion to the new description. YAML validated, 85 tests pass. Fixes #316.
This commit is contained in:
@@ -1,15 +1,17 @@
|
|||||||
---
|
---
|
||||||
name: agent-reach
|
name: agent-reach
|
||||||
description: >
|
description: >
|
||||||
Give your AI agent eyes to see the entire internet.
|
MUST USE when user asks to search, browse, read, or interact with content from any of these platforms:
|
||||||
17 platforms via CLI, MCP, curl, and Python scripts.
|
小红书/xiaohongshu/xhs, 抖音/douyin, Twitter/推特/X, 微博/weibo, B站/bilibili,
|
||||||
Zero config for 8 channels.
|
V2EX, Reddit, LinkedIn/领英, YouTube, GitHub code search, 微信公众号/WeChat articles,
|
||||||
|
小宇宙播客, 雪球/股票行情, RSS feeds, or any web URL.
|
||||||
|
|
||||||
|
Also MUST USE for: web搜索/搜/查/找/look up/research, 招聘/求职/jobs, 分享的链接/URL.
|
||||||
|
Routes to CLI tools: xhs-cli, twitter-cli, rdt-cli, gh, yt-dlp, curl+Jina, mcporter.
|
||||||
|
17 platforms. Zero config for 8 channels.
|
||||||
|
|
||||||
【路由方式】SKILL.md 包含路由表和常用命令,复杂场景需按需阅读对应分类的 references/*.md。
|
【路由方式】SKILL.md 包含路由表和常用命令,复杂场景需按需阅读对应分类的 references/*.md。
|
||||||
分类:search / social (小红书/抖音/微博/推特/B站/V2EX/Reddit) / career(LinkedIn) / dev(github) / web(网页/文章/公众号/RSS) / video(YouTube/B站/播客).
|
分类:search / social (小红书/抖音/微博/推特/B站/V2EX/Reddit) / career(LinkedIn) / dev(github) / web(网页/文章/公众号/RSS) / video(YouTube/B站/播客)。
|
||||||
|
|
||||||
Use when user asks to search, read, or interact on any supported platform,
|
|
||||||
shares a URL, or asks to search the web.
|
|
||||||
triggers:
|
triggers:
|
||||||
- search: 搜/查/找/search/搜索/查一下/帮我搜
|
- search: 搜/查/找/search/搜索/查一下/帮我搜
|
||||||
- social:
|
- social:
|
||||||
|
|||||||
@@ -1,18 +1,19 @@
|
|||||||
---
|
---
|
||||||
name: agent-reach
|
name: agent-reach
|
||||||
description: >
|
description: >
|
||||||
Give your AI agent eyes to see the entire internet.
|
MUST USE when user asks to search, browse, read, or interact with content from any supported platform:
|
||||||
Search and read 17 platforms: Twitter/X, Reddit, YouTube, GitHub, Bilibili,
|
Twitter/X, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu, Douyin, Weibo,
|
||||||
XiaoHongShu, Douyin, Weibo, WeChat Articles, Xiaoyuzhou Podcast, LinkedIn,
|
WeChat Articles, Xiaoyuzhou Podcast, LinkedIn, V2EX, Xueqiu (stocks), RSS, or any web URL.
|
||||||
V2EX, Xueqiu, RSS, Exa web search, and any web page.
|
|
||||||
Zero config for 8 channels. Use when the user asks to search, read, or interact
|
Also MUST USE for: web search, look up, research, find, share a URL/link, jobs/recruiting.
|
||||||
on any supported platform, shares a URL, or asks to search the web.
|
Routes to CLI tools: xhs-cli, twitter-cli, rdt-cli, gh, yt-dlp, curl+Jina, mcporter.
|
||||||
|
17 platforms, zero config for 8 channels.
|
||||||
|
|
||||||
Triggers: "search twitter", "search xiaohongshu", "watch this video",
|
Triggers: "search twitter", "search xiaohongshu", "watch this video",
|
||||||
"search the web", "look this up", "research", "youtube transcript",
|
"search the web", "look this up", "research", "youtube transcript",
|
||||||
"search reddit", "read this link", "bilibili", "douyin video",
|
"search reddit", "read this link", "bilibili", "douyin video",
|
||||||
"wechat article", "wechat official account", "weibo", "V2EX",
|
"wechat article", "wechat official account", "weibo", "V2EX",
|
||||||
"xiaoyuzhou", "podcast", "xueqiu", "stock quote",
|
"xiaoyuzhou", "podcast", "xueqiu", "stock quote", "雪球", "股票".
|
||||||
"install agent reach".
|
|
||||||
metadata:
|
metadata:
|
||||||
openclaw:
|
openclaw:
|
||||||
homepage: https://github.com/Panniantong/Agent-Reach
|
homepage: https://github.com/Panniantong/Agent-Reach
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ class TestSkillCommand(unittest.TestCase):
|
|||||||
with open(target) as f:
|
with open(target) as f:
|
||||||
content = f.read()
|
content = f.read()
|
||||||
self.assertTrue(content.strip())
|
self.assertTrue(content.strip())
|
||||||
self.assertIn("Give your AI agent eyes to see the entire internet.", content)
|
self.assertIn("WeChat Articles, Xiaoyuzhou Podcast", content)
|
||||||
self.assertNotIn("搜推特", content)
|
self.assertNotIn("搜推特", content)
|
||||||
self.assertTrue(
|
self.assertTrue(
|
||||||
os.path.exists(os.path.join(skill_parent, "agent-reach", "references"))
|
os.path.exists(os.path.join(skill_parent, "agent-reach", "references"))
|
||||||
|
|||||||
Reference in New Issue
Block a user