office-quotes:生成《办公室》(美版)语录 - Openclaw Skills

作者:互联网

2026-04-17

其他

什么是 office-quotes?

office-quotes 技能是一款多功能实用程序,旨在将《办公室》(美版)的幽默直接带入您的开发环境或自动化工作流。通过将此工具与 Openclaw Skills 集成,用户可以访问 300 多条离线语录以及提供丰富媒体资产(包括角色头像和剧集元数据)的在线 API 模式。它被构建为轻量且强大,支持适用于终端使用和视觉平台的各种输出格式。

无论您是在长时间的编码过程中需要轻松一下,还是需要为团队频道制作风格化的 SVG 语录卡片,此技能都能轻松提供迈克尔·斯科特、德怀特·舒鲁特及其他邓德·米夫林团队成员的经典台词。它有效地填补了简单文本生成器与用于社区互动的富媒体工具之间的空白。

下载入口:https://github.com/openclaw/skills/tree/main/skills/gumadeiras/office-quotes

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install office-quotes

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 /skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 office-quotes。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

office-quotes 应用场景

  • 为基于 CLI 的工具和开发者仪表板注入幽默感。
  • 为自动化团队站会或 Slack 机器人生成随机破冰话题。
  • 为社交媒体和演示文稿创建高质量的 SVG 或 PNG 语录卡片。
  • 获取语录的结构化 JSON 数据,以便在大型编程项目或 Web 应用程序中使用。
office-quotes 工作原理
  1. 用户执行命令行界面,并带上所需的参数以指定来源和格式。
  2. 技能从包含 326 条目的本地数据库中选择语录,或查询 akashrajpurohit API 以获取扩展数据。
  3. 根据选定的格式(文本、SVG 或图像),该技能处理语录和角色元数据。
  4. 最终结果输出到终端或保存为文件,准备在 Openclaw Skills 生态系统中使用。

office-quotes 配置指南

要开始使用此技能,请通过 npm 全局安装包:

npm install -g office-quotes-cli

安装完成后,即可在终端或脚本中使用 office-quotes 命令。

office-quotes 数据架构与分类体系

组件 描述
离线语录 无需互联网连接即可使用 326 条预置语录。
API 元数据 包括角色姓名、头像以及特定的剧集/季详情。
图像格式 支持 svg、png、jpg 和 webp 输出用于视觉资产。
JSON Schema 包含语录内容、作者和开发者元数据的结构化输出。
name: office-quotes
description: Generate random quotes from The Office (US). Provides access to 326 offline quotes plus online mode with SVG cards, character avatars, and full episode metadata via the akashrajpurohit API. Use for fun, icebreakers, or any task requiring The Office quotes.
metadata: {"clawdbot":{"requires":{"bins":["office-quotes"]},"install":[{"id":"node","kind":"node","package":"office-quotes-cli","bins":["office-quotes"],"label":"Install office-quotes CLI (npm)"}]}}

office-quotes Skill

Generate random quotes from The Office (US) TV show.

Installation

npm install -g office-quotes-cli

Usage

# Random offline quote (text only)
office-quotes

# API quote with SVG card
office-quotes --source api

# PNG output (best for T@elegrimm)
office-quotes --source api --format png

# Light theme
office-quotes --source api --theme light

Options

Option Description
--source Quote source: local (default), api
--format Output format: svg, png, jpg, webp (default: svg)
--theme SVG theme: dark, light (default: dark)
--json Output as JSON

Quote Examples

"Would I rather be feared or loved? Easy. Both. I want people to be afraid of how much they love me." — Michael Scott

"Bears. Beets. Battlestar Galactica." — Jim Halpert

"Whenever I'm about to do something, I think, 'Would an idiot do that?' And if they would, I do not do that thing." — Dwight Schrute

Source

https://github.com/gumadeiras/office-quotes-cli