@tmidev/hyper-opencode
v0.0.5
Published
OpenCode plugin for Agent Hyper - from vibe coding to hyper coding
Maintainers
Readme
@tmidev/hyper-opencode
OpenCode plugin for Agent Hyper.
Install
npm install @tmidev/hyper-opencodeFast Setup
npx @tmidev/hyper-opencode initCurrent package version: 0.0.5
init does three things:
- Chooses config scope (
globalorproject, default:global) - Adds plugin entry to OpenCode config
- Writes
~/.config/opencode/agent_hyper.jsonwith full built-in agent config (skills, autoLoadSkills, temperatures, and flags) - Copies
copilot-auth.tstemplate to the selected scope:- project scope:
<project>/.opencode/plugin/copilot-auth.ts - global scope:
~/.config/opencode/plugin/copilot-auth.ts
- project scope:
When agent_hyper.json already exists, init preserves existing per-agent model values and only refreshes other config fields.
Use --model-* flags to explicitly override preserved models.
Config search paths:
- Project:
<project>/opencode.jsoncthen<project>/opencode.json - Global:
~/.config/opencode/opencode.jsoncthen~/.config/opencode/opencode.json
Useful Flags
# no file writes
npx @tmidev/hyper-opencode init --dry-run --non-interactive
# force project scope
npx @tmidev/hyper-opencode init --non-interactive --yes --opencode-config-scope project
# set custom models
npx @tmidev/hyper-opencode init --non-interactive --yes \
--model-hyper-maestro github-copilot/gpt-5.4 \
--model-architect-lead github-copilot/gpt-5.3-codexPlanning-mode delegation
- Delegate to Scout when research is needed and you cannot name the file path upfront.
- Read-only exploration is allowed during planning; don't implement until execution.
- In planning mode, "don't execute" means don't implement.
- Canonical delegation threshold: delegate when work spans 2+ files, unclear ownership, or external systems.
Custom Derived Subagents
{
"agents": {
"forager-executor": {
"variant": "medium"
},
"quality-guardian": {
"model": "github-copilot/gpt-5.2-codex"
}
},
"customAgents": {
"forager-ui": {
"baseAgent": "forager-executor",
"description": "Use for UI-heavy implementation tasks.",
"model": "anthropic/claude-sonnet-4-20250514",
"temperature": 0.2,
"variant": "high"
},
"reviewer-security": {
"baseAgent": "quality-guardian",
"description": "Use for security-focused review passes."
},
"general-helper": {
"baseAgent": "general",
"description": "Use for generic utility and glue tasks when OpenCode general is available."
}
}
}Key Tools
hyper_feature_create,hyper_feature_completehyper_plan_write,hyper_plan_read,hyper_plan_approvehyper_tasks_sync,hyper_task_create,hyper_task_updatehyper_task_start,hyper_task_resume,hyper_task_donehyper_context_write,hyper_status,hyper_skill
hyper_feature_complete now auto-runs an AGENTS.md sync proposal (same as hyper_agents_md({ action: "sync" })) and returns the proposed diff in the tool output.
Changes are never auto-applied; use hyper_agents_md({ action: "apply", content: "..." }) after review.
Agents
hyper-maestroarchitect-leadswarm-leadscout-analystforager-executorquality-guardian
Built-in Skills
brainstormingwriting-plansexecuting-plansdispatching-parallel-agentsparallel-explorationtest-driven-developmentsystematic-debuggingusing-skillsverification-before-completioncode-reviewerdocker-masteryagents-md-mastery
Optional MCP IDs
websearchcontext7grep_appast_grep
Minimal Config Example
{
"$schema": "https://unpkg.com/@tmidev/hyper-opencode/schema/agent_hyper.schema.json",
"agentMode": "unified",
"enableToolsFor": [],
"disableSkills": [],
"disableMcps": [],
"sandbox": "none",
"customAgents": {},
"use_tdd": false,
"use_paralell": true,
"agents": {
"hyper-maestro": {
"model": "github-copilot/gpt-5.4",
"temperature": 0.5,
"skills": ["brainstorming", "writing-plans", "dispatching-parallel-agents", "executing-plans"],
"autoLoadSkills": ["using-skills", "parallel-exploration"]
}
}
}License
MIT with Commons Clause (see ../../LICENSE).
