docs: Skill for Claude Code

.agents/skills/write-gitbook/SKILL.md

write-gitbook is a skill for Claude Code, Codex from argos-ci/docs. It costs 56 tokens per session (8,588 once invoked), scanned A, original, MIT.

A guide for editing GitBook documentation as files in a repository, text editor, IDE, or command line. GitBook is a documentation platform that organizes Markdown pages into spaces and collections.

In plain words
What is it for?
Use it to create and maintain GitBook pages, navigation, reusable content, images, page metadata, and site configuration.
Why use it?
It explains the file layout, formatting, settings, and conventions needed to keep GitBook content working outside the GitBook website.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents).

This is argos-ci/docs's own configuration. It tells Claude Code and Codex how to work on docs 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 docs configures →

Reuse

Borrowing it

Nothing to install: this file belongs to argos-ci/docs. 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/argos-ci/docs/main/.agents/skills/write-gitbook/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/argos-ci/docs

Made for: Claude Code, 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 write-gitbook

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/argos-ci/docs/write-gitbook"><img src="https://agentmods.dev/badge/skills/argos-ci/docs/write-gitbook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,588 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00056 $0.08588
Opus 5.5 $0.00022 $0.03435
Sonnet 5.5 $0.00011 $0.01718
Haiku 4.5 $0.00006 $0.00859

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

Security

Grade A, and why

write-gitbook scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -H "X-API-Key: your-api-key" https://api.example.com/v1/users
.agents/skills/write-gitbook/SKILL.md · 1,192 lines

How it starts

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

When to Use This Skill

Use this skill when working with GitBook documentation through:

  • Git-synced repositories (GitHub, GitLab)
  • Local markdown editors
  • IDE integrations
  • Command-line tools
  • Any environment where you're editing GitBook content as files rather than through the GitBook UI

Quick Reference

GitBook Content Structure

GitBook organizes content through pages, spaces, and collections:

  • Pages are individual markdown files that make up your documentation
  • Spaces are collections of pages organized into a documentation site
  • Collections are groups of spaces

File structure:

/
  .gitbook/
    assets/              # GitBook-managed images and files
    includes/            # Reusable content blocks
    vars.yaml            # Space-level variables
  .gitbook.yaml          # Configuration
  README.md              # Homepage
  SUMMARY.md             # Table of contents
  getting-started/       # Section folder
    installation.md
    quickstart.md
  api-reference/
    authentication.md
    endpoints.md

Frontmatter fields:

---
description: Page description for SEO
icon: book-open
hidden: true
cover: .gitbook/assets/hero.png
coverY: 0
vars:
  page_variable: value
if: visitor.claims.unsigned.condition
layout:
  width: default  # or 'wide'
  cover:
    visible: true
    size: full      # or 'hero'
  title:
    visible: true
  description:
    visible: true
  tableOfContents:
    visible: true
  outline:
    visible: true
  pagination:
    visible: true
  metadata:
    visible: true
---

Variables and expressions:

  • Space variables: /.gitbook/vars.yaml
  • Page variables: Frontmatter vars:
  • Expression syntax: <code class="expression">space.vars.variableName</code>

Most common custom blocks:

  • {% tabs %}...{% endtabs %} for alternatives
  • {% hint style="..." %}...{% endhint %} for callouts
  • {% stepper %}...{% endstepper %} for sequential steps
  • <details>...<summary>...</details> for expandable content

Read the full file on GitHub · 1,192 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. 2mo ago First seen · 1,192 lines · 56 tokens per session scan A 7c3ca5888b53

Subscribe to this mod's changes

write-gitbook is a skill published in the GitHub repository argos-ci/docs (5 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 8,588 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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

docs-validate-code-samples

Validate code samples in Elastic documentation markdown files. Checks language identifiers, substitution attributes, callout usage, JSON validity, ES|QL syntax, and Painless scripts. Use when reviewing docs PRs, auditing content, or writing new examples.

elastic/elastic-docs-skills · 55 tokens

argos-cli

Operate Argos visual testing from the terminal with the argos CLI — list and inspect builds and snapshot diffs, download a build's screenshots or a project's latest baseline, submit reviews, request reviewers, post comments, inspect a test's flakiness and its recurring changes, ignore flaky test changes, configure a…

argos-ci/argos-javascript · 162 tokens

argos-upload

Upload a screenshot, an image or a screen recording to Argos and get a shareable URL plus ready-to-paste Markdown, so it can be embedded in a pull request, an issue, a changelog or a chat message — or attached to a branch or pull request, where Argos posts and maintains the comment itself. Use whenever you have…

argos-ci/argos-javascript · 168 tokens

argos-pr-review

Review Argos visual regression builds as one input to a pull request review. Use when a PR has an Argos build link, an Argos status check, or a bot comment pointing to an Argos build, and you need to decide whether the visual diffs match the developer's intent before approving.

argos-ci/argos-javascript · 65 tokens

markdown-search

Search and navigate local markdown via MCP. Use when the user asks to search docs, find a README section, list headings/TOC, extract code examples by language, read frontmatter, or grep internal wikis and ADRs on disk.

ofershap/mcp-server-markdown · 52 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens