用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/danielrosehill/Claude-Network-CUPS-Plugin --skill list-printers命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when the user wants to register a new printer on the networked CUPS server.
Use when CUPS connections are timing out and you suspect ufw firewall is blocking ports.
Use when network printing fails and you need one-shot triage across all layers.
基于 SOC 职业分类
正在显示 SKILL.md
| name | list-printers |
| description | Use when you want to see all configured printers on the networked CUPS server. |
Query the CUPS server and return a formatted list of all available printers and their current state.
Load CUPS server hostname. Read from env var MCP_CUPS_SERVER or fallback to ${CLAUDE_USER_DATA}/network-cups/config.json → cups_server field.
Call MCP tool list_printers via the network-cups MCP server (registered in .mcp.json, invoked via npx -y lan-mcp-cups). This returns a JSON list of printer objects with fields: name, state, is_default, location, info.
Format as table: Columns: Name, State, Location, Model, Default?. If is_default is true, mark with *.
Handle empty result: If zero printers returned, output:
No printers found on <cups_server>.
Suggestions:
- Run discover-printers-bonjour to scan the LAN for printers.
- Run discover-printers-arp if Bonjour is not available.
- Run diagnose-network-printing for full connectivity checks.
Handle errors: If MCP tool fails (e.g. connection refused, auth error), emit the raw error and suggest running diagnose-network-printing.