final-grain

final-grain is a skill for Codex from OutlineDriven/outline-driven-development. It costs 53 tokens per session (658 once invoked), scanned A, original, Apache-2.0.

A finishing workflow for improving the composition, texture, and overall feel of an already working artifact without changing its basic completion status.

In plain words
What is it for?
It is for applying specified visual or structural refinements to a named local artifact and confirming that its functionality still works.
Why use it?
It helps turn a functional document, design, or code artifact into a more polished result while checking that its original behavior remains intact.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It is for applying specified visual or structural refinements to a named local artifact and confirming that its functionality still works.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/outlinedriven/outline-driven-development/final-grain
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 OutlineDriven/outline-driven-development --skill final-grain
Clone the repo
git clone --depth 1 https://github.com/OutlineDriven/outline-driven-development

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 final-grain

README.md
[![agentmods](https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/final-grain/github.svg)](https://agentmods.dev/skills/outlinedriven/outline-driven-development/final-grain)
Your own site
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/final-grain"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/final-grain/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 final-grain

Your own site · 80×15
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/final-grain"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/final-grain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 658 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.00053 $0.00658
Opus 5 $0.00026 $0.00329
Sonnet 5 $0.00011 $0.00132
Haiku 4.5 $0.00005 $0.00066

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

Security

Grade A, and why

final-grain 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 5d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.devin/skills/final-grain/SKILL.md · 40 lines

How it starts

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

Final grain

Contract

Field Bound contract
Trigger User wants to push an already working artifact to finished composition, texture, and feel. Not for hygiene routing — use clean-and-true.
Authority Reversible local writes to the named artifact only. Use its current VCS version as the rollback source. If it is not tracked, require a human-supplied recovery source before mutation.
Side effect Produce a polished local artifact at the named path. No VCS, remote, credential, or paid mutation.
Done The artifact exists at the named path with visible polish applied and original functionality confirmed intact.

Inputs

  • Artifact: the working file or set of files to be polished. Required; user provides the path.
  • Polish targets: the specific structure, grain, or feel dimensions the human wants refined. Optional; if absent, the agent proposes three targets and the human confirms before proceeding.

Procedure

  1. Confirm the artifact path and that it is working as delivered. Done when: the artifact path is confirmed and the artifact is working.
  2. Classify the artifact type (document, code file, config, spec, report, or other). Done when: the artifact type is classified.
  3. Propose three polish dimensions (structural coherence, compositional refinement, and presentational polish) unless the human named them. Done when: three polish dimensions are proposed or the human's named targets are adopted.
  4. Obtain explicit human confirmation of the polish targets before mutating any file. Done when: the human confirms the polish targets.
  5. If the artifact is tracked in version control, note its current committed version as the rollback source. If it is not tracked, require the human to supply an existing recovery source before mutation; otherwise stop as blocked. Done when: the rollback source is noted or the run is blocked for lacking one.
  6. Apply polish to the artifact along the confirmed dimensions only. Do not change implementation correctness. Done when: polish is applied along the confirmed dimensions with implementation correctness unchanged.
  7. Verify the polished artifact preserves the original functionality: run a smoke test if applicable. Done when: original functionality is confirmed intact.
  8. Replace the original artifact with the polished version. Done when: the polished version replaces the original at the named path.

Read the full file on GitHub · 40 lines

Files

What ships with it

1 file 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. 5d ago First seen · 40 lines · 53 tokens per session scan A f3730909aca8

Subscribe to this mod's changes

final-grain is a skill published in the GitHub repository OutlineDriven/outline-driven-development (52 stars, last pushed 3d ago), licensed Apache-2.0. It adds 53 tokens to every session and 658 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-09-03.

Related

Other skills, from other repositories

deck-ljg-present

A presentation template that converts an outline or Markdown document into large, poster-like slides while keeping the original wording, order, and content. It uses black, red, or yellow colour themes and assigns document elements to slide layouts.

nexu-io/html-anything · 39 tokens

snippet-image-rendering

Use when the user explicitly names snipgrapher and wants code rendered to a polished PNG, SVG, or WebP at an explicit local path. Probes the installed CLI for supported flags and writes only the named image file. Not for other renderers, publishing, or remote actions.

OutlineDriven/odin-claude-plugin · 64 tokens

single-file-html-deck

Use when an explicit request asks to create a Sentry presentation, build slides, or make a deck. Scaffolds one self-contained, keyboard-navigable HTML file with real-data charts and Sentry branding. For general HTML artifacts use html; for PowerPoint use pptx.

OutlineDriven/odin-claude-plugin · 63 tokens

thumbnail-accuracy-scorecard

Use when thumbnail concepts need real-size, accuracy-first scoring without misleading claims. Not for generating thumbnails or declaring winners that fail the accuracy rubric.

OutlineDriven/odin-claude-plugin · 34 tokens

presentation-creator

Use when asked to create a presentation, pitch deck, or web deck from a topic and audience. Originates the narrative spine, slide content, and speaker notes, then applies design and runs an editorial QA pass. Not for formatting existing content into slides.

OutlineDriven/odin-claude-plugin · 55 tokens

final-grain

Use when asked to push an already-working artifact to finished composition, texture, and feel. Not for remote or irreversible changes. Not for hygiene routing: use clean-and-true.

OutlineDriven/odin-claude-plugin · 40 tokens