hf-implement

hf-implement is a skill for Claude Code, Codex from hujianbest/harness-flow. It costs 54 tokens per session (406 once invoked), scanned A, original, MIT.

A workflow guide for implementing a task from an agreed specification and architecture. It requires a red-green-refactor testing cycle for build work and a review before release.

In plain words
What is it for?
Use it to implement one task at a time, write failing tests first, run focused and complete test suites, update task status, and prepare demo evidence.
Why use it?
It keeps implementation tied to the planned work and makes behavior changes easier to check as they are built.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions subagents.

Part of the harness-flow plugin — 14 skills shipped together

Good fit Use it to implement one task at a time, write failing tests first, run focused and complete test suites, update task status, and prepare demo evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hujianbest/harness-flow/hf-implement
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 hujianbest/harness-flow --skill hf-implement
Clone the repo
git clone --depth 1 https://github.com/hujianbest/harness-flow

Made for: Claude Code, Codex.

Or install harness-flow, the plugin that ships this one along with the rest of its 14 skills.

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 hf-implement

README.md
[![agentmods](https://agentmods.dev/badge/skills/hujianbest/harness-flow/hf-implement.svg)](https://agentmods.dev/skills/hujianbest/harness-flow/hf-implement)
Your own site
<a href="https://agentmods.dev/skills/hujianbest/harness-flow/hf-implement"><img src="https://agentmods.dev/badge/skills/hujianbest/harness-flow/hf-implement.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 406 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.00054 $0.00406
Opus 5 $0.00027 $0.00203
Sonnet 5 $0.00011 $0.00081
Haiku 4.5 $0.00005 $0.00041

Measured 8d ago against content hash bd74adf18df7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

hf-implement 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 8d 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.

skills/hf-implement/SKILL.md · 33 lines

What it actually says

hf-implement

实现任务票(以及规格/架构)所描述的工作。

HarnessFlow 桥接

  1. 更新 progress.mdimplement。有 UI 时加载 hf-ui-design
  2. 同一时间只做一张前沿票(blockers 均已勾选)。
  3. 建造模式:每个行为变更走 hf-tdd(红→绿→重构);实现任务派 subagent,主会话编排。
  4. 票完成后勾选 tickets.md 对应 - [x] T-NN
  5. 全部任务票勾选后:hf-review(含代码门)→ reviews/code-review.md + 确认。
  6. 用户可感知:准备演示证据与体验路径,供进入 ship 阶段前验收。
  7. 下一步进入 hf-ship

主体

尽可能在规格/架构中预先约定的缝上使用 hf-tdd

定期运行类型检查和单个测试文件,并在最后运行一次完整测试套件。

完成后,在进入 ship 阶段前执行 hf-review

在用户或流程要求时,将工作提交到当前分支。

探索模式

feature.md模式: 探索:不强制 TDD;产物即弃;写入 conclusion.md 收尾;禁止进入 ship 阶段、禁止直接晋升代码

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. 8d ago First seen · 33 lines · 54 tokens per session scan A bd74adf18df7

Subscribe to this mod's changes

hf-implement is a skill published in the GitHub repository hujianbest/harness-flow (53 stars, last pushed 7d ago), licensed MIT. It adds 54 tokens to every session and 406 once invoked, about $0.0003 per session on Opus 5. 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.