humanpen — скилл для Claude Code: установка и возможности
Обрабатывает файлы документов через HumanPen: переписывает текст, исправляет ссылки, сокращает и переводит, сохраняя структуру файла.
npx skills add humanpen/humanpen-skill --skill humanpen -a claude-codeЧто делает humanpen
humanpen работает с файлами документов, а не с текстом в чате. Он может переписать весь .docx или .pptx, обработать только фрагменты из отчёта Turnitin или iThenticate, привести ссылки к одному стилю, сократить документ до лимита слов и перевести его с сохранением макета, таблиц и формул. Результат записывается рядом с исходником, а агент получает путь к файлу, не содержимое документа.
Внутри скилла есть скрипты на Python: humanpen.py запускает операции humanize, fix-citations, condense, translate, а также читает отчёты, возобновляет задания и показывает баланс. Для работы нужен python3 и переменная HUMANPEN_API_KEY. Каждое задание расходует кредиты: стоимость зависит от операции и числа обработанных слов, с минимумом 10 кредитов. Без HUMANPEN_API_KEY команды завершаются ошибкой.
Перед запуском задания нужно назвать стоимость и получить согласие пользователя. Для повторной обработки оставшихся отмеченных фрагментов есть бесплатный free-rehumanize, доступный один раз для задания; результат хранится 7 дней. Перевод поддерживает больше форматов, чем остальные операции, включая .pdf, .xlsx, .epub, .html и .txt.
Какие задачи решает
- переписать весь файл
.docxили.pptx - обработать фрагменты из отчёта Turnitin или iThenticate
- привести ссылки и список литературы к одному стилю
- сократить документ до заданного числа слов
- перевести документ с сохранением макета
Примеры запросов агенту
- Перепиши
paper.docx, используя сбалансированную стратегию, и сохрани результат рядом с исходником. - Обработай в
paper.docxтолько фрагменты, отмеченные вturnitin.pdf. - Переведи
paper.docxна русский язык, сохранив таблицы, формулы и макет.
Как установить humanpen
1Через Skills CLI (Vercel)
npx skills add humanpen/humanpen-skill --skill humanpen -a claude-code2Вручную: положить файлы
~/.claude/skills/humanpen/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/humanpen/
1Через Skills CLI (Vercel)
npx skills add humanpen/humanpen-skill --skill humanpen -a codex2Вручную: положить файлы
.agents/skills/humanpen/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add humanpen/humanpen-skill --skill humanpen -a cursor2Вручную: положить файлы
.cursor/skills/humanpen/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install humanpen/humanpen-skill humanpen2Вручную: положить файлы
.github/skills/humanpen/SKILL.md1Через Skills CLI (Vercel)
npx skills add humanpen/humanpen-skill --skill humanpen -a gemini-cli2Командой платформы
gemini skills install https://github.com/humanpen/humanpen-skillВручную: положить файлы
.devin/skills/humanpen/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add humanpen/humanpen-skill --skill humanpen -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о humanpen
Как установить humanpen в Claude Code?
Выполните npx skills add humanpen/humanpen-skill --skill humanpen -a claude-code, затем проверьте файл ~/.claude/skills/humanpen/SKILL.md.
Что делает humanpen?
Скилл передаёт файл в HumanPen, ждёт завершения задания и сохраняет результат рядом с исходником. Он умеет переписывать документы, исправлять стили цитирования, сокращать и переводить их.
Какие файлы поддерживает humanpen?
Операции humanize работают с .docx и .pptx, а fix-citations и condense — с .docx. Команда translate также принимает .pdf, .xlsx, .epub, .html и .txt; для работы нужен HUMANPEN_API_KEY.
Исходный текст
SKILL.md · Apache-2.0
--- name: humanpen description: Humanize document files with HumanPen to lower their AI-detection score. Rewrite a whole .docx/.pptx, or only the passages a Turnitin/iThenticate AI report flagged, while keeping every fact, number, citation, table and formula intact. Also converts citations to one style (APA, MLA, IEEE, GB/T 7714), condenses a document to a word budget, and translates while preserving layout. Use when the user points at a document FILE (.docx/.pptx; translate also takes .pdf/.xlsx/.epub/.html/.txt) or such an AI report and wants any of these; not for text pasted into chat. license: Apache-2.0 --- # HumanPen A document-level AI humanizer. Point it at a document file and it uploads the file, waits for the job, and writes the result next to the source — you get a path back, **never the document's contents**. Formatting, tables, images, citations, and formulas survive intact. **Every job spends the account's credits. State the cost and get the user's agreement before running any job command.** Per 1,000 words processed: humanize 100 credits, fix-citations 5, condense 20, translate 10, charged only on the words actually processed, with a 10-credit minimum per job; failed or cancelled jobs cost nothing. ## Setup ```bash export HUMANPEN_API_KEY=hp_... # create one at https://humanpen.net/settings/api-keys ``` New accounts get 100 free credits at https://humanpen.net. Without a key every command fails with instructions to get one. ## Commands Run from this skill's directory; `python3` and nothing else is needed. `--help` on any command lists its flags. Add `-o PATH` to choose where the result lands (default `<name>-polished.docx` beside the source). ### Humanize — the main operation Lower AI-detection signals on a `.docx` / `.pptx`. Three ways to scope it: ```bash # 1. Whole document. --strategy: balanced | aggressive python3 scripts/humanpen.py humanize paper.docx --strategy balanced # 2. Only the passages a Turnitin / iThenticate report flagged — the rest is left untouched python3 scripts/humanpen.py humanize paper.docx --report turnitin.pdf # 3. Continue a finished job for FREE (once per job): re-runs its still-flagged # passages against a fresh report. Pass the job_id that humanize returned. python3 scripts/humanpen.py free-rehumanize <job_id> --report new-turnitin.pdf ``` Optional length control — EXPERIMENTAL, a word limit noticeably weakens AI-rate reduction, so skip it unless a length is required: ```bash python3 scripts/humanpen.py humanize paper.docx --min-words 1500 --max-words 1800 # Per-passage budgets for the report's flagged passages: python3 scripts/humanpen.py humanize paper.docx --report turnitin.pdf --segments-file budgets.json ``` ### The other three operations ```bash # Convert every citation + the reference list to one style. --style: apa7 | # mla9 | harvard | chicago_author_date | chicago_notes | ieee | vancouver | # gbt7714 | gbt7714_author_year | ama | acs | oscola python3 scripts/humanpen.py fix-citations paper.docx --style apa7 # Shorten the whole document to a word budget python3 scripts/humanpen.py condense paper.docx --max-words 4000 # Translate, keeping layout, tables and formulas. --to: zh | zh-tw | en | ja | # ko | es | fr | pt | ru | de | pl | it (--source-lang: same codes, default auto) python3 scripts/humanpen.py translate paper.docx --to zh ``` ### Read a report · resume a job · check credits ```bash # A Turnitin / iThenticate report: overall AI %, and the flagged passages python3 scripts/humanpen.py report turnitin.pdf # Pick a running job back up (optionally download its result); show the balance python3 scripts/humanpen.py status <job_id> --download paper.docx python3 scripts/humanpen.py balance ``` ## Reading the output A finished job prints JSON. Report its `output` (the result path) and `credits_charged` (the cost) to the user. **Do not read the produced file back to summarise it** unless asked — it is a full document, and the point of the path is that its contents stay out of the conversation. `report` and a finished humanize print `ai_percent` as a number — or `null` when the report shows `*`. Turnitin prints `*` whenever AI writing is **under 20%**; it will not quantify that band, because of false positives. So `null` is usually good news, not a missing result. **It is never zero**: report it as "under 20%, which is where Turnitin stops printing a number", never "0% AI". ## Worth knowing - **Formats.** humanize takes `.docx` / `.pptx`; fix-citations and condense take `.docx`; translate additionally takes `.pdf`, `.xlsx`, `.pptx`, `.epub`, `.html` and `.txt`. - **Minutes, not seconds.** The command waits and prints progress to stderr. Interrupting it does **not** cancel the job — `status <job_id>` picks it back up. - **A second pass is the plan, not a failure — and it is free.** If a detector still flags the result, `free-rehumanize <job_id>` with a fresh report rewrites only the still-flagged passages, at no credit cost (once per job, with a daily cap). Keep `balanced`; no need to escalate to `aggressive`. - **Result files are kept 7 days**, then deleted; the job record stays.
© humanpen · Apache-2.0 · humanpen/humanpen-skill