kanso-prompting

kanso-prompting is a skill for Claude Code from blakecyze/kanso. It costs 51 tokens per session (1,582 once invoked), scanned A, original, MIT.

A set of standing rules for writing clearer prompts for Claude and other current AI models.

In plain words
What is it for?
Use it when rewriting, sharpening, or creating prompts, especially through the /kanso-task command.
Why use it?
It helps turn vague or overlong requests into prompts with a clear result, audience, context, and purpose.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the kanso plugin — 11 skills, 1 hook shipped together

Good fit Use it when rewriting, sharpening, or creating prompts, especially through the /kanso-task command.

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

Made for: Claude Code.

Or install kanso, the plugin that ships this one along with the rest of its 11 skills, 1 hook.

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 kanso-prompting

README.md
[![agentmods](https://agentmods.dev/badge/skills/blakecyze/kanso/kanso-prompting/github.svg)](https://agentmods.dev/skills/blakecyze/kanso/kanso-prompting)
Your own site
<a href="https://agentmods.dev/skills/blakecyze/kanso/kanso-prompting"><img src="https://agentmods.dev/badge/skills/blakecyze/kanso/kanso-prompting/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 kanso-prompting

Your own site · 80×15
<a href="https://agentmods.dev/skills/blakecyze/kanso/kanso-prompting"><img src="https://agentmods.dev/badge/skills/blakecyze/kanso/kanso-prompting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,582 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.00051 $0.01582
Opus 5 $0.00026 $0.00791
Sonnet 5 $0.00010 $0.00316
Haiku 4.5 $0.00005 $0.00158

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

Security

Grade A, and why

kanso-prompting 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 11d 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/kanso-prompting/SKILL.md · 119 lines

How it starts

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

kanso-prompting

Standing rules for prompting current frontier models. These principles apply to any prompt this session produces, including prompts being constructed on the user's behalf.

The single governing principle: a prompt earns its length the same way code does. Every clause must do work. Specificity beats verbosity; clarity beats cleverness; structure beats hope.

The prompting taxonomy

1. Lead with the desired outcome

State what the model should produce, in what shape, for what audience, before any context. Don't bury the ask under preamble.

Bad: I've been working on this codebase for a while and I noticed that the auth module has some issues, particularly around session handling, and I was wondering if maybe you could take a look...

Good: Audit src/auth/session.ts for race conditions in session creation. Report findings as a numbered list with file:line references.

2. Explain the why, not just the what

Reasons let the model generalise correctly to cases you didn't spell out. Without the why, it follows the letter and misses the spirit.

Bad: Never use ellipses.

Good: Never use ellipses — the output will be read aloud by a TTS engine that can't pronounce them.

3. State what to do, not what to avoid

Negative-only instructions trigger the behaviour they warn against and leave a vacuum where positive guidance should be. Replace every "don't" with a "do".

Bad: Don't use markdown.

Good: Write in flowing prose paragraphs.

4. Front-load the full task in turn one

For coding and agentic work, ambiguous first turns produce worse results than a single dense first turn. Specify task, scope, constraints, and definition of done upfront. Don't rely on follow-up turns to recover.

5. Show, don't tell — examples beat description

Two or three concrete examples steer the model more than a paragraph of instruction. Use diverse examples that cover edge cases, not three rewrites of the same shape.

6. Structure complex prompts with tags

Read the full file on GitHub · 119 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. 11d ago First seen · 119 lines · 51 tokens per session scan A 95b6134f7708

Subscribe to this mod's changes

kanso-prompting is a skill published in the GitHub repository blakecyze/kanso (3 stars, last pushed 7d ago), licensed MIT. It adds 51 tokens to every session and 1,582 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-31.

Related

Other skills, from other repositories

prompt-tuning

Tune a prompt, or anything whose quality is measured by non-deterministic model output, without chasing noise - a noise baseline before the first edit, medians over repeated runs, enforcement AFTER generation rather than in the wording. Use when iterating on prompts or model-judged output.

jjanczur/tyran · 58 tokens

prompt-sensei

Stage-aware prompt coaching, prompt improvement, lookback analysis, prompting habit feedback, and local reports about prompt quality for AI coding agents such as Claude Code or Codex.

chengzhongwei/Prompt-sensei · 39 tokens

mutation-test

Mutation testing with two engines. Uses the project's NATIVE mutation runner (StrykerJS / Infection / mutmut / PIT / cargo-mutants) when one is configured — installing it on explicit consent when it is not — for a reproducible, comparable score; and an LLM-guided engine for the mutation classes native mutators cannot…

greglas75/zuvo · 190 tokens

composer-prompting

Internal guidance for shaping a well-specified coding task into a tight Cursor/Composer prompt before delegating it via /cursor:delegate.

freema/cursor-plugin-cc · 31 tokens

ccc-prompt-fix

Fix and sharpen a prompt. Diagnoses it against the 6 prompt-quality patterns, returns a tightened rewrite with the reasoning, and suggests the right library prompt for your task.

KevinZai/commander · 41 tokens

factory-prompting

Structured prompting with XML tags. A small named vocabulary (instructions, context, input, outputformat, examples, constraints, role, thinking) that turns a prose ask into something the model can parse without ambiguity. Read whenever you're authoring a prompt by hand, designing a prompt template for production, or…

nonlinear-xyz/factory-kit · 93 tokens