Skip to content

Commit 3c18e68

Browse files
authored
Merge pull request #1 from replicate/add-clawhub-support
feat: add ClawHub support
2 parents 8a2b6c0 + 182ea28 commit 3c18e68

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,21 @@ jobs:
1616
uses: astral-sh/setup-uv@v3
1717
- name: Run lint
1818
run: script/lint
19+
20+
publish-clawhub:
21+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
22+
needs: lint
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
- name: Set up Node.js
28+
uses: actions/setup-node@v4
29+
with:
30+
node-version: "22"
31+
- name: Publish to ClawHub
32+
env:
33+
CLAWHUB_TOKEN: ${{ secrets.CLAWHUB_TOKEN }}
34+
run: |
35+
npx clawhub@latest login --token "$CLAWHUB_TOKEN"
36+
npx clawhub@latest publish skills/replicate --slug replicate --name "Replicate"

README.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,6 @@ Discover, compare, and run AI models using Replicate's API.
88

99
These skills work with any agent that supports the [Agent Skills standard](https://agentskills.io/specification), including Claude Code, OpenCode, OpenAI Codex, and Pi.
1010

11-
### npx skills
12-
13-
Install using the [`npx skills`](https://skills.sh) CLI:
14-
15-
```
16-
npx skills add https://github.com/replicate/skills
1711
```
18-
19-
### Claude Code
20-
21-
Install using the [plugin marketplace](https://code.claude.com/docs/en/discover-plugins#add-from-github):
22-
23-
```
24-
/plugin marketplace add replicate/skills
25-
```
26-
27-
### OpenCode
28-
29-
OpenCode automatically discovers Claude Code skills installed under `~/.claude/skills/`.
30-
31-
You can also copy `skills/replicate` into `~/.config/opencode/skills/replicate`.
12+
npx skills add replicate/skills
13+
```

0 commit comments

Comments
 (0)