llm-friendly-context

llm-friendly-context is a skill for Codex from shinpr/codex-workflows. It costs 52 tokens per session (1,160 once invoked), scanned A, original, MIT.

A guide for writing instructions that another AI agent can follow or judge without guessing.

In plain words
What is it for?
Use it for prompts, handoffs, plans, reviews, reports, task files, and other instructions meant for AI agents.
Why use it?
It turns vague requests into clear actions, inputs, decisions, success checks, and points where the agent should ask for help.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it for prompts, handoffs, plans, reviews, reports, task files, and other instructions meant for AI agents.

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

Made for: Codex.

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/codex-workflows/llm-friendly-context/github.svg)](https://agentmods.dev/skills/shinpr/codex-workflows/llm-friendly-context)
Your own site
<a href="https://agentmods.dev/skills/shinpr/codex-workflows/llm-friendly-context"><img src="https://agentmods.dev/badge/skills/shinpr/codex-workflows/llm-friendly-context/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 llm-friendly-context

Your own site · 80×15
<a href="https://agentmods.dev/skills/shinpr/codex-workflows/llm-friendly-context"><img src="https://agentmods.dev/badge/skills/shinpr/codex-workflows/llm-friendly-context.svg" alt="Reviewed on agentmods" width="80" 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,160 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.01160
Opus 5.5 $0.00021 $0.00464
Sonnet 5.5 $0.00010 $0.00232
Haiku 4.5 $0.00005 $0.00116

Measured 1mo ago against content hash bbb053014e7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

.agents/skills/llm-friendly-context/SKILL.md · 92 lines

How it starts

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

LLM-Friendly Context

Purpose

Use this skill when writing or revising any content another agent will execute or judge: prompts, handoffs, planning artifacts, review findings, completion reports, generated instructions, test skeleton comments, work plans, and task files.

The goal is stable downstream execution. The next agent should know the target action, required inputs, accepted decisions, observable success criteria, and the condition that requires escalation.

Core Rules

  1. Use positive, executable instructions

    • State the action the next agent should perform.
    • Convert quality policies into observable acceptance 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. Resolve outcome-relevant ambiguity

    • Clarify an instruction when plausible interpretations would change correctness, requested scope, downstream usability, or verification. Use the least-restrictive sufficient condition, source, or example.
    • Leave local, reversible choices to the next agent when the stated outcome, constraints, and repository evidence are sufficient to choose. A subjective word alone does not require another rule or decision.
  3. Specify output shape

    • Define only the sections or fields the next consumer uses.
    • For agent handoffs, name produced artifact paths and the result needed by the next action. Require exact serialization only when a program parses it.
  4. Provide the smallest sufficient context

    • Self-contained means sufficient for the assigned action, not complete background.
    • Include only context directly consumed by the target action or required result.
    • Pass a governing source by its path or an unchanged excerpt. A governing artifact already supplies its own purpose, criteria, and decisions; a restatement adds an unreviewed second version of them.
    • Extra context can anchor judgment, contaminate independent work, and create work.

Read the full file on GitHub · 92 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +1 lines bbb053014e7b
  2. 1mo ago Changed b661c8af508e
  3. 2mo ago Changed ea6cf8d2d3ef
  4. 2mo ago Changed c040433518b3
  5. 2mo ago Changed 2a8f35b5d175
  6. 3mo ago First seen · 91 lines · 52 tokens per session scan A 9fafd2e99e98

Subscribe to this mod's changes

llm-friendly-context is a skill published in the GitHub repository shinpr/codex-workflows (42 stars, last pushed 3d ago), licensed MIT. It adds 52 tokens to every session and 1,160 once invoked, about $0.0002 per session on Opus 5.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

llm-friendly-context compared with skills from other repositories

llm-friendly-context next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
llm-friendly-contextshinpr/codex-workflowsSkill423d agoMITA52Codex
ax-genax-llm/axSkill3.0ktodayApache-2.0A86Claude Code, Codex
ax-signatureax-llm/axSkill3.0ktodayApache-2.0A57Claude Code, Codex
ax-playbookax-llm/axSkill3.0ktodayApache-2.0A70Claude Code, Codex
ax-llmax-llm/axSkill3.0ktodayApache-2.0A47Claude Code, Codex
ax-refineax-llm/axSkill3.0ktodayApache-2.0A38Claude Code, Codex
ax-cpp-gepaax-llm/axSkill3.0ktodayApache-2.0A39Claude Code, Codex