一键导入
Print files on Mac or Linux via `lp` — defaults to double-sided B&W. Supports PDF, markdown (via md-to-pdf), copies, page ranges, color, printer selection.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Print files on Mac or Linux via `lp` — defaults to double-sided B&W. Supports PDF, markdown (via md-to-pdf), copies, page ranges, color, printer selection.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | |
| description | Print files on Mac or Linux via `lp` — defaults to double-sided B&W. Supports PDF, markdown (via md-to-pdf), copies, page ranges, color, printer selection. |
Print files on Mac or Linux using the lp command with sensible defaults.
To print a markdown file, first convert it to PDF using the /md-to-pdf skill:
~/.claude/skills/md-to-pdf/scripts/md-to-pdf.cjs doc.md
~/.claude/skills/print/scripts/print doc.pdf
rm doc.pdf # Delete if PDF was just for printing
The /md-to-pdf skill handles Mermaid diagrams, syntax highlighting, and page numbers.
| Setting | Default | Rationale |
|---|---|---|
| Duplex | Double-sided (long-edge) | Save paper |
| Color | Black & white | Save toner on color printers |
These defaults can be overridden per-request.
# Print a file with defaults (double-sided, b&w)
lp -o sides=two-sided-long-edge -o ColorModel=Gray <file>
# Or use the helper script
~/.claude/skills/print/scripts/print <file>
| Option | Flag | Example |
|---|---|---|
| Printer | -d <name> | -d HP_LaserJet_4001 |
| Copies | -n <count> | -n 3 |
| Pages | -P <range> | -P 1-5 or -P 1,3,7 |
| Single-sided | -o sides=one-sided | Override duplex |
| Color | -o ColorModel=Color | Override b&w |
| Landscape | -o landscape | Rotate 90° |
| Fit to page | -o fit-to-page | Scale to fit |
lpstat -p -d
Shows all printers and the system default (marked with system default destination:).
lpstat -o # Show pending jobs
lpstat -W completed # Show completed jobs
cancel <job-id> # e.g., cancel HP_LaserJet_4001-852
cancel -a # Cancel all jobs
The print script at ~/.claude/skills/print/scripts/print wraps lp with the defaults:
# Basic usage
print document.pdf
# Specify printer
print document.pdf -d Brother_HL_L3280CDW_series
# Multiple copies
print document.pdf -n 3
# Single-sided color
print document.pdf --single-sided --color
# Page range
print document.pdf -P 1-5
Run print --help for all options.
--color to override b&w defaultThe printer name has changed. Run lpstat -p to see current names.
lpstat -o # Check status
cancel <job-id> # Cancel stuck job
cupsenable <printer-name> # Re-enable if disabled
Not all printers support duplex. Check printer capabilities:
lpoptions -p <printer-name> -l | grep -i sides
Review recently changed code for reuse, simplification, efficiency, and consistency cleanups, then apply the fixes. Quality only — doesn't hunt for bugs. Triggers on 'simplify', 'clean this up', 'simplify this diff'.
Rigorous code review of completed implementation before committing. Use for features, refactors, and critical-path changes — not trivial changes (this is expensive).
Post-implementation checklist — docs, code quality, conventions, visual verification, issue hygiene. Triggers on 'finalize', 'ready to merge', 'preflight check', 'wrap this up', 'final review'.
Run the full pre-merge pipeline and create a PR. Triggers on 'ship', 'ship it', 'ready to ship', 'prep for PR', 'create PR', 'ready to merge'.
Spin up an isolated git worktree in its own tmux session — coding agent in one window, dev stack in another, git UI in a third — with the agent briefed and already working. Use for spinning up a worktree, starting a feature/branch/task in isolation, handing work to a fresh agent (Claude/Codex), or setting up an isolated tmux dev session.
Read, send input to, or spawn other tmux panes, windows, and sessions - including agents (Claude Code, Codex), REPLs, and TUIs running in them. Use when the user references another pane, window, or agent.