iflytek-text-proofread

iflytek-text-proofread is a skill for Claude Code, Codex from iflytek/iFly-Skills. It costs 88 tokens per session (2,573 once invoked), scanned A, original, Apache-2.0.

A tool that checks Chinese writing through iFlytek’s official document-proofreading service. It looks for spelling, punctuation, wording, factual, terminology, and sensitive-content problems.

In plain words
What is it for?
It can check text from a command, file, or standard input, such as reports, official documents, and copied text.
Why use it?
It helps find mistakes that ordinary spellcheckers may miss, especially in formal Chinese documents.

Skill for Claude CodeCodex

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

Good fit It can check text from a command, file, or standard input, such as reports, official documents, and copied text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iflytek/ifly-skills/iflytek-text-proofread
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 iflytek/iFly-Skills --skill iflytek-text-proofread
Clone the repo
git clone --depth 1 https://github.com/iflytek/iFly-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 iflytek-text-proofread

README.md
[![agentmods](https://agentmods.dev/badge/skills/iflytek/ifly-skills/iflytek-text-proofread/github.svg)](https://agentmods.dev/skills/iflytek/ifly-skills/iflytek-text-proofread)
Your own site
<a href="https://agentmods.dev/skills/iflytek/ifly-skills/iflytek-text-proofread"><img src="https://agentmods.dev/badge/skills/iflytek/ifly-skills/iflytek-text-proofread/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 iflytek-text-proofread

Your own site · 80×15
<a href="https://agentmods.dev/skills/iflytek/ifly-skills/iflytek-text-proofread"><img src="https://agentmods.dev/badge/skills/iflytek/ifly-skills/iflytek-text-proofread.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,573 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00088 $0.02573
Opus 5 $0.00044 $0.01287
Sonnet 5 $0.00018 $0.00515
Haiku 4.5 $0.00009 $0.00257

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

Security

Grade A, and why

iflytek-text-proofread scanned grade A with 1 finding 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/text_proofread.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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **No pip deps**: Uses only Python stdlib (`urllib`, `hmac`, `hashlib`, `json`, etc.)
skills/iflytek-text-proofread/SKILL.md · 210 lines

How it starts

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

ifly-text-proofread

Proofread Chinese text using iFlytek's Official Document Proofreading API (公文校对). Detects 27 types of errors across three categories:

文字标点差错: 错别字、多字、少字、语义重复、语序错误、句式杂糅、标点符号、量词单位、数字差错、句子查重、序号检查

知识性差错: 地理名词、机构名称、专有名词及术语、常识差错、媒体报道禁用词和慎用词

内容导向风险: 涉低俗辱骂、其他敏感内容

Setup

  1. Create an app at 讯飞控制台 with 公文校对 service enabled
  2. Set environment variables:
    export IFLY_APP_ID="your_app_id"
    export IFLY_API_KEY="your_api_key"
    export IFLY_API_SECRET="your_api_secret"
    

Usage

Basic proofreading

python3 scripts/text_proofread.py "第二个百年目标"

Read from stdin

echo "我们要加强对蓝球运动的推广" | python3 scripts/text_proofread.py -

Read from file

python3 scripts/text_proofread.py --file document.txt

Options

Flag Short Description
text Text to proofread (use - for stdin)
--file -f Read text from a file
--raw Output decoded JSON response

Examples

# Proofread a sentence
python3 scripts/text_proofread.py "我国加强蓝球运动的推广力度"

# Proofread a long document from file
python3 scripts/text_proofread.py -f report.txt

# Pipe from clipboard or other tools
pbpaste | python3 scripts/text_proofread.py -

# Raw JSON for debugging
python3 scripts/text_proofread.py --raw "测试文本"

Output

  • ✅ 无错误 — text passed proofreading with no issues
  • 🔍 发现 N 处问题 — lists each error with:
    • Error word + category
    • Explanation
    • Context in the original text
    • Position and length
    • Suggested action (标记/替换/删除)
    • Correction suggestions

Notes

  • Max text length: 220,000 characters per request (auto-truncated with warning)
  • Auth: HMAC-SHA256 signed URL (host + date + request-line → signature → authorization)
  • Endpoint: POST https://cn-huadong-1.xf-yun.com/v1/private/s37b42a45
  • Env vars: IFLY_APP_ID, IFLY_API_KEY, IFLY_API_SECRET
  • No pip deps: Uses only Python stdlib (urllib, hmac, hashlib, json, etc.)
  • Text is base64-encoded in the request body; response text field is also base64-encoded

Read the full file on GitHub · 210 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. 9d ago First seen · 210 lines · 88 tokens per session scan A fe4d98023bbe

Subscribe to this mod's changes

iflytek-text-proofread is a skill published in the GitHub repository iflytek/iFly-Skills (216 stars, last pushed yesterday), licensed Apache-2.0. It adds 88 tokens to every session and 2,573 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

scammer

A scam-message checker that analyzes suspicious texts, images, or conversation descriptions. It can identify the likely stage of a scam and suggest what the sender may try next.

naxiaoduo/Scammer.skill · 50 tokens

chinese-traditional-conversion

A language-conversion skill that changes Simplified Chinese into Traditional Chinese used in Taiwan. It also adapts vocabulary and phrasing for Taiwan.

jim60105/copilot-prompt · 125 tokens

chinese-content-writing-guideline

Writing guidelines for producing high-quality Traditional Chinese (zh-TW) content. Use when writing any kind of content. Including blog posts, notes, technical articles, technical writing, chitchat, social media posts, etc., even when you are just sending a text message. Also use when reviewing or editing existing…

jim60105/copilot-prompt · 80 tokens

yida-i18n

A tool for managing the languages and translated text in YiDA applications, including which languages are enabled and the wording shown on pages.

openyida/openyida · 87 tokens

skill-creator

A guide for creating or improving an agent skill: a SKILL.md file that gives an AI a repeatable workflow for a specific task. It covers the skill’s name, search keywords, instructions, failure handling, and examples where needed.

zhinjs/zhin · 61 tokens

aso-marketing

Optimize App Store and Google Play listings via a 7-phase, plan-approval-gated ASO workflow (keyword strategy, metadata, localization). Don't use for web SEO, paid UA campaigns, or pre-submission compliance audits.

luongnv89/skills · 50 tokens