opencode
opencode gets an in-process plugin and a rules block. The plugin runs inside opencode's own runtime, threads each search into the trace, and starts the daily release check when it loads, when a top-level session is created and at each of that session's idles. There is no skill directory: you paste the rules block into your AGENTS.md.
Install
Setup finds opencode when opencode is on PATH.
jevlin setup # sets up every agent it finds
jevlin setup -with opencode # found or not
jevlin agents install -client opencode # later, without the rest of setup
Install prints a rules block. Paste it into the AGENTS.md opencode reads, and restart opencode if it was open.
What is written
| path | what |
|---|---|
~/.config/opencode/plugins/jevlin.js | The plugin. Before each bash call that runs the search, it prefixes the command with the trace: the session, the turn and the assistant text before the call. When the plugin loads, when a top-level session is created and at each of its idles, it starts the daily release check; opencode reports one idle as two events, so the second start finds the check not due. |
your AGENTS.md | Nothing is written. Install prints the block for you to paste, which teaches the Bash form of the search command and the rules the skill teaches elsewhere. |
Use it
Ask opencode anything that needs the web, or name jevlin in the request. The rules block tells it to send one JSON request on stdin and read the merged list. opencode runs Bash on macOS and Linux. On Windows it resolves its shell when it starts: $SHELL wins whenever it is set (a terminal like Git Bash sets it), and only without one does it take the first of pwsh, PowerShell, Git Bash and cmd it finds. The plugin follows the same signal per call, so a search carries its bridge in the syntax of the shell that will run it. See Search from your agent.
What to know
Subagents. A subagent runs as a child session, and its searches name the session that started it. The plugin learns that from the session's creation, or asks opencode once.
The turn end. Each search carries the turn it was made in. With [search] turn_end = true, when a turn that searched goes idle the plugin pipes that turn to Jevlin: what you asked, what the assistant wrote, each tool by name, time and outcome, and the model. A tool's input and output are never read into it. See The turn end.
The tier. jevlin agents tier <tier> from a shell sets the tier every search carries, for opencode as for every agent. See Choosing a tier.
Known limits
/jevlin offandagents preferdo not reach it. The rules block carries no preference, so there is no slash command to turn this search off in opencode. Edit the block out ofAGENTS.mdinstead.
Remove
jevlin agents uninstall -client opencode
Removes the plugin. Take the rules block out of AGENTS.md yourself. See Removing and coming back.