Agent skill

LLM Friendly Context

by shinpr in shinpr/claude-code-workflows

Clarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream consumers can execute without guessing.

MITAuto-check passed

Install LLM Friendly Context

skills CLI
$ npx skills add shinpr/claude-code-workflows --skill llm-friendly-context -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install shinpr/claude-code-workflows llm-friendly-context --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/shinpr/claude-code-workflows.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/llm-friendly-context .claude/skills/llm-friendly-context && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
llm-friendly-context
GitHub stars
693
Token cost
~1.4k tokens
SKILL.md length
690 words
Files
1
Skills in repo
30
Repo updated
First seen
Licence
MIT

At a glance

Clarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream consumers can execute without guessing.

  • Works in 7 steps: Use positive, executable instructions → Make vague instructions concrete → Specify output shape → …
  • Revising LLM-facing prompts
  • SKILL.md covers Core Rules, Rewrite Patterns, Handoff Checklist and Generated Artifact Checklist
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

LLM Friendly Context is an agent skill from shinpr/claude-code-workflows. Clarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream consumers can execute without guessing. Use when writing or revising LLM-facing prompts, handoffs, planning artifacts, reviews, reports, or generated instructions.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Development workflows for Claude Code that keep broad exploration focused on the outcome you approved. The licence is MIT.

When your agent uses it

  • Revising LLM-facing prompts
  • Planning artifacts
  • Generated instructions

Example prompts

  • “Use the llm-friendly-context skill to clarify inputs, outputs, success criteria, decisions, and unresolved conditions so downstream consumers can…”
  • “/llm-friendly-context”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Use positive, executable instructions
  2. Make vague instructions concrete
  3. Specify output shape
  4. Provide the smallest sufficient context
  5. Decompose complex work into verifiable steps
  6. Permit uncertainty explicitly
  7. Keep constraints proportionate

What it can do on your machine

Read from SKILL.md and the folder at commit a4ecd62. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

LLM Friendly Context loads about 1.4k tokens when it runs. Until then it costs about 70 tokens; SKILL.md has 690 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from shinpr/claude-code-workflows at commit a4ecd62, republished under its MIT licence (© shinpr). 690 words, ~1,383 tokens.

