
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
@hung319/opencode-hive
Advanced tools
From Vibe Coding to Hive Coding — The OpenCode plugin for plan-first, structured AI-assisted development with multi-agent orchestration.
Add @hung319/opencode-hive to your opencode.json:
{
"plugin": ["@hung319/opencode-hive"]
}
That's it. On first load, Hive auto-installs:
@sparkleideas/agent-booster (52x faster code editing), @sparkleideas/memory (vector memory)dora (SCIP code navigation), auto-cr-cmd (automated code review), btca (Bluetooth Classic Audio)All tools fall back gracefully if installation fails — nothing breaks.
Auto-generated at ~/.config/opencode/agent_hive.json:
{
"agentMode": "unified",
"agents": {
"hive": { "model": "anthropic/claude-sonnet-4-20250514", "temperature": 0.5 }
}
}
| Option | Default | Description |
|---|---|---|
agentMode | unified | dedicated splits planner + orchestrator into separate agents |
disableSkills | [] | Globally hide skills from hive_skill() |
disableMcps | [] | Globally disable MCP servers |
{
"agents": {
"hive": { "model": "anthropic/claude-sonnet-4-20250514", "variant": "high" },
"scout-researcher": { "model": "anthropic/claude-sonnet-4-20250514", "temperature": 0.5 },
"forager-worker": { "model": "anthropic/claude-sonnet-4-20250514", "variant": "medium" },
"hygienic-reviewer": { "model": "anthropic/claude-sonnet-4-20250514", "temperature": 0.3 }
}
}
Variants map to model-specific settings in your opencode.json (e.g., Anthropic thinking budgets).
Define derived agents from forager-worker or hygienic-reviewer:
{
"agents": {
"forager-worker": {
"variant": "medium"
},
"hygienic-reviewer": {
"model": "github-copilot/gpt-5.2-codex"
}
},
"customAgents": {
"forager-ui": {
"baseAgent": "forager-worker",
"description": "Use for UI-heavy implementation tasks.",
"model": "anthropic/claude-sonnet-4-20250514",
"temperature": 0.2,
"variant": "high"
},
"reviewer-security": {
"baseAgent": "hygienic-reviewer",
"description": "Use for security-focused review passes."
}
}
}
Omitted fields (model, variant, temperature) inherit from the base agent. autoLoadSkills merges with base defaults, de-duplicates, and applies global disableSkills. Custom agent IDs cannot reuse built-in Hive names or reserved plugin IDs.
| ID | Use Case |
|---|---|
brainstorming | Explore requirements before implementation |
writing-plans | Create detailed implementation plans |
executing-plans | Execute tasks in batches with review checkpoints |
dispatching-parallel-agents | Dispatch 2+ agents for independent work |
test-driven-development | Red-green-refactor cycle |
systematic-debugging | Root cause investigation before fixes |
code-reviewer | Review changes against plan |
verification-before-completion | Verify before claiming done |
docker-mastery | Docker container debugging and optimization |
Per-agent filtering: { "agents": { "forager-worker": { "skills": ["tdd", "verification-before-completion"] } } }
Auto-load skills: Use autoLoadSkills to inject skills into agent prompts at session start:
{
"agents": {
"hive": { "autoLoadSkills": ["parallel-exploration"] }
}
}
Resolution order: Hive builtin → Project OpenCode → Global OpenCode → Project Claude → Global Claude.
| MCP | Tool | Requires |
|---|---|---|
websearch | websearch_web_search_exa | EXA_API_KEY env |
context7 | context7_query-docs | None |
grep_app | grep_app_searchGitHub | None |
| Category | Tools |
|---|---|
| Feature | hive_feature_create, hive_feature_complete |
| Plan | hive_plan_write, hive_plan_read, hive_plan_approve |
| Task | hive_tasks_sync, hive_task_create, hive_task_update |
| Worktree | hive_worktree_start, hive_worktree_create, hive_worktree_commit, hive_worktree_discard |
| Merge | hive_merge |
| Context | hive_context_write |
| Memory | hive_memory_*, hive_vector_* |
| Code | hive_code_edit, hive_lazy_edit, hive_booster_status |
| Other | hive_status, hive_skill, hive_agents_md |
During planning, "don't execute" means "don't implement" (no code edits, no worktrees). Read-only exploration is explicitly allowed and encouraged, both via local tools and by delegating to Scout.
read/grep/glob is acceptable only for a single known file and a bounded question.Rust+WASM powered — 52x faster than Morph LLM, no API key needed.
hive_code_edit({
path: "src/index.ts",
oldContent: "const old = 'value';",
newContent: "const new = 'updated';"
})
HNSW indexing for semantic memory search:
hive_vector_add({
content: "Use async/await instead of .then() chains",
type: "learning",
tags: ["javascript", "best-practice"]
})
hive_vector_search({ query: "async patterns", type: "learning", limit: 10 })
Hive bounds worker prompts to prevent context overflow. Defaults: 10 tasks, 2K chars per summary, 20K per context file, 60K total. Exceeded content is truncated with ...[truncated] markers and file path hints.
If a task gets stuck in a blocked-resume loop:
hive_status() firstpending/in_progress: hive_worktree_start({ feature, task })hive_worktree_create({ task, continueFrom: "blocked", decision }) when status is exactly blockedMIT with Commons Clause — Free for personal and non-commercial use. See LICENSE for details.
FAQs
OpenCode plugin for Agent Hive - from vibe coding to hive coding
The npm package @hung319/opencode-hive receives a total of 388 weekly downloads. As such, @hung319/opencode-hive popularity was classified as not popular.
We found that @hung319/opencode-hive demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.