Feishu Print for Openclaw

A powerful utility that enables AI agents to fetch and print files uploaded to Feishu group chats using natural language commands.

caigang78
v1.0.0
Mar 8, 2026
0
1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install feishu-print

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install feishu-print using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Feishu Print?

The Feishu Print skill bridges the gap between digital collaboration and physical output. By integrating with Feishu's messaging ecosystem, this component of Openclaw Skills allows users to trigger printing tasks using simple conversational cues. It leverages a shell-based workflow to identify, download, and send files to local or network printers without requiring manual intervention.

Built with efficiency in mind, it supports intelligent filtering based on file metadata, such as upload time, file extension, or naming patterns. This makes it an essential tool for environments where physical documentation is frequently needed from team chat threads, ensuring that the latest reports or invoices are always at your fingertips.

Feishu Print Use Cases

  • Print the latest invoice or report sent to a Feishu group automatically.
  • Filter and print specific documents starting with a certain filename prefix.
  • Batch print all PDF files uploaded in the last 5 minutes for immediate review.
  • Print direct text content or multi-line snippets without creating temporary files manually.
  • Manage physical output by checking print queues or cancelling jobs via the AI agent.

How Feishu Print Works

  1. The AI agent interprets the user's natural language request to determine the printing intent.
  2. The agent maps specific criteria like file type, name keywords, or time ranges to environment variables.
  3. The agent invokes the feishu_fetch_and_print.sh script with the configured environment variables.
  4. The script fetches the matching files from the Feishu API based on the provided filters.
  5. Downloaded files are passed to the system's lp command to be routed to the specified printer.

Feishu Print Setup

To integrate this skill into your Openclaw Skills workflow, ensure your environment is configured with the correct printer names.

# List available printers to find your PRINTER name
lpstat -a

# Basic invocation for the latest file
PRINTER=Your_Printer_Name <SKILL_DIR>/feishu_fetch_and_print.sh

# Advanced invocation with filters
PRINTER=Your_Printer_Name LIMIT=2 FILE_TYPE=pdf <SKILL_DIR>/feishu_fetch_and_print.sh

Feishu Print Data Schema & Taxonomy

The skill utilizes environment variables to filter Feishu metadata. The organization of this data is as follows:

Variable Expected Values Description
PRINTER String The system name of the destination printer.
LIMIT Integer The maximum number of files to process.
NAME_PREFIX String Matches files starting with this text.
NAME_CONTAINS String Matches files containing this keyword.
MINUTES Integer Filters files uploaded within this many minutes.
FILE_TYPE pdf, image, video, doc, file Restricts search to specific file formats.

Feishu Print Advanced Features

  • Smart intent interpretation for time-relative queries like "just now" (auto-sets to 5 minutes).
  • Direct text-to-printer piping for immediate documentation of chat snippets.
  • Full support for standard CUPS/LP tools for queue management and job cancellation.
  • Configurable file type constraints to prevent printing of unwanted media formats.
  • Zero-file-modification policy ensures the environment remains clean and secure.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*