convert-human-to-llm

convert-human-to-llm is a command for Claude Code from reggiechan74/cc-plugins. It costs 16 tokens per session (1,603 once invoked), scanned B, original, MIT.

A format-conversion command that changes a human-written SESF specification into an HSF specification for an LLM agent. It keeps the rules and logic while changing the document structure.

In plain words
What is it for?
Use it to turn an SESF file into an HSF file that an LLM agent can execute, while keeping the human-readable version as the source.
Why use it?
It avoids rewriting the same requirements for two audiences: people who review the specification and an LLM that follows it.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the structured-english plugin — 2 skills, 8 commands shipped together

Good fit Use it to turn an SESF file into an HSF file that an LLM agent can execute, while keeping the human-readable version as the source.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add reggiechan74/cc-plugins
Claude Code
/plugin install structured-english

Made for: Claude Code.

Or install structured-english, the plugin that ships this one along with the rest of its 2 skills, 8 commands.

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 convert-human-to-llm

README.md
[![agentmods](https://agentmods.dev/badge/commands/reggiechan74/cc-plugins/convert-human-to-llm/github.svg)](https://agentmods.dev/commands/reggiechan74/cc-plugins/convert-human-to-llm)
Your own site
<a href="https://agentmods.dev/commands/reggiechan74/cc-plugins/convert-human-to-llm"><img src="https://agentmods.dev/badge/commands/reggiechan74/cc-plugins/convert-human-to-llm/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 convert-human-to-llm

Your own site · 80×15
<a href="https://agentmods.dev/commands/reggiechan74/cc-plugins/convert-human-to-llm"><img src="https://agentmods.dev/badge/commands/reggiechan74/cc-plugins/convert-human-to-llm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,603 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00016 $0.01603
Opus 5.5 $0.00006 $0.00641
Sonnet 5.5 $0.00003 $0.00321
Haiku 4.5 $0.00002 $0.00160

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

Security

Grade B, and why

convert-human-to-llm scanned grade B with 1 finding 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 1mo 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.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

| Structured output instructions | `<output-schema format="json">` blocks |
structured-english/commands/convert-human-to-llm.md · 135 lines

How it starts

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

Convert SESF → HSF (Human Spec → LLM Spec)

Take a human-facing SESF v4.1 specification (with formal BEHAVIOR/PROCEDURE/RULE/STEP blocks) and convert it to an LLM-facing HSF v6 specification (prose instructions with XML section tags). Preserves all domain logic — only the format changes.

When to Use

Use this when:

  • A human authored a spec in SESF v4.1 and now an LLM agent needs to execute it
  • You want to maintain a human-readable source (SESF) and generate an LLM-optimized derivative (HSF)
  • You're bridging the dual-audience gap: humans think and author in formal blocks, LLMs execute prose

Workflow

Step 1: Load Both Skills

Read both skills fully:

  • The sesf skill at ${CLAUDE_PLUGIN_ROOT}/skills/sesf/SKILL.md — to understand the source format
  • The hsf skill at ${CLAUDE_PLUGIN_ROOT}/skills/hsf/SKILL.md — to understand the target format

Also read the HSF reference at ${CLAUDE_PLUGIN_ROOT}/skills/hsf/assets/reference.md.

Step 2: Read the Source Spec

If the user provided a file path in the arguments, read it. Otherwise, ask the user:

  • "Which SESF specification file should I convert?"

Read the full file content. Verify it is a SESF spec by checking for **BEHAVIOR** or **PROCEDURE** keywords. If not found:

  • If it has XML section tags like <purpose>, <instructions>, <config>, tell the user: "This is already in HSF v6 format. Use /update-LLM-spec if you want to optimize it further."
  • If it's not a spec at all, suggest /write-LLM-spec or /assess-LLM-doc.

Step 3: Analyze and Map

Build a conversion plan by mapping SESF structures to HSF equivalents:

SESF v4.1 Source HSF v6 Target
**BEHAVIOR** name: block <rules> section with bold list items, OR inline in the relevant phase
**RULE** name: with WHEN/THEN Bold list item: - **Rule name:** Natural sentence with MUST/SHOULD.
**PROCEDURE** name: block <instructions> with ### Phase headers
**STEP** name: desc → $var Phase header or numbered list item, $variable only if flow is complex
Rationale annotations (why) Strip unless the rationale prevents a common LLM misapplication
Inline @route inside BEHAVIOR <route name="..." mode="..."> with <case when="..."> and <default> elements
@config block <config> with JSON body (reference as config.key, not $config.key)
## Section headers XML section tags (<purpose>, <instructions>, <errors>, etc.)
Structured output instructions <output-schema format="json"> blocks
## Errors table Unchanged (within <errors> section tag)
Edge-case examples Unchanged

Read the full file on GitHub · 135 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. 1mo ago First seen · 135 lines · 16 tokens per session scan B 04800fc127a9

Subscribe to this mod's changes

convert-human-to-llm is a command published in the GitHub repository reggiechan74/cc-plugins (7 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 1,603 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-01.

Related

convert-human-to-llm compared with commands from other repositories

convert-human-to-llm next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
convert-human-to-llmreggiechan74/cc-pluginsCommand71mo agoMITB16Claude Code
checklistgithub/spec-kitCommand154ktodayMITA13Claude Code
clarifygithub/spec-kitCommand154ktodayMITA27Claude Code
specifygithub/spec-kitCommand154ktodayMITA13Claude Code
analyzegithub/spec-kitCommand154ktodayMITA26Claude Code
convergegithub/spec-kitCommand154ktodayMITA35Claude Code
implementgithub/spec-kitCommand154ktodayMITA14Claude Code