Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Ibook000/ibook-skill --skill tweet-card-generatorgit clone --depth 1 https://github.com/Ibook000/ibook-skillWrote 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/ibook000/ibook-skill/tweet-card-generator)<a href="https://agentmods.dev/skills/ibook000/ibook-skill/tweet-card-generator"><img src="https://agentmods.dev/badge/skills/ibook000/ibook-skill/tweet-card-generator/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/ibook000/ibook-skill/tweet-card-generator"><img src="https://agentmods.dev/badge/skills/ibook000/ibook-skill/tweet-card-generator.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.00039 | $0.01931 |
| Opus 5 | $0.00019 | $0.00966 |
| Sonnet 5 | $0.00008 | $0.00386 |
| Haiku 4.5 | $0.00004 | $0.00193 |
Grade A, and why
tweet-card-generator 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tweet Card Generator v2
One command: give a topic → tweet (≤280 chars) + a high-density data card PNG.
v2 核心升级: 4 种布局 × 8 种图表,根据数据自动选最优搭配,不死板。
Workflow
Step 1: Research → Step 2: Draft tweet → Step 3: Card HTML → Step 4: Screenshot → Step 5: Post → Step 6: Present
(Same as v1 — unchanged.)
Layout System (v2)
根据话题类型选布局,不要只用一种:
Layout A: Split(左指标 + 右图表)
- 适用:3-4 个核心数字 + 对比/趋势图
- 经典 Bloomberg 风格
- 之前 Culper NVDA、Gold 卡用的就是这种
Layout B: Stacked(纵向堆叠)
- 适用:叙事型话题,3-5 个要点,每个配小图
- 上方大数字标题 → 中间 3 列要点 + 迷你图表 → 底部结论
- 信息密度最高,适合"分析报告"型卡片
Layout C: Big Number(大字报)
- 适用:单一震撼数字 or 对比型
- 超大数字居中 + 2-3 个小图表围绕
- 适合 "68% 市场认为..." 这类话题
Layout D: Timeline(时间轴)
- 适用:事件演进、历史脉络
- 左侧时间线 + 右侧事件描述 + 关键数字
- 适合"做空报告时间线"这类
选择规则
| 数据特征 | 推荐布局 |
|---|---|
| 3-4 个关键指标 + 对比 | Layout A |
| 5+ 分散信息点 | Layout B |
| 1-2 个震撼数字 | Layout C |
| 时间线/事件链 | Layout D |
Chart Library (v2)
All charts are inline SVG — zero external dependencies. They render perfectly in headless Chromium.
Copy the relevant snippet into the .ch-b div in card-dense.html.
HTML Templates
| 模板文件 | 用途 | 何时用 |
|---|---|---|
templates/card-dense.html |
默认,高密度多区块网格 | 大部分话题 |
templates/card-template.html |
4 种经典布局(Split/Stacked/Big/Timeline) | 需要特定布局时 |
Dense Template Building Blocks
| Class | 作用 | 示例 |
|---|---|---|
.r3 |
三等分列 | 3 个指标并排 |
.r21 |
2:1 分列 | 2/3 表格 + 1/3 图表 |
.r12 |
1:2 分列 | 1/3 指标 + 2/3 大图 |
.m |
指标块 | label + 28px 数字 + subtext |
.box |
信息盒 | 带标题的键值对列表 |
.tbl |
紧凑表格 | 多行对比数据 |
.ch-b |
图表容器 | SVG 自动撑满 |
.hr |
分割线 | 区块间距 |
组合套路:
Chart Library (v2.1)
12 种可复用 SVG 图表,全部零依赖。加载:skill_view(name="tweet-card-generator", file_path="templates/chart-examples.html")
| # | 图表 | 典型用途 |
|---|---|---|
| 1 | Horizontal Bars | 排名、份额对比 |
| 2 | Vertical Bars | 时间序列、季度数据 |
| 3 | Sparkline | 趋势、价格走势 |
| 4 | Donut Ring | 百分比、占比 |
| 5 | Mini Comparison | A vs B、同比对比 |
| 6 | Grouped Bars | 多组对比 |
| 7 | Waterfall | 增减量分解 |
| 8 | Progress Bars | 进度、完成率 |
| 9 | Pie Chart | 构成分布、饼图 |
| 10 | Flow Diagram | 资金链路、流程图 |
| 11 | Stacked Bar | 堆叠构成 |
| 12 | Area Chart | 面积趋势图 |
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 10d ago First seen · 161 lines · 39 tokens per session scan A d702d6cd156f
tweet-card-generator is a skill published in the GitHub repository Ibook000/ibook-skill (2 stars, last pushed 11d ago), licensed MIT. It adds 39 tokens to every session and 1,931 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
hermes-tweet
Search Twitter/X, read tweet replies, look up users, monitor tweets, export followers, and gate X actions through Xquik.
hermes-tweet
Use Xquik in Hermes Agent for public X research, monitoring, thread summaries, creator discovery & approved actions. Not affiliated with X Corp. Use when the user requests X data or a named action. Trigger with "search X", "monitor X", "post tweet", or "X trends".
twitter-agent
Build and run a Twitter/X agent with a distinct personality and automated workflows.
hermes-tweet
Use Xquik from Hermes Agent for X search, posting, replies, likes, retweets, follows, DMs, monitors, extraction jobs, draws, media, and trends.
spectre
X/Twitter automation MCP server — 104 tools for search, posting, media upload, DMs, scheduled tweets, drafts, bookmark folders, lists, communities, topics, community notes, account settings, profile management, highlights, notifications.
animation-mirror-setup
Configure mirroring for symmetric animation creation and reuse.