document
Skill1 starsChanged 3 months agoMITView on GitHub
Records a procedure performed in the browser and generates step-by-step documentation with screenshots (markdown + optional PDF). Also regenerates the documentation of a previous recording. Use when the user asks to document, record or capture a procedure, process, tutorial or walkthrough done in the browser, wants a step-by-step guide with screenshots, asks to regenerate or rewrite the doc of an earlier recording, or invokes /document.
31 other projects use a version of this.
Adopted by
Most recently taken up by
- thekinv21/NotificationServicetheir own version, first seen Oct 3, 2026
- domengabrovsek/agent-configtheir own version, first seen Oct 2, 2026
- thekinv21/RBAC_Authenticationtheir own version, first seen Oct 1, 2026
- Nagacash/naga-codex-skillstheir own version, first seen Sep 25, 2026
- ilanbm/kpoppertheir own version, first seen Sep 23, 2026
- elfrost/ai-patchlabtheir own version, first seen Sep 22, 2026
Used with
Projects with it also use develop, scope and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
bamechoSkilldevelop
开发实施阶段详细规则;进入开发实施时读取;包含执行流程、代码规范、一致性审计、方案包迁移
Also in 5 projects that use this
vltingSkillscope
Interactive planning + orchestration. Approval-gated workflow covering saga→epic→task hierarchy via progressive scoping.
Also in 5 projects that use this
kt057Skillcheck
lint, typecheck, test を一括実行して結果をサマリーする
Also in 5 projects that use this
MicrosoftSkillsync
Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.
Also in 5 projects that use this
Microsoft AzureSkilltest
Also in 8 projects that use this
sahinSkillpeer-review
Also in 3 projects that use this
Other versions31 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 31
- jsmastery-pro/skills★ 1.4ksame name
- vladikk/modularity★ 549same name
- epicsagas/epic-harness★ 19same name
- domengabrovsek/agent-config★ 17same name
- ilanbm/kpopper★ 12same name
- agoodway/.claude★ 11same name
- jsmastery-pro/pilot★ 8same name
- nicolasestrem/antigravity-gemini-skills★ 8same name
- Akindu23/my-agent-skills★ 4same name
- bitcraft-apps/spec-first★ 4same name
21 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 2 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 30 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
Look at the argument the user passed (/document <argument>):
- Very specific: line 32
regenerate: read references/write-doc.md and follow it for that procedure.
- Very specific: line 35
No argument → ask the user (one question, options): record a new procedure, or — if docs/*/sessions/ folders exist — regenerate one of them …
- Very specific: line 41
Run the runtime bootstrap (idempotent, fast when already installed): powershell -ExecutionPolicy Bypass -File …
- Very specific: line 52
Run IN THE BACKGROUND, using the node.exe path printed by the bootstrap: "C:/...literal path.../node.exe" …
- Distinctive: line 55
close the browser: when you are done." If the profile did NOT exist, add: "First recording: sign in to your systems in this browser — the …
- Distinctive: line 58
Wait for the background process to finish (the notification arrives on its own.
- Very specific: line 64
Read the session.json in that folder.
- Very specific: line 73
Read references/write-doc.md and follow that process from the start, using the session you just recorded (validation, reading every …
“Common” is measured: kept by at least 6 in 10 of the 30 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Document a browser procedure
One skill, two modes: record a new procedure (browser recording + doc generation)
or regenerate the documentation of an existing recording. Everything doc-agent
produces for a procedure lives in docs/<slug>/ inside the current project:
README.md,screenshots/and the optional PDF — the generated guide;sessions/<YYYY-MM-DD-HHMM>/— one folder per recording (session.json+shots/), so earlier takes are preserved.
Paths used below
<home>= theDOC_AGENT_HOMEenvironment variable if set, otherwise%LOCALAPPDATA%\doc-agent. Holds machine-level data:<home>\runtime\node.exe(portable Node) and<home>\browser-profile\(the recording browser's logins).- Script paths are relative to this skill's directory. In Claude Code,
${CLAUDE_SKILL_DIR}resolves to it; in other agents, resolve them from wherever this SKILL.md was read.
0. Decide the mode
Look at the argument the user passed (/document <argument>):
- Argument given and
docs/<argument>/sessions/exists in the project → regenerate: readreferences/write-doc.mdand follow it for that procedure. - Argument given and no such folder → treat it as the name of a new procedure → record (section 1).
- No argument → ask the user (one question, options): record a new procedure, or —
if
docs/*/sessions/folders exist — regenerate one of them (list the procedure names as options). Then proceed accordingly.
1. Prepare the environment (silent when everything is fine)
- Run the runtime bootstrap (idempotent, fast when already installed):
powershell -ExecutionPolicy Bypass -File "${CLAUDE_SKILL_DIR}/scripts/bootstrap.ps1"- Exit 0 → the output ends with the full path of
node.exe(after "at"). Use that LITERAL path in every later command instead of rebuilding it from variables — a static path avoids permission friction. - Exit 1 → show the user the script output (it contains the manual plan B with the exact zip link) and STOP.
- Exit 0 → the output ends with the full path of
2. Record
- Note whether
<home>\browser-profile\already exists (it decides the message below). - Run IN THE BACKGROUND, using the node.exe path printed by the bootstrap:
"C:/...literal path.../node.exe" "${CLAUDE_SKILL_DIR}/scripts/doc-agent.mjs" record <name> - Tell the user: "The recording browser is open. Run the procedure as usual and close the browser when you are done." If the profile did NOT exist, add: "First recording: sign in to your systems in this browser — the logins are kept for the next ones."
- Wait for the background process to finish (the notification arrives on its own; do not keep polling its status).
3. Handle the shutdown
- Exit 0: the CLI output contains
Session ready: docs/<slug>/sessions/<stamp>. Read thesession.jsonin that folder; ifstepsis empty, report "nothing was recorded — the browser was closed without any action" and STOP. - Exit 1: show the CLI output to the user and STOP. Never generate documentation
from a session that failed to consolidate. Special case: if the process died within
seconds with an error mentioning Chrome/Edge/
DOC_AGENT_CHROME, the machine has no supported browser — explain that to the user in one sentence.
4. Generate the documentation
Read references/write-doc.md and follow that process from the start, using the
session you just recorded (validation, reading every screenshot, grouping into logical
steps, the template, copying the images, offering the PDF and the closing note).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

