Fix install docs: opencode auto-discovers skills, no skills.paths config
This commit is contained in:
parent
27fbe1f313
commit
5cf3779f8a
2 changed files with 41 additions and 42 deletions
28
README.md
28
README.md
|
|
@ -11,26 +11,18 @@
|
|||
## Quick Install
|
||||
|
||||
```bash
|
||||
# Local install
|
||||
git clone <repo-url> ~/.config/opencode/opencode-for-legal
|
||||
# Clone the repo
|
||||
git clone <repo-url> /tmp/opencode-for-legal
|
||||
|
||||
# Add to opencode.json:
|
||||
{
|
||||
"skills": {
|
||||
"paths": ["~/.config/opencode/opencode-for-legal/skills"]
|
||||
}
|
||||
}
|
||||
# Copy skills to your opencode skills directory
|
||||
cp -r /tmp/opencode-for-legal/opencode-for-legal/skills/* ~/.config/opencode/skills/
|
||||
|
||||
# Copy agents to your opencode agents directory
|
||||
mkdir -p ~/.opencode/agents
|
||||
cp /tmp/opencode-for-legal/opencode-for-legal/agents/* ~/.opencode/agents/
|
||||
```
|
||||
|
||||
Or use the remote catalog:
|
||||
|
||||
```json
|
||||
{
|
||||
"skills": {
|
||||
"urls": ["https://<your-host>/index.json"]
|
||||
}
|
||||
}
|
||||
```
|
||||
Opencode auto-discovers skills from `~/.config/opencode/skills/` and agents from `.opencode/agents/` — no config changes needed.
|
||||
|
||||
See [INSTALL.md](INSTALL.md) for full setup instructions.
|
||||
|
||||
|
|
@ -123,7 +115,7 @@ Each plugin has a practice-profile template in `opencode-for-legal/legal-config/
|
|||
|
||||
| Aspect | Original (Claude Code) | This Port (Opencode) |
|
||||
|---|---|---|
|
||||
| **Distribution** | Claude Code plugin marketplace | Opencode skills (local or remote catalog) |
|
||||
| **Distribution** | Claude Code plugin marketplace | Copy to `~/.config/opencode/skills/` (auto-discovered) |
|
||||
| **Skill invocation** | `/plugin:skill` slash commands | Auto-loaded by model from `skills/` directory |
|
||||
| **Skill naming** | Short names within plugin namespace | Namespaced: `{plugin}-{skill}` (e.g., `commercial-legal-nda-review`) |
|
||||
| **MCP config** | Per-plugin `.mcp.json` files | Single `opencode.json` with `mcp` key |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue