feishu-card

feishu-card is a skill for Claude Code, Codex from happydog-intj/awesome-cards-skill. It costs 47 tokens per session (1,959 once invoked), scanned A, a copy of feishu-style-card-image, MIT.

A method for turning structured information—such as a GitHub project description, article summary, or product overview—into a high-resolution PNG card styled like Feishu, a Chinese collaboration and messaging app.

In plain words
What is it for?
Use it to create cards with titles, source links, statistics, descriptions, commands, code examples, feature sections, and footer links.
Why use it?
It gives developers a repeatable way to present technical information as a shareable image instead of designing each card from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node /tmp/screenshot_card.js.

Good fit Use it to create cards with titles, source links, statistics, descriptions, commands, code examples, feature sections, and footer links.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/happydog-intj/awesome-cards-skill
agentmods
npx agentmods add skills/happydog-intj/awesome-cards-skill/feishu-card

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for feishu-card

README.md
[![agentmods](https://agentmods.dev/badge/skills/happydog-intj/awesome-cards-skill/feishu-card/github.svg)](https://agentmods.dev/skills/happydog-intj/awesome-cards-skill/feishu-card)
Your own site
<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.

agentmods 80×15 button for feishu-card

Your own site · 80×15
<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>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,959 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.01959
Opus 5.5 $0.00019 $0.00784
Sonnet 5.5 $0.00009 $0.00392
Haiku 4.5 $0.00005 $0.00196

Measured 2mo ago against content hash 38473dcbfd18, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 2mo 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.

Origin

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.

skills/feishu-card/SKILL.md · 202 lines

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;
}

Read the full file on GitHub · 202 lines

Changes

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.

  1. 2mo ago First seen · 202 lines · 47 tokens per session scan A 38473dcbfd18

Subscribe to this mod's changes

feishu-card is a skill published in the GitHub repository happydog-intj/awesome-cards-skill (5 stars, last pushed 6mo ago), licensed MIT. It adds 47 tokens to every session and 1,959 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other skills, from other repositories

open-design-landing

Produce a world-class single-page editorial landing site in the Atelier Zero visual language (Monocle / Apartamento / Études editorial collage) — the same aesthetic OpenDesign uses for its own marketing surface. The agent fills a typed inputs.json from a brand brief, optionally generates 16 collage assets via…

nexu-io/open-design · 104 tokens

design-brief

Parse a structured design brief written in I-Lang protocol format into a concrete design spec. Eliminates ambiguity from vague requests like "make it professional" by requiring explicit dimensions: palette, typography, layout, mood, density, and constraints. Trigger keywords: "design brief", "create a design brief"…

nexu-io/open-design · 76 tokens

critique

Run a 5-dimension expert design review on any HTML artifact in the project — Philosophy / Visual hierarchy / Detail / Functionality / Innovation, each scored 0–10. Outputs a single self-contained HTML report with a radar chart, evidence-backed scores, and three lists: Keep / Fix / Quick-wins. Use when the brief asks…

nexu-io/open-design · 107 tokens

kami-landing

Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

nexu-io/open-design · 81 tokens

tweaks

Wrap any HTML artifact with a side panel of live, parameterized controls — accent color, type scale, density, motion, theme — that rewrite CSS custom properties in real time and persist to localStorage. Lets the user explore variants of a design without re-prompting the agent. Use when the brief asks for "variants"…

nexu-io/open-design · 102 tokens

web-prototype

General-purpose desktop web prototype. Single self-contained HTML file built by copying the seed assets/template.html and pasting section layouts from references/layouts.md. Default for any landing / marketing / docs / SaaS page when no more specific skill matches.

nexu-io/open-design · 59 tokens