hld

hld is a skill for Claude Code, Codex from AlanHuang168/AI-Project-Workflow. It costs 0 tokens per session (620 once invoked), scanned A, original, MIT.

A workflow step that turns an approved product requirements document, or PRD, into a high-level architecture document. It describes system boundaries, components, technology choices, data flow, deployment, dependencies, and risks.

In plain words
What is it for?
Creating or updating `docs/ARCH.md` after requirements have been approved, including recording the workflow state.
Why use it?
It provides a structured technical plan before business code is written and checks that the required project context is available.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Creating or updating docs/ARCH.md after requirements have been approved, including recording the workflow state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alanhuang168/ai-project-workflow/hld
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 AlanHuang168/AI-Project-Workflow --skill hld
Clone the repo
git clone --depth 1 https://github.com/AlanHuang168/AI-Project-Workflow

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 hld

README.md
[![agentmods](https://agentmods.dev/badge/skills/alanhuang168/ai-project-workflow/hld/github.svg)](https://agentmods.dev/skills/alanhuang168/ai-project-workflow/hld)
Your own site
<a href="https://agentmods.dev/skills/alanhuang168/ai-project-workflow/hld"><img src="https://agentmods.dev/badge/skills/alanhuang168/ai-project-workflow/hld/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 hld

Your own site · 80×15
<a href="https://agentmods.dev/skills/alanhuang168/ai-project-workflow/hld"><img src="https://agentmods.dev/badge/skills/alanhuang168/ai-project-workflow/hld.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 620 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.
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.00620
Opus 5.5 $0.00000 $0.00248
Sonnet 5.5 $0.00000 $0.00124
Haiku 4.5 $0.00000 $0.00062

Measured 2mo ago against content hash 35e5182cd8e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hld 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 2mo 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.

adapters/catpaw/.catpaw/skills/hld/SKILL.md · 83 lines

How it starts

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


name: hld description: Create high-level architecture from the approved PRD, including system context, components, technology choices, data flow, dependencies, deployment topology, and risks. Use when the user asks for architecture or invokes /hld. version: 1.0.0 stage: hld

Goal

Convert approved product requirements into a reviewable architecture document, docs/ARCH.md.

Use Cases

  • The user invokes /hld.
  • The user asks to create architecture.
  • The PRD is approved and the project needs system boundaries and technical direction.

Preconditions

  • docs/PRD.md exists and is not empty.
  • Workflow state shows prd complete unless the user explicitly approves a skip and the reason is recorded.

Required Context

  • AGENTS.md
  • .ai-workflow/state.json
  • core/rules/document-priority.md
  • core/templates/ARCH.template.md
  • docs/PRD.md
  • Existing docs/ARCH.md, if present

Inputs

  • Approved PRD.
  • User-provided technical constraints such as language, framework, database, or deployment environment.

Allowed Changes

  • docs/ARCH.md
  • .ai-workflow/state.json
  • Do not write business code.

Steps

  1. Confirm that the PRD exists and is not empty.
  2. Extract P0 features, non-functional requirements, non-goals, and risks.
  3. Define system context, components, technology choices, and key alternatives.
  4. Describe data flow, external dependencies, deployment topology, security approach, and performance constraints.
  5. List interface contracts at a high level without implementing them.
  6. Confirm that all P0 requirements are covered by the architecture.
  7. Write docs/ARCH.md.
  8. Update workflow state: documents.arch = "complete", add hld to completedStages, set currentStage = "sdd", and update the timestamp.

Outputs

  • docs/ARCH.md
  • Updated .ai-workflow/state.json

Acceptance Criteria

  • ARCH covers all P0 features from the PRD.
  • It includes system context, components, technology choices, data flow, deployment topology, external dependencies, security, performance, and risks.
  • Technology choices include rationale and key alternatives.
  • It does not include business implementation code.

Read the full file on GitHub · 83 lines

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. 2mo ago First seen · 83 lines · 0 tokens per session scan A 35e5182cd8e3

Subscribe to this mod's changes

hld is a skill published in the GitHub repository AlanHuang168/AI-Project-Workflow (30 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 620 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

hld compared with skills from other repositories

hld next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hldAlanHuang168/AI-Project-WorkflowSkill303mo agoMITA0Claude Code, Codex
backend-developmentMoizIbnYousaf/Ai-Agent-SkillsSkill1.2k1mo agoMITA32Claude Code, Codex
disconnectPerpetualSoftware/padSkill203todayApache-2.0A18Claude Code
gakidoHappyHackingSpace/skillsSkill56d agoMITA58Claude Code
threnody-fullstacktimjensgrossinger/threnodySkill21mo agoApache-2.0A51Claude Code
ai-memory-system-architecturehyxnj666-creator/ai-memorySkill446mo agoMITA46Claude Code
api-and-interface-designsampleXbro/agentsmeshSkill272d agoMITA49Claude Code, Codex