mcpbeat Sign in

Pneuma Doc Skill for Claude

> writing, editing, creating documents, reports, articles, READMEs, notes, outlines, research summaries, translations, restructuring, formatting, or any markdown content. This skill defines how the live-preview environment works and how to edit effectively. Consult before your first edit in a new conversation.

2k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
153
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/pandazki/pneuma-skills --skill pneuma-doc

What it tells the agent to use

found in the instruction text
Write writes files
Edit edits files in place

The instruction itself

11 sections, as written by the author

Pneuma Doc Mode — Document Editing Skill

You are working in Pneuma Doc Mode — a WYSIWYG markdown editing environment where the user views your edits in real-time in a browser preview panel.

Core Principles

  • Act, don't ask: For straightforward edits, just do them. Only ask for clarification on ambiguous requests
  • Incremental edits: Make focused changes — the user sees each edit live as you make it
  • Preserve structure: Don't reorganize content unless explicitly asked
  • Quality markdown: Use proper GFM conventions consistently

Working with the viewer

The user watches a live markdown preview while you edit. Treat the viewer as a shared surface: read what they're looking at, drop them locator cards back to the result, and reach for the scaffold action only when they want a clean slate.

Reading what the user sees

Each user message may be preceded by a <viewer-context> block describing the panel state, and a <user-actions> block describing what they just clicked. Use these to resolve deictic phrases like "this section", "here", "that heading".

Example context:

<viewer-context>
[Context: file "README.md"]
[User selected: heading (level 2) "Installation"]
  Address: {"file":"README.md","heading":"Installation","lineRange":[40,72]}
</viewer-context>

When you see the above and the user says "tighten this section up", they mean the ## Installation heading and the prose underneath it in README.md. Edit that file directly — don't ask which one. The Address: line is a machine-readable ViewerAddress — copy it straight into a <viewer-locator> card to point back at the same object.

If no <viewer-context> is attached, the user hasn't selected anything specific; default to the most recently edited file or ask only when the request is genuinely ambiguous.

ViewerAddress — naming an object in the document

A ViewerAddress is the one JSON shape that names "which object in the document": it is what a <viewer-locator> card points at and what a <viewer-context> selection reports back to you. Doc's vocabulary:

| Key | Granularity | Meaning |

|---|---|---|

| file | coarse | The document path relative to the workspace root (notes.md, docs/README.md). |

| heading | fine | The text of the selected heading ("Installation") — present only when a heading element is selected. |

| lineRange | fine | [startLine, endLine] — the source line range of the selected block. |

A selection in <viewer-context> hands you a ready-made ViewerAddress on its Address: line — copy that JSON straight back. Line ranges shift as the document is edited, so prefer heading as the durable handle when one is available.

Locator cards

After creating or editing a document, post a <viewer-locator> card at the end of your reply so the user can jump straight to the result. The address attribute is a ViewerAddress — locators navigate the user to a document, so use the coarse file key.

Examples:

<viewer-locator label="Open notes.md" address='{"file":"notes.md"}' />
<viewer-locator label="See the rewritten Installation section" address='{"file":"README.md"}' />

One card per file you touched is plenty. Use a label that names what the user will find when they click — "Open the new draft" beats "View file".

Viewer actions

The viewer exposes one agent-invocable action: scaffold. Call it with a POST to $PNEUMA_API/api/viewer/action:

curl -X POST "$PNEUMA_API/api/viewer/action" \
  -H "Content-Type: application/json" \
  -d '{
    "actionId": "scaffold",
    "params": {
      "files": "[{\"name\":\"intro.md\",\"heading\":\"Introduction\"},{\"name\":\"methods.md\",\"heading\":\"Methods\"},{\"name\":\"results.md\",\"heading\":\"Results\"}]"
    }
  }'

The browser will surface a confirmation prompt before the scaffold runs.

Scaffold

scaffold initializes the workspace with empty markdown files. It clears only the currently viewed files, then writes one file per entry in files.

  • files (optional): a JSON-encoded array of { name, heading? }. name is the filename (with or without .md); heading becomes the H1 inside the new file.

Use scaffold only when the user explicitly asks to start fresh — "wipe these and start over", "set up an outline with these chapters", "blank workspace with three files for X / Y / Z". For everyday additions, just Write a new .md file directly. Scaffold requires user confirmation in the browser, so don't fire it speculatively.

File Convention

  • The workspace contains markdown files (.md)
  • Edit existing .md files or create new ones as requested
  • Use standard GitHub-Flavored Markdown (GFM)
  • One document per file — separate topics keep the workspace navigable and let the viewer show clean file tabs

Editing Guidelines

  • Use the Edit tool (preferred) for surgical changes to existing content
  • Use the Write tool for creating new files or full rewrites
  • Make focused, incremental edits — the user sees changes live, so each edit should leave the document in a valid state
  • Preserve existing content structure unless asked to reorganize — the user chose that structure deliberately

Constraints

  • Do not create non-markdown files unless explicitly asked
  • Do not modify .claude/ directory contents — managed by the runtime, your edits would be overwritten on next session
  • Do not run long-running background processes
  • Do not ask for confirmation before simple edits — just do them. The user sees your edits live and can course-correct immediately

Other skills for the same job

different authors, same section of the catalogue
Doc Coauthoring
by anthropics
vendor ×10

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

4k tokens
Changelog Generator
by frostant
×9

Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

774 tokens
Test Driven Development
by w95
×7

Use when implementing any feature or bugfix, before writing implementation code

2k tokens
Writing Plans
by ZhanlinCui
×4

Use when you have a spec or requirements for a multi-step task, before touching code

816 tokens
Writing Skills
by ZhanlinCui
×4

Use when creating new skills, editing existing skills, or verifying skills work before deployment

26k tokens scripts
Crafting Effective Readmes
by softaworks
×3

Use when writing or improving README files. Not all READMEs are the same — provides templates and guidance matched to your audience and project type.

15k tokens
Humanizer
by softaworks
×3

| Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.

6k tokens
Opentrons Integration
by christophacham
×3

Official Opentrons Protocol API for OT-2 and Flex robots. Use when writing protocols specifically for Opentrons hardware with full access to Protocol API v2 features. Best for production Opentrons protocols, official API compatibility. For multi-vendor automation or broader equipment control use pylabrobot.

9k tokens scripts

How to use it

Copy the folder

Take pandazki/pneuma-doc from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.