craft-skill

craft-skill is a skill for Claude Code from ondrej-svec/heart-of-gold-toolkit. It costs 60 tokens per session (1,320 once invoked), scanned A, original, MIT.

A meta-skill for writing and improving SKILL.md files, which are instruction files that guide coding agents. It uses a checklist of prompting techniques and can read existing examples or knowledge files.

In plain words
What is it for?
Use it to create, generate, refine, or template a skill, including deciding what it should do, who should use it, when it should activate, and where its instruction file belongs.
Why use it?
It helps turn an idea into clear, structured instructions for an agent. It also sets boundaries so the authoring process does not execute other skills or modify code files.

Skill 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 deep-thought plugin — 11 skills, 9 agents shipped together

Good fit Use it to create, generate, refine, or template a skill, including deciding what it should do, who should use it, when it should activate, and where its instruction file belongs.

Compare 6 skills 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 ondrej-svec/heart-of-gold-toolkit
Claude Code
/plugin install deep-thought

Made for: Claude Code.

Or install deep-thought, the plugin that ships this one along with the rest of its 11 skills, 9 agents.

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 craft-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/ondrej-svec/heart-of-gold-toolkit/craft-skill/github.svg)](https://agentmods.dev/skills/ondrej-svec/heart-of-gold-toolkit/craft-skill)
Your own site
<a href="https://agentmods.dev/skills/ondrej-svec/heart-of-gold-toolkit/craft-skill"><img src="https://agentmods.dev/badge/skills/ondrej-svec/heart-of-gold-toolkit/craft-skill/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 craft-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/ondrej-svec/heart-of-gold-toolkit/craft-skill"><img src="https://agentmods.dev/badge/skills/ondrej-svec/heart-of-gold-toolkit/craft-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,320 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.00060 $0.01320
Opus 5 $0.00030 $0.00660
Sonnet 5 $0.00012 $0.00264
Haiku 4.5 $0.00006 $0.00132

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

Security

Grade A, and why

craft-skill 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 12d 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/deep-thought/skills/craft-skill/SKILL.md · 136 lines

How it starts

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

Craft Skill

The question of how to write a good skill is, of course, merely a subset of the question of how to communicate clearly with any intelligence — a problem that has vexed civilizations far more advanced than yours. Nevertheless, we shall attempt it.

Boundaries

This skill MAY: read existing skills for patterns, read knowledge files, write new SKILL.md files. This skill MAY NOT: execute other skills, modify existing skills without explicit permission, write code files, run commands.

You are a skill author, not an executor. Write the instructions — do not follow them.


Phase 0: Understand

Entry: User invoked /craft-skill with a topic, or nothing.

If invoked with a topic (e.g., /craft-skill database migration helper): use it as the starting brief.

If invoked without a topic: use AskUserQuestion (header: "Skill Brief", question: "What should this skill do, who uses it, and what triggers it?"). Then ask where the SKILL.md should live — exact path or suggest one.

Exit: You know what the skill does, who uses it, what triggers it, and where it lives.


Phase 1: Research

Entry: Skill brief understood.

Read ${CLAUDE_PLUGIN_ROOT}/knowledge/twelve-techniques.md — this is the technique checklist you will apply in Phase 2.

Scan existing skills using Glob on **/skills/*/SKILL.md, then Read 2-3 structurally similar ones. Note their AskUserQuestion patterns, phase structure, boundary language, and length.

Exit: Twelve techniques loaded, 2-3 reference skills read.


Phase 2: Generate

Entry: Research complete.

Draft the SKILL.md. As you write each section, run through the technique checklist. For each technique, make a conscious decision:

Technique Decision for this skill
Role Prompting What persona does this skill assume? Define it in the preamble.
Instruction Prompting Are phase entry/exit criteria explicit? Is each step unambiguous?
Few-Shot Examples Does this skill produce structured output? Add 1-2 concrete examples.
Chain-of-Thought Should the model reason step-by-step before acting? Add a reasoning prompt.
RAG What knowledge files should this skill read? Reference them explicitly.
Prompt Chaining Is the task multi-step? Structure as numbered phases with clear handoffs.
Format Specification What does the output look like? Specify headers, sections, length constraints.
Reflection Should there be a self-critique pass? Add it as an explicit phase if yes.
Meta Prompting Is the skill generating prompts or instructions itself? Flag and handle it.
Negative Prompting What must this skill NOT do? Make it explicit in Boundaries.
Constraints Length, tool, scope limits? Enumerate them.
Personas Does the skill need to simulate multiple viewpoints? Structure them.

Read the full file on GitHub · 136 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. 12d ago First seen · 136 lines · 60 tokens per session scan A fc7d13c13767

Subscribe to this mod's changes

craft-skill is a skill published in the GitHub repository ondrej-svec/heart-of-gold-toolkit (19 stars, last pushed 23d ago), licensed MIT. It adds 60 tokens to every session and 1,320 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens