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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/caigang78/feishu-printWhat This Skill Does
The feishu-print skill enables seamless printing of files directly from Feishu group chats via OpenClaw. It automates the retrieval process by identifying, downloading, and spooling documents to your configured network or local printer. The skill includes advanced smart matching capabilities, allowing you to filter files by filename prefixes, keywords, specific file types (such as PDF or images), and time-based parameters like 'just now' (defined as the last 5 minutes). By leveraging the feishu_fetch_and_print.sh script, the agent can execute printing tasks without requiring manual intervention, making it an essential tool for office environments or distributed teams.
Installation
To integrate this capability into your OpenClaw agent, execute the following command in your terminal:
clawhub install openclaw/skills/skills/caigang78/feishu-print
Ensure that your environment variables, specifically the PRINTER name, are configured correctly to match your system's printer definitions as recognized by lpstat -a.
Use Cases
This skill is highly effective for automating physical document workflows. Use it when team members drop reports, contracts, or reference images into a Feishu group that require immediate physical copies. It is also ideal for quickly printing ad-hoc documents shared during meetings without needing to manually log into file repositories or navigate printer driver menus.
Example Prompts
- "Print the last two PDF reports from the Feishu group."
- "Find the contract file I just uploaded to Feishu and send it to the office printer."
- "Print all files with the prefix 'weekly-summary' from the Feishu chat."
Tips & Limitations
- Safety & Permissions: This skill is strictly restricted to printing operations. You are explicitly forbidden from using write or edit tools to modify files, nor can you create auxiliary Python or test scripts. All operations must rely on the provided shell scripts or standard system
lpcommands. - Variable Precision: When using time filters, remember that
MINUTESis interpreted by the underlying script; specifying too small a window might result in no files being found if the sync hasn't occurred. - Queue Management: Always use
lpstat -ato verify printer connectivity before initiating large print jobs andcancel -a <PrinterName>to clear the queue in case of errors.
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-feishu-print": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, code-execution
Related Skills
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.
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.