| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
An OpenCode plugin that integrates OpenSpec, providing a dedicated agent for planning and specifying software architecture.
This plugin addresses the need for a dedicated planning mode in OpenCode.
The Problem: When using OpenCode's standard "Build mode" to create or modify OpenSpec planning documents, AI agents often attempt to start implementing code changes immediately, before the planning phase is complete. This can lead to premature coding and a lack of focus on the architectural design.
The Solution: opencode-plugin-openspec introduces a specialized OpenSpec Architect agent. This agent is configured to:
Option 1: Let your agent do it (Recommended)
Copy and paste this prompt to your LLM agent (Claude Code, AmpCode, Cursor, etc.):
Install opencode-plugin-openspec by following the instructions here: https://raw.githubusercontent.com/Octane0411/opencode-plugin-openspec/main/README.md
Option 2: Manual Installation
Add the plugin package name to your opencode.json configuration file (usually located at ~/.config/opencode/opencode.json or .opencode/opencode.json):
{
"plugin": [
"opencode-plugin-openspec"
]
}OpenCode will automatically download and install the plugin the next time it runs.
If you are an AI agent tasked with setting up this plugin, follow these steps:
IMPORTANT: Do NOT run npm install or any terminal commands. You only need to edit the configuration file.
Locate Configuration: Find the user's OpenCode configuration file. It is typically at ~/.config/opencode/opencode.json or .opencode/opencode.json in the workspace root.
Read Configuration: Read the content of the configuration file.
Update Configuration: Add "opencode-plugin-openspec" to the plugin array. If the plugin array does not exist, create it.
{
"plugin": [
"opencode-plugin-openspec"
]
}Verify: Inform the user that the plugin has been added and will be installed on the next OpenCode run.
Note: You do not need to run npm install or download the package manually. OpenCode will automatically fetch the plugin based on the configuration.
Clone the repository:
git clone https://github.com/Octane0411/opencode-plugin-openspec.git
cd opencode-plugin-openspecInstall dependencies:
bun installBuild the plugin:
bun run buildRun watch mode for development:
bun run watchMIT
| Back | FazBrowse Home | New Git URL |