fix: Skill 加 Setup 引导,纯 Skill 安装也能自动触发 pip install
SKILL.md 增加 Setup 段:Agent 读到 skill 后先检测 agent-reach CLI 是否存在,不存在则自动 pip install + agent-reach install。 README 说明同步更新。
This commit is contained in:
parent
25d869d3fe
commit
868822e2ed
4 changed files with 38 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ agent-reach install --env=auto
|
|||
npx skills add Panniantong/Agent-Reach@agent-reach
|
||||
```
|
||||
|
||||
安装后,Agent 会在 Skill 列表中看到 `agent-reach`,自动知道如何使用所有搜索和阅读能力。
|
||||
Skill 安装后,Agent 读取 SKILL.md 时会自动检测 `agent-reach` CLI 是否存在,不存在则引导安装。
|
||||
|
||||
> 如果通过 `agent-reach install` 安装,Skill 会自动注册,无需额外操作。
|
||||
</details>
|
||||
|
|
|
|||
|
|
@ -14,6 +14,24 @@ description: >
|
|||
|
||||
Read and search the internet across 9+ platforms via unified CLI.
|
||||
|
||||
## Setup
|
||||
|
||||
First check if agent-reach is installed:
|
||||
```bash
|
||||
agent-reach doctor
|
||||
```
|
||||
|
||||
If command not found, install it:
|
||||
```bash
|
||||
pip install https://github.com/Panniantong/agent-reach/archive/main.zip
|
||||
agent-reach install --env=auto
|
||||
```
|
||||
|
||||
`install` auto-detects your environment and installs all dependencies (Node.js, mcporter, bird CLI, gh CLI). Read the output and run `agent-reach doctor` to see what's active.
|
||||
|
||||
For channels that need user input, ask the user. See the full setup guide:
|
||||
https://raw.githubusercontent.com/Panniantong/agent-reach/main/docs/install.md
|
||||
|
||||
## Commands
|
||||
|
||||
### Read any URL
|
||||
|
|
|
|||
|
|
@ -14,6 +14,24 @@ description: >
|
|||
|
||||
Read and search the internet across 9+ platforms via unified CLI.
|
||||
|
||||
## Setup
|
||||
|
||||
First check if agent-reach is installed:
|
||||
```bash
|
||||
agent-reach doctor
|
||||
```
|
||||
|
||||
If command not found, install it:
|
||||
```bash
|
||||
pip install https://github.com/Panniantong/agent-reach/archive/main.zip
|
||||
agent-reach install --env=auto
|
||||
```
|
||||
|
||||
`install` auto-detects your environment and installs all dependencies (Node.js, mcporter, bird CLI, gh CLI). Read the output and run `agent-reach doctor` to see what's active.
|
||||
|
||||
For channels that need user input, ask the user. See the full setup guide:
|
||||
https://raw.githubusercontent.com/Panniantong/agent-reach/main/docs/install.md
|
||||
|
||||
## Commands
|
||||
|
||||
### Read any URL
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ agent-reach install --env=auto
|
|||
npx skills add Panniantong/Agent-Reach@agent-reach
|
||||
```
|
||||
|
||||
Once installed, your Agent will see `agent-reach` in its skill list and automatically know how to use all search and read capabilities.
|
||||
After the Skill is installed, the Agent will auto-detect whether `agent-reach` CLI is available and install it if needed.
|
||||
|
||||
> If you install via `agent-reach install`, the skill is registered automatically — no extra steps needed.
|
||||
</details>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue