基于真实公文全量统计的公文写作 skill。分公文族与党建族两族,覆盖调研报告/领导讲话/工作意见/经验材料/工作方案/经验总结六类公文族文体,加千字级党建/基层经验材料一类,提供可验收的数值参数、骨架公式、标题技法和自动化自检脚本。触发场景:"写一篇调研报告""起草领导讲话""写份工作意见""写篇党建经验材料""把材料写成经验总结""让这篇稿子更有公文味""检查这篇公文的参数对不对"。

CC-BY-NC-4.0Auto-check passed

Install Lieflat Gongwen

skills CLI
$ npx skills add larashero3-dotcom/lieflat-gongwen --skill lieflat-gongwen -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install larashero3-dotcom/lieflat-gongwen lieflat-gongwen --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
lieflat-gongwen
GitHub stars
1.4k
Token cost
~2.4k tokens
SKILL.md length
521 words
Files
63 (incl. scripts, assets)
Skills in repo
1
Repo updated
First seen
Licence
CC-BY-NC-4.0

At a glance

基于真实公文全量统计的公文写作 skill。分公文族与党建族两族,覆盖调研报告/领导讲话/工作意见/经验材料/工作方案/经验总结六类公文族文体,加千字级党建/基层经验材料一类,提供可验收的数值参数、骨架公式、标题技法和自动化自检脚本。触发场景:"写一篇调研报告""起草领导讲话""写份工作意见""写篇党建经验材料""把材料写成经验总结""让这篇稿子更有公文味""检查这篇公文的参数对不对"。

  • Works in 2 steps: 先跑自检拿到客观偏差 → 按 P0/P1/P2 分级诊断,停下等用户确认改哪些
  • SKILL.md covers 一、开工前先判文体族(判错此步,后续全错), 二、公文族文种速判, 三、六步工作流 and 三点五、不覆盖的文种, plus 4 more sections
  • Runs JavaScript and Python scripts from its folder; calls python3

What it does

Lieflat Gongwen is an agent skill from larashero3-dotcom/lieflat-gongwen. 基于真实公文全量统计的公文写作 skill。分公文族与党建族两族,覆盖调研报告/领导讲话/工作意见/经验材料/工作方案/经验总结六类公文族文体,加千字级党建/基层经验材料一类,提供可验收的数值参数、骨架公式、标题技法和自动化自检脚本。触发场景:"写一篇调研报告""起草领导讲话""写份工作意见""写篇党建经验材料""把材料写成经验总结""让这篇稿子更有公文味""检查这篇公文的参数对不对"。

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 66 other files, including scripts and assets (for example `README.md`, `assets/README.md` and `assets/rain.js`).

The repository describes itself as: 通过102万字语料提炼的公文写作 skill,把公文写作风格变成可测量、可验收的量化数据.

Example prompts

  • “写一篇调研报告”
  • “起草领导讲话”
  • “写份工作意见”
  • “/lieflat-gongwen”

Requirements

  • Python 3
  • Node.js

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. 先跑自检拿到客观偏差
  2. 按 P0/P1/P2 分级诊断,停下等用户确认改哪些

What it can do on your machine