Download SKILL.mdSave it as .claude/skills/llm-friendly-context/SKILL.md (or your agent's skills folder).
name
llm-friendly-context
description
Clarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream consumers can execute without guessing. Use when writing or revising LLM-facing prompts, handoffs, planning artifacts, reviews, reports, or generated instructions.

LLM-Friendly Context

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

Core Rules

  1. Use positive, executable instructions

    • State what the next consumer should do.
    • Convert quality policies into positive criteria.
    • Keep a prohibition only when it protects an irreversible boundary or shipped contract. Name the protected condition and the allowed action.
    • Example: "Preserve existing public API behavior across the documented compatibility cases."
  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 consumer: appropriate, proper, related, existing behavior, optional, as needed, if needed, per convention, unresolved alternatives, TBD, placeholder.
  3. Specify output shape

    • Use the sections, fields, table columns, JSON keys, or checklist items the consumer uses.
    • For handoffs, include only produced artifact paths and status fields that control the next transition.
  4. Provide the smallest sufficient context

    • Sufficient means sufficient for the assigned action, not complete background: every item you include is consumed by that action or by the result it must produce.
    • Include the purpose, source artifacts, hard constraints, accepted decisions, and unresolved conditions that action consumes.
    • 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.
  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.
  6. Permit uncertainty explicitly

    • Resolve missing operational detail from referenced artifacts and repository evidence before treating it as unresolved.
    • Record remaining uncertainty with its effect, required input, and decision owner. Make reversible repository-local choices when governing evidence resolves them.
  7. Keep constraints proportionate

    • Add only constraints that reduce ambiguity or preserve a real requirement.
    • Keep simple downstream tasks lightweight when the target action, context, and success criteria are already clear.
    • Apply minimal, a few lines, and explicit line estimates to the completed diff as one total budget.
Show full SKILL.md (339 more words)Show less

Rewrite Patterns

Use these rewrites before treating a prompt, handoff, or artifact as complete.

Ambiguous formRewrite as
optional used as an unresolved choiceRequired, omitted, or required only under a named condition
Multiple alternatives that the next consumer must choose betweenThe selected option, or a deterministic decision rule
as needed / if neededThe triggering condition and required action
per conventionThe file, function, test, or documented convention to follow
related filesSpecific paths, globs, or search hints
existing behaviorThe observable behavior, source file, test, API response, or UI state to preserve
placeholderExact temporary value/behavior, allowed dependencies, and verification expectation
TBD used as a placeholder for required informationA blocking unresolved item with owner, required input, and decision effect
appropriate / properA measurable criterion or checklist

Handoff Checklist

Before sending a prompt or artifact to another consumer, verify:

  • The target action is explicit.
  • Required input paths, source artifacts, and decision-relevant facts are named.
  • Every included context item is consumed by the target action or its required result.
  • Accepted decisions and constraints use one canonical wording.
  • Output format or expected status fields are specified.
  • Success criteria are observable.
  • Ambiguous expressions have been rewritten or marked as unresolved.
  • Each instruction states the allowed action; each retained prohibition names the protected condition and allowed alternative.
  • The next consumer can complete its scope from the supplied purpose, sources, criteria, and evidence, or return the exact unresolved decision and owner.

Generated Artifact Checklist

Before writing or finalizing a generated document:

  • Each requirement, claim, task, test skeleton, or review finding has enough source context to trace why it exists.
  • Every executable instruction names the target, action, and expected result.
  • Verification steps say what to run or observe and what result proves success.
  • Each instruction states the allowed action; each retained prohibition names the protected condition and allowed alternative.
  • If an artifact is derived from another artifact, copied decisions stay consistent in wording and meaning.
  • If downstream work is blocked by missing information, the artifact records the missing input, decision owner, and effect.

© shinpr, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/llm-friendly-context of shinpr/claude-code-workflows.

Open the folder on GitHubat commit a4ecd62

Compare with similar skills

LLM Friendly Context next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

LLM Friendly Context compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
LLM Friendly Context this skillshinpr/claude-code-workflows693—~1.4kAutomated safety check: PassMIT
Plan Review Criteriapenpot/penpot61k—~3.3kAutomated safety check: PassMPL-2.0
Search Inputthedaviddias/Front-End-Checklist74k—~402Automated safety check: PassMIT
Input Typesthedaviddias/Front-End-Checklist74k—~487Automated safety check: PassMIT
Paste Inputsthedaviddias/Front-End-Checklist74k—~443Automated safety check: PassMIT
Form Follows Function Success Criteriahashgraph-online/awesome-codex-plugins1.3k—~1.2kAutomated safety check: PassApache-2.0

Similar skills

  • Plan review criteria — the six review axes, severity rubric, approval standard, and output format for reviewing implementation plans.

    61k GitHub stars~3.3k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Search Input

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing templates, rendered HTML, or shared components related to Make search inputs accessible.

    74k GitHub stars~402 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Input Types

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing templates, rendered HTML, or shared components related to Use semantic input type attributes.

    74k GitHub stars~487 tokensUpdated 3 days ago
    Auto-check passed
  • Paste Inputs

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Allow pasting into form inputs.

    74k GitHub stars~443 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Form Follows Function Success Criteria

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when the team is in a form-vs-function debate and needs to step back to define what "success" actually means for the design.

    1.3k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Official

    The resolution criteria for PostHog Review's resolution stage: the bar for deciding, per unresolved review thread, whether the ask is worth implementing and safe to implement unattended.

    40k GitHub stars~1.4k tokensUpdated today
    Auto-check passed

More from shinpr/claude-code-workflows

All 30 skills in this repo
  • Integration E2E Testing

    shinpr/claude-code-workflows

    Integration and E2E test design principles, ROI calculation, test skeleton specification, and review criteria.

    693 GitHub stars~3.5k tokensUpdated 8 days ago
    Auto-check passed
  • AI Development Guide

    shinpr/claude-code-workflows

    Applies language-agnostic and backend technical decision criteria, anti-pattern detection, debugging, and quality gates.

    693 GitHub stars~3.9k tokensUpdated 8 days ago
    Auto-check passed
  • Frontend AI Guide

    shinpr/claude-code-workflows

    Applies React/TypeScript-specific technical decision criteria, anti-pattern detection, debugging, and frontend quality gates.

    693 GitHub stars~3k tokensUpdated 8 days ago
    Auto-check passed
  • Implementation Approach

    shinpr/claude-code-workflows

    Implementation strategy selection framework. An agent skill from shinpr/claude-code-workflows.

    693 GitHub stars~2.6k tokensUpdated 8 days ago
    Auto-check passed
  • Recipe Quality Profile

    shinpr/claude-code-workflows

    Proposes repository-specific quality policy for implementation and review and, after confirmation, creates or updates docs/project-context/quality.yaml.

    693 GitHub stars~1.1k tokensUpdated 8 days ago
    Auto-check passed
  • Subagents Orchestration Guide

    shinpr/claude-code-workflows

    Guides subagent coordination through implementation workflows.

    693 GitHub stars~9.3k tokensUpdated 8 days ago
    Auto-check passed

Questions about LLM Friendly Context

What does LLM Friendly Context do?

Clarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream consumers can execute without guessing. LLM Friendly Context is an agent skill from shinpr/claude-code-workflows. Clarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream consumers can execute without guessing.

When should I use LLM Friendly Context?

LLM Friendly Context fits situations like: revising LLM-facing prompts; planning artifacts; generated instructions.

How do I install LLM Friendly Context in Claude Code?

Run `npx skills add shinpr/claude-code-workflows --skill llm-friendly-context -a claude-code`. Or copy the skill folder (skills/llm-friendly-context in shinpr/claude-code-workflows) into .claude/skills/llm-friendly-context in your project. Claude Code loads it when a task matches its description.

How do I install LLM Friendly Context in Codex?

Run `npx skills add shinpr/claude-code-workflows --skill llm-friendly-context -a codex`. Or copy the skill folder (skills/llm-friendly-context in shinpr/claude-code-workflows) into .agents/skills/llm-friendly-context in your project. Codex loads it when a task matches its description.

Can I use LLM Friendly Context in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shinpr/claude-code-workflows --skill llm-friendly-context -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/llm-friendly-context, .gemini/skills/llm-friendly-context, .github/skills/llm-friendly-context and .opencode/skills/llm-friendly-context in your project.

What does LLM Friendly Context need to run?

SKILL.md names no scripts, command-line tools or credentials: LLM Friendly Context is instructions for the agent only.

Does LLM Friendly Context access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is LLM Friendly Context safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does LLM Friendly Context use?

LLM Friendly Context is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does LLM Friendly Context use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to LLM Friendly Context?

Skills that share tags, products or a category with LLM Friendly Context: Plan Review Criteria (penpot/penpot, 61k stars), Search Input (thedaviddias/Front-End-Checklist, 74k stars), Input Types (thedaviddias/Front-End-Checklist, 74k stars) and Paste Inputs (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains LLM Friendly Context?

shinpr (a GitHub user) maintains it in shinpr/claude-code-workflows, which has 693 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 1, 2026.

Source: shinpr/claude-code-workflows on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.