From network-cups
Use when the user wants to print a local file to a networked printer.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin network-cupsThis skill uses the workspace's default tool permissions.
Submit a file to print on a networked CUPS printer. Validate file existence, confirm copy count, and submit via MCP.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Submit a file to print on a networked CUPS printer. Validate file existence, confirm copy count, and submit via MCP.
path — absolute or relative path to the file (required)printer — printer name (optional; uses default if unset)copies — number of copies (optional; defaults to 1)Validate file. Check that path exists and is readable:
test -r "$path" || { echo "File not readable: $path"; exit 1; }
Stop if file not found or not readable.
Load defaults. If printer unset, read MCP_CUPS_DEFAULT_PRINTER from env or config.json. If still unset, run list-printers to show options and ask user to choose one.
Warn on copy limit. If copies exceeds MCP_CUPS_MAX_COPIES (from env or config), warn the user: "Copy count exceeds safety limit . Proceed?" and wait for confirmation before continuing.
Confirm with user: Show:
Ready to print:
File: <path>
Printer: <name>
Copies: <N>
Proceed? (yes/no)
Halt if user says no.
Call MCP tool print_file with path, printer, copies. The MCP server is network-cups (registered in .mcp.json).
Report result: On success, emit:
Submitted to <printer>: <path> (<N> copies).
On failure, show the MCP error and suggest diagnose-network-printing.