docs: desktop install + OpenCode command linking#105
Merged
Conversation
slamp
reviewed
Jun 17, 2026
|
|
||
| The `./` path resolves against your project's `opencode.json`; to share one checkout across projects, point it at the absolute path of the `.mjs` instead (it finds its `hooks/` and `skills/` relative to its own file). | ||
|
|
||
| The plugin path loads the ruleset everywhere, but the `/ponytail` commands are separate files in `.opencode/command/` that OpenCode only discovers from your project or the global commands dir. To use them outside this checkout, link them once: `ln -sf /absolute/path/to/ponytail/.opencode/command/* ~/.config/opencode/command/`. |
There was a problem hiding this comment.
opencode use .opencode/commands
ref: https://github.com/anomalyco/opencode/blob/417ad240c76fdd26f83c8d6dfdccf2382518d234/packages/web/src/content/docs/commands.mdx
Another PR provide a patch for commands, you can check it here:
see #130
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two small install-doc additions that came out of triaging open issues today.
/plugincommand, so the README now documents the UI flow (Customize, add marketplace from repository)..mjsplugin loads the ruleset globally, but the/ponytailcommands are separate files in.opencode/command/that OpenCode only finds per-project or in the global commands dir. The README now shows the one-timeln -sfto use them outside a checkout.Docs only, +4 lines. The compact SKILL.md copies are untouched, so
check-rule-copies.jsstays green.🤖 Generated with Claude Code