hk-arch-audit

hk-arch-audit is a skill for Claude Code from deepklarity/harness-kit. It costs 118 tokens per session (1,059 once invoked), scanned A, original, MIT.

A review of how well a codebase is designed for coding agents to use. It scores eight areas, including available actions, shared data, context, complete data operations, interface updates, and discoverable capabilities.

In plain words
What is it for?
It helps assess agent access to application features, tools, data, user-interface changes, and prompt-driven workflows, using parallel reviewers for the eight principles.
Why use it?
It identifies gaps between what a human can do in an application and what an agent can do, then produces a scored report.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Good fit It helps assess agent access to application features, tools, data, user-interface changes, and prompt-driven workflows, using parallel reviewers for the eight principles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/deepklarity/harness-kit/hk-arch-audit
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 deepklarity/harness-kit --skill hk-arch-audit
Clone the repo
git clone --depth 1 https://github.com/deepklarity/harness-kit

Made for: Claude Code.

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-arch-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/deepklarity/harness-kit/hk-arch-audit/github.svg)](https://agentmods.dev/skills/deepklarity/harness-kit/hk-arch-audit)
Your own site
<a href="https://agentmods.dev/skills/deepklarity/harness-kit/hk-arch-audit"><img src="https://agentmods.dev/badge/skills/deepklarity/harness-kit/hk-arch-audit/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-arch-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/deepklarity/harness-kit/hk-arch-audit"><img src="https://agentmods.dev/badge/skills/deepklarity/harness-kit/hk-arch-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,059 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.00118 $0.01059
Opus 5 $0.00059 $0.00530
Sonnet 5 $0.00024 $0.00212
Haiku 4.5 $0.00012 $0.00106

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

Security

Grade A, and why

hk-arch-audit 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 9d 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.

.claude/skills/hk-arch-audit/SKILL.md · 108 lines

How it starts

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

/hk-arch-audit — Agent-Native Architecture Review

Conducts a comprehensive review of the codebase against agent-native architecture principles, launching parallel sub-agents for each principle and producing a scored report.

Context

<audit_context> $ARGUMENTS </audit_context>

Core Principles

# Principle One-liner
1 Action Parity Whatever the user can do, the agent can do
2 Tools as Primitives Tools provide capability, not behavior
3 Context Injection System prompt includes dynamic context about app state
4 Shared Workspace Agent and user work in the same data space
5 CRUD Completeness Every entity has full Create, Read, Update, Delete
6 UI Integration Agent actions immediately reflected in UI
7 Capability Discovery Users can discover what the agent can do
8 Prompt-Native Features Features are prompts defining outcomes, not code

Workflow

Step 1: Load reference material

Read references/agent-prompts.md in this skill's directory to get the detailed prompt for each sub-agent. That file contains the exact instructions, search strategies, and output format for all 8 principle audits.

Step 2: Check for single-principle audit

If $ARGUMENTS specifies a single principle, only run that one sub-agent. Valid argument forms:

Argument Principle
action parity or 1 Action Parity
tools or primitives or 2 Tools as Primitives
context or injection or 3 Context Injection
shared or workspace or 4 Shared Workspace
crud or 5 CRUD Completeness
ui or integration or 6 UI Integration
discovery or 7 Capability Discovery
prompt or features or 8 Prompt-Native Features

For single-principle audits, run one Explore sub-agent and present its findings directly — no summary table needed.

Step 3: Launch parallel sub-agents

Launch 8 parallel sub-agents using the Task tool with subagent_type: Explore, one per principle. Each agent should:

Read the full file on GitHub · 108 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. 9d ago First seen · 108 lines · 118 tokens per session scan A 12bc6668e710

Subscribe to this mod's changes

hk-arch-audit is a skill published in the GitHub repository deepklarity/harness-kit (96 stars, last pushed 1mo ago), licensed MIT. It adds 118 tokens to every session and 1,059 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

neuron-structured-output

Design and implement structured output classes for Neuron AI agents using SchemaProperty attributes and validation rules. Use this skill when the user mentions structured output, JSON schema extraction, data validation, output classes, DTOs for AI responses, extracting structured data from LLM, or configuring property…

neuron-core/neuron-ai · 104 tokens

neuron-test-engineer

Write tests for Neuron AI agents, RAG systems, workflows, and tools using the built-in testing utilities. Use this skill when the user mentions testing agents, writing unit tests, mocking AI providers, testing tool execution, verifying RAG retrieval, testing workflow behavior, or creating test cases for Neuron AI…

neuron-core/neuron-ai · 94 tokens

neuron-debugger

Debug and monitor Neuron AI applications with Inspector APM, event observability, logging, and performance analysis. Use this skill whenever the user mentions debugging, monitoring, observability, performance analysis, tracing, Inspector, or needs to understand why an agent is behaving a certain way. Also trigger for…

neuron-core/neuron-ai · 90 tokens

neuron-agent-builder

Create and configure Neuron AI agents with providers, tools, instructions, and memory. Use this skill whenever the user mentions building agents, creating AI assistants, setting up LLM-powered chat bots, configuring chat agents, or wants to create an agent that can talk, use tools, or handle conversations. Also…

neuron-core/neuron-ai · 89 tokens

compare-harnesses

Diff two scaffolded harnesses (ADR-031). Reports manifest meta drift + host list + per-file fingerprint changes (added/removed/changed). Exits 0 IDENTICAL, 1 DRIFT, 2 missing manifest. Use --bundle for the ADR-031 schema-1 JSON envelope.

ruvnet/metaharness · 66 tokens