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 NUGURI-7/CoCoWork --skill pdfgit clone --depth 1 https://github.com/NUGURI-7/CoCoWorkWrote 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/nuguri-7/cocowork/pdf)<a href="https://agentmods.dev/skills/nuguri-7/cocowork/pdf"><img src="https://agentmods.dev/badge/skills/nuguri-7/cocowork/pdf/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/nuguri-7/cocowork/pdf"><img src="https://agentmods.dev/badge/skills/nuguri-7/cocowork/pdf.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.00073 | $0.01964 |
| Opus 5.5 | $0.00029 | $0.00786 |
| Sonnet 5.5 | $0.00015 | $0.00393 |
| Haiku 4.5 | $0.00007 | $0.00196 |
Grade A, and why
pdf 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 13d 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 — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PDF 制作与处理
| 任务 | 做法 |
|---|---|
| 新建 PDF | 写一个 Python 脚本,用 brand/brand_pdf.py 生成 —— 见下方「品牌页面(必须)」 |
| 读取文字和表格 | pdfplumber |
| 合并 / 拆分 / 旋转 | pypdf |
路径里的尖括号是占位符,写成绝对路径:<本 skill 目录> 是本说明书所在目录,<交付区> 的实际位置见系统提示「文件放哪」那节。写进交付区的文件会自动交给用户。
品牌页面(必须)
新建 PDF 一律用 brand/brand_pdf.py 的 build_pdf():A4 版面,每页自动带页眉(Logo + CoCoWork)和页脚(资料密级 + 「第 x 页 / 共 y 页」),中文字体已注册(嵌入文泉驿正黑,环境里没有时退回 STSong-Light),风格与 PPT 一致。不要自己画页眉页脚,也不要用 reportlab 自带的 Helvetica 等字体 —— 它们不含中文,会显示成方块。
import sys
sys.path.insert(0, "<本 skill 目录>/brand")
from brand_pdf import CONTENT_WIDTH, build_pdf, bullets, callout, figure, hero, stat_row, styles, table
from reportlab.platypus import KeepTogether, Paragraph, Spacer
st = styles()
story = [
*hero("CoCoWork 产品单页", "企业内部 AI 业务能力门户……", kicker="PRODUCT OVERVIEW", image="<工作区>/pdf_cover.png"),
stat_row([{"value": "3 分钟", "label": "产出方案初稿"}, {"value": "100%", "label": "调用全程可追溯"}]),
Spacer(1, 16),
KeepTogether([Paragraph("核心能力", st["H1"]), bullets(["<b>合同初审:</b>逐项核对签约对象、报价与条款"])]),
KeepTogether([Paragraph("版本与价格", st["H1"]), table([["版本", "价格(元/年)"], ["标准版", "48,000"]])]),
Spacer(1, 16),
callout("联系我们", "预约演示或试用……"),
]
build_pdf("<交付区>/产品单页.pdf", story, title="CoCoWork 产品单页", classification="对外资料")
| 函数 | 用途 |
|---|---|
hero(title, subtitle, kicker, image) |
首屏横幅:深绿底,左侧标题,image 给图片路径时右半边放配图并自动渐变衔接;返回列表,用 *hero(...) 展开 |
stat_row(items) |
2–4 个大数字卡片,第一个品牌色底 |
callout(title, text) |
浅绿底提示框 |
figure(path, caption, width) |
配图,按原比例缩放,width 单位 pt,默认版心宽度;返回列表 |
table(rows, col_widths) |
第一行表头(品牌色底白字),隔行浅绿底,单元格自动换行,跨页重复表头;col_widths 单位 pt,合计不超过 CONTENT_WIDTH |
bullets(items) |
品牌色项目符号列表 |
styles() |
Title、Subtitle、H1、H2、Body、Small、Center、TableHead、TableCell;需要变体时 ParagraphStyle("X", parent=st["Body"], ...) 派生,不要另指定字体 |
- 配图:调用
generate_image(prompt, filename, aspect)工具生成,返回路径直接传给hero(image=…)或figure()。filename一律以pdf_开头(如pdf_cover):别的成员可能同时在生图,同名会互相覆盖。提示词开头写「真实摄影照片,商业杂志质感」,人物放在画面右侧(左边要叠标题),结尾写「满版构图,无边框,画面中不要出现任何文字、logo 或水印」,有屏幕时加「屏幕背对镜头」。生成失败就不传image,横幅会改用同心圆装饰。 - 数字只能来自用户给的资料或资料员的简报:示例代码里的数字只是演示,不要照抄;手里没有可靠数字时,不要用数据卡片,改用图标列表或要点。
- 段落文字里的
&、<、>要写成&、<、>,加粗用<b>,换色用<font color="#2F6B53">。 - 上下标用
<sub>、<super>标记,不要用 ₂、² 这类 Unicode 上下标字符(字体里没有,会显示成黑块)。 - 一页纸的单页要控制内容量:放不下就精简文字,不要缩小到 9pt 以下。用
KeepTogether([...])避免小标题和它下面的内容被分到两页。
What ships with it
5 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.
- 13d ago First seen · 125 lines · 73 tokens per session scan A 1dc3d541a192
pdf is a skill published in the GitHub repository NUGURI-7/CoCoWork (16 stars, last pushed 11d ago), licensed MIT. It adds 73 tokens to every session and 1,964 once invoked, about $0.0003 per session on Opus 5.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-11-17.
pdf compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pdfNUGURI-7/CoCoWork | Skill | 16 | 11d ago | MIT | A | 73 | Claude Code, Codex |
| pdfnexus-research-lab/nexus | Skill | 165 | today | Apache-2.0 | A | 85 | Claude Code |
| nano-pdfgraniet/kheish | Skill | 209 | 23d ago | Apache-2.0 | A | 34 | Claude Code, Codex |
| ocr-and-documentsgraniet/kheish | Skill | 209 | 23d ago | Apache-2.0 | A | 49 | Claude Code, Codex |
| pdf-toolkitopensquilla/opensquilla | Skill | 7.2k | 4d ago | Apache-2.0 | A | 127 | Claude Code, Codex |
| figuressynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 99 | Claude Code |
| liteparsesynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 49 | Claude Code, Codex |