HP DeskJet 5200 printer and scanner operations — ink levels, color/B&W printing, scanning, and auto-discovery
npx claudepluginhub danielrosehill/claude-code-plugins --plugin hp5200-printerCheck ink levels on the HP DeskJet 5200. Reports tri-color and black cartridge percentages with low-ink warnings.
Auto-discover the HP DeskJet 5200 on the local network using ARP scan and IPP probing. Updates the printer config with the discovered IP. Run this on first use or if the printer IP has changed.
Send a black-and-white print job to the HP DeskJet 5200. Accepts a file path, free-form content, or a named template (session-summary, blocker, note-to-self). Saves color ink by forcing monochrome.
Send a color print job to the HP DeskJet 5200. Accepts a file path, free-form content, or a named template (session-summary, blocker, note-to-self). Use when the user wants to print something in color.
Create a document according to user's instructions, format it with Typst, and print to the HP DeskJet 5200 network printer. Use when the user asks to create and print a document, make a printout, print a letter, create something for printing, or says 'print this'.
Trigger a scan from the HP DeskJet 5200 flatbed scanner over the network using eSCL/AirScan. Saves the scanned image to a user-specified location.
Print a test page from the HP DeskJet 5200 with a joke message, ink levels, printer IP, agent identity, and repo URL. Demonstrates templated variable injection in a skill.
Claude Code plugin for HP DeskJet 5200 (Ink Advantage) printer and scanner operations over the network via IPP and eSCL.
This is a deliberately simple example of a local AI agent skill — the kind of thing you'd normally just set up for yourself and never bother publishing. That's exactly why it's worth sharing. Most real-world agent skills aren't grand orchestration pipelines; they're small, practical automations that let an AI agent interact with the physical world around you. If you're looking for a template for writing your own hardware-integration skills for Claude Code, this is a good starting point.
It also demonstrates templated variable injection — the print templates use «VARIABLE» placeholders that the agent fills in at runtime with its own identity, the current timestamp, ink levels, and user content. This pattern is reusable for any skill that needs to generate structured documents.
| Skill | Description |
|---|---|
find-printer | Auto-discover the printer on your LAN using ARP scan + IPP probing |
check-ink | Query ink cartridge levels (tri-color and black) via IPP |
print-color | Color print job — from file, free-form content, or template |
print-bw | Monochrome print job (saves color ink) — same input options |
scan | Trigger a flatbed scan over the network using eSCL/AirScan |
test-print | Print a sarcastic test page with ink levels, agent identity, and emoji |
The templates/ directory contains Typst templates with «VARIABLE» placeholders that the agent injects at print time:
| Template | File | Use case |
|---|---|---|
| Session Summary | session-summary.typ | End-of-session recap of what was accomplished |
| Blocker | blocker.typ | Document a blocker that needs human attention |
| Note To Self | note-to-self.typ | Quick reminder or thought worth printing |
All templates support these variables:
| Variable | Description | Example |
|---|---|---|
«AGENT_NAME» | Name of the AI agent | Claude Code |
«MODEL_NAME» | Model powering the agent | Opus 4.6 |
«DATE» | Current date and time | 13 April 2026, 15:30 |
«TITLE» | Document title | Sprint 12 Wrap-Up |
«BODY» | Main content | (free-form Typst markup) |
All templates include a footer with agent name, model, date, and page numbers.
Drop a .typ file in templates/ using the same «VARIABLE» convention. The print skills will automatically find it.
The printer IP is stored in context/printer-config.md. On first use, run /find-printer to auto-detect it, or edit the config file manually.
lp, lpstat, lpadmin)ipptool (for ink level queries)sane-airscan + scanimage (for scanning)typst (for document creation)claude plugins install danielrosehill/Claude-HP5200-Skill-plugin
MIT
Ingest documentation sites and generate Claude Code skills
Share bugs, ideas, or general feedback.
Use when tasks involve reading, creating, or reviewing PDF files where rendering and layout matter; prefer visual checks by rendering pages (Poppler) and use Python tools such as `reportlab`, `pdfplumber`, and `pypdf` for generation and extraction. Originally from OpenAI's curated skills catalog.
Interactive playground for creating and testing PDF reports and proposals
Browser automation CLI for AI agents. Navigate pages, fill forms, click buttons, take screenshots, and test web apps.
Generate Office documents (DOCX, XLSX, PDF, PPTX) with TypeScript. Pure JS libraries that work everywhere: Claude Code CLI, Cloudflare Workers, browsers. Uses docx (Word), xlsx/SheetJS (Excel), pdf-lib (PDF), pptxgenjs (PowerPoint). Use when: creating invoices, reports, spreadsheets, presentations, form filling, exporting data to Office formats, or troubleshooting Packer.toBuffer, XLSX.utils, PDFDocument, pptxgenjs errors. sections: [{ children: [ new Paragraph({ children: [ new TextRun({ text:
Generate PPTX, DOCX, XLSX, and report workflows with OfficeCLI through a Claude Code skill
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim