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.
npx agentmods add skills/drscotthawley/slmn/write-project-docsnpx skills add drscotthawley/slmn --skill write-project-docsgit clone --depth 1 https://github.com/drscotthawley/slmnWrote 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/drscotthawley/slmn/write-project-docs)<a href="https://agentmods.dev/skills/drscotthawley/slmn/write-project-docs"><img src="https://agentmods.dev/badge/skills/drscotthawley/slmn/write-project-docs.svg" alt="Measured on agentmods" 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.00094 | $0.04181 |
| Opus 5 | $0.00047 | $0.02090 |
| Sonnet 5 | $0.00019 | $0.00836 |
| Haiku 4.5 | $0.00009 | $0.00418 |
Grade A, and why
write-project-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 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.
How it starts
The opening of the file, as written. The whole thing — 236 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Write project docs
Three parts: (1) documenting the notebooks themselves, (2) optionally publishing an
llms.txt on the project's docs site, and (3) optionally theming that docs site dark with a
light/dark toggle. Part 1 is the common case; parts 2 and 3 are one-time setups you'll rarely
repeat per-project.
Part 1: documenting notebooks
If slmn is importable in this environment, prefer its tools over hand-editing notebook
JSON:
slmn.nbtools.write_nb_docs(path, notes=[[after_id, source], ...], patches=[[cell_id, new_source], ...])for one notebook.slmn.nbtools.write_project_docs(specs, llms_txt=None)for several notebooks at once --specsis{notebook_path: {'notes': ..., 'patches': ...}}. It validates every cell id in every notebook before writing any of them, so a bad id can't leave some notebooks half-edited.
Both take two kinds of edit -- notes (new markdown cells, purely additive) and patches (replace an existing cell's source outright). Deciding which one to use for a given cell is the part that needs judgment, not a fixed rule:
Preserve vs. overwrite
Default to notes. Adding a heading/summary next to existing content is always safe --
worst case it's slightly redundant, and that's trivial to fix later. Reach for patches
only when you're confident the existing cell is disposable.
A cell is disposable if it's near-verbatim nbdev/quarto scaffolding -- the same
boilerplate every fresh nbdev_new-generated project ships with, not anything a human wrote
for this project. Known examples to check the exact wording of before treating something
new as boilerplate (the wording can drift between nbdev versions):
- "This file will become your README and also the index of your documentation."
- The whole
## Developer Guidesection ("If you are new to usingnbdevhere are some useful pointers to get you started.", "### Install <pkg> in Development mode", thepip install -e ./nbdev_preparecode block). ## Usage/### Installationboilerplate with unfilled conda/PyPI placeholders (pip install git+https://github.com/...,conda install -c ...,pip install ...) when the package in fact isn't published to conda/PyPI yet -- these aren't just generic, they're actively wrong.### Documentationboilerplate pointing at[docs]/[repo]/[pypi]/[conda]link placeholders with no project-specific content.
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.
- 5d ago First seen · 236 lines · 94 tokens per session scan A 2471404ff9fa
write-project-docs is a skill published in the GitHub repository drscotthawley/slmn (1 stars, last pushed 19d ago), licensed Apache-2.0. It adds 94 tokens to every session and 4,181 once invoked, about $0.0005 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-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…