write-docs

write-docs is a skill for Claude Code from flipbook-labs/flipbook. It costs 80 tokens per session (614 once invoked), scanned A, original, MIT.

A guide for writing and editing pages in Flipbook's Docusaurus documentation site. Docusaurus is a tool that turns Markdown or MDX files into a documentation website.

In plain words
What is it for?
Use it to create or revise Flipbook documentation, update the sidebar, add repository code examples, and avoid broken internal links.
Why use it?
It explains where pages belong, how navigation works, how to include code samples, and how to check links and claims against the source.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to create or revise Flipbook documentation, update the sidebar, add repository code examples, and avoid broken internal links.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flipbook-labs/flipbook/write-docs
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 flipbook-labs/flipbook --skill write-docs
Clone the repo
git clone --depth 1 https://github.com/flipbook-labs/flipbook

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/flipbook-labs/flipbook/write-docs"><img src="https://agentmods.dev/badge/skills/flipbook-labs/flipbook/write-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 614 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.00080 $0.00614
Opus 5.5 $0.00032 $0.00246
Sonnet 5.5 $0.00016 $0.00123
Haiku 4.5 $0.00008 $0.00061

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

Security

Grade A, and why

write-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 6d 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.

.claude/skills/write-docs/SKILL.md · 47 lines

How it starts

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

Write Docs

Flipbook's documentation is a plain Docusaurus site under docs/. Follow the shared org/writing-style skill for voice and banned patterns.

Where pages live

  • Pages are .md or .mdx files under docs/docs/, grouped by folder: creating-stories/, frameworks/, contributing/, migration-guides/, plus top-level intro.md and install.md.
  • docs/sidebars.ts controls navigation. The Stories section lists pages by id, for example creating-stories/controls. The Frameworks and Contributing sections are autogenerated from their folders, so a new page there appears on its own. A new page in any other folder needs an entry in sidebars.ts.
  • docs/docusaurus.config.ts sets onBrokenLinks: 'throw', so a broken internal link fails the build.

Code samples

Use .mdx for pages that embed code from the repo. Import the file with raw-loader and render it in a CodeBlock:

import CodeBlock from "@theme/CodeBlock";
import ReactButton from "!!raw-loader!@site/../workspace/code-samples/src/React/ReactButton.luau";

<CodeBlock language="lua" title="Project/ReactButton.luau">
	{ReactButton}
</CodeBlock>

Put samples in workspace/code-samples so they stay real files that the repo can check. Look at docs/docs/frameworks/react.mdx for the tabbed pattern. Inline short snippets of a few lines instead.

Check every claim

Never describe behavior you have not confirmed in source. Before you write about a feature, read the code under workspace/ and any tests for it, and read the existing page if you are editing one. If you cannot find the source for a claim, leave it out and tell the user.

Check the build

Preview with lute run serve-docs, which installs and starts the site from docs/. For structural changes, run npm run build inside docs/ to catch broken links.

Re-verify

Re-verify these claims when this skill next loads. Run these from the repo root. A command that fails or prints nothing means the skill needs updating:

Read the full file on GitHub · 47 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. 6d ago First seen · 47 lines · 80 tokens per session scan A f7bdfadaa678

Subscribe to this mod's changes

write-docs is a skill published in the GitHub repository flipbook-labs/flipbook (127 stars, last pushed yesterday), licensed MIT. It adds 80 tokens to every session and 614 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-11-24.

Related

write-docs compared with skills from other repositories

write-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-docsflipbook-labs/flipbookSkill127yesterdayMITA80Claude Code
flow-next-tracker-syncgmickel/flow-nextSkill735todayMITA44Claude Code, Codex
taiyi-evolveDong90/oh-my-taiyiforgeSkill85514d agoMITA37Claude Code, Codex
taiyi-diagram-c4Dong90/oh-my-taiyiforgeSkill85514d agoMITA48Claude Code, Codex
writing-styleumputun/cc-thingzSkill50111d agoMITA52Claude Code
flow-next-resolve-prgmickel/flow-nextSkill735todayMITA36Claude Code, Codex
graspjongwony/epistemic-protocolsSkill1764d agoMITA73Claude Code