nowline: Skill for Claude Code

.cursor/skills/optimize-docs/SKILL.md

optimize-docs is a skill for Claude Code, Cursor from lolay/nowline. It costs 81 tokens per session (1,147 once invoked), scanned A, original, Apache-2.0.

A documentation review tool that checks project guides for clarity, duplication, and outdated commands for both people and coding agents.

In plain words
What is it for?
Use it to audit or restructure README files, AGENTS.md files, contribution guides, specifications, and other project documentation.
Why use it?
It helps prevent bloated instructions and mismatches between documentation and the commands the project actually uses.

Skill for Claude CodeCursor

Written for Claude Code and Cursor: disable-model-invocation in frontmatter, but also installed under .cursor/. Also seen: mentions AGENTS.md.

This is lolay/nowline's own configuration. It tells Claude Code and Cursor how to work on nowline itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nowline configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lolay/nowline. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lolay/nowline/main/.cursor/skills/optimize-docs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lolay/nowline

Made for: Claude Code, Cursor.

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 optimize-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/lolay/nowline/optimize-docs/github.svg)](https://agentmods.dev/skills/lolay/nowline/optimize-docs)
Your own site
<a href="https://agentmods.dev/skills/lolay/nowline/optimize-docs"><img src="https://agentmods.dev/badge/skills/lolay/nowline/optimize-docs/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 optimize-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/lolay/nowline/optimize-docs"><img src="https://agentmods.dev/badge/skills/lolay/nowline/optimize-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,147 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.00081 $0.01147
Opus 5.5 $0.00032 $0.00459
Sonnet 5.5 $0.00016 $0.00229
Haiku 4.5 $0.00008 $0.00115

Measured 1mo ago against content hash 1c069fed5db5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

optimize-docs 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.

.cursor/skills/optimize-docs/SKILL.md · 68 lines

How it starts

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

Optimize Docs

Adapted from prior art: imsanchez/agents-md-skill (read → fetch best practices → decide updates workflow), markoblogo/AGENTS.md_generator (marker-based in-place edits), anthropics/skills (structure patterns). Authoritative sources: agents.md spec, Diataxis framework, llms.txt convention.

Human vs agent docs

Audience Files Purpose
Humans README.md, CONTRIBUTING.md, specs/, ops/, CHANGELOG.md Quick start, rationale, contribution workflow, product/engineering decisions
Agents AGENTS.md (+ nested AGENTS.md in subdirs if needed) Exact commands, conventions, never-touch boundaries, non-obvious patterns

Must: never duplicate content across the two audiences. Link instead of copy. The Makefile is the single source of truth for build/test/lint/deploy command strings — docs must match make help, not raw tool invocations.

Workflow

  1. Inventory — list every doc file in scope (see "Docs in this repo" below). Note line count and obvious duplication.
  2. Classify — tag each section as human-only, agent-only, or shared (shared → pick one home, link from the other).
  3. Trim — remove content inferable from code, manifests (package.json, go.mod, versions.tf), or linter config. Remove stale commands, time-sensitive notes, and README content pasted into AGENTS.md.
  4. Verify commands — every command in docs must be copy-pasteable and match a make <target>. Prefer make pre-commit for the local gate (alias of make ci).
  5. Structure — keep AGENTS.md lean (target under 150–200 lines). Use tables, lists, explicit Must/Recommend labels, and good-vs-bad examples. Human docs follow Diataxis: tutorials, how-to, reference, explanation — each doc has one job.
  6. Cross-link — replace duplication with relative links. AGENTS.md points to CONTRIBUTING.md for full workflow; CONTRIBUTING.md points to AGENTS.md for agent-specific rules.
  7. Verify — run the checklist below before finishing.

Read the full file on GitHub · 68 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. 1mo ago First seen · 68 lines · 81 tokens per session scan A 1c069fed5db5

Subscribe to this mod's changes

optimize-docs is a skill published in the GitHub repository lolay/nowline (0 stars, last pushed yesterday), licensed Apache-2.0. It adds 81 tokens to every session and 1,147 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

shopify-admin

Write or explain Admin GraphQL queries and mutations for apps and integrations that extend the Shopify admin. Use when the user wants to understand, design, or generate the operation itself—even before deciding how to run it. Do not choose admin first for app monetization—charging merchants for the app itself via app…

Shopify/Shopify-AI-Toolkit · 226 tokens

shopify-polaris-app-home

Build your app's primary user interface embedded in the Shopify admin using the iframe model — a web app you host yourself, rendered with @shopify/polaris-types and App Bridge. Covers the Intents API (shopify.intents.invoke) for launching native workflows from App Home. For the Shopify-hosted admin.app.home.render…

Shopify/Shopify-AI-Toolkit · 124 tokens

shopify-functions

Shopify Functions allow developers to customize the backend logic that powers parts of Shopify. Available APIs: Discount, Cart and Checkout Validation, Cart Transform, Pickup Point Delivery Option Generator, Delivery Customization, Fulfillment Constraints, Local Pickup Delivery Option Generator, Order Routing Location…

Shopify/Shopify-AI-Toolkit · 61 tokens

shopify-hydrogen

Hydrogen storefront implementation cookbooks. Some of the available recipes are: B2B Commerce, Bundles, Combined Listings, Custom Cart Method, Dynamic Content with Metaobjects, Express Server, Google Tag Manager Integration, Infinite Scroll, Legacy Customer Account Flow, Markets, Partytown + Google Tag Manager…

Shopify/Shopify-AI-Toolkit · 106 tokens

domscribe

Work with Domscribe — the pixel-to-code bridge. Use when setting up, initializing, or configuring Domscribe for a project, OR when editing or modifying UI components (React, Vue, Next.js, Nuxt), implementing features from captured UI annotations, querying runtime context for source locations, exploring component…

patchorbit/domscribe · 94 tokens

datarobot-agent-assist-build

Use when the user wants to design, build, code, or deploy an AI agent on DataRobot; mentions agentspec.yaml, dress rehearsal, the DataRobot agent template, LangGraph, CrewAI, LlamaIndex, NAT, Base agents, MCP servers, backend APIs, custom frontends, or the DataRobot CLI.

datarobot-oss/datarobot-agent-skills · 74 tokens