humanize: Instructions file for Codex

AGENTS.md

humanize AGENTS.md is an instructions file for Codex, OpenCode from TianyiDataScience/humanize. It costs 569 tokens per session, scanned A, original, MIT.

Repository instructions for using a Chinese-language writing tool with coding agents such as CoPaw, OpenClaw, Claude Code, and Hermes. They define the required command, supported workflow, and output markers.

In plain words
What is it for?
Use them when running the humanize writing tool, installing it for supported agents, or returning its final marked response.
Why use it?
They prevent agents from skipping the tool's intended process or changing the required input and output format.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; built for openclaw.

This is TianyiDataScience/humanize's own configuration. It tells Codex and OpenCode how to work on humanize itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything humanize configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TianyiDataScience/humanize. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TianyiDataScience/humanize/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/TianyiDataScience/humanize

Made for: Codex, OpenCode.

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 humanize AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tianyidatascience/humanize/agents-md/github.svg)](https://agentmods.dev/instructions/tianyidatascience/humanize/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/tianyidatascience/humanize/agents-md"><img src="https://agentmods.dev/badge/instructions/tianyidatascience/humanize/agents-md/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 humanize AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tianyidatascience/humanize/agents-md"><img src="https://agentmods.dev/badge/instructions/tianyidatascience/humanize/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 569 This file is loaded in full into every session.
When invoked 569 The same file — it is already loaded in full.
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.00569 $0.00569
Opus 5.5 $0.00228 $0.00228
Sonnet 5.5 $0.00114 $0.00114
Haiku 4.5 $0.00057 $0.00057

Measured 2mo ago against content hash 89fda31373b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

humanize AGENTS.md 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 2mo 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.

AGENTS.md · 75 lines

What it actually says

Agent 使用说明

这个仓库是一个通用的中文文案 humanize skill,不绑定单一 agent。

CoPaw / OpenClaw 这类 agent 的使用方式本质相同:读取 SKILL.md,在 skill 目录里执行 CLI。仓库里的 scripts/install_to_copaw.py 只是把文件同步到当前已知的 CoPaw workspace 路径,不代表 CoPaw 使用另一套协议。

适用环境:

  • CoPaw
  • OpenClaw
  • Claude Code
  • Hermes
  • 任何能读取 SKILL.md 并执行本地 shell 命令的 agent

规范入口

默认只调用这个命令:

python3 humanize.py --text "{完整用户请求}" --output-root ./runs

如果在 skill 目录外执行,先进入仓库根目录:

cd /path/to/humanize
python3 humanize.py --text "{完整用户请求}" --output-root ./runs

不要这样做

  • 不要手写 challenger.txt 来绕过官方流程。
  • 不要自己主观挑 winner。
  • 不要传 --mode rewrite,rewrite 会自动从 --text 或 --original 推断。
  • 不要把用户的长 原文 丢掉,只传一个总结后的 --task。
  • 不要在命令成功后再附加一版手工改写。

输出规则

如果命令输出:

=== HUMANIZE_FINAL_RESPONSE_BEGIN ===
...
=== HUMANIZE_FINAL_RESPONSE_END ===

最终回复用户时,只返回两个 marker 中间的 markdown。

生成模型

默认优先使用可检测到的宿主 active model;当前仓库已内置 CoPaw active model 桥接。

如果当前 agent 没有提供可检测的 active model,可以配置本地 OpenAI-compatible endpoint:

export HUMANIZE_GENERATION_BACKEND=local
export HUMANIZE_LLM_BASE_URL=http://127.0.0.1:54841/v1
export HUMANIZE_LLM_MODEL=<your-local-model-id>

如果你用的是 Ollama 上的 thinking 模型,建议再加:

export HUMANIZE_LLM_REASONING_EFFORT=none

如果在 Apple 芯片机器上想避免 scorer 首次走 MPS 带来的等待,也可以固定:

export HUMANIZE_SCORER_DEVICE=cpu

没有生成模型时,系统会降级到 heuristic-only,常见模板化文案仍可跑完整流程。

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. 2mo ago First seen · 75 lines · 569 tokens per session scan A 89fda31373b5

Subscribe to this mod's changes

humanize AGENTS.md is an instructions file published in the GitHub repository TianyiDataScience/humanize (96 stars, last pushed 6mo ago), licensed MIT. It adds 569 tokens to every session, about $0.0023 per session on Opus 5.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

humanize AGENTS.md compared with instructions from other repositories

humanize AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
humanize AGENTS.mdTianyiDataScience/humanizeInstructions file966mo agoMITA569Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode