codehq

codehq is a skill for Claude Code, Codex from WinterArc21/HQFlow. It costs 0 tokens per session (3,582 once invoked), scanned A, original, MIT.

A documentation guide for HQFlow, a tool that displays JSON workflow descriptions from a repository as an interactive canvas in a browser. HQFlow does not contain its own AI model or upload the code.

In plain words
What is it for?
Use it to trace real user actions and code paths, write workflow files in .codehq/, and check diagnostics so the resulting HQFlow canvas is valid and useful.
Why use it?
It provides a way to document how the repository actually works while avoiding guesses, low-level clutter, and inaccurate workflow diagrams.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to trace real user actions and code paths, write workflow files in .codehq/, and check diagnostics so the resulting HQFlow canvas is valid and useful.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/winterarc21/hqflow/codehq
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add WinterArc21/HQFlow --skill codehq
Clone the repo
git clone --depth 1 https://github.com/WinterArc21/HQFlow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codehq

README.md
[![agentmods](https://agentmods.dev/badge/skills/winterarc21/hqflow/codehq/github.svg)](https://agentmods.dev/skills/winterarc21/hqflow/codehq)
Your own site
<a href="https://agentmods.dev/skills/winterarc21/hqflow/codehq"><img src="https://agentmods.dev/badge/skills/winterarc21/hqflow/codehq/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codehq

Your own site · 80×15
<a href="https://agentmods.dev/skills/winterarc21/hqflow/codehq"><img src="https://agentmods.dev/badge/skills/winterarc21/hqflow/codehq.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,582 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.03582
Opus 5.5 $0.00000 $0.01433
Sonnet 5.5 $0.00000 $0.00716
Haiku 4.5 $0.00000 $0.00358

Measured 6d ago against content hash 777e0595a75a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codehq scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

templates/codehq/SKILL.md · 237 lines

How it starts

The opening of the file, as written. The whole thing — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HQFlow — Agent Skill

You are documenting how this repository actually behaves, for a tool called HQFlow. HQFlow has no LLM of its own and never uploads code anywhere — it only renders the structured JSON files you write here, in .codehq/, as an interactive workflow canvas that a human can explore in their browser. Your job is to read the real source code and describe real workflows accurately, honestly, and at the right altitude.

The repository overview goes into .codehq/repository-map.json, and each detailed workflow goes into .codehq/workflows/<id>.json. HQFlow validates every file you write, watches .codehq/, and updates the canvas live. If validation fails, HQFlow writes the errors to .codehq/diagnostics.json. Read that file and fix the errors before handoff.

The 16 rules

  1. Start from a real user action, route, handler, server action, event consumer, cron task, or system entry point.
  2. Trace the relevant code path through the repository.
  3. Group low-level functions into meaningful product steps.
  4. Do not expose logging, generic utilities, framework internals, or trivial adapters as top-level steps.
  5. Prefer five to nine top-level steps for a normal workflow.
  6. Attach real repository-relative source files and symbols to each step.
  7. Record important inputs and outputs.
  8. Record meaningful failure branches and edge cases.
  9. Attach tests that prove the behavior when they exist.
  10. Preserve human-written names, notes, and corrections.
  11. Edit only files inside .codehq unless the user explicitly asks for source-code changes.
  12. Follow the supplied JSON schema exactly.
  13. Never add layout coordinates, colors, styling, or visual instructions.
  14. Run hqflow validate after completing a workflow or before handoff.
  15. If validation fails, read .codehq/diagnostics.json, repair the errors, and validate again.
  16. Write step name and purpose in product language a non-author can understand (e.g. "Collect website data", not pollFirecrawlBatch). Keep type and symbol names in inputs/outputs/sources — the canvas shows the product story; expand a card or open the drawer for files, types, and symbols.

Read the full file on GitHub · 237 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · -1 lines 777e0595a75a
  2. 2mo ago Changed · +30 lines db4b5adf8603
  3. 2mo ago First seen · 208 lines · 0 tokens per session scan A 30288d3ad27d

Subscribe to this mod's changes

codehq is a skill published in the GitHub repository WinterArc21/HQFlow (24 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,582 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

codehq compared with skills from other repositories

codehq next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codehqWinterArc21/HQFlowSkill244d agoMITA0Claude Code, Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code