glmv-doc-based-writing

glmv-doc-based-writing is a skill for Claude Code, Codex from zai-org/GLM-skills. It costs 80 tokens per session (1,719 once invoked), scanned A, original, Apache-2.0.

A document-reading and writing tool that uses the ZhiPu GLM-V AI model to understand PDF or DOCX files and produce requested Markdown content.

In plain words
What is it for?
Use it to draft articles, reports, reviews, briefs, proposals, plans, translations, or other content based on local PDFs or document URLs.
Why use it?
It helps turn source documents into new written material without requiring you to read and summarize every page first.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to draft articles, reports, reviews, briefs, proposals, plans, translations, or other content based on local PDFs or document URLs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zai-org/glm-skills/glmv-doc-based-writing
Install

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.

Any agent
npx skills add zai-org/GLM-skills --skill glmv-doc-based-writing
Clone the repo
git clone --depth 1 https://github.com/zai-org/GLM-skills

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 glmv-doc-based-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/zai-org/glm-skills/glmv-doc-based-writing/github.svg)](https://agentmods.dev/skills/zai-org/glm-skills/glmv-doc-based-writing)
Your own site
<a href="https://agentmods.dev/skills/zai-org/glm-skills/glmv-doc-based-writing"><img src="https://agentmods.dev/badge/skills/zai-org/glm-skills/glmv-doc-based-writing/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 glmv-doc-based-writing

Your own site · 80×15
<a href="https://agentmods.dev/skills/zai-org/glm-skills/glmv-doc-based-writing"><img src="https://agentmods.dev/badge/skills/zai-org/glm-skills/glmv-doc-based-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,719 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 original No closer match found 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.00080 $0.01719
Opus 5 $0.00040 $0.00860
Sonnet 5 $0.00016 $0.00344
Haiku 4.5 $0.00008 $0.00172

Measured 11d ago against content hash 5ccb6ad51c0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

glmv-doc-based-writing 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/doc_based_writing.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/glmv-doc-based-writing/SKILL.md · 146 lines

How it starts

The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GLM-V Document-Based Writing Skill

Comprehend the given document(s) and write a textual content (paper/article/essay/report/review/post/brief/proposal/plan) according to your requirements using the ZhiPu GLM-V multimodal model.

When to Use

  • Write a textual content according to specified requirements, AFTER reading provided document(s)
  • User mentions "基于文档的写作", "文章撰写", "文档解读", "新闻稿撰写", "简报撰写", "影评/书评撰写", "内容总结", "内容创作", "评论写作", "文档续写", "文档翻译", "方案策划", "发言稿撰写", "document-based writing", "article writing", "document reading", "press release writing", "brief writing", "film/book review writing", "content summarization", "content creation", "commentary writing", "document continuation", "document translation", "proposal planning ", "speech writing"

Supported Input Types

Type Formats Max Count Source
Document (URL) pdf, docx 50 URL
Document (Local) pdf only pages ≤ 50 total Local path

Local PDF / 本地 PDF: Local PDF files are converted page-by-page into images (base64) before sending to the model. PyMuPDF is required (pip install PyMuPDF). URL files support full formats including pdf/docx/txt. 本地 PDF 会自动逐页转为图片(base64)传给模型,需要安装 PyMuPDFpip install PyMuPDF)。URL 文件支持 pdf/docx/txt 等全格式。

📋 Output Display Rules (MANDATORY)

After running the script, you must display the complete content (Markdown format) exactly as returned. Do not summarize, truncate, translate, comment, or only say "Writing Completed!".

Resource Link
Get API Key https://bigmodel.cn/usercenter/proj-mgmt/apikeys
API Docs Chat Completions / 对话补全

Read the full file on GitHub · 146 lines

Files

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.

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. 11d ago First seen · 146 lines · 80 tokens per session scan A 5ccb6ad51c0e

Subscribe to this mod's changes

glmv-doc-based-writing is a skill published in the GitHub repository zai-org/GLM-skills (474 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 80 tokens to every session and 1,719 once invoked, about $0.0004 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-30.