微信文章转换为markdown

微信文章转换为markdown is a skill for Claude Code, Codex from pa1nrui1/legal-skills. It costs 128 tokens per session (989 once invoked), scanned A, original, MIT.

A formatter for turning pasted WeChat legal articles into clean, structured Markdown. Markdown is plain text with simple symbols for headings, lists, and other document formatting.

In plain words
What is it for?
It helps format legal provisions, court cases, and other legal material copied from WeChat into readable Markdown.
Why use it?
It removes promotional clutter and organizes legal text without claiming to retrieve the original article or verify its legal content.

Skill for Claude CodeCodex

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

Good fit It helps format legal provisions, court cases, and other legal material copied from WeChat into readable Markdown.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pa1nrui1/legal-skills/markdown
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 pa1nrui1/legal-skills --skill markdown
Clone the repo
git clone --depth 1 https://github.com/pa1nrui1/legal-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 微信文章转换为markdown

README.md
[![agentmods](https://agentmods.dev/badge/skills/pa1nrui1/legal-skills/markdown/github.svg)](https://agentmods.dev/skills/pa1nrui1/legal-skills/markdown)
Your own site
<a href="https://agentmods.dev/skills/pa1nrui1/legal-skills/markdown"><img src="https://agentmods.dev/badge/skills/pa1nrui1/legal-skills/markdown/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 微信文章转换为markdown

Your own site · 80×15
<a href="https://agentmods.dev/skills/pa1nrui1/legal-skills/markdown"><img src="https://agentmods.dev/badge/skills/pa1nrui1/legal-skills/markdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 989 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.00128 $0.00989
Opus 5 $0.00064 $0.00495
Sonnet 5 $0.00026 $0.00198
Haiku 4.5 $0.00013 $0.00099

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

Security

Grade A, and why

微信文章转换为markdown 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 12d 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.

skills/legal/微信文章转换为markdown/SKILL.md · 58 lines

What it actually says

法律工作总控规则(强制)

执行本 Skill 前,必须先遵循:

  • skills/legal/法律工作总控/references/practice-profile.md
  • skills/legal/法律工作总控/references/matter-workspace-protocol.md
  • skills/legal/法律工作总控/references/document-reading-protocol.md
  • skills/legal/法律工作总控/references/source-boundary-protocol.md
  • skills/legal/法律工作总控/references/ocr-correction-protocol.md
  • skills/legal/法律工作总控/references/pkulaw-mcp-legal-verification-protocol.md

本 Skill 只处理「微信文章转换为markdown」专业任务;案件隔离、事项路径、文件读取、OCR 复查、来源披露、缺口归档、法规/案例/Wiki 核验和复盘台账更新均按法律工作总控共享协议执行。

旧规则废止(强制)

  • 旧文中直接写死的客户目录、阶段目录、旧式台账写入、旧本地读取协议均不作为执行规则。
  • 事项路径、当前事项、系统记录、业务文件区和复盘台账统一以法律工作总控 matter-workspace-protocol.md 为准。
  • 不得静默写入复盘台账;确需更新时,先确认属于复盘台账更新并向用户说明。

法律文本格式化工具

轻量入口

本文件是瘦身后的触发入口,只保留任务边界、执行顺序和按需读取索引。完整流程、模板、清单、专项规则和长示例已迁移至 references/完整流程.md

何时使用

  • 用户明确提到「微信文章转换为markdown」或本 Skill frontmatter 描述中的任务。
  • 用户请求生成、审查、分析、计算、管理或推进与「微信文章转换为markdown」对应的法律工作成果。
  • 法律工作总控或上游 Skill 路由到本 Skill。

执行顺序

  1. 先按法律工作总控确认当前事项、业务文件区、系统记录区和来源边界。
  2. 判断用户任务是否可以用本轻量入口完成;如只是路由、状态判断或简短提示,不默认读取完整流程。
  3. 需要生成正式文书、报告、清单、计算结果、可视化、专项审查或复杂分析时,按需读取 references/完整流程.md 的相关章节。
  4. 读取外置细节时,只读取当前任务需要的章节;不要为一个小问题整篇加载完整流程。
  5. 输出前同步披露已读取材料、已核验内容、未核验/存疑内容、法规案例检索状态和需要用户判断事项。

按需读取索引

  • references/完整流程.md:瘦身前完整正文,含详细流程、模板索引、专项规则、交互规范和注意事项。
  • references/:本 Skill 的专业规则、清单、方法论和外置参考材料。
  • templates/:文书、报告、表格等输出模板;仅在需要生成对应成果时读取。
  • assets/scripts/checklists/reference/:如目录存在,仅在完整流程或当前任务明确需要时读取。

输出底线

  • 不跳过用户提供的材料;读取失败必须说明。
  • 不用模型记忆替代法律法规核验;引用法规、案例、Wiki 或网页搜索时必须标注来源和核验状态。
  • 材料不足时提示缺口,不悄悄补全。
  • 需要写入系统记录、复盘台账、飞书文档或飞书日历时,按总控和对应飞书 Skill 规则执行。
Files

What ships with it

2 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. 12d ago First seen · 58 lines · 128 tokens per session scan A a6d4f9bc75de

Subscribe to this mod's changes

微信文章转换为markdown is a skill published in the GitHub repository pa1nrui1/legal-skills (85 stars, last pushed 2mo ago), licensed MIT. It adds 128 tokens to every session and 989 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

litigation-prep-skill-cn

A Chinese-language preparation guide for a lawsuit, covering the type of claim, the legal basis for requests, required facts, and supporting evidence.

yxk-lawyer/litigation-prep-skill-cn · 47 tokens

lawyer-expert

Expert-level legal systems, contracts, compliance, and legal technology. Use when the user mentions legal, contracts, compliance, law, or legal tech, or when the task involves Legal Systems, Legal Technology, Compliance Frameworks, or Contract Management.

personamanagmentlayer/pcl · 54 tokens

kr-patent-claim1-drafting

A Korean patent-writing procedure for drafting claim 1, the main independent claim in a patent. It turns a paper or invention description into a method claim using a fixed structure and requires approval at key decisions.

lsj4232/KR_PATENT_SKILL · 894 tokens

kr-patent-dependent-claim-drafting

A Korean patent-writing tool for creating dependent claims, system claims, program claims, and additional independent claims from a paper or invention description and an approved first claim.

lsj4232/KR_PATENT_SKILL · 1,001 tokens

kr-patent-embodiment-addition

A skill for adding alternative implementation examples to the detailed description section of a Korean patent specification. It covers variations in algorithms, data, models, timing, user interaction, deployment, visualisation, and other technical areas.

lsj4232/KR_PATENT_SKILL · 382 tokens

patent-block-diagram

A workflow that turns a natural-language description into an editable `.pbd` patent block diagram, renders it in the diagram editor, checks the image, and exports a PNG.

lsj4232/KR_PATENT_SKILL · 277 tokens