llm-friendly-context

llm-friendly-context is a skill for Claude Code from shinpr/ai-coding-project-boilerplate. It costs 52 tokens per session (1,242 once invoked), scanned A, original, MIT.

A set of writing rules for prompts, handoffs, plans, reviews, reports, and other instructions meant for language models. It makes the required inputs, actions, outputs, success checks, decisions, and unresolved questions explicit.

In plain words
What is it for?
Use it when preparing instructions or project documents that another agent must execute, review, or use to make a decision.
Why use it?
It removes guesswork for the next agent or person receiving the work. Clear conditions make the result more consistent and easier to verify.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when preparing instructions or project documents that another agent must execute, review, or use to make a decision.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shinpr/ai-coding-project-boilerplate/llm-friendly-context
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 shinpr/ai-coding-project-boilerplate --skill llm-friendly-context
Clone the repo
git clone --depth 1 https://github.com/shinpr/ai-coding-project-boilerplate

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 llm-friendly-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/shinpr/ai-coding-project-boilerplate/llm-friendly-context.svg)](https://agentmods.dev/skills/shinpr/ai-coding-project-boilerplate/llm-friendly-context)
Your own site
<a href="https://agentmods.dev/skills/shinpr/ai-coding-project-boilerplate/llm-friendly-context"><img src="https://agentmods.dev/badge/skills/shinpr/ai-coding-project-boilerplate/llm-friendly-context.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,242 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.00052 $0.01242
Opus 5 $0.00026 $0.00621
Sonnet 5 $0.00010 $0.00248
Haiku 4.5 $0.00005 $0.00124

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

Security

Grade A, and why

llm-friendly-context 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 3d 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-en/llm-friendly-context/SKILL.md · 86 lines

How it starts

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

LLM-Friendly Context

The goal is stable downstream execution: the next agent should know what to read, what to do, what counts as success, and which unresolved decisions can change the result.

This skill governs the clarity of LLM-facing output — prompts, handoffs, and generated artifacts. The caller supplies the artifact type and any artifact-specific template or input contract; include only the information its consumer uses to decide, act, or verify. Use a declared contract's field names and value meanings when the consumer branches on them.

Core Rules

  1. Use positive, executable instructions

    • State what the next agent should do
    • Convert quality policies into positive criteria
    • Example: "Preserve existing public API behavior across the documented compatibility cases."
    • Keep a prohibition only when it protects an irreversible boundary or a shipped contract; then name the protected condition and the allowed action alongside it
  2. Make vague instructions concrete

    • Replace subjective terms with observable conditions, paths, commands, schemas, examples, or decision rules
    • Terms that often need clarification when they leave a decision to the next agent: appropriate, proper, related, existing behavior, optional, as needed, if needed, per convention, unresolved alternatives, TBD, placeholder
  3. Specify output shape

    • Define the sections, fields, table columns, JSON keys, or checklist items the consumer uses
    • For handoffs, include produced artifact paths and status fields only when they control the next transition
  4. Provide necessary context

    • Include the purpose, source artifacts, hard constraints, accepted decisions, and unresolved conditions
    • Prefer concrete file paths and section hints over broad module names
    • Follow references while they can change an in-scope decision, action, or verification result; stop when the next link only confirms what is already decided
  5. Decompose complex work into verifiable steps

    • Split work with 3+ objectives or sequential dependencies into ordered steps
    • Each step needs a checkpoint: what evidence proves it is complete

Read the full file on GitHub · 86 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. 3d ago Changed dc4917309876
  2. 8d ago First seen · 86 lines · 52 tokens per session scan A 3f7e7299f688

Subscribe to this mod's changes

llm-friendly-context is a skill published in the GitHub repository shinpr/ai-coding-project-boilerplate (228 stars, last pushed yesterday), licensed MIT. It adds 52 tokens to every session and 1,242 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

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

generate-run-commands

Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.

microsoft/vscode · 36 tokens

get-search-view-results

Get the current search results from the Search view in VS Code.

microsoft/vscode · 17 tokens

merge-seed

Merge upstream React Starter Kit updates (the seed remote) into main, preserving this project's identity, scope, and behavior. Use when asked to sync, pull, or merge the seed / starter kit / upstream template.

kriasoft/react-starter-kit · 49 tokens

computer-use

Read and drive native desktop applications through the accessibility layer — list on-screen apps, snapshot one window as a numbered element tree, then click / type / set a value / scroll / drag / run a named action, by element index or by screen coordinates. Use for work in a desktop app rather than a web page. Full…

kirodotdev/KiroCrew · 105 tokens

post-build-flow

Handles workflow verification and setup after build-workflow succeeds, or when the message contains workflow-verification-follow-up or workflow-setup-required. Load after direct builds, when verificationReadiness requires action, or on orchestrator verify/setup follow-up turns.

n8n-io/n8n · 53 tokens