shynlee04/hivemind-plugin/hf-l2-meta-builder-core
Claude Code and agent skill by shynlee04/hivemind-plugin
- community
Checking that the SKILL.md file is still in the repository.
Routes requests about OpenCode meta-concepts (skills, agents, commands, tools) to specialist authors. Classifies intent, navigates step-by-step, reports back. Use when creating, auditing, stacking, or configuring any OpenCode meta-concept. Triggers on: 'create a skill', 'audit this skill', 'build an agent', 'set up a command', 'stack skills', 'configure OpenCode', 'fix skill trigger', '/hf-create', '/hf-audit', '/hf-stack'.
Install
npx vskill@latest install shynlee04/hivemind-plugin/hf-l2-meta-builder-coreSKILL.md
meta-builder
Overview
Routes requests about OpenCode meta-concepts (skills, agents, commands, tools) to the right specialist. Receives intent → classifies → navigates step-by-step → reports back. Does NOT create, edit, or execute domain work.
When to load this skill: The user wants to create, audit, stack, or configure any OpenCode meta-concept but hasn't gone directly to the specialist. This skill figures out what they need and routes them.
When NOT to load this skill: The user's request already matches a specialist skill directly (e.g., they said "audit this skill" and use-authoring-skills is available). Route directly instead.
What This Skill Handles
| Concept | What Gets Produced (per agentskills.io spec) | Where It Lives | |
|---|---|---|---|
| Skills | SKILL.md (required) + scripts/ (optional) + references/ (optional) + assets/ (optional) | .hivefiver-meta-builder/skills-lab/ → symlinked to .opencode/skills/ | |
| Agents | .md with YAML frontmatter, permissions, execution flows | .hivefiver-meta-builder/agents-lab/ → symlinked to .opencode/agents/ | |
| Commands | Thin shells with $ARGUMENTS parsing, agent binding, CI=true safety | .hivefiver-meta-builder/commands-lab/ → symlinked to .opencode/commands/ | |
| Tools | Zod schema designs, plugin hook patterns, lifecycle management | .opencode/ config + src/lib/ for custom tools |
What This Skill Does NOT Handle
| Not This Skill | Route To Instead | |
|---|---|---|
| "Build a NextJS app" / "Add an API endpoint" | Project-building agents (Hiveminder lineage) | |
| "Fix a TypeScript bug in src/" | Builder or critic agents | |
| "Run the test suite" | Direct execution — no routing needed | |
| "Explain how React hooks work" | Web search or direct answer |
The Subject Matter
Meta-concepts are the building blocks of an OpenCode project. Skills teach expertise. Agents execute. Commands force action. Tools interact with the environment. This skill teaches agents how to create, audit, stack, and manage those building blocks effectively.
Principles
- Iterative few-step interactive — one step, validate, show user, confirm, proceed. NOT autonomous long-horizon execution.
- No direct execution — route to specialists. Never create skills/agents/commands yourself.
- Max 3 skills per stack — context window is shared. If you can't explain why each skill is needed in one sentence, don't load it.
- Standalone-first — every meta-concept works with OpenCode alone. HiveMind runtime is bonus, not required.
- Edit in labs, test via symlinks — source of truth is
.hivefiver-meta-builder/**-lab/..opencode/is a symlink for live testing. Never edit.opencode/directly.
On Load
- Load background skill per the conditional table below — NOT all of them.
| If user asks about... | Load this ONE skill | |
|---|---|---|
| Agents, commands, tools, permissions | opencode-platform-reference | |
| Codebase analysis, repo exploration | repomix-exploration-guide | |
| Shell safety, non-interactive execution | opencode-non-interactive-shell | |
| Ambiguous intent, unclear scope | user-intent-interactive-loop | |
| Multi-step planning needed | hm-planning-persistence | |
| Nothing specific yet | None — wait for routing decision |
- Read planning files if they exist:
task_plan.md,findings.md,progress.md.
- For skill stacking (max 3 per stack), MANDATORY — read
references/04-skills-chaining.mdfor loading order and composition rules.
- Understand the Hivefiver workspace:
| File | Why It Matters | |
|---|---|---|
.hivefiver-meta-builder/AGENTS.md | Agent team, delegation protocol, iron laws | |
.hivefiver-meta-builder/distinguish-hivefiver-meta-builder.md | Entity boundaries (OpenCode / HiveMind / Hivefiver / Hiveminder) | |
.hivefiver-meta-builder/GENERAL-KNOWLEDGE.md | Platform synthesis requirements, skill lineages | |
.hivefiver-meta-builder/ONBOARDING-WORKFLOW-PROTOCOL.md | Onboarding protocol, skill stack, routing tree | |
.hivefiver-meta-builder/SKILLS-AGENTS-COMMANDS-TOOLS.md | Core lexicon, execution dynamics | |
.hivefiver-meta-builder/updating-for-hivefiver-onboarding.md | Misconceptions, prevention mechanisms | |
.hivefiver-meta-builder/workflows-lab/active/refactoring/ | Workflow source of truth |
The Iron Law
Max 3 skills per stack. If you can't explain why each skill is needed in one sentence, don't load it. Context window is shared — every unnecessary skill dilutes the ones that matter.
What Agents Actually Rationalize
| What agents say | What they actually did | Reality | |
|---|---|---|---|
| "I'll load all the skills to be thorough" | Loaded 6+ skills, context blown, ignored all of them | Max 3. Load order matters. | |
| "The routing table says route to X, but I think Y is better" | Routed to wrong skill, task failed | Trust the table. If it's wrong, fix the table — don't improvise. | |
| "I can handle this myself, no need to delegate" | Edited files directly, broke patterns | meta-builder routes. It doesn't execute. | |
| "I'll just edit the skill file directly" | Created skill that doesn't trigger | Delegate to skill-authoring. Always. | |
| "I'll load find-skills to find similar skills first" | Spent context budget on vague self-referential search | Never use find-skills as a pre-creation rabbit hole. | |
| "I'll read all 20 skill files at once for the audit" | Blew context, produced unusable report | Chunk audits. One phase at a time. |
OpenCode Meta Concepts — Mind Map
Skills teach expertise. Agents execute. Commands force action. Tools interact with the environment. Workflows sequence steps. Permissions gate access. Rules constrain behavior. Configs wire it all together.
Key relationships:
- Skills are loaded by agents via the
skilltool — progressive disclosure in action - Commands bind to agents via
agent:frontmatter — deterministic entry points - Tools are invoked by agents during execution — bash, read, write, grep, glob, etc.
- Workflows are procedural files that agents execute step-by-step
- Permissions (in
opencode.json) gate which tools each agent can use - Rules (in
.opencode/rules/) constrain agent behavior globally
Example: An Agentic Workflow in Action
Domain Routing — When to Create What
| User Need | Create | Why | Example | |
|---|---|---|---|---|
| Persistent behavioral change across sessions | Skill | Teaches expertise, loaded on demand | "Teach the agent how to audit skills" | |
| Autonomous execution with specific permissions | Agent | LLM + tools + permissions + memory | "Create a researcher that can web search but not edit files" | |
| Deterministic one-shot action | Command | Bypasses reasoning, forces action | "Run the audit pipeline" | |
| Environment interaction (API, DB, filesystem) | Tool | External function the LLM invokes | "Add a tool that queries our internal API" | |
| Multi-step procedural logic | Workflow | Sequential steps executed by agents | "Onboarding flow: context load → skill activation → intent classification" |
Power Tools — Built-in Capabilities Often Misused
These OpenCode built-in tools are the most powerful primitives for meta-builder work. Know them. Use them correctly. Reference their depth-skill files when needed.
question — Gate Execution Before Acting
What it does: Presents structured choices to the user during execution. Each question has a header, text, and options. Users can select or type custom answers.
Why it matters: Setting question: allow in agent permissions prevents execution before user approval. The agent MUST stop and ask. This is the primary guardrail against autonomous long-horizon execution.
When to use: Before routing to a specialist, before committing changes, before loading skills beyond the max-3 limit.
todowrite — Track Progress Visibly
What it does: Creates and updates task lists during complex operations.
Why it matters: Every meta-concept workflow ends with a TODO list showing completion status. This is Step 5 of the 5-step workflow.
Note: Disabled for subagents by default. Enable manually when needed.
patch — Apply Diffs Safely
What it does: Applies patch files to your codebase. Controlled by the edit permission (along with edit, write, multiedit).
Why it matters: When auditing and fixing skills across multiple files, patches are safer than full rewrites. They show exactly what changed.
When to use: Applying critic review fixes, syncing lab changes to .opencode/ copies, updating frontmatter across multiple skills.
grep + glob — Find Before You Read
What they do: grep searches file contents with regex. glob finds files by pattern. Both use ripgrep under the hood, respecting .gitignore.
Why it matters: Never read full files when frontmatter or specific sections are needed. Grep first, read only what's necessary.
lsp (experimental) — Code Intelligence
What it does: Interacts with LSP servers for definitions, references, hover info, call hierarchy. Requires OPENCODE_EXPERIMENTAL_LSP_TOOL=true.
Why it matters: When auditing TypeScript harness code (src/), use LSP to find all references to a function, trace imports, understand dependencies without reading every file.
skill — Load Skills On Demand
What it does: Loads a SKILL.md file and returns its content in the conversation. This IS the routing mechanism.
Why it matters: When meta-builder routes to use-authoring-skills, it calls skill({ name: "use-authoring-skills" }). This is progressive disclosure in action.
execute-slash-command — Dispatch Commands Deterministically
What it does: Executes an OpenCode slash command via POST /session/:id/command
Why it matters: Commands force action without reasoning overhead
When to use: Running /hf-create, /hf-audit, /hf-stack, or any registered command
hivemind-command-engine — Discover and Analyze Commands
What it does: CQRS read-side for command management. Actions: discover, list_commands, analyze_contract, render_context, transform_messages, route_preview
Why it matters: Don't hardcode command names — discover available commands dynamically before executing.
webfetch + websearch — External Knowledge
What they do: webfetch retrieves content from a specific URL. websearch searches the web via Exa AI.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingassets/skills/hf-l2-meta-builder-core/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 17
- Repository npm downloads, 7 days
- 18
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 3 Jul 2026, 4 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/shynlee04/hivemind-plugin/hf-l2-meta-builder-core)