Skip to content

Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.

docs(wechat): use agent-reach interpreter for miku_ai search example (#188)

Pnante6406500f306
diff --git a/agent_reach/skill/SKILL.md b/agent_reach/skill/SKILL.md
index 3a4d636d..ffca7946 100644
--- a/agent_reach/skill/SKILL.md
+++ b/agent_reach/skill/SKILL.md
@@ -108,13 +108,16 @@ mcporter call 'douyin.get_douyin_download_link(share_link: "https://v.douyin.com
## 微信公众号 / WeChat Articles
**Search** (miku_ai):
-```python
-python3 -c "
+```bash
+# miku_ai is installed inside the agent-reach Python environment.
+# Use the same interpreter that runs agent-reach (handles pipx / venv installs):
+AGENT_REACH_PYTHON=$(python3 -c "import agent_reach, sys; print(sys.executable)" 2>/dev/null || echo python3)
+$AGENT_REACH_PYTHON -c "
import asyncio
from miku_ai import get_wexin_article
async def s():
- for a in await get_wexin_article('query', 5):
- print(f'{a[\"title\"]} | {a[\"url\"]}')
+ for a in await get_wexin_article(\'query\', 5):
+ print(f\'{a[\"title\"]} | {a[\"url\"]}\')
asyncio.run(s())
"
```