Read from SKILL.md and the folder at commit e0a5aba. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 2 files in scripts/ (JavaScript and Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Lieflat Gongwen loads about 2.4k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 521 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

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.

Safety

Auto-check passed

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.

SKILL.md

Its licence (CC-BY-NC-4.0) doesn't allow us to republish the file, so here is its outline and opening line. It has 521 words (~2,409 tokens).

name
lieflat-gongwen

Read the full SKILL.md on GitHub

Files

SKILL.md and 62 other files (scripts, assets) in the repository root of larashero3-dotcom/lieflat-gongwen.

  • SKILL.md
  • .gitignore
  • LICENSE
  • README.md
  • assets/.gitignore
  • assets/README.md
  • assets/badge.html
  • assets/gongwen-dna-hero-zh.jpg
  • assets/hero.html
  • assets/made-on-moxt.jpg
  • assets/rain.js
  • assets/shoot.mjs
  • scripts/check_params.py
  • scripts/strip_meta.py
  • 党建语料/_meta/l2_struct.json
  • 党建语料/党建DNA.md
  • 党建语料/写作视角与认知框架.md
  • … and 46 more

Open the folder on GitHubat commit e0a5aba

Compare with similar skills

Lieflat Gongwen 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.

Lieflat Gongwen compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lieflat Gongwen this skilllarashero3-dotcom/lieflat-gongwen1.4k—~2.4kAutomated safety check: PassCC-BY-NC-4.0
Gongwenmizzlelover/gongwen-gbt9704-skill765—~1kAutomated safety check: PassMIT
Lieflat Chartslarashero3-dotcom/lieflat-charts6k1 repos~4.5kAutomated safety check: PassCC-BY-NC-4.0
Gongwen Optimizerlinhut/document-ai-assistant115—~507Automated safety check: PassMIT
AI Writing Tell Removerlarashero3-dotcom/writing-dna-skill2.4k—~2.8kAutomated safety check: PassMIT
Government WritingPinvou/pinvou-agent2.4k—~1.4kAutomated safety check: PassMIT

Similar skills

  • Gongwen

    mizzlelover/gongwen-gbt9704-skill

    把中文正式材料整理成可直接交付的公文 DOCX:按 GB/T 9704-2012 处理版心、字体、标题层级、文号、页码、附件与版记;普通稿不误用红头,正式发文支持预印红头纸套打或完整电子红头,并保留 Word/WPS 可更新目录。

    765 GitHub stars~1k tokensUpdated 28 days ago
    Documents & OfficeAuto-check passed
  • Lieflat Charts

    larashero3-dotcom/lieflat-charts

    Generates single-file HTML charts and full-page reports from real gallery templates, using a grayscale base with optional color presets.

    6k GitHub starsUsed in 1 repo~4.5k tokens
    Data & AnalyticsAuto-check passed
  • Gongwen Optimizer

    linhut/document-ai-assistant

    中文公文(党政机关公文 GB/T 9704-2012)格式检查、自动修复、模板生成、版头版记页码注入与 AI 风格优化工具。

    115 GitHub stars~507 tokensUpdated 15 days ago
    Documents & OfficeAuto-check passed
  • AI Writing Tell Remover

    larashero3-dotcom/writing-dna-skill

    Rewrites only the sentences that match an explicit whitelist of AI writing tells, leaving everything else, including document structure and unmatched text, exactly as written.

    2.4k GitHub stars~2.8k tokensUpdated 1 mo ago
    Writing & ContentAuto-check passed
  • Government Writing

    Pinvou/pinvou-agent

    撰写规范的党政机关公文。当用户要"写/起草/拟一份 通知 / 意见 / 公文"时使用。当前内置文种:通知、意见,印发型主件支持办法/规定(法规体例;请示/报告/函可扩展,在 templates/ 增模板)。按《党政机关公文格式》GB/T 9704-2012 套发文字号、主送机关、层级序号、落款与固定话术,结构化内容经 gongwen MCP 渲染为合规 .docx。

    2.4k GitHub stars~1.4k tokensUpdated yesterday
    Documents & OfficeAuto-check passed

Questions about Lieflat Gongwen

What does Lieflat Gongwen do?

基于真实公文全量统计的公文写作 skill。分公文族与党建族两族,覆盖调研报告/领导讲话/工作意见/经验材料/工作方案/经验总结六类公文族文体,加千字级党建/基层经验材料一类,提供可验收的数值参数、骨架公式、标题技法和自动化自检脚本。触发场景:"写一篇调研报告""起草领导讲话""写份工作意见""写篇党建经验材料""把材料写成经验总结""让这篇稿子更有公文味""检查这篇公文的参数对不对"。. Lieflat Gongwen is an agent skill from larashero3-dotcom/lieflat-gongwen.

How do I install Lieflat Gongwen in Claude Code?

Run `npx skills add larashero3-dotcom/lieflat-gongwen --skill lieflat-gongwen -a claude-code`. Or copy the skill folder (the larashero3-dotcom/lieflat-gongwen repository) into .claude/skills/lieflat-gongwen in your project. Claude Code loads it when a task matches its description.

How do I install Lieflat Gongwen in Codex?

Run `npx skills add larashero3-dotcom/lieflat-gongwen --skill lieflat-gongwen -a codex`. Or copy the skill folder (the larashero3-dotcom/lieflat-gongwen repository) into .agents/skills/lieflat-gongwen in your project. Codex loads it when a task matches its description.

Can I use Lieflat Gongwen in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add larashero3-dotcom/lieflat-gongwen --skill lieflat-gongwen -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lieflat-gongwen, .gemini/skills/lieflat-gongwen, .github/skills/lieflat-gongwen and .opencode/skills/lieflat-gongwen in your project.

What does Lieflat Gongwen need to run?

Going by SKILL.md and its folder, Lieflat Gongwen needs JavaScript and Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3; Node.js.

Does Lieflat Gongwen access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Lieflat Gongwen safe to install?

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.

What licence does Lieflat Gongwen use?

Lieflat Gongwen is published under the CC-BY-NC-4.0 licence (from the LICENSE file in the skill folder).

How many tokens does Lieflat Gongwen use?

About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Lieflat Gongwen?

Skills that share tags, products or a category with Lieflat Gongwen: Gongwen (mizzlelover/gongwen-gbt9704-skill, 765 stars), Lieflat Charts (larashero3-dotcom/lieflat-charts, 6k stars), Gongwen Optimizer (linhut/document-ai-assistant, 115 stars) and AI Writing Tell Remover (larashero3-dotcom/writing-dna-skill, 2.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Lieflat Gongwen?

larashero3-dotcom (a GitHub user) maintains it in larashero3-dotcom/lieflat-gongwen, which has 1,446 GitHub stars. The repository was last updated on September 5, 2026.

Source: larashero3-dotcom/lieflat-gongwen on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.