Agent skill

NSFC Proposal Quality Check

by huangwb8 in huangwb8/ChineseResearchLaTeX

Runs a read-only quality check on an NSFC grant proposal written in LaTeX, covering citation authenticity, length, structure, style and logic, and outputs a standard report.

MITAuto-check passedResearch & Science

SKILL.md written in Chinese; this summary is our English description.

Install NSFC Proposal Quality Check

skills CLI
$ npx skills add huangwb8/ChineseResearchLaTeX --skill nsfc-qc -a claude-code

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

GitHub CLI
$ gh skill install huangwb8/ChineseResearchLaTeX nsfc-qc --agent claude-code

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

Manual copy
$ git clone --depth 1 https://github.com/huangwb8/ChineseResearchLaTeX.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/nsfc-qc .claude/skills/nsfc-qc && rm -rf skills-src

Use ~/.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/

Facts

Skill name
nsfc-qc
GitHub stars
2.9k
Token cost
~1k tokens
SKILL.md length
235 words
Files
14 (incl. scripts, references)
Skills in repo
27
Repo updated
First seen
Licence
MIT

At a glance

Runs a read-only quality check on an NSFC grant proposal written in LaTeX, covering citation authenticity, length, structure, style and logic, and outputs a standard report.

  • Works in 9 steps: 执行摘要 → 范围与只读声明 → 硬性问题(P0) → …
  • Checking an NSFC proposal for fake or mis-cited references before polishing
  • SKILL.md covers 流程 and 约束
  • Runs Python scripts from its folder; calls python3

What it does

Use it only when you explicitly ask for proposal QC. The skill never edits your `.tex`, `.bib`, `.cls` or `.sty` files, and it is not a compile checker or a rewriting tool. It needs a project root and optionally the main tex file, thread count, execution mode and a delivery directory. A read-only precheck detects the main tex, confirms citation keys exist, checks `.bib` fields and builds an evidence pack from Crossref, arXiv and Unpaywall metadata, URL reachability and title comparison.

Independent QC threads, run through the parallel-vibe skill where available, each cover areas such as writing style, citation authenticity, length and section distribution, logic, abbreviations and terminology consistency. The main thread merges and de-duplicates results, ranks them P0, P1 and P2 and writes a report with a citation checklist and a minimal fix roadmap. Outputs include `nsfc-qc_report.md`, `nsfc-qc_metrics.json`, `nsfc-qc_findings.json` and `validation.json`. Citations without enough evidence are marked uncertain.

When your agent uses it

  • Checking an NSFC proposal for fake or mis-cited references before polishing
  • Reviewing the length and section balance of a LaTeX grant proposal
  • Getting a prioritized P0, P1 and P2 issue list without changing the source

Example prompts

  • “Run nsfc-qc on projects/NSFC_Young and give me the standard report.”
  • “Check the citations in my proposal's main.tex against Crossref and arXiv.”
  • “Do a read-only quality check of my grant proposal's structure and logic before I polish it.”

Requirements

  • Python 3 for the bundled QC scripts
  • A LaTeX proposal project with a main tex file and a .bib file
  • Network access to fetch citation metadata

Workflow steps

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

  1. 执行摘要
  2. 范围与只读声明
  3. 硬性问题(P0)
  4. 重要建议(P1)
  5. 可选优化(P2)
  6. 引用核查清单
  7. 篇幅与结构分布
  8. 建议的最小修改路线图
  9. 附录:复现信息

What it can do on your machine

Read from SKILL.md and the folder at commit b8b4142. 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 7 files in scripts/ (Python), 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

NSFC Proposal Quality Check loads about 1k tokens when it runs, and up to ~1.7k if it reads all its reference files. Until then it costs about 61 tokens; SKILL.md has 235 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.7k

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

The full file from huangwb8/ChineseResearchLaTeX at commit b8b4142, republished under its MIT licence (© huangwb8). 235 words, ~1,016 tokens.

