Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,21 @@ jobs:
uses: astral-sh/setup-uv@v3
- name: Run lint
run: script/lint

publish-clawhub:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Publish to ClawHub
env:
CLAWHUB_TOKEN: ${{ secrets.CLAWHUB_TOKEN }}
run: |
npx clawhub@latest login --token "$CLAWHUB_TOKEN"
npx clawhub@latest publish skills/replicate --slug replicate --name "Replicate"
22 changes: 2 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,6 @@ Discover, compare, and run AI models using Replicate's API.

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

### npx skills

Install using the [`npx skills`](https://skills.sh) CLI:

```
npx skills add https://github.com/replicate/skills
```

### Claude Code

Install using the [plugin marketplace](https://code.claude.com/docs/en/discover-plugins#add-from-github):

```
/plugin marketplace add replicate/skills
```

### OpenCode

OpenCode automatically discovers Claude Code skills installed under `~/.claude/skills/`.

You can also copy `skills/replicate` into `~/.config/opencode/skills/replicate`.
npx skills add replicate/skills
```