git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/hyperflow && cp -r /tmp/hyperflow/plugins/ai-agency/hyperflow/skills/hyperflow ~/.claude/skills/hyperflowSKILL.md
# Hyperflow Doctrine (single-agent port) Apply Hyperflow's behavioral floor in surfaces that load skills but do not provide the full Claude Code multi-agent runtime. ## Runtime Adaptation Codex, OpenCode, Antigravity, and Grok often run one foreground agent (or a host-specific subagent API). Where the full doctrine says to dispatch parallel workers under reviewers: - Prefer the host's subagent API when it exists (Codex spawn, OpenCode Task, Grok `spawn_subagent`). - Otherwise do the work yourself, one coherent batch at a time. - Self-review each batch before moving on. - Run a final integration self-review over the cumulative diff. - Preserve the same autonomy, clarification, commit cadence, file-first artefact, no-attribution, and security rules. ## Portable Function Router (Codex / OpenCode / Grok) These hosts load Hyperflow as skills, not as native Claude-style slash commands. Treat these user messages as function aliases and execute the matching skill workflow inline in the current thread: | User says | Run | |---|---| | `/hyperflow:plan`, `hyperflow plan`, `design with hyperflow`, `decompose with hyperflow` | `plan` | | `/hyperflow:dispatch`, `hyperflow dispatch`, `run the hyperflow plan` | `dispatch` | | `/hyperflow:workflow`, `hyperflow workflow`, `run a workflow` | `workflow` | | `/hyperflow:trace`, `hyperflow trace`, `debug with hyperflow` | `trace` | | `/hyperflow:audit`, `hyperflow audit`, `review with hyperflow` | `audit` | | `/hyperflow:deploy`, `hyperflow deploy`, `ship with hyperflow` | `deploy` | | `/hyperflow:cache`, `hyperflow cache` | `cache` | | `/hyperflow:status`, `hyperflow status` | `status` | | `/hyperflow:sticky`, `hyperflow sticky` | `sticky` | | `/hyperflow:bridge`, `hyperflow bridge` | `bridge` | | `/hyperflow:flush`, `hyperflow flush` | `flush` | | `/hyperflow:background`, `hyperflow background` | `background` | | `/hyperflow:scaffold`, `hyperflow scaffold` | `scaffold` | Do not answer that `/hyperflow:*` is an unknown command on these surfaces. Strip the alias, load the matching `skills/<name>/SKILL.md`, and follow its workflow. If that workflow says to use unavailable Claude Code tools (`Agent`, `Skill`, or `AskUserQuestion`), emulate them: do worker/reviewer steps inline with visible labels, continue chained skills inline, and use the interaction fallback below when a structured question UI is missing. ## Subagents And Auto-Chain ### Codex When Codex exposes multi-agent tools, map Hyperflow agent dispatches to Codex subagents instead of falling back to inline work: - Hyperflow `Agent` worker/searcher/writer calls map to Codex worker or explorer subagents. - If the callable tool is named `multi_agent_v1.spawn_agent`, use `agent_type: worker` for implementer/writer execution and `agent_type: explorer` for search/codebase-research tasks, then collect results before review. - Spawn independent sibling workers together when the runtime supports parallel subagent calls. - Every agent runs on the current session model — do not switch models per role. Match reasoning effort to task complexity: `low` for trivial docs/config checks, `medium` for normal planning/review, `high` for debugging, architecture, security, or final integration review. - Never request or default to `xhigh`. When Codex does not expose subagent tools in the current session, use the single-agent port above: execute worker/reviewer phases inline with clear labels and continue. ### Grok Grok CLI / Grok Build loads skills from `~/.grok/skills/`, project `.grok/skills/`, and compatible Claude/Cursor skill dirs. Project rules come from `AGENTS.md` / `CLAUDE.md` and `.grok/rules/`. Runtime signal often includes `GROK_AGENT=1`. When Grok exposes `spawn_subagent`, map Hyperflow dispatches as follows: | Hyperflow role | Grok `subagent_type` | |---|---| | implementer / writer / general worker | `general-purpose` | | searcher / codebase research | `explore` | | plan-only research (no file writes) | `plan` | | domain specialists (`architect`, `security-reviewer`, …) | matching type if registered; else `general-purpose` with the specialist charter in the prompt | - Spawn independent sibling workers together when the runtime supports parallel subagent calls. - If subagents are disabled (`GROK_SUBAGENTS=0` or config), run worker/reviewer phases inline with clear labels. - Prefer the native `AskUserQuestion` tool for structural gates when available. - Every agent runs on the current session model — no per-role model selection. - Do not invent Claude Code `Agent` tool calls; use `spawn_subagent` or inline work. ### Auto-chain (all portable hosts) For `/hyperflow:workflow`, use the portable workflow adapter (Codex / OpenCode / Grok branches in the workflow skill) instead of falling back to `scope`: research and planning, `.hyperflow/tasks/` progress tracking when needed, parallel subagents when exposed, inline worker/reviewer phases otherwise, adversarial verification, quality gates, per-task conventional commits, and final synthesis. Do not describe this as native Claude Code dynamic workflow support. These hosts may not expose Claude Code's `Skill` handoff tool. Treat every Hyperflow handoff as an inline auto-chain: - `plan` runs amplify → design → decompose inline, then **stops at its build-location gate** (always asked). It never auto-implements: on "this session" it continues into `dispatch` inline; on "another session" it writes a handoff package; on "stop" it keeps the plan. - `dispatch` offers `audit` and `deploy` structural gates, then runs the selected follow-up inline. - `audit` fix gates continue into `plan` with the generated audit-fix task (which then stops at its own build-location gate). Do not stop with "Skill tool unavailable". Auto-chain is a behavior contract, not a host API requirement. ## Interaction Fallback When a host lacks a structured question UI (or `AskUserQuestion` is unavailable), do not skip the question or silently choose the recommended option. Render t
Guard the beads execution record: enforce the write-flush-verify discipline that defeats the bd rapid-write race, audit epic dependency graphs for cycles and orphans, catch closures whose title overstates what shipped, flag open beads carrying no disposition or a disproven premise, and reconcile bd against its GitHub and Plane projections. Owns RECORD INTEGRITY; delegates graph analysis to bead-dependency-mapper and epic-closure drift to bead-epic-auditor rather than duplicating them. Use before closing an epic, after any batch of bd writes, when a bead premise looks stale, or when auditing whether the record matches reality. Trigger with "audit beads", "check the bead DAG", "did that close actually land", "bead hygiene".
Verify every factual assertion in a diff, PR body, commit message, bead note, or governing doc against the actual repository, and fail anything that cannot be substantiated by a command. Use before merging any PR that makes claims about counts, coverage, consumers, enforcement, provenance, or certification, and when auditing standing docs for rot. Trigger with "verify claims", "check this PR body", "is this claim true", "claim audit".
Design and build Omarchy (Quickshell/QML) bar-widget, panel, and service plugins that actually work on a stock install. Knows the hard runtime constraint (no node on the graphical session PATH), the first-party contracts (BarWidget, Panel, KeyboardPanel, PanelKeyCatcher, Service), the curl-from-QML data pattern, FileView persistence, and the marketplace submission bar. Use when starting a new Omarchy plugin, porting a plugin off an external runtime, wiring a service to a bar widget, or deciding how a widget should fetch and persist. Trigger with "build an omarchy plugin", "omarchy widget", "quickshell plugin", "port this plugin to QML".
Audit an Omarchy plugin before it reaches the marketplace: prove it installs and runs on a stock box (no node/python on the session PATH), run the omarchy-submit gate lane, validate on the rig with omarchy-plugin-validate and qmllint, and check the QML security invariants and first-party idiom contracts. Read-only: it reports and blocks, it does not rewrite the plugin. Use before submitting an entry, after any data-layer change, or when a plugin works on the dev box and you need to know whether it works for a real user. Trigger with "audit this omarchy plugin", "is this plugin submission ready", "will this plugin work when installed".
Audit and fix Claude Code SKILL.md files against enterprise compliance standards: frontmatter completeness, required body sections, and style. Use when validating or repairing skills in a plugin directory. Trigger with "audit skill", "fix skill compliance".
Learn how SKILL.md files work in Claude Code plugins, then build a production-quality agent skill from scratch. Covers frontmatter schema, body structure, testing, and iteration.
Step-by-step guide to writing a SKILL.md file for Claude Code. Learn how to plan, structure, and test auto-activating skills with proper frontmatter, allowed-tools, dynamic context injection, and supporting files.
|