Download SKILL.mdSave it as .claude/skills/nsfc-qc/SKILL.md (or your agent's skills folder). This skill also uses 13 other files; get the full folder from GitHub.
name
nsfc-qc
description
当用户明确要求"标书QC/质量控制/润色前质检/引用真伪核查/篇幅与结构检查"时使用。对 NSFC 标书进行只读质量控制:并行多线程独立检查文风生硬、引用假引/错引风险、篇幅与章节分布、逻辑清晰度等,最终输出标准化 QC 报告;中间文件默认归档到 `project_root/.bensz-api/task-{yyyymmdd-hhmm}-{简短描述}/nsfc-qc/{yyyy-mm-dd-hh-mm}/`,并兼容 legacy `.nsfc-qc/` 读取/清理。
metadata.author
Bensz Conan

NSFC 标书质量控制

  • 只读 QC:不修改 .tex/.bib/.cls/.sty
  • 目标是产出标准化 QC 报告,而不是“顺手帮用户改文”
  • 推荐布局:deliver_dir/ 放交付物,project_root/.bensz-api/task-{yyyymmdd-hhmm}-{简短描述}/nsfc-qc/{run_id}/ 放工作区
输入

最少需要:

  • project_root

建议同时提供:

  • main_tex,默认 main.tex
  • threads,默认读 config.yaml
  • execution,默认 serial
  • deliver_dir,推荐显式给,便于实例隔离
非目标
  • nsfc-qc 不是编译检查工具。
  • PDF 能否编译成功属于环境/工程质量,不是本技能的核心交付。

流程

输入

按用户请求和配置文件提供必要输入;缺失信息应明确列出并停止依赖该输入的步骤。

执行步骤
  • 当用户环境中出现因本 skill 设计缺陷导致的 bug 时,优先使用 bensz-collect-bugs 按规范记录到 ~/.bensz-skills/bugs/,严禁直接修改用户本地 Claude Code / Codex 中已安装的 skill 源码。
  • 若 AI 仍可通过 workaround 继续完成用户任务,应先记录 bug,再继续完成当前任务。
  • 当用户明确要求“report bensz skills bugs”等公开上报动作时,调用本地 gh 与 bensz-collect-bugs,仅上传新增 bug 到 huangwb8/bensz-bugs;不要 pull / clone 整个 bug 仓库。
定位 run 目录
  • 优先用实例隔离布局:
    • deliver_dir
    • workspace_dir=project_root/.bensz-api/task-{yyyymmdd-hhmm}-{简短描述}/nsfc-qc/{run_id}
    • run_dir={workspace_dir}
  • 只有用户明确要求 legacy 或处理旧产物时才读取 project_root/.nsfc-qc/
只读预检
  • 自动检测主 tex
  • 检查引用 key 是否存在
  • 检查 .bib 字段完整性
  • 生成引用证据包:Crossref / arXiv / Unpaywall 等 metadata + URL 可访问性 + title 比对
  • 输出篇幅分布、引号问题、缩略语与术语一致性初筛
多线程独立 QC
  • 优先用 parallel-vibe,并把 .parallel-vibe/ 放到当前 run 内部
  • snapshot 只包含最小必要副本:*.tex/*.bib + 预检证据包
  • 每个 thread 至少覆盖:
    • 文风与可读性
    • 引用真伪与错引风险
    • 篇幅与结构分布
    • 逻辑与论证闭环
    • 缩略语规范
    • 术语一致性
    • 至少 2 类其它 QC
汇总聚合
  • 主线程合并 threads 的 RESULT.md
  • 去重、冲突处理、按 P0/P1/P2 排序
  • 输出最小可执行修改路线
标准化报告

最终报告必须包含:

  1. 执行摘要
  2. 范围与只读声明
  3. 硬性问题(P0)
  4. 重要建议(P1)
  5. 可选优化(P2)
  6. 引用核查清单
  7. 篇幅与结构分布
  8. 建议的最小修改路线图
  9. 附录:复现信息
bash
# 一键运行
python3 skills/nsfc-qc/scripts/nsfc_qc_run.py \
  --project-root projects/NSFC_Young \
  --main-tex main.tex \
  --deliver-dir projects/NSFC_Young/QC/vYYYYMMDDHHMMSS \
  --threads 5 \
  --execution serial

# 预检
python3 skills/nsfc-qc/scripts/nsfc_qc_precheck.py --project-root projects/NSFC_Young --main-tex main.tex --out <artifacts_dir> --resolve-refs

# 并行 QC
python3 skills/nsfc-qc/scripts/run_parallel_qc.py --project-root projects/NSFC_Young --run-id vYYYYMMDDHHMMSS --threads 5 --execution serial

# 物化 final 输出
python3 skills/nsfc-qc/scripts/materialize_final_outputs.py --project-root projects/NSFC_Young --run-id vYYYYMMDDHHMMSS
输出

标准交付物:

  • {run_dir}/final/nsfc-qc_report.md
  • {run_dir}/final/nsfc-qc_metrics.json
  • {run_dir}/final/nsfc-qc_findings.json
  • {run_dir}/final/validation.json

常见预检产物:

  • precheck.json
  • citations_index.csv
  • tex_lengths.csv
  • reference_evidence.jsonl
  • reference_evidence_summary.json
输出管理

本 Skill 的新任务中间文件统一写入 ./.bensz-api/task-{yyyymmdd-hhmm}-{简短描述}/{skill名}/input|output|log/。同一任务复用一个任务根目录;多 Skill 协作才创建 shared/。正式交付物不写入该目录,历史隐藏目录只允许显式兼容读取、迁移或清理。

校验

完成后执行 Skill 已有的静态检查、脚本验证或人工复核,并记录通过标准。

失败与恢复
  • 若 parallel-vibe 不可用,仍需完成同一套 QC 清单。
  • 仍要输出标准化报告与 JSON。
  • 在附录中说明未启用并行的原因。

约束

  • 禁止写入标书源文件。
  • 文献真实性检查必须有证据链;不确定时标记 uncertain。
  • 元数据获取是必选项:引用真伪核查必须联网抓取论文 metadata 并做 URL/title 比对。
  • nsfc-qc 不负责正文改写;只负责发现问题与给出建议。
公共硬约束
  • 任务需要落盘时,使用唯一的 ./.bensz-api/task-{yyyymmdd-hhmm}-{简短描述}/ 根目录;共享材料放入 shared/,Skill 专属材料放入该 Skill 的 input/、output/、log/。
  • 正式交付物、源代码和正式计划按项目约定保存,不写入任务工作区;未经授权不覆盖、删除、迁移或远程写入。
  • 项目维护变更检查 BAC 可用性并记录需求、AI 产出、工具结果、文件改动和验证摘要;BAC 只做过程审计,不替代署名、责任或合规判断。
  • 不记录 API Key、访问令牌、密码、Cookie、环境/凭据文件、私有 Prompt、身份信息、本地用户名、主机名或不必要的大体积原始数据。
  • 文件路径必须规范化并限制在授权项目范围内;外部 URL、子进程和网络访问遵循最小权限,防止路径遍历、SSRF 和命令注入。
  • Skill 版本唯一记录在自身 config.yaml:skill_info.version;公开 API、协议、目录或配置变更同步文档与 CHANGELOG.md。
  • 仅将 Skill 或 Bensz 基础设施本身的设计缺陷交给 bensz-collect-bugs;先脱敏写入 ~/.bensz-skills/bugs/,当前任务不中断,只有用户明确要求才公开上报,禁止直接修改用户已安装的 Skill 源码。
<!-- End of canonical common constraints. -->
Skill 专属约束

不得超出本 Skill description 和上方流程所声明的范围;不将未验证的信息伪装成确定结论。

© huangwb8, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 13 other files (scripts, references) in skills/nsfc-qc of huangwb8/ChineseResearchLaTeX.

  • SKILL.md
  • CHANGELOG.md
  • README.md
  • config.yaml
  • references/qc_checklist.md
  • scripts/materialize_final_outputs.py
  • scripts/nsfc_qc_compile.py
  • scripts/nsfc_qc_precheck.py
  • scripts/nsfc_qc_run.py
  • scripts/run_parallel_qc.py
  • scripts/validate_final_outputs.py
  • scripts/validate_skill.py
  • templates/FINDINGS_SCHEMA.json
  • templates/REPORT_TEMPLATE.md

Open the folder on GitHubat commit b8b4142

Compare with similar skills

NSFC Proposal Quality Check 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.

NSFC Proposal Quality Check compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
NSFC Proposal Quality Check this skillhuangwb8/ChineseResearchLaTeX2.9k—~1kAutomated safety check: PassMIT
Academic Paper Writing PipelineImbad0202/academic-research-skills51k—~16kAutomated safety check: PassCustom licence
SearchMuuuun/luxas1.2k—~2.3kAutomated safety check: WarnMIT
Oleafly Verify ClaimsOleafly/Oleafly212—~3.1kAutomated safety check: PassMIT
Academic Paper Helpercnfjlhj/ai-collab-playbook454—~1.8kAutomated safety check: PassNone
Research Writing SkillzLanqing/codex-claude-academic-skills4.7k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Academic Paper Writing Pipeline

    Imbad0202/academic-research-skills

    Runs a 12-agent pipeline that plans, drafts, cites, reviews and formats academic papers, with modes for revision, rebuttals, abstracts and citation checks.

    51k GitHub stars~16k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Search

    Muuuun/luxas

    Unified academic paper search, citation chains, paper download (arXiv LaTeX/PDF, Sci-Hub), figure extraction from papers, LaTeX source reading, BibTeX fetching, web search, and browser automation…

    1.2k GitHub stars~2.3k tokensUpdated 1 mo ago
    Research & ScienceAuto-check: warnings
  • Oleafly Verify Claims

    Oleafly/Oleafly

    Audit a section claim by claim and report which statements the cited sources actually support.

    212 GitHub stars~3.1k tokensUpdated today
    Research & ScienceAuto-check passed
  • Academic Paper Helper

    cnfjlhj/ai-collab-playbook

    Use only when the user explicitly asks for help drafting or revising an AI/ML research paper in LaTeX, including structure, BibTeX, formatting, or academic-writing checks.

    454 GitHub stars~1.8k tokensUpdated 26 days ago
    Research & ScienceAuto-check passed
  • Research Writing Skill

    zLanqing/codex-claude-academic-skills

    Chinese-first research paper writing, revision, polishing, section drafting, rebuttal, peer-review response, thesis prose improvement, and manuscript argument planning.

    4.7k GitHub stars~1.1k tokensUpdated 4 mo ago
    Research & ScienceAuto-check passed
  • 01 Paper Review

    agentscope-ai/OpenJudge

    Review academic papers for correctness, quality, and novelty using OpenJudge's multi-stage pipeline.

    871 GitHub stars~2.4k tokensUpdated 29 days ago
    Research & ScienceAuto-check passed

More from huangwb8/ChineseResearchLaTeX

All 27 skills in this repo
  • NSFC Grant Rationale Writer

    huangwb8/ChineseResearchLaTeX

    Writes, restructures, reviews and polishes the rationale section of NSFC research grant applications in LaTeX, with backups and a diff before every write.

    2.9k GitHub stars~945 tokensUpdated 6 days ago
    Auto-check passed
  • LaTeX Example Content Generator

    huangwb8/ChineseResearchLaTeX

    Fills an existing LaTeX project with sample sections, tables and figure narratives, protecting the template structure and previewing before writing.

    2.9k GitHub starsUsed in 1 repo~744 tokens
    Auto-check passed
  • Journal Selector for Manuscripts

    huangwb8/ChineseResearchLaTeX

    Recommends journals for a manuscript by filtering a bundled impact-factor catalog, verifying scope and quality online, and writing a ranked Markdown report.

    2.9k GitHub stars~1.7k tokensUpdated 6 days ago
    Auto-check passed
  • NSFC Abstract Writer

    huangwb8/ChineseResearchLaTeX

    Writes Chinese and English abstracts for NSFC grant applications, with a recommended title and five alternatives, within set character limits.

    2.9k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • NSFC Budget Justification Writer

    huangwb8/ChineseResearchLaTeX

    Writes a submission-ready NSFC budget justification as a LaTeX project and renders budget.pdf from your grant proposal text and supporting materials.

    2.9k GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • NSFC Application Code Recommender

    huangwb8/ChineseResearchLaTeX

    Recommends five pairs of NSFC application codes, primary and secondary, from a grant proposal's text and writes the reasons to a Markdown report.

    2.9k GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed

Works with

Questions about NSFC Proposal Quality Check

What does NSFC Proposal Quality Check do?

Runs a read-only quality check on an NSFC grant proposal written in LaTeX, covering citation authenticity, length, structure, style and logic, and outputs a standard report. Use it only when you explicitly ask for proposal QC.sty` files, and it is not a compile checker or a rewriting tool.

When should I use NSFC Proposal Quality Check?

NSFC Proposal Quality Check fits situations like: checking an NSFC proposal for fake or mis-cited references before polishing; reviewing the length and section balance of a LaTeX grant proposal; getting a prioritized P0, P1 and P2 issue list without changing the source.

How do I install NSFC Proposal Quality Check in Claude Code?

Run `npx skills add huangwb8/ChineseResearchLaTeX --skill nsfc-qc -a claude-code`. Or copy the skill folder (skills/nsfc-qc in huangwb8/ChineseResearchLaTeX) into .claude/skills/nsfc-qc in your project. Claude Code loads it when a task matches its description.

How do I install NSFC Proposal Quality Check in Codex?

Run `npx skills add huangwb8/ChineseResearchLaTeX --skill nsfc-qc -a codex`. Or copy the skill folder (skills/nsfc-qc in huangwb8/ChineseResearchLaTeX) into .agents/skills/nsfc-qc in your project. Codex loads it when a task matches its description.

Can I use NSFC Proposal Quality Check 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 huangwb8/ChineseResearchLaTeX --skill nsfc-qc -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nsfc-qc, .gemini/skills/nsfc-qc, .github/skills/nsfc-qc and .opencode/skills/nsfc-qc in your project.

What does NSFC Proposal Quality Check need to run?

Going by SKILL.md and its folder, NSFC Proposal Quality Check needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3 for the bundled QC scripts; A LaTeX proposal project with a main tex file and a .bib file; Network access to fetch citation metadata.

Does NSFC Proposal Quality Check 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 NSFC Proposal Quality Check 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 NSFC Proposal Quality Check use?

NSFC Proposal Quality Check is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does NSFC Proposal Quality Check use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 721 tokens, read only when the agent opens those files.

What are the alternatives to NSFC Proposal Quality Check?

Skills that share tags, products or a category with NSFC Proposal Quality Check: Academic Paper Writing Pipeline (Imbad0202/academic-research-skills, 51k stars), Search (Muuuun/luxas, 1.2k stars), Oleafly Verify Claims (Oleafly/Oleafly, 212 stars) and Academic Paper Helper (cnfjlhj/ai-collab-playbook, 454 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains NSFC Proposal Quality Check?

huangwb8 (a GitHub user) maintains it in huangwb8/ChineseResearchLaTeX, which has 2,880 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on October 4, 2026.

Source: huangwb8/ChineseResearchLaTeX on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.