slack-print
Print files uploaded to a Slack channel. Supports smart matching: multiple files, filename prefix/keyword filter, file type (pdf/image), and time range ("just now" = "last 5 minutes"). Trigger when the user says things like "print the file from Slack", "print the PDF I just sent to Slack", "print the Slack file", etc.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/caigang78/slack-printWhat This Skill Does
The slack-print skill acts as a bridge between your Slack workspace and your local printing hardware. It automates the retrieval and printing of documents shared in Slack without requiring you to manually download, open, and print files. By leveraging intelligent keyword and temporal filtering, the skill identifies the correct files based on natural language requests. It utilizes shell-based execution to route these files to your system's lp (line printer) command, ensuring integration with CUPS-managed printers.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/caigang78/slack-print
Once installed, ensure your environment is configured with the target printer name using the PRINTER variable to avoid routing errors.
Use Cases
This skill is designed for high-efficiency office workflows. It is ideal for teams that share invoices, reports, or labels via Slack and need a quick way to produce physical copies. It handles batch printing, allowing users to print multiple files at once, and supports filtering by file type—such as PDFs or images—ensuring that you only send relevant documents to the printer. Additionally, it provides management tools to monitor print queues and cancel jobs when necessary.
Example Prompts
- "Print the PDF I just sent to Slack five minutes ago."
- "Print the last three files from the Slack channel."
- "Print all files with the name prefix 'invoice' from Slack."
Tips & Limitations
- Smart Filtering: Use
LIMIT,NAME_PREFIX, orNAME_CONTAINSto narrow down files if your Slack channel is busy. - Status Checks: Before sending large documents, use
lpstat -ato verify that your printer is online and ready. - Constraints: This skill strictly prohibits the creation of new scripts or auxiliary files. It operates entirely by executing pre-existing logic. Users should ensure their printer is properly configured in the system CUPS print server to allow the agent to interface with the
lpcommand effectively. If a file type is not explicitly defined, it will attempt to process all compatible files by default.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-caigang78-slack-print": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, external-api, code-execution
Related Skills
feishu-backup
Back up files uploaded to a Feishu group chat to the local doc/backup directory. Supports smart matching: multiple files, filename prefix/keyword filter, file type (pdf/video/image), and time range ("just now" = "last 5 minutes"). Trigger when the user says things like "back up the file from Feishu", "back up the PDF I just sent to Feishu", "save the Feishu file locally", etc.
slack-backup
Back up files uploaded to a Slack channel to the local doc/backup directory. Supports smart matching: multiple files, filename prefix/keyword filter, file type (pdf/video/image), and time range ("just now" = "last 5 minutes"). Trigger when the user says things like "back up the file from Slack", "back up the PDF I just sent to Slack", "save the Slack file locally", etc.
feishu-print
Print files uploaded to a Feishu group chat. Supports smart matching: multiple files, filename prefix/keyword filter, file type (pdf/image), and time range ("just now" = "last 5 minutes"). Trigger when the user says things like "print the file from Feishu", "print the PDF I just sent to Feishu", "print the Feishu file", etc.