Markitdown
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
Write a textual content based on given document(s) and requirements, using ZhiPu GLM-V multimodal model.
$ npx skills add zai-org/GLM-skills --skill glmv-doc-based-writing -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install zai-org/GLM-skills glmv-doc-based-writing --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/zai-org/GLM-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/glmv-doc-based-writing .claude/skills/glmv-doc-based-writing && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "glmv-doc-based-writing" agent skill from https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-doc-based-writing into .claude/skills/glmv-doc-based-writing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "glmv-doc-based-writing", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-doc-based-writingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add zai-org/GLM-skills --skill glmv-doc-based-writing -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install zai-org/GLM-skills glmv-doc-based-writing --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zai-org/GLM-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/glmv-doc-based-writing .agents/skills/glmv-doc-based-writing && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "glmv-doc-based-writing" agent skill from https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-doc-based-writing into .agents/skills/glmv-doc-based-writing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "glmv-doc-based-writing", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add zai-org/GLM-skills --skill glmv-doc-based-writing -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install zai-org/GLM-skills glmv-doc-based-writing --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zai-org/GLM-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/glmv-doc-based-writing .cursor/skills/glmv-doc-based-writing && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "glmv-doc-based-writing" agent skill from https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-doc-based-writing into .cursor/skills/glmv-doc-based-writing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "glmv-doc-based-writing", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/zai-org/GLM-skills.git --path skills/glmv-doc-based-writing--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add zai-org/GLM-skills --skill glmv-doc-based-writing -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install zai-org/GLM-skills glmv-doc-based-writing --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zai-org/GLM-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/glmv-doc-based-writing .gemini/skills/glmv-doc-based-writing && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "glmv-doc-based-writing" agent skill from https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-doc-based-writing into .gemini/skills/glmv-doc-based-writing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "glmv-doc-based-writing", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install zai-org/GLM-skills glmv-doc-based-writingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add zai-org/GLM-skills --skill glmv-doc-based-writing -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/zai-org/GLM-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/glmv-doc-based-writing .github/skills/glmv-doc-based-writing && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "glmv-doc-based-writing" agent skill from https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-doc-based-writing into .github/skills/glmv-doc-based-writing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "glmv-doc-based-writing", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add zai-org/GLM-skills --skill glmv-doc-based-writing -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install zai-org/GLM-skills glmv-doc-based-writing --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zai-org/GLM-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/glmv-doc-based-writing .opencode/skills/glmv-doc-based-writing && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "glmv-doc-based-writing" agent skill from https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-doc-based-writing into .opencode/skills/glmv-doc-based-writing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "glmv-doc-based-writing", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
glmv-doc-based-writingWrite a textual content based on given document(s) and requirements, using ZhiPu GLM-V multimodal model.
Glmv Doc Based Writing is an agent skill from zai-org/GLM-skills. Write a textual content based on given document(s) and requirements, using ZhiPu GLM-V multimodal model. Read and comprehend one or multiple documents (PDF/DOCX), write a content in Markdown format according to the specified requirements. Use when the user wants to draft a paper/article/essay/report/review/post/brief/proposal/plan, etc.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `scripts/doc_based_writing.py`).
It sits in Documents & Office, covering Word documents, PDF and Markdown. It works with Zhipu GLM and Microsoft Word. The repository describes itself as: Official skills for the GLM family of models. The licence is Apache-2.0.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 2ecd31c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonpipFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
bigmodel.cndocs.bigmodel.cnFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
ZHIPU_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Glmv Doc Based Writing loads about 1.6k tokens when it runs. Until then it costs about 90 tokens; SKILL.md has 434 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from zai-org/GLM-skills at commit 2ecd31c, republished under its Apache-2.0 licence (© zai-org). 434 words, ~1,583 tokens.
.claude/skills/glmv-doc-based-writing/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.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.
| 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.
PyMuPDFis required (pip install PyMuPDF). URL files support full formats including pdf/docx/txt. 本地 PDF 会自动逐页转为图片(base64)传给模型,需要安装PyMuPDF(pip install PyMuPDF)。URL 文件支持 pdf/docx/txt 等全格式。
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 / 对话补全 |
This script reads the key from the ZHIPU_API_KEY environment variable and shares it with other Zhipu skills.
脚本通过 ZHIPU_API_KEY 环境变量获取密钥,与其他智谱技能共用同一个 key。
Get Key / 获取 Key: Visit Zhipu Open Platform API Keys / 智谱开放平台 API Keys to create or copy your key.
Setup options / 配置方式(任选一种):
OpenClaw config (recommended) / OpenClaw 配置(推荐): Set in openclaw.json under skills.entries.glmv-doc-based-writing.env:
"glmv-doc-based-writing": { "enabled": true, "env": { "ZHIPU_API_KEY": "你的密钥" } }Shell environment variable / Shell 环境变量: Add to ~/.zshrc:
export ZHIPU_API_KEY="你的密钥"💡 If you already configured another Zhipu skill (for example
zhipu-toolsorglmv-caption), they share the sameZHIPU_API_KEY, so no extra setup is needed. 💡 如果你已为其他智谱 skill(如zhipu-tools、glmv-caption)配置过 key,它们共享同一个ZHIPU_API_KEY,无需重复配置。
python scripts/doc_based_writing.py \
--files "https://example.com/doucment1.pdf" "https://example.com/doucment2.docx" \
--requirements "基于这篇论文撰写公众号文章,要求偏技术风格"python scripts/doc_based_writing.py \
--files "https://example.com/doucment1.pdf" "https://example.com/doucment2.docx" \
--requirements "总结文档主要内容和核心观点" \
--output result.mdpython scripts/doc_based_writing.py \
--files "https://example.com/doucment1.pdf" "https://example.com/doucment2.docx" \
--criteria "撰写新闻稿" \
--output result.json --prettypython scripts/doc_based_writing.py \
--files "https://example.com/doucment1.pdf" \
--criteria "为这本书撰写书评" \
--system-prompt "你是一位拥有20年跨领域写作经验的资深写作专家,擅长撰写书评"The model outputs a Markdown content like this:
XXXpython scripts/doc_based_writing.py --files FILE [FILE...] --requirements REQUIREMENTS [OPTIONS]| Parameter | Required | Description |
|---|---|---|
--files, -f | ✅ | Document file URLs (pdf/docx, URL only, max 50) |
--requirements, -c | ✅ | Writing requirements text |
--model, -m | No | Model name (default: glm-4.6v) |
--system-prompt, -s | No | Custom system prompt (default: professional HR assistant) |
--temperature, -t | No | Sampling temperature 0-1 (default: 0.6) |
--max-tokens | No | Max output tokens (default: 10000) |
--output, -o | No | Save result to file (.md for markdown, .json for JSON) |
--pretty | No | Pretty-print JSON output |
API key not configured: → Guide user to configure ZHIPU_API_KEY
Authentication failed (401/403): → API key invalid/expired → reconfigure
Rate limit (429): → Quota exhausted → wait and retry
Local path provided: → Error: only URLs supported
Content filtered: → warning field present → content blocked by safety review
Timeout: → Documents too large or too many → reduce file count
© zai-org, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts) in skills/glmv-doc-based-writing of zai-org/GLM-skills.
Open the folder on GitHubat commit 2ecd31c
Glmv Doc Based Writing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Glmv Doc Based Writing this skillzai-org/GLM-skills | 476 | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| MarkitdownImCa0/just-laws | 781 | 14 repos | ~3.2k | Automated safety check: Notes | MIT | |
| Gzh Designisjiamu/gzh-design-skill | 3.9k | 1 repos | ~2.2k | Automated safety check: Pass | AGPL-3.0 | |
| Doc Cleanernotoriouslab/doc-cleaner | 309 | — | ~712 | Automated safety check: Pass | MIT | |
| MineruNebutra/MinerU-Skill | 122 | — | ~504 | Automated safety check: Pass | MIT | |
| Pandic OfficeTeam-Commonly/commonly | 1.4k | — | ~642 | Automated safety check: Pass | Apache-2.0 |
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
isjiamu/gzh-design-skill
微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…
notoriouslab/doc-cleaner
Convert PDF, DOCX, XLSX, and text files to clean, structured Markdown.
Nebutra/MinerU-Skill
An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents.
Team-Commonly/commonly
Convert Markdown to PDF (or DOCX/EPUB/HTML) using the pandoc CLI.
daymade/claude-code-skills
Converts DOCX/PDF/PPTX and saved HTML/HTM to high-quality Markdown with automatic post-processing.
zai-org/GLM-skills
Extract text from images using GLM-OCR API. An agent skill from zai-org/GLM-skills.
zai-org/GLM-skills
Official skill for generating high-quality images from text prompts using ZhiPu GLM-Image API.
zai-org/GLM-skills
Official skill for recognizing and extracting mathematical formulas from images and PDFs into LaTeX format using ZhiPu GLM-OCR API.
zai-org/GLM-skills
Official skill for recognizing handwritten text from images using ZhiPu GLM-OCR API.
zai-org/GLM-skills
Official skill for recognizing and extracting tables from images and PDFs into Markdown format using ZhiPu GLM-OCR API.
zai-org/GLM-skills
Generate captions (descriptions) for images, videos, and documents using ZhiPu GLM-V multimodal model series.
Works with
Categories
Write a textual content based on given document(s) and requirements, using ZhiPu GLM-V multimodal model. Glmv Doc Based Writing is an agent skill from zai-org/GLM-skills. Write a textual content based on given document(s) and requirements, using ZhiPu GLM-V multimodal model.
Glmv Doc Based Writing fits situations like: the user wants to draft a paper/article/essay/report/review/post/brief/proposal/plan; tasks that involve Word documents; tasks that involve PDF.
Run `npx skills add zai-org/GLM-skills --skill glmv-doc-based-writing -a claude-code`. Or copy the skill folder (skills/glmv-doc-based-writing in zai-org/GLM-skills) into .claude/skills/glmv-doc-based-writing in your project. Claude Code loads it when a task matches its description.
Run `npx skills add zai-org/GLM-skills --skill glmv-doc-based-writing -a codex`. Or copy the skill folder (skills/glmv-doc-based-writing in zai-org/GLM-skills) into .agents/skills/glmv-doc-based-writing in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zai-org/GLM-skills --skill glmv-doc-based-writing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/glmv-doc-based-writing, .gemini/skills/glmv-doc-based-writing, .github/skills/glmv-doc-based-writing and .opencode/skills/glmv-doc-based-writing in your project.
Going by SKILL.md and its folder, Glmv Doc Based Writing needs Python for the scripts in its folder, the command-line tools its instructions call (python and pip) and credentials named ZHIPU_API_KEY. Our summary lists: Python 3; A credential in ZHIPU_API_KEY.
SKILL.md names 2 domains. As links in the text: bigmodel.cn and docs.bigmodel.cn. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Glmv Doc Based Writing is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Glmv Doc Based Writing: Markitdown (ImCa0/just-laws, 781 stars), Gzh Design (isjiamu/gzh-design-skill, 3.9k stars), Doc Cleaner (notoriouslab/doc-cleaner, 309 stars) and Mineru (Nebutra/MinerU-Skill, 122 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
zai-org (a GitHub organization) maintains it in zai-org/GLM-skills, which has 476 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on April 15, 2026.
Source: zai-org/GLM-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.