PLUGIN brewtools / Skills

text-human — universal AI artifact humanizer

sonnet model-invocable

Give it a commit hash, a file, a folder or pasted text. The skill picks the matching flow, strips validated AI tells, then applies a gated human style that fits the domain.

The skill cleans surface artifacts such as self-attribution comments and repetitive prose. Ticket IDs, Unicode and comments can carry real meaning, so appearance alone never justifies a behavior change. It does not detect authorship.

Quick reference

FieldValue
Command/brewtools:text-human
Arguments[prompt] [path|commit|folder|text] [custom instructions]
Modelsonnet (haiku for simple blocks in mixed flow)
InvocationModel-invocable (disable-model-invocation: false): type the command or ask Claude (“humanize this README”, “strip AI artifacts from this commit message”)
OutputIn-place edits plus a Humanization Report

When to use

SituationCommand
After an AI-assisted commit: clean all touched files (current worktree content, not the historical blob)/brewtools:text-human 3be67487
Before review: strip AI markers from a folder/brewtools:text-human src/main/java/services/
JavaDoc / API docs: remove param restates, keep contracts/brewtools:text-human clean the javadoc in PaymentApi.java
README or guide: fix metronomic prose/brewtools:text-human docs/getting-started.md
Reddit or Slack reply: casual register/brewtools:text-human review this reddit reply: <text>
Blog post or essay: burstiness and stance/brewtools:text-human humanize this blog post: <text>
Strip only, no inject/brewtools:text-human src/ only strip AI artifacts, no inject
Custom rule on top of defaults/brewtools:text-human 3be67487 also drop all @author tags

Example

/brewtools:text-human 3be67487

Mixed flow routes each changed file to its domain, then prints a Humanization Report: flow, scope, files, strip/inject counts and items surfaced for review. No arguments in an interactive session asks once; a headless run, or no answer, stops with “nothing to humanize” and edits nothing.

How it works

  1. Detect the flow

    Intent keywords (RU+EN), then path/extension, then content sniff. The skill announces Flow: <name> -- <why> and loads only that flow.

  2. Parse the scope

    The first token is scope if it is an existing path or a 7+ hex hash; the rest is a custom prompt with top priority.

  3. Check the tree

    No backup exists, so git status --porcelain runs over the targets. Dirty paths trigger one question: proceed, clean only, or abort. Inline text skips this.

  4. Strip

    Chat scaffolding, self-attribution, prompt residue and unicode in prose act on single hits; density signals act on clusters.

  5. Inject (gated)

    Domain-tuned human style. Off for code and API docs; never typos, errors or invented references.

  6. Report

    Results merge into one report. Files are edited in place; review the diff.

Good to know

  • Behavior-changing findings (hallucinated refs, fabricated tickets, try/except-everywhere, unicode inside a string literal or regex) are surfaced, never auto-edited.
  • Kept as is: WHY comments, public API docs, real tickets of any pattern, conditional @throws, structural banners, BDD comments, lint/type/license directives.
  • Read-only git calls (git status, git rev-parse, git diff --name-only) run without a prompt; edits follow your permission mode.
Delegation (mixed flow) #

A commit or folder splits into blocks of about 5 files; each subagent gets the six-field brief and all blocks start in one message. Haiku takes simple content, sonnet logic, tests and complex SQL. Field table: Delegation.

Functional preservation overrides cosmetic cleanup: GIVEN/WHEN/THEN and Arrange/Act/Assert comments and lint, type, security, build, license and coverage directives stay byte-for-byte, including unexplained noqa or ESLint suppressions. Real tickets stay unless proven invented against the tracker; uncertainty is reported, not guessed away.

Flows, strip catalog and injection weights #
FlowDomainInject stage
codesource, comments, docstrings, JavaDoc/JSDoc/KDocOFF
docsREADME, guides, PR/commit, changelogsON, restrained (terse for PR/commit)
socialreddit, forum, slack, discord, chatON, casual
articleformal essay, published blog, long-formON, full
mixedcommit / folder dispatcherper-file routing
Strip categoryExampleTier
Chat scaffolding”Certainly!”, “I hope this helps”HIGH
AI self-attribution// AI-generated, bot/co-author trailersHIGH
Prompt residue// Replace with your...HIGH
Unicode in prose and code commentsem-dash, smart quotes, arrows -> ASCIIHIGH
Promotional openers”In today’s fast-paced world”HIGH/MED
Trivial comment/docstring// Loop through usersMED density
Excess-vocab clusterdelve, leverage, seamlessMED cluster only
Signalredditchatdocscommit/PRarticlecode/API
BurstinesshighhighmedlowhighOFF
ContractionshighhighOKlowhighFORBIDDEN
Stancehighmednonegrounded-whyhighFORBIDDEN
Emojirareincidentalnononono
FilesLinesBlocks
1-2under 2001 (direct)
3-5under 5003
6-10500-15005
11-201500-30007
21+3000+10

Permissions: when Claude starts the skill, Claude Code asks once for the Skill call in default mode; headless and dontAsk runs need Skill(brewtools:text-human *) in settings. Pre-approved tools: Read, Grep, Glob, Agent, AskUserQuestion (no Bash rule).

Text Optimize

Trim token waste from prompts and docs. Complements text-human for pre-commit cleanup.

GitHub source

SKILL.md and reference/ flows, preservation rules and language-specific guidance.

Brewtools overview

All brewtools skills: text, secrets, deploy, SSH, provider switching.

Update: /brewtools:plugin-update, /reload-plugins, then /brewcode:setup-status upgrade - FAQ