docs: add OpenClaw install instructions and real repo URL
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
1d4d3a22f4
commit
fa941713a8
1 changed files with 27 additions and 1 deletions
28
README.md
28
README.md
|
|
@ -9,14 +9,40 @@ Python — read market data and place/cancel/query real orders.
|
||||||
|
|
||||||
## 安装 Install
|
## 安装 Install
|
||||||
|
|
||||||
|
### Claude Code / Claude 桌面端
|
||||||
|
|
||||||
从 git 仓库安装(把仓库克隆为技能目录):
|
从 git 仓库安装(把仓库克隆为技能目录):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone <仓库地址> ~/.claude/skills/polymarket
|
git clone ssh://git@git-ssh.almost.coolplus.me:4642/coolplus/polymarket-skill.git ~/.claude/skills/polymarket
|
||||||
```
|
```
|
||||||
|
|
||||||
或双击预打包的 `polymarket.skill` 由 Claude 桌面端安装,或把目录放进 `~/.claude/skills/`。
|
或双击预打包的 `polymarket.skill` 由 Claude 桌面端安装,或把目录放进 `~/.claude/skills/`。
|
||||||
|
|
||||||
|
### OpenClaw
|
||||||
|
|
||||||
|
OpenClaw 通过 `SKILL.md` 的 YAML frontmatter 发现技能,本仓库已兼容,无需改动。
|
||||||
|
技能目录:`~/.openclaw/skills`(全局,所有 agent 可见)或 `<workspace>/skills`(仅当前 agent)。
|
||||||
|
|
||||||
|
克隆进全局技能目录(自托管仓库推荐这种):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone ssh://git@git-ssh.almost.coolplus.me:4642/coolplus/polymarket-skill.git ~/.openclaw/skills/polymarket
|
||||||
|
```
|
||||||
|
|
||||||
|
或先克隆到任意位置,再用本地安装命令注册:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone ssh://git@git-ssh.almost.coolplus.me:4642/coolplus/polymarket-skill.git
|
||||||
|
openclaw skills install ./polymarket-skill --as polymarket # 加 --global 装到 ~/.openclaw/skills
|
||||||
|
openclaw skills verify polymarket # 校验并查看 Skill Card
|
||||||
|
```
|
||||||
|
|
||||||
|
> 若该仓库已发布到 ClawHub,也可 `openclaw skills install git:coolplus/polymarket-skill@main`
|
||||||
|
> (`git:owner/repo@ref` 语法面向 ClawHub/GitHub;自托管 SSH 仓库请用上面的 clone 方式)。
|
||||||
|
|
||||||
|
安装后 OpenClaw 会自动发现 `SKILL.md`;依赖(`requests` 等)仍按下方说明各自 `pip install`。
|
||||||
|
|
||||||
依赖:
|
依赖:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue