/loxihart-ops:kb-screenshot-automatorfrom loxihart-ops
Automate screenshot capture and insertion for Scribe-formatted KB articles. Use this skill whenever someone uploads a KB article, SOP, or step-by-step guide that contains "Screenshot Placeholder" markers and wants real screenshots captured from a live application. Also triggers when someone says "screenshot this guide", "capture screenshots for this KB", "populate screenshots", "fill in the placeholders", "automate screenshots", "screenshot the steps", or asks to navigate an app and capture step-by-step screenshots for documentation. Works with Claude in Chrome to navigate live applications, or assembles pre-captured screenshots into documents. Chains with kb-to-scribe skill output.
Ships in loxihart-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Tool | Status | Required For |
|---|---|---|
| Claude in Chrome | SESSION_DEPENDENT | Mode A (Capture + Assemble) only |
FAIL_IF (Mode A): Claude in Chrome availability is session-dependent and cannot be guaranteed. If the Chrome connector is not active at intake, do not ask the user to choose a mode — silently auto-default to Mode B (Assemble Only). See intake routing below.
<essential_principles>
This skill automates the screenshot gap in KB article production. It reads Scribe-formatted documents, identifies steps that need screenshots, navigates the live application to capture them, and assembles the final document with real annotated screenshots replacing placeholders.
Mode A — Capture + Assemble (Chrome connector available) Claude reads the document, navigates the live app via Chrome, screenshots each step, and assembles the final output. This is the full pipeline.
Mode B — Assemble Only (no Chrome connector) User provides pre-captured screenshots alongside the document. Claude matches screenshots to placeholder positions by step number and produces the final populated document.
The uploaded document IS the instruction set. Claude reads step descriptions, identifies action verbs (click, navigate, select, type, scroll), target elements (button names, menu labels, field names), and expected UI states. No separate manifest or config needed.
Claude NEVER clicks Save, Submit, Delete, Confirm, or any destructive/committing action unless explicitly told to by the user. Claude stops and asks before any state-changing operation. Documentation should capture the UI state, not change it.
The skill works with any browser-based application. The only per-article variable is the starting URL. App-specific quirks (slow-loading modals, collapsing sidebars, non-standard dropdowns) are handled via optional APP NOTES provided by the user.
If the input is .docx, output is .docx with embedded images. If the input is .pdf, output is .docx with embedded images (PDF assembly is lossy). Screenshots are saved individually as numbered PNGs alongside the final document.
</essential_principles>
Detect the operating mode automatically:
Chrome check (run first): Before evaluating the table below, check whether the Claude in Chrome connector is active in this session. If it is not active, skip Mode A entirely — auto-default to Mode B without asking. This check runs once at intake and is not re-evaluated mid-session.
| Condition | Mode | Action |
|---|---|---|
| Document uploaded + Chrome connector active | Mode A (Capture + Assemble) | Read workflows/capture-screenshots.md, then workflows/assemble-document.md |
| Document uploaded + screenshots uploaded (no Chrome) | Mode B (Assemble Only) | Read workflows/assemble-document.md |
| Document uploaded + Chrome not active + no screenshots | Auto-default Mode B | Inform user: "Chrome connector is not active this session — defaulting to Mode B (Assemble Only). Please upload your screenshots to continue." Do not ask whether to enable Chrome. |
Pre-flight validation (both modes):
[SCREENSHOT], [IMAGE HERE])If starting URL is not in the document, ask: "What's the URL I should navigate to? (e.g., https://app.kixie.com)"
| Trigger | Workflow |
|---|---|
| Document with placeholders + Chrome available | workflows/capture-screenshots.md → workflows/assemble-document.md |
| Document with placeholders + screenshots provided | workflows/assemble-document.md |
| "How does this skill work?" / "what can you do with screenshots?" | Summarize this SKILL.md |
| User provides APP NOTES or app-specific instructions | Store in context, apply during capture-screenshots workflow |
After reading the workflow, follow it exactly.
<screenshot_naming_convention>
Screenshots follow a strict naming pattern for reliable matching:
Single-section documents:
step_01.png, step_02.png, step_03.png
Multi-section documents (step numbering resets per section):
Use a slugified section name prefix derived from the H1 heading:
voicemail_setup_step_01.png, vm_drop_step_01.png, checking_voicemails_step_01.png
Rules:
</screenshot_naming_convention>
<pacing_protocol>
Step-by-step mode (default): After each screenshot capture, report:
Wait for user confirmation ("continue", "next", "go") before proceeding.
Auto-run mode: User says "auto-run" or "go ahead and do the rest" — Claude proceeds through remaining steps without pausing, UNLESS it hits a stop condition:
Resumable: If stopped mid-capture, Claude reports which step it stopped at. User can say "continue from step {N}" to resume without re-capturing earlier steps.
</pacing_protocol>
<reference_index>
| Reference | Purpose |
|---|---|
references/screenshot-standards.md | Image quality, annotation, sizing, and capture timing rules |
references/app-notes-template.md | Template for users to provide app-specific navigation quirks |
</reference_index>
<workflows_index>
| Workflow | Purpose |
|---|---|
workflows/capture-screenshots.md | Mode A: Navigate live app via Chrome, capture screenshots per step |
workflows/assemble-document.md | Mode B / Stage 2: Replace placeholders in document with captured images, output final .docx |
</workflows_index>
This skill is designed to chain with other Loxihart documentation skills:
Upstream: kb-to-scribe → produces Scribe-formatted .docx with "Screenshot Placeholder" markers → feeds directly into this skill
Downstream: loxihart-doc-generator or [client]-doc-generator → if the final output needs additional Loxihart/[CLIENT] branding applied after screenshots are inserted
Typical full pipeline:
kb-to-scribe converts to Scribe format with placeholderskb-screenshot-automator captures screenshots and assembles final docloxihart-doc-generator applies final branding pass| Problem | Cause | Fix |
|---|---|---|
| Chrome connector not detected | Extension not installed or connector not enabled for this session | User enables in Settings → Connectors → Claude in Chrome |
| Claude clicks wrong element | Ambiguous element description in source doc | Add APP NOTES with specificity: "The 'Save' button is in the modal footer, not the top nav" |
| Screenshots are blank or black | App blocks screenshots or hardware acceleration issue | Disable hardware acceleration in Chrome settings, retry |
| Dropdown not captured in open state | Kixie/app-specific dropdown closes on blur | Switch to step-by-step pacing for dropdown steps; capture immediately after click |
| Step numbering mismatch | Multi-section doc with independent numbering not detected | Verify H1 section boundaries; manually confirm section slugs |
| Element not found | Element below the fold or behind a loading spinner | Add APP NOTES: "Scroll down after opening [page]" or "Wait 5 seconds after clicking [button]" |
| Login screen appears | Session expired during capture | User logs back in manually, then says "continue from step {N}" |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub krosebrook/loxihart-skills --plugin loxihart-ops7 skills in this plugin
/building-kb-pipelinesDesigns and operates FlashFusion's Zero-Admin KB Generation pipeline — automated ticket-to-article for MSP/ITSM environments. Use when scoping a KB automation engagement, designing the ticket-to-article pipeline, configuring article quality gates or draft review, choosing the deployment stack, or producing the phase plan. Triggers on: KB automation, KB pipeline, ticket-to-article, zero-admin KB, article automation, IT knowledge management, documentation pipeline, KB scoping session, KB phase plan, draft-mode review, article quality gate.
/generating-kb-articlesGenerate professionally formatted .docx Knowledge Base articles following the Loxihart brand template. Use when creating SOPs, reference guides, troubleshooting guides, runbooks, onboarding docs, process documents, or any internal KB article. Triggers on requests mentioning KB article, knowledge base, SOP, reference guide, troubleshooting guide, runbook, onboarding guide, internal documentation, or Loxihart-branded documents.Other plugins' skills for the same job
/imaging-loxihart-endpointsRuns Loxihart/[CLIENT] endpoint imaging and deployment as a ten-gate, evidence-producing, resumable workflow: BIOS storage-mode configuration, WinPE network prep, PXE/MDT task sequence selection, computer rename, domain join, RDP authorization, BitLocker enablement with AD key escrow, VLAN migration, CMDB update, and ticket closure. Activates on: image a computer, imaging a laptop, new computer deployment, reimage this device, PXE boot, MDT task sequence, LiteTouch, WinPE, storage controller AHCI, NVMe, VMD, Intel RST, join [CLIENT] domain, rename computer abs-nb-lox, enable RDP for a user, BitLocker recovery key escrow, VLAN migration ports 1-24 to 25-48, imaging completion summary, deployment checklist, endpoint build, asset tag CMDB. Also fires on "the drive isn't showing in WinPE", "PXE timeout", "domain not found", "access denied joining domain", or any request to validate or document a finished endpoint build. Do NOT use for server imaging, MDM/mobile devices, or VM provisioning.