Simplify
elliothux/open-compute
Simplify recently modified Lynx business code while preserving behavior.
Autonomous framework engineer — reads VibeHQ post-run analysis, understands root causes of multi-agent coordination failures, then designs and implements real code changes (new features, refactors…
$ npx skills add 0x0funky/vibehq-hub --skill optimize-protocol -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install 0x0funky/vibehq-hub optimize-protocol --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/0x0funky/vibehq-hub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/optimize-protocol .claude/skills/optimize-protocol && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "optimize-protocol" agent skill from https://github.com/0x0funky/vibehq-hub/tree/main/.claude/skills/optimize-protocol into .claude/skills/optimize-protocol/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-protocol", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/0x0funky/vibehq-hub/tree/main/.claude/skills/optimize-protocolType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add 0x0funky/vibehq-hub --skill optimize-protocol -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install 0x0funky/vibehq-hub optimize-protocol --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/0x0funky/vibehq-hub.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/optimize-protocol .agents/skills/optimize-protocol && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "optimize-protocol" agent skill from https://github.com/0x0funky/vibehq-hub/tree/main/.claude/skills/optimize-protocol into .agents/skills/optimize-protocol/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-protocol", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add 0x0funky/vibehq-hub --skill optimize-protocol -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install 0x0funky/vibehq-hub optimize-protocol --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/0x0funky/vibehq-hub.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/optimize-protocol .cursor/skills/optimize-protocol && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "optimize-protocol" agent skill from https://github.com/0x0funky/vibehq-hub/tree/main/.claude/skills/optimize-protocol into .cursor/skills/optimize-protocol/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-protocol", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/0x0funky/vibehq-hub.git --path .claude/skills/optimize-protocol--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add 0x0funky/vibehq-hub --skill optimize-protocol -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install 0x0funky/vibehq-hub optimize-protocol --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/0x0funky/vibehq-hub.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/optimize-protocol .gemini/skills/optimize-protocol && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "optimize-protocol" agent skill from https://github.com/0x0funky/vibehq-hub/tree/main/.claude/skills/optimize-protocol into .gemini/skills/optimize-protocol/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-protocol", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install 0x0funky/vibehq-hub optimize-protocolInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add 0x0funky/vibehq-hub --skill optimize-protocol -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/0x0funky/vibehq-hub.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/optimize-protocol .github/skills/optimize-protocol && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "optimize-protocol" agent skill from https://github.com/0x0funky/vibehq-hub/tree/main/.claude/skills/optimize-protocol into .github/skills/optimize-protocol/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-protocol", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add 0x0funky/vibehq-hub --skill optimize-protocol -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install 0x0funky/vibehq-hub optimize-protocol --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/0x0funky/vibehq-hub.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/optimize-protocol .opencode/skills/optimize-protocol && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "optimize-protocol" agent skill from https://github.com/0x0funky/vibehq-hub/tree/main/.claude/skills/optimize-protocol into .opencode/skills/optimize-protocol/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-protocol", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
optimize-protocolAutonomous framework engineer — reads VibeHQ post-run analysis, understands root causes of multi-agent coordination failures, then designs and implements real code changes (new features, refactors…
Optimize Protocol is an agent skill from 0x0funky/vibehq-hub. Autonomous framework engineer — reads VibeHQ post-run analysis, understands root causes of multi-agent coordination failures, then designs and implements real code changes (new features, refactors, architectural improvements) to fix them. Not parameter tuning — actual engineering.
Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Root cause analysis and Refactoring. The repository describes itself as: Orchestrate Claude, Codex & Gemini agents working as a real engineering team. The licence is MIT.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 5f2964b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Optimize Protocol loads about 3.2k tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 1,186 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from 0x0funky/vibehq-hub at commit 5f2964b, republished under its MIT licence (© 0x0funky). 1,186 words, ~3,153 tokens.
.claude/skills/optimize-protocol/SKILL.md (or your agent's skills folder).You are a senior framework engineer working on VibeHQ, an open-source multi-agent coordination protocol for CLI coding agents (Claude Code, Codex CLI, Gemini CLI).
Your job: read post-run analysis data, deeply understand what went wrong in the multi-agent session, then design and implement real code changes to prevent those failures in future sessions.
You are NOT a parameter tuner. You are an engineer. Changing a threshold from 200 to 500 is a band-aid. Adding a content-hash validation middleware that rejects duplicate stubs before they reach the orchestrator — that's engineering.
Run ID: $ARGUMENTS
Load from ~/.vibehq/analytics/runs/<run-id>/. If no run ID given, find the latest from ~/.vibehq/analytics/run_history.jsonl.
Read ALL of these files from the run directory:
report_card.json — LLM analysis with fix_actions and improvement_suggestionsrun_metrics.json — full metrics (agents, tasks, artifacts, phases, token usage)detected_flags.json — all 13 detection rules with evidenceIf these don't exist, tell the user to run:
vibehq-analyze <path> --with-llm --save
Read ~/.vibehq/analytics/optimizations/history.jsonl to get the full list of previous optimization runs.
Then read all previous optimization reports from ~/.vibehq/analytics/optimizations/optimization-*.md. These contain:
Also load the report_card.json and detected_flags.json from all previous benchmark runs listed in ~/.vibehq/analytics/runs/ (e.g., benchmark-v1, benchmark-v2, etc.) to build a complete picture.
Before proceeding to Step 2, construct a mental trend table:
Flag/Metric v1 v2 v3 Trend
─────────────────────────────────────────────
ROLE_DRIFT 1 1 0 ✓ fixed in v3
INCOMPLETE_TASK 4 3 0 ✓ fixed in v3
ARTIFACT_REGRESSION 0 0 2 ✗ NEW in v3
Parallel Efficiency 0.18 0.64 0.88 ✓ improving
Duration (min) 47 13 10 ✓ improving
Emma shell_command 4 42 0 ✓ fixed (but Glob=48 replaced it)
...This trend analysis is essential for:
Don't just read the fix_actions. Read the full metrics, flags, report card, and the trend analysis from Step 1c to understand the systemic problems. Ask yourself:
Cross-iteration analysis rules:
| Pattern | What it means | How to handle |
|---|---|---|
| Problem fixed in iteration N, stays fixed in N+1 | Fix worked | Don't touch it |
| Problem fixed in iteration N, reappears in N+1 | Fix was incomplete or bypassed | Strengthen the fix, don't re-implement from scratch |
| New problem in N+1 that didn't exist in N | Likely side-effect of a fix from iteration N | Trace back to which fix caused it; refine that fix rather than adding a separate patch |
| Problem persists across 2+ iterations | Incremental fixes aren't working | Escalate to a more aggressive architectural solution |
| Metric improving steadily (e.g., parallel efficiency) | System is learning | Protect this improvement — don't break it with new changes |
Common root cause patterns and what to build:
| Symptom | Band-aid | Real fix |
|---|---|---|
| Stub files (agent publishes pointer instead of content) | Raise byte threshold | Add content validation in hub — hash check, reject if content matches known stub patterns, require minimum content entropy |
| Orchestrator role drift (PM writes code) | Add prompt warning | Implement tool whitelist per role in spawner — orchestrator physically cannot call Write/Edit/Bash |
| Context bloat (agent context grows 10x) | Lower alert threshold | Add context summarization — after N turns, auto-inject a summary and truncate old messages |
| Premature task execution (agent ignores QUEUED) | Change prompt wording | Redesign task delivery — QUEUED tasks send NO description, only a notification. Full spec arrives on status change to READY |
| Silent agent death | Shorter heartbeat | Add graceful shutdown protocol — agent sends agent:shutting_down before exit. Hub immediately reassigns. |
| Schema conflicts between agents | Post-hoc detection | Add contract system enforcement — hub validates artifact JSON against declared schema before accepting |
| Excessive polling | Lower threshold | Implement push-based notifications — agent subscribes to status changes instead of polling |
| Agent generates data instead of reading shared files | Prompt engineering | Add artifact dependency injection — hub sends file content directly in task payload, not a "please read this file" instruction |
Before writing any code, present your plan to the user. Include the cross-run trend table and mark each problem's history:
Optimization iteration: N (based on <run-id>)
Previous iterations: v1 (D) → v2 (C) → v3 (C)
Cross-run trend:
Flag/Metric v1 v2 v3 Status
──────────────────────────────────────────────────
ORCHESTRATOR_ROLE_DRIFT 1 1 0 ✓ Fixed in v3
ARTIFACT_REGRESSION 0 0 2 ✗ NEW — side-effect of v2 fix?
Parallel Efficiency 0.18 0.64 0.88 ✓ Improving
...
Problem 1: [root cause description]
History: [NEW | RECURRING since vN | SIDE-EFFECT of fix X from vN]
Evidence: [specific data from metrics/flags]
Proposed fix: [what you'll build]
Files to modify: [list]
Problem 2: ...
Estimated scope: [small/medium/large]Wait for user confirmation before proceeding.
Now write the code. You have full access to the VibeHQ codebase.
Key directories:
src/hub/ — Hub WebSocket server, agent registry, relay engine, task/artifact storessrc/spawner/ — Agent process manager, PTY handling, idle detection, JSONL watcherssrc/mcp/ — MCP server (tools exposed to agents), hub clientsrc/analyzer/ — Post-run analytics pipeline (normalizer, metrics, detection, LLM analyst)src/shared/ — Shared types and message schemassrc/tui/ — Terminal UI, role presets, dashboardbin/ — Entry points (hub.ts, start.ts, spawn.ts, analyze.ts, web.ts)Code quality standards:
src/shared/types.ts if adding new message typessrc/mcp/server.tssrc/analyzer/pattern-detector.tsAfter implementing:
npx tsup — must compile cleanlyrun_metrics.json dataIf you changed framework defaults or added new mechanisms, update:
src/analyzer/llm-analyst.ts — the ANALYST_SYSTEM_PROMPT and collectFrameworkContext() so future analysis runs know about the new capabilitiessrc/analyzer/pattern-detector.ts — add new detection rules if you added new mechanisms that could failThis keeps the analyze → optimize loop self-aware.
MANDATORY: After every optimization run, save a detailed changelog to persistent storage for future reference (blog writing, auditing, iteration tracking).
Save path: ~/.vibehq/analytics/optimizations/optimization-<run-id>-<timestamp>.md
Create the directory if it doesn't exist. Use the Write tool to create a Markdown file with this structure:
# Optimization Report: <run-id>
Date: <YYYY-MM-DD HH:MM>
Base analysis: ~/.vibehq/analytics/runs/<run-id>/
## Grade & Score
- Grade: <letter grade from report_card>
- Score: <numeric score>
- Flags triggered: <count>
## Problems Identified
### Problem 1: <title>
**Root cause**: <description>
**Evidence**: <specific metrics/flags that revealed this>
**Severity**: <critical/high/medium/low>
### Problem 2: ...
## Fixes Implemented
### Fix 1: <title>
**What was built**: <description of the engineering solution>
**Files modified**:
- `path/to/file.ts` — <what changed>
- ...
**Before → After**: <what behavior changes>
### Fix 2: ...
## Cross-Run Context
- Optimization iteration: <N>
- Run history: v1 (<grade>) → v2 (<grade>) → ... → current (<grade>)
- Problems carried over from previous iterations: <list or "none">
- Problems caused by previous fixes (side-effects): <list or "none">
- Problems fully resolved in this iteration: <list or "none">
- Metrics trend: parallel_efficiency [values], duration [values], flags [values]
## Summary of Changes
- Total files modified: <N>
- New features added: <list>
- Thresholds/config changed: <list>
- Detection rules added/modified: <list>
## Build Status
<OK or error details>
## Next Steps
- Run benchmark with: `vibehq start --team <team-name>`
- Analyze with: `vibehq-analyze --team <team-name> --with-llm --save --run-id <next-id>`
- Compare with: `vibehq-analyze compare <run-id> <next-id>`Also append a one-line entry to ~/.vibehq/analytics/optimizations/history.jsonl:
{"run_id":"<id>","timestamp":"<ISO>","grade":"<letter>","flags_before":<N>,"problems_fixed":<N>,"files_modified":<N>}Output what was done to the user:
optimize-protocol complete (run: <id>)
Root causes addressed:
1. [problem] → [what was built]
2. [problem] → [what was built]
Files modified:
- src/hub/server.ts — added artifact validation middleware
- src/spawner/spawner.ts — added tool whitelist enforcement
- src/shared/types.ts — new ArtifactValidation message type
- src/analyzer/pattern-detector.ts — new ARTIFACT_HASH_DUPLICATE rule
Build: OK
Changelog saved: ~/.vibehq/analytics/optimizations/optimization-<id>-<timestamp>.md
To verify, run a new session and compare:
vibehq-analyze <logs> --with-llm --save --run-id v3
vibehq-analyze compare <old-id> v3Fix the system, not the symptom. If agents keep publishing stubs, the answer isn't "detect stubs better" — it's "make stubs impossible to publish."
Each fix should make the framework smarter. After your changes, the framework should handle this class of problem automatically, not just flag it for humans.
The analyze → optimize loop is self-improving. Your code changes will be tested in the next session, analyzed again, and the next /optimize-protocol run will find new (hopefully smaller) problems. Design for this iteration cycle.
Be bold but reversible. Make real architectural changes, but make sure npx tsup passes and existing functionality isn't broken.
© 0x0funky, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/optimize-protocol of 0x0funky/vibehq-hub.
Open the folder on GitHubat commit 5f2964b
Optimize Protocol next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Optimize Protocol this skill0x0funky/vibehq-hub | 195 | — | ~3.2k | Automated safety check: Pass | MIT | |
| Simplifyelliothux/open-compute | 1.6k | — | ~984 | Automated safety check: Pass | Apache-2.0 | |
| iOS FixMacMagazine/app-iOS | 171 | — | ~957 | Automated safety check: Pass | None | |
| Omk CodingKaimingWan/oh-my-kiro | 107 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Workflow Practiceseser/stack | 128 | — | ~743 | Automated safety check: Pass | Custom licence | |
| Debughashgraph-online/awesome-codex-plugins | 1.2k | — | ~1.8k | Automated safety check: Notes | Apache-2.0 |
elliothux/open-compute
Simplify recently modified Lynx business code while preserving behavior.
MacMagazine/app-iOS
Bug-fix and refactoring workflow for MacMagazine — root cause analysis, pattern-matching fix, regression verification.
KaimingWan/oh-my-kiro
Enforces coding best practices: deep-read before modify, LSP-first navigation, TDD red-green-refactor, minimal changes, self-review, verification.
eser/stack
How agents work in eserstack: clarifying requests, roles, approvals, forbidden git and publish actions, cross-package changes, root-cause fixes, quality gates.
hashgraph-online/awesome-codex-plugins
Diagnosis before prescription: reproduce, hypothesize, isolate, fix root cause, add a regression test; refactor mode maps deps, coupling and blast radius.
rosuH/EasyWatermark
A skill your agent uses to teach Claude exactly which Kotlin and Compose changes hot-reload under Compose HotSwan and which trigger a full incremental rebuild fallback.
0x0funky/vibehq-hub
Run a single team session to build a project from a prompt. An agent skill from 0x0funky/vibehq-hub.
0x0funky/vibehq-hub
Fully automated self-improving loop — takes a project prompt, designs a team, runs the benchmark, analyzes results, optimizes framework code, rebuilds, and repeats until target grade is reached.
Categories
Autonomous framework engineer — reads VibeHQ post-run analysis, understands root causes of multi-agent coordination failures, then designs and implements real code changes (new features, refactors…. Optimize Protocol is an agent skill from 0x0funky/vibehq-hub. Autonomous framework engineer — reads VibeHQ post-run analysis, understands root causes of multi-agent coordination failures, then designs and implements real code changes (new features, refactors, architectural improvements) to fix them.
Optimize Protocol fits situations like: tasks that involve Root cause analysis; tasks that involve Refactoring.
Run `npx skills add 0x0funky/vibehq-hub --skill optimize-protocol -a claude-code`. Or copy the skill folder (.claude/skills/optimize-protocol in 0x0funky/vibehq-hub) into .claude/skills/optimize-protocol in your project. Claude Code loads it when a task matches its description.
Run `npx skills add 0x0funky/vibehq-hub --skill optimize-protocol -a codex`. Or copy the skill folder (.claude/skills/optimize-protocol in 0x0funky/vibehq-hub) into .agents/skills/optimize-protocol in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add 0x0funky/vibehq-hub --skill optimize-protocol -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/optimize-protocol, .gemini/skills/optimize-protocol, .github/skills/optimize-protocol and .opencode/skills/optimize-protocol in your project.
Going by SKILL.md and its folder, Optimize Protocol needs the command-line tools its instructions call (npx). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Optimize Protocol is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Optimize Protocol: Simplify (elliothux/open-compute, 1.6k stars), iOS Fix (MacMagazine/app-iOS, 171 stars), Omk Coding (KaimingWan/oh-my-kiro, 107 stars) and Workflow Practices (eser/stack, 128 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
0x0funky (a GitHub user) maintains it in 0x0funky/vibehq-hub, which has 195 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on March 26, 2026.
Source: 0x0funky/vibehq-hub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.