write-to-skill-file-original

write-to-skill-file-original is a command for Claude Code from Jamie-BitFlight/claude_skills. It costs 9 tokens per session (1,269 once invoked), scanned A, original, MIT.

Instructions for rewriting ordinary text into concise instructions and reference material for an AI system. They define how to express rules, conditions, constraints, examples, and structure.

In plain words
What is it for?
Use it to convert source text into LLM-ready instructions, including identity, intent, task rules, and constraints. The output is plain ASCII text with headings and lists where useful.
Why use it?
It removes ambiguity when turning human-written guidance into text an AI can follow consistently. It also encourages focused, actionable rules instead of vague advice.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to convert source text into LLM-ready instructions, including identity, intent, task rules, and constraints. The output is plain ASCII text with headings and lists where useful.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jamie-bitflight/claude_skills/write-to-skill-file-original
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.

Clone the repo
git clone --depth 1 https://github.com/Jamie-BitFlight/claude_skills

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 write-to-skill-file-original

README.md
[![agentmods](https://agentmods.dev/badge/commands/jamie-bitflight/claude_skills/write-to-skill-file-original/github.svg)](https://agentmods.dev/commands/jamie-bitflight/claude_skills/write-to-skill-file-original)
Your own site
<a href="https://agentmods.dev/commands/jamie-bitflight/claude_skills/write-to-skill-file-original"><img src="https://agentmods.dev/badge/commands/jamie-bitflight/claude_skills/write-to-skill-file-original/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 write-to-skill-file-original

Your own site · 80×15
<a href="https://agentmods.dev/commands/jamie-bitflight/claude_skills/write-to-skill-file-original"><img src="https://agentmods.dev/badge/commands/jamie-bitflight/claude_skills/write-to-skill-file-original.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 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,269 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.00009 $0.01269
Opus 5 $0.00005 $0.00634
Sonnet 5 $0.00002 $0.00254
Haiku 4.5 $0.00001 $0.00127

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

Security

Grade A, and why

write-to-skill-file-original 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.

.claude/commands/write-to-skill-file-original.md · 64 lines

How it starts

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

You are tasked with rewriting a provided text to be optimized for LLM consumption. Your goal is to transform the input into a concise, technical instructions, reference material, and rules suitable for use by an LLM or an AI with comprehensive knowledge. The audience AI model that consumes the content you create has expert-level comprehension of all technical concepts. Assume complete familiarity with domain internals.

Here is the text to be transformed between the xml tokens:

When transforming text into RULES, CONDITIONS, and CONSTRAINTS, follow these best practices:

  • Good rules are focused, imperative, actionable, and scoped.
  • Keep rules concise. Under 500 lines is a good target
  • Split significant concepts into multiple, composable rules
  • Provide concrete examples or referenced files when helpful
  • Avoid vague guidance. Write rules the way you would write a clear internal doc
  • Use declarative phrasing ("The model must") for all instructions.
  • Produce deterministic, flat ASCII text without using markdown for bold or italic or stylistic formatting. Headings to show hierarchy, and lists are welcome.
  • Include explicit sections for identity, intent, task rules, issue handling, triggers, Table of Contents, and References.
  • Preserve or expand structured examples found in the source text.

When the provided or parsed text involves multiple components — such as context, instructions, and examples — XML tags can be a game-changer. They help the LLM parse your prompts and instructions more accurately, leading to higher-quality outputs.

XML tip: Use tags like <instructions>, <example>, and <formatting> to clearly separate different parts of your prompt. This prevents Claude from mixing up instructions with examples or context.

Why use XML tags?

  • Clarity: Clearly separate different parts of your prompt and ensure your prompt is well structured.
  • Accuracy: Reduce errors caused by Claude misinterpreting parts of your prompt.
  • Flexibility: Easily find, add, remove, or modify parts of your prompt without rewriting everything.
  • Parseability: Having Claude use XML tags in its output makes it easier to extract specific parts of its response by post-processing. Follow these rules when rewriting the text:
  1. The first instruction should be a directive on how to read and apply the rules.
  2. Maximize information density using technical jargon, dense long words, equations, and industry-specific terms.
  3. Rephrase for accuracy and specificity.
  4. Write as if addressing an expert, scientific, or academic audience.
  5. Use only visible ASCII characters.
  6. Write as lookup references for the AI consumer itself, which possesses comprehensive technical knowledge. Optimize as decision triggers and pattern-matching rules for an AI that already knows all technical details, not educational content.
  7. Omit greetings, unnecessary text, and markdown formatting.
  8. Keep the original text's description of how it would like its output structured if it is observed.

Optimizations: Use a precise, deterministic ACTION TRIGGER OUTCOME format in descriptions Include only essential tags that directly impact rule application Set clear priority levels between rules and instructions to resolve conflicts efficiently Provide concise positive and negative examples of rule application in practice Optimize for AI context window efficiency Remove any non-essential or redundant information Use standard glob patterns without quotes (e.g., .js,src/**/.{ts,js}) Keep frontmatter descriptions full of TRIGGER's for when the rules or instructions should be used, thus maintaining clear intent for rule selection by the AI Agent Limit examples to essential patterns only.

Output: Format your output as one or more *.md files as follows , the content between <file_content> xml tags is what would go into the file. Create your files following this naming: all-lower-case-with-hyphens.md <file_content>

Read the full file on GitHub · 64 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 · 64 lines · 9 tokens per session scan A 3e6532599731

Subscribe to this mod's changes

write-to-skill-file-original is a command published in the GitHub repository Jamie-BitFlight/claude_skills (66 stars, last pushed today), licensed MIT. It adds 9 tokens to every session and 1,269 once invoked, about $0.0000 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.