Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

write-internal-docs

Skill by browseros-ai

Writes a doc into the private browseros-ai internal-docs repo as Markdown with an HTML sibling, then opens a pull request. Built for maintainers who keep internal docs.

  • Score 91
  • 15k stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install write-internal-docs

Built from the published package, never by AI.

git clone --depth 1 https://github.com/browseros-ai/BrowserOS /tmp/BrowserOS && mkdir -p ~/.claude/skills && cp -r /tmp/BrowserOS/.claude/skills/write-internal-docs ~/.claude/skills/write-internal-docs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install write-internal-docs in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The write-internal-docs skill drafts a doc for the private browseros-ai/internal-docs repository. The subject comes from the user's request or from the current branch diff. The skill maps the relevant code, fills a matching template, and checks the prose against a set of voice rules.

It writes the Markdown into a separate work clone and renders a self-contained HTML sibling from it. A tidy pass looks for dead index links and docs missing from the index. Tidy changes and the new doc go in separate commits, and the skill opens a pull request to main. Pre-flight checks confirm the submodule, GitHub CLI login, and SSH access first. The skill is for maintainers who write runbooks, feature notes, architecture notes, and design specs. It is a companion to ask-internal, which reads the same repo.

Written from the project's SKILL.md and checked against it.

What it can do

  • Scope the docSets the subject, doc type, target folder, filename, and owner before drafting.
  • Zoom out mapMaps the relevant modules, callers, and data flow, with each named module tied to a real path.
  • Draft from templatesFills the matching template from the internal-docs _templates folder with cited claims.
  • Voice checkScans the draft for em dashes, banned words, long sentences, and filler intros, then rewrites them.
  • Render HTML siblingConverts the Markdown body to a self-contained HTML file, using pandoc if installed.
  • Tidy passFinds dead index links and docs on disk missing from the README index, then fixes them in a separate commit.
  • Open pull requestPushes a feature branch and opens a pull request to browseros-ai/internal-docs main.

What you need

  • GitHub CLI (gh) authenticated to GitHub
  • SSH access to github.com for the browseros-ai/internal-docs repo
  • An initialized .internal-docs submodule in the parent repo
  • Pandoc (optional, for HTML rendering)

Try asking

  • /write-internal-docs nightly signing
  • Write an internal doc for the changes on this feature branch
  • Write a runbook for the release signing setup in internal-docs

Good to know

  • Never pushes to the internal-docs main branch; it uses a feature branch and a pull request.
  • Writes happen in a separate work clone, not in the user's .internal-docs checkout.
  • Does not backfill HTML siblings for existing docs; they appear as docs are touched.
  • Feature notes are capped at 60 lines of body text; architecture and design docs have no cap.

Security check

B
  • Allowed to use Bash, Write, Edit without limitsIn SKILL.md

Checked automatically: .claude/skills/write-internal-docs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: BashReadWriteEditGrepGlob

  • SKILL.md12 KB
  • reference/html-template.html3 KB

Alternatives to write-internal-docs

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

write-internal-docs: common questions

Does write-internal-docs push directly to main?

No. The skill works on a feature branch named docs/<slug> and opens a pull request to main. It never pushes to main.

Which file is the source of truth, the Markdown or the HTML?

The Markdown file is the source of truth. The HTML sibling is regenerated from it, and the skill says never to hand-edit the HTML.

Does it replace the document-internal skill?

Yes. The source says write-internal-docs supersedes the older personal document-internal flow.

How do I install write-internal-docs?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is write-internal-docs free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is write-internal-docs safe to use?

It scores 91 of 100. Grades: maintenance A, licence C, quality A. Security check: grade B (allowed to use bash, write, edit without limits). Review the code before you install. How grades work.

What are alternatives to write-internal-docs?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

write-internal-docs Install

Add to stack

Loading.