humanize 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

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.

agentmods
npx agentmods add instructions/tianyidatascience/humanize/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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00569 $0.00569
Opus 5 $0.00284 $0.00284
Sonnet 5 $0.00114 $0.00114
Haiku 4.5 $0.00057 $0.00057

Measured 3d ago against content hash 89fda31373b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 (90 stars, last pushed 4mo ago), licensed MIT. It adds 569 tokens to every session, about $0.0028 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 instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,345 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

next.js AGENTS.md

Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens