agentikit-opencode 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +58 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# agentikit-opencode
|
|
2
|
+
|
|
3
|
+
OpenCode plugin for the [Agentikit](https://github.com/itlackey/agentikit) CLI. Registers tools that let your AI agent **search**, **open**, and **run** extension assets from a stash directory.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Add to your OpenCode config (`opencode.json`):
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
{
|
|
11
|
+
"plugin": ["agentikit-opencode"]
|
|
12
|
+
}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Tools
|
|
16
|
+
|
|
17
|
+
| Tool | Description |
|
|
18
|
+
|------|-------------|
|
|
19
|
+
| `agentikit_search` | Search the stash for tools, skills, commands, agents, and knowledge |
|
|
20
|
+
| `agentikit_open` | Open a stash asset by its ref |
|
|
21
|
+
| `agentikit_run` | Run a tool by its ref |
|
|
22
|
+
| `agentikit_index` | Build or rebuild the search index |
|
|
23
|
+
|
|
24
|
+
## Prerequisites
|
|
25
|
+
|
|
26
|
+
The `agentikit` CLI must be installed and available on PATH. Install it from the [agentikit repo](https://github.com/itlackey/agentikit).
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
# macOS / Linux
|
|
30
|
+
curl -fsSL https://raw.githubusercontent.com/itlackey/agentikit/main/install.sh | bash
|
|
31
|
+
# PowerShell (Windows)
|
|
32
|
+
irm https://raw.githubusercontent.com/itlackey/agentikit/main/install.ps1 -OutFile install.ps1; ./install.ps1
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Stash model
|
|
36
|
+
|
|
37
|
+
Set a stash path via `AGENTIKIT_STASH_DIR`:
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
export AGENTIKIT_STASH_DIR=/abs/path/to/your-stash
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Expected layout:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
$AGENTIKIT_STASH_DIR/
|
|
47
|
+
├── tools/ # executable scripts (.sh, .ts, .js, .ps1, .cmd, .bat)
|
|
48
|
+
├── skills/ # skill directories containing SKILL.md
|
|
49
|
+
├── commands/ # markdown files
|
|
50
|
+
├── agents/ # markdown files
|
|
51
|
+
└── knowledge/ # markdown files
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Docs
|
|
55
|
+
|
|
56
|
+
- [Agentikit CLI](https://github.com/itlackey/agentikit)
|
|
57
|
+
- [OpenCode Plugins](https://opencode.ai/docs/plugins/)
|
|
58
|
+
- [OpenCode Custom Tools](https://opencode.ai/docs/custom-tools/)
|