opencode-rules-systemOpenCode plugin - Auto-load rules from .claude/rules/ and .opencode/rules/ with conditional glob matching, frontmatter parsing, and system prompt injection
0
87
3 in 7 days
25.8
Multi-signal model
3 months ago
2026-04-26
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-rules-system@1.1.5"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-rules-system@1.1.5"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-rules-systemopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
No README provided
Missing documentation usually means the project is still early. Check the source repository for details.