hk-creating-checks

hk-creating-checks is a skill for Claude Code from technicalpickles/pickled-claude-plugins. It costs 111 tokens per session (1,184 once invoked), scanned A, original, MIT.

A guide for adding or repairing checks in hk, a tool that runs project checks and fixes from an hk.pkl configuration file. It explains how to match the configuration to the installed hk version.

In plain words
What is it for?
Use it to define checks, choose built-in checks, write custom commands, declare their effects, and troubleshoot hk errors.
Why use it?
It helps avoid invalid configuration and commands when hk versions use different syntax or safety options.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hk plugin — 1 skill shipped together

Good fit Use it to define checks, choose built-in checks, write custom commands, declare their effects, and troubleshoot hk errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/technicalpickles/pickled-claude-plugins/hk-creating-checks
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 technicalpickles/pickled-claude-plugins --skill hk-creating-checks
Clone the repo
git clone --depth 1 https://github.com/technicalpickles/pickled-claude-plugins

Made for: Claude Code.

Or install hk, the plugin that ships this one along with the rest of its 1 skill.

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 hk-creating-checks

README.md
[![agentmods](https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/hk-creating-checks/github.svg)](https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/hk-creating-checks)
Your own site
<a href="https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/hk-creating-checks"><img src="https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/hk-creating-checks/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 hk-creating-checks

Your own site · 80×15
<a href="https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/hk-creating-checks"><img src="https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/hk-creating-checks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,184 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.00111 $0.01184
Opus 5.5 $0.00044 $0.00474
Sonnet 5.5 $0.00022 $0.00237
Haiku 4.5 $0.00011 $0.00118

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

Security

Grade A, and why

hk-creating-checks 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.

plugins/hk/skills/hk-creating-checks/SKILL.md · 62 lines

How it starts

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

Creating hk checks

A check is an hk step: a name, the files it applies to, and check / fix commands, defined in hk.pkl (hk's config, written in the Pkl language). This skill is about writing one that works on the hk version the project actually runs.

First: which hk?

Syntax and agent-safety features changed a lot between 1.x and 2.x. Find out before writing anything:

hk --version                                  # the runtime
grep -m1 'hk@' hk.pkl                         # the schema the config amends ([email protected])
grep -n 'hk' mise.toml .mise.toml 2>/dev/null # what the project pins

The amends URL decides what syntax is valid; the binary decides what runs. They can disagree. Check references/versions.md for what each version supports. The short version:

hk What you can use
before 1.55 String commands only. No effect, no --safe, no hk agent.
1.55 and later CommandSpec with effect, --safe, hk agent, hk mcp.
2.0 and later Top-level steps (implicit check, fix, pre-commit hooks), flat builtins with options, Pkl-only config.

Workflow

  1. Look for a builtin first. hk builtins | grep -i <tool>. Use Builtins.<name> and override only what differs: (Builtins.ruff) { glob = List("src/**/*.py") }. Builtins already declare effects (1.55 and later).
  2. Otherwise write a step. See references/step-anatomy.md for fields, command forms (shell string vs argv), templates like {{files}}, and check vs fix vs check_diff.
  3. Declare the effect (1.55 and later), using CommandSpec, hk's wrapper that lets a command carry an effect. --safe refuses a step whose effect is unknown, and coding-agent hooks run --safe. See references/effects.md for how to choose read, write, or destructive.
  4. Wire it into hooks. On 2.x, put it under top-level steps and it appears in check, fix, and pre-commit. On 1.x, add it to each hooks { ... steps { } } block.
  5. Verify (below).

Read the full file on GitHub · 62 lines

Files

What ships with it

3 files 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 · 62 lines · 111 tokens per session scan A 814270f263a7

Subscribe to this mod's changes

hk-creating-checks is a skill published in the GitHub repository technicalpickles/pickled-claude-plugins (12 stars, last pushed today), licensed MIT. It adds 111 tokens to every session and 1,184 once invoked, about $0.0004 per session on Opus 5.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-10-20.

Related

Other skills, from other repositories

absolute-work

End-to-end, phase-gated SDLC for AI coding agents: relentless design interview → reviewed spec → dependency-graphed task board → safe-wave TDD execution → verification → converge. Handles features, bugs, refactors, greenfield projects, planning breakdowns, and migrations. Triggers on "absolute work", "build this…

maddhruv/absolute · 104 tokens

absolute-deflake

Flaky test fixes: detect nondeterministic tests empirically (repeat/shuffle/parallel runs), diagnose the root cause, fix it — never retry/skip/sleep — and verify across many randomized runs. Triggers on "absolute deflake", "fix flaky tests", "CI is flaky", "this test fails randomly/intermittently".

maddhruv/absolute · 73 tokens

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

VidyFoo/antigravity-skill-engine · 35 tokens

testing

A guide for writing tests that check observable behaviour rather than the code's internal structure. Tests are repeatable checks that confirm software still gives the expected result after changes.

Lion-1209/Lion-Skills · 16 tokens

verify-and-fix

A development practice for checking that code really works before calling it finished. It uses tests, type checks, and real runs of the target scenario where available.

Lion-1209/Lion-Skills · 26 tokens

playwright-cli

A command-line tool for controlling Chromium, Firefox, and WebKit browsers, including navigation, page interaction, screenshots, PDFs, and recorded actions.

UnicomAI/wanwu · 76 tokens