A small ASCII duck lives in your OpenCode sidebar. It swims while the session works, then settles at the edge and tells a short joke about your session, written by the same model that just answered you.
Ducksay
╭───────────────────────────╮
│ Quack-quack! │
__ ╰───────────────────────────╯
___( o)< ╯
\ <_. ) ~~~~ ~~~~ ~~~~ ~
~~~~ ~~~~ ~~~~ ~~~~
Type /duck <text> in the TUI to talk to the duck. The dialogue never enters the session's context or transcript.
Add the package to ~/.config/opencode/cli.json to enable it everywhere:
{
"plugins": ["opencode-ducksay"]
}To enable it in one project only, add the same entry to that project's opencode.json instead.
Restart OpenCode. There is no build step.
- How the duck behaves — swimming, jokes, questions, talking to the duck and the water.
- Configuration and options —
swimSpeed,silent,llmTimeout,llmContextDepthand the sidebar settings.
MIT © Evgeniy Arapov