Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

Commit 0b8cfbc

Browse files
committed
docs!: deprecate plugin - skills now native in OpenCode v1.0.190+
BREAKING CHANGE: This plugin is deprecated. Skills functionality is now built into OpenCode natively. - Add graduation banner and migration guide - Document directory change (.opencode/skills/ → skill/) - Document config migration (tools → permission.skill) - Add Thank You section acknowledging community support - Promote opencode-sessions as the next plugin to try - Move original README to collapsed Historical Documentation section Native implementation PRs: - anomalyco/opencode#5930 (v1.0.190) - anomalyco/opencode#6000 (v1.0.191)
1 parent da0442d commit 0b8cfbc

1 file changed

Lines changed: 125 additions & 8 deletions

File tree

README.md

Lines changed: 125 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,117 @@
11
# OpenCode Skills Plugin
22

3-
[![npm version](https://img.shields.io/npm/v/opencode-skills.svg)](https://www.npmjs.com/package/opencode-skills)
3+
> ## 🎓 This Plugin Has Graduated to Native OpenCode Support!
4+
>
5+
> **Great news!** The skills functionality pioneered by this plugin is now **built into OpenCode** as of v1.0.190.
6+
>
7+
> This plugin served as the proof-of-concept that led to native skills support in OpenCode:
8+
>
9+
> - [PR #5930](https://github.com/sst/opencode/pull/5930) - Native `skill` tool with pattern-based permissions
10+
> - [PR #6000](https://github.com/sst/opencode/pull/6000) - Per-agent skill filtering (v1.0.191)
11+
>
12+
> **[Jump to Migration Guide](#migration)** | **[See What's Next](#whats-next)**
13+
14+
---
15+
16+
[![DEPRECATED](https://img.shields.io/badge/STATUS-DEPRECATED-red.svg)](#migration)
17+
[![Graduated to Native](https://img.shields.io/badge/Native%20Support-OpenCode%20v1.0.190+-success.svg)](https://github.com/sst/opencode/pull/5930)
418
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
519

6-
Bring Anthropic's Agent Skills Specification (v1.0) to OpenCode. This plugin automatically discovers and registers skills as dynamic tools, enabling the Agent to leverage specialized knowledge, workflows, and bundled resources.
20+
---
21+
22+
## Migration
23+
24+
### 1. Remove the Plugin
25+
26+
```diff
27+
// opencode.json
28+
{
29+
- "plugin": ["opencode-skills"]
30+
}
31+
```
32+
33+
### 2. Move Your Skills Directory
34+
35+
```bash
36+
# Native uses skill/ (singular) at project root instead of .opencode/skills/
37+
mv .opencode/skills skill
38+
39+
# For global skills
40+
mv ~/.opencode/skills ~/.config/opencode/skill
41+
```
42+
43+
### 3. Update Your Config (Optional)
44+
45+
Native skills use pattern-based permissions instead of tool-level config:
46+
47+
```diff
48+
// opencode.json
49+
{
50+
- "tools": {
51+
- "skills*": false,
52+
- "skills_my_skill": true
53+
- }
54+
+ "permission": {
55+
+ "skill": {
56+
+ "my-skill": "allow",
57+
+ "*": "deny"
58+
+ }
59+
+ }
60+
}
61+
```
62+
63+
### Key Differences
64+
65+
| Aspect | This Plugin | Native (v1.0.190+) |
66+
| ----------- | ---------------------- | --------------------------- |
67+
| Tool name | `skills_my_skill` | `skill` (single tool) |
68+
| Directory | `.opencode/skills/` | `skill/` |
69+
| Loading | Eager (all at startup) | **Lazy** (on-demand) |
70+
| Permissions | `tools` config | `permission.skill` patterns |
71+
72+
Your existing `SKILL.md` files work unchanged - just move them to the new location!
73+
74+
---
75+
76+
## Thank You! 💜
77+
78+
To everyone who starred, used, and provided feedback on this plugin - **your support made native implementation possible**.
79+
80+
This plugin was the first stepping stone, proving that the OpenCode community wanted skills support. Your adoption and feedback directly influenced the native implementation.
81+
82+
Special thanks to the OpenCode maintainers ([@thdxr](https://github.com/thdxr)) for the collaboration on PRs [#5930](https://github.com/sst/opencode/pull/5930) and [#6000](https://github.com/sst/opencode/pull/6000).
83+
84+
---
85+
86+
## What's Next?
87+
88+
I'm working on something new. **Stay tuned.**
89+
90+
In the meantime, check out my other OpenCode plugin:
91+
92+
### 🔄 [opencode-sessions](https://github.com/malhashemi/opencode-sessions)
93+
94+
**Multi-agent collaboration and workflow orchestration for OpenCode**
95+
96+
| Mode | What It Does |
97+
| ----------- | ---------------------------------------------------------------- |
98+
| **Fork** | Explore multiple approaches in parallel (compare architectures!) |
99+
| **Message** | Turn-based agent collaboration in the same conversation |
100+
| **New** | Clean handoffs between phases (Research → Plan → Build) |
101+
| **Compact** | Manual compression to maintain long conversations |
102+
103+
```bash
104+
# Add to opencode.json: { "plugin": ["opencode-sessions"] }
105+
```
106+
107+
---
108+
109+
## Historical Documentation
110+
111+
<details>
112+
<summary>📚 Original README (for reference)</summary>
7113

8-
## Features
114+
### Original Features
9115

10116
-**Auto-discovery** - Scans project, home, and config directories for skills
11117
-**Spec compliance** - Validates against Anthropic's Skills Specification v1.0
@@ -14,11 +120,11 @@ Bring Anthropic's Agent Skills Specification (v1.0) to OpenCode. This plugin aut
14120
-**Nested skills** - Supports hierarchical skill organization
15121
-**Graceful errors** - Invalid skills skipped with helpful messages
16122

17-
## Requirements
123+
### Requirements
18124

19125
- **OpenCode SDK ≥ 1.0.126** - Required for agent context preservation and `noReply` message insertion pattern
20126

21-
## Installation
127+
### Installation
22128

23129
Add to your `opencode.json` or `~/.config/opencode/opencode.json`:
24130

@@ -310,15 +416,26 @@ Skills are discovered at startup and cached. Adding or modifying skills requires
310416
311417
Contributions welcome! Fork, create a feature branch, and submit a PR.
312418
313-
## License
419+
### License
314420
315421
MIT - see [LICENSE](LICENSE)
316422
317-
## References
423+
### References
318424
319425
- [Anthropic Skills Specification](https://github.com/anthropics/skills)
320426
- [OpenCode Documentation](https://opencode.ai)
321427
428+
</details>
429+
430+
---
431+
432+
## Links
433+
434+
- **Native Skills Docs**: [opencode.ai/docs/skills](https://opencode.ai/docs/skills)
435+
- **PR #5930**: [Native skill tool](https://github.com/sst/opencode/pull/5930)
436+
- **PR #6000**: [Per-agent filtering](https://github.com/sst/opencode/pull/6000)
437+
- **opencode-sessions**: [github.com/malhashemi/opencode-sessions](https://github.com/malhashemi/opencode-sessions)
438+
322439
---
323440
324-
**Not affiliated with OpenAI or Anthropic.** This is an independent open-source project.
441+
_This repository is archived for historical reference. Not affiliated with OpenAI or Anthropic._

0 commit comments

Comments
 (0)