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.
curl -O https://raw.githubusercontent.com/lolay/nowline/main/.cursor/skills/optimize-docs/SKILL.mdgit clone --depth 1 https://github.com/lolay/nowlineWrote 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.
[](https://agentmods.dev/skills/lolay/nowline/optimize-docs)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
- Inventory — list every doc file in scope (see "Docs in this repo" below). Note line count and obvious duplication.
- Classify — tag each section as human-only, agent-only, or shared (shared → pick one home, link from the other).
- 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. - Verify commands — every command in docs must be copy-pasteable and match a
make <target>. Prefermake pre-commitfor the local gate (alias ofmake ci). - 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.
- 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.
- Verify — run the checklist below before finishing.
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.
- 1mo ago First seen · 68 lines · 81 tokens per session scan A 1c069fed5db5
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.
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-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-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-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…
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…
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.