Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/happydog-intj/awesome-cards-skillnpx agentmods add skills/happydog-intj/awesome-cards-skill/feishu-cardWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/happydog-intj/awesome-cards-skill/feishu-card)<a href="https://agentmods.dev/skills/happydog-intj/awesome-cards-skill/feishu-card"><img src="https://agentmods.dev/badge/skills/happydog-intj/awesome-cards-skill/feishu-card/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/happydog-intj/awesome-cards-skill/feishu-card"><img src="https://agentmods.dev/badge/skills/happydog-intj/awesome-cards-skill/feishu-card.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.01959 |
| Opus 5 | $0.00023 | $0.00979 |
| Sonnet 5 | $0.00009 | $0.00392 |
| Haiku 4.5 | $0.00005 | $0.00196 |
Grade A, and why
feishu-card scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
92% identical to feishu-style-card-image — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.
飞书风格卡片图片生成
概述
把结构化内容(GitHub 库介绍、文章总结、项目报告等)渲染为飞书风格的卡片 PNG 图片。 技术栈:纯 HTML + CSS → Puppeteer 截图(2x 高清),无需外部图片服务。
步骤
1. 整理卡片内容
将信息归纳为以下区块(按需取舍):
- Header:标题、副标题、图标 emoji
- Repo/来源行:链接或来源标注
- Stats 徽章行:Stars / Forks / 日期 等数值型信息
- 描述块:带蓝色左边框的段落
- 安装/操作块:深色背景的命令行
- 代码示例块:语法高亮代码
- 功能特性:双列网格卡片
- Footer:来源署名 + 链接
2. 编写 HTML 文件
保存到 /tmp/<name>_card.html,使用下方 CSS 设计系统:
核心设计 Token:
/* 主色 */
--blue-primary: #1456F0;
--blue-light: #f0f5ff;
--blue-border: #d0e1fd;
/* 背景层次 */
--bg-card: #ffffff;
--bg-section: #f7f8fc;
--bg-page: #f0f2f5;
/* 文字 */
--text-primary: #222;
--text-secondary: #333;
--text-muted: #888;
/* 代码块(Catppuccin Mocha) */
--code-bg: #1e1e2e;
--kw: #cba6f7; /* keyword - 紫 */
--fn: #89b4fa; /* function - 蓝 */
--st: #a6e3a1; /* string - 绿 */
--cm: #6c7086; /* comment - 灰 */
--nu: #fab387; /* number - 橙 */
--ty: #f9e2af; /* type - 黄 */
关键组件样式:
/* 卡片容器 */
.card {
background: #fff;
border-radius: 12px;
width: 600px;
box-shadow: 0 2px 12px rgba(0,0,0,0.10);
overflow: hidden;
}
/* 蓝色渐变 Header */
.card-header {
background: linear-gradient(135deg, #1456F0 0%, #1890FF 100%);
padding: 22px 24px 20px;
display: flex; align-items: center; gap: 14px;
}
/* Section 标题(带分割线) */
.section-title {
font-size: 13px; font-weight: 700;
color: #1456F0; letter-spacing: 0.5px; text-transform: uppercase;
margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.section-title::after {
content: ''; flex: 1; height: 1px; background: #e8edf5;
}
/* 描述块(蓝色左边框) */
.desc-block {
background: #f7f8fc;
border-left: 3px solid #1456F0;
border-radius: 0 8px 8px 0;
padding: 12px 14px;
font-size: 13.5px; color: #333; line-height: 1.75;
}
/* Stats 徽章 */
.stat-badge {
display: flex; align-items: center; gap: 5px;
background: #f0f5ff; border: 1px solid #d0e1fd;
border-radius: 20px; padding: 4px 12px;
font-size: 12.5px; color: #2b4ea8; font-weight: 500;
}
/* 绿色变体 */ .stat-badge.green { background:#f0faf4; border-color:#b7e5c8; color:#1a7a40; }
/* 橙色变体 */ .stat-badge.orange { background:#fff8f0; border-color:#ffd6a0; color:#b05f00; }
/* 安装命令行 */
.install-block {
background: #0d1117; border-radius: 8px;
padding: 12px 16px; display: flex; align-items: center; gap: 10px;
}
/* 双列功能网格 */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feature-item {
display: flex; align-items: flex-start; gap: 8px;
background: #f7f8fc; border-radius: 8px;
padding: 10px 12px; border: 1px solid #eaecf3;
}
/* Footer */
.card-footer {
background: #f7f8fc; border-top: 1px solid #eaecf3;
padding: 12px 24px;
display: flex; align-items: center; justify-content: space-between;
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 202 lines · 47 tokens per session scan A 38473dcbfd18
feishu-card is a skill published in the GitHub repository happydog-intj/awesome-cards-skill (5 stars, last pushed 4mo ago), licensed MIT. It adds 47 tokens to every session and 1,959 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to feishu-style-card-image, differing in 2 lines, and is treated as a copy.
Other skills, from other repositories
imagegen-frontend-web
Elite frontend image-direction skill for generating premium, conversion-aware website design references. CRITICAL OUTPUT RULE — generate ONE separate horizontal image FOR EVERY section. A landing page with 8 sections produces 8 images. Never compress multiple sections into one image. Enforces composition variety (not…
brandkit
Premium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional…
openclaw-brand
Apply OpenClaw visual identity to logos, typography, imagery, voice, documents, presentations, social graphics, and launch materials. Use when the task changes brand identity rather than ordinary product UI or public-page composition.
ppt-designer
A guide for planning and designing PowerPoint presentations. It covers slide structure, layouts, visual choices, animation suggestions, and speaker notes.
nextclaw-skin-studio
A studio for browsing, applying, creating, refining, switching, inspecting, and removing custom NextClaw skins. A skin changes an app's visual appearance and can include CSS, JavaScript, images, SVG, layout changes, and motion.
json-canvas
An Obsidian skill for generating JSON Canvas files. JSON Canvas is a file format for arranging connected boxes and other elements on a visual canvas.