Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计未展示

brewcode%3atext-humanbrewcode 3atext human 搜索

Agent Skill

brewcode%3atext-human 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

312

周安装

13

GitHub Stars

24

下载量

104
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:brewcode%3atext-human(brewcode 3atext human 搜索)
来源仓库:https://github.com/kochetkov-ma/claude-brewcode
仓库路径:skills/brewcode%3Atext-human
安装命令:
npx skills add https://github.com/kochetkov-ma/claude-brewcode --skill brewcode:text-human
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/kochetkov-ma/claude-brewcode --skill brewcode:text-human

简介

brewcode%3atext-human 检测并去除 AI 生成的文本痕迹,还原人类写作风格。

  • 适用于清理提交信息、文档说明或注释中的模型生成冗余表达。
  • 支持按提交哈希、文件或文件夹批量处理,并行调用子代理加速完成。
  • 需明确输入类型(commit/file/folder)并在无参数时主动询问用户意图。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Text Humanizer

Detect and remove AI-generated artifacts from code and documentation. Process commits, files, or folders with parallel sub-agents.

Language References

LanguageReferenceLoad When
Java/Kotlin@reference/java.md*.java, *.kt, *.groovy, Spring, Maven/Gradle
TypeScript/JS/React@reference/typescript.md*.ts, *.tsx, *.js, *.jsx, Node.js, React
Python@reference/python.md*.py, Django, FastAPI, Flask

Multi-language projects: Load ALL relevant references.


Argument

First token = scope (required):

InputAction
NoneUse AskUserQuestion: "What to humanize?" Options: "Commit hash (git diff)" / "File path" / "Folder path"
Commit hash (7+ hex)Process all text files from commit
File pathProcess single file
Folder pathProcess all files in folder
"entire project"Use AskUserQuestion: "Too broad — specify scope." Options: "Specific folder" / "File pattern (e.g. src/**/*.java)"

Everything after first token = custom prompt (optional). Free-form text, no quotes needed. Overrides or extends default humanization rules for this run. Passed to every sub-agent prompt.

Custom Prompt Handling

  1. Parse: split args into scope (first token) and customPrompt (rest)
  2. If customPrompt is present, prepend it to every sub-agent Task prompt as: CUSTOM INSTRUCTIONS (highest priority, override defaults): <customPrompt>
  3. Custom prompt wins over default rules on conflict

Architecture

Orchestrator -> Detect Language -> Load Reference -> Analyze -> Classify -> Split (3-10 blocks) -> Parallel Task agents -> Aggregate

Phase 1: Scope Analysis

Commit Mode

Process all text files from commit. No extension filtering: git diff --name-only <hash>^..<hash>

File Inclusion Rules

IncludeExclude
Source code (*.java, *.kt, *.py, *.ts, *.js, etc.)Binary files (*.class, *.pyc, *.exe)
Config (*.xml, *.yaml, *.yml, *.json, *.toml)Images (*.png, *.jpg, *.gif, *.ico)
Docs (*.md, *.txt, *.rst)Archives (*.zip, *.tar, *.gz)
Build files (pom.xml, package.json, pyproject.toml)Generated (target/, build/, dist/, node_modules/)
SQL (*.sql, *.ddl)Lock files, IDE files

Path Mode

find <path> -type f \( -name "*.java" -o -name "*.py" -o -name "*.ts" -o -name "*.js" -o -name "*.md" \) | grep -v -E "(target/|node_modules/|\.git/|build/|dist/|__pycache__/)"

Block Count

FilesLinesBlocks
1-2<2001 (direct)
3-5<5003
6-10500-15005
11-201500-30007
21+3000+10

Single file: process directly without Task delegation.

Phase 2: File Classification

Haiku (Simple)

TypePatterns
Config*.properties, *.yaml, *.yml, *.toml, *.ini
Data*.json, *.csv
Text*.txt, *.md
Simple SQLSingle CREATE/ALTER, no CTEs/subqueries
Small files<50 lines, no logic

Sonnet (Complex)

TypePatterns
Source with logicBusiness logic, algorithms
TestsTest files for any framework
Complex SQLCTEs, window functions, JOINs, subqueries
Config classesFramework configuration
Note: See language-specific references for detailed classification rules.

Phase 3: Block Formation

Group files by type, complexity (avoid mixed haiku/sonnet), line count balance. Keep related files together (same package/directory).

Data files block: YAML, JSON, CSV with comments → haiku for unicode fixes

Phase 4: Parallel Execution

Launch all Task calls in single message for true parallelism.

Task(subagent_type="developer", model="haiku", prompt="> **Context:** BC_PLUGIN_ROOT is available in your context (injected by pre-task.mjs hook).\n\n[CUSTOM_INSTRUCTIONS_IF_ANY]\nBlock 1: [files] [rules] Return JSON")
Task(subagent_type="developer", model="sonnet", prompt="> **Context:** BC_PLUGIN_ROOT is available in your context (injected by pre-task.mjs hook).\n\n[CUSTOM_INSTRUCTIONS_IF_ANY]\nBlock 2: [files] [rules] Return JSON")

If custom prompt was provided, prepend to EVERY sub-agent prompt (after the Context line):

> **Context:** BC_PLUGIN_ROOT is available in your context (injected by pre-task.mjs hook).

CUSTOM INSTRUCTIONS (highest priority, override defaults):
<user's custom prompt text>
---

<output_format> {"files_processed": N, "changes": [{"file": "path", "removed_comments": N, "fixed_unicode": N, "simplified_docs": N}]} </output_format>

Phase 5: Aggregation

Collect JSON results from all agents → merge statistics → generate unified report.


<humanization_rules>

AI Artifacts (Universal)

PatternAction
// Added by AI, // Claude suggestion, // AI-generated, // Generated byDelete
# Added by AI, # Claude suggestionDelete
/* Suggested by */Delete block
AI-invented issue numbers (BUG-001, FIX-123, ISSUE-1)Delete
Unicode long dash (U+2014)Replace → --
Unicode arrows (→, ←, ⇒)Replace → ->, <-, =>
Unicode bullets (•, ◦)Replace → - or *
Unicode quotes (" " ' ')Replace → " or '

Real vs Fake Issue References

Keep project-specific ticket patterns (INTELDEV-XXXXX, JIRA-XXXXX, GH-XXX). Remove generic AI-invented patterns (BUG-001, FIX-123, ISSUE-42).

Documentation Cleanup (General Principles)

RemoveKeep
Private/internal function docsPublic API documentation
Test file documentationComplex algorithm explanation
Obvious classes/functions (name = purpose)Non-obvious behavior/side effects
Trivial parameter docs (restates name)@throws/Raises with conditions
Trivial return docs (restates function)External API contracts

Key Rule: Never convert block docs to inline comments. Delete unnecessary docs entirely; for useful descriptions with trivial params, strip params and keep description.

Comments (Universal)

Keep WHY, remove WHAT.

RemoveKeep
// Initialize the list// Retry 3x due to flaky external API
// Loop through items// Uses UTC to match database timezone
// Check if null// Thread-safe: synchronized on class lock
Stale // TODO: refactor this// HACK: workaround for <issue-link>

Formatting (Universal)

IssueFix
/* single line */// single line or # single line
3+ blank linesMax 2
Trailing whitespaceRemove
Mixed tabs/spacesSpaces

</humanization_rules>


File Type Rules

TypeRules
Source codeFull doc cleanup per language reference
Test filesRemove all docs, keep test descriptions
SQL/XMLPreserve structural comments
MarkdownRemove AI disclosures, fix unicode
YAML/PropertiesFix unicode, keep config explanations
JSON/CSVCheck for comments with unicode, usually skip

YAML/Data Files

Check for unicode in comments. Section comments are valuable.

ActionExample
FIX# Lane 90001→10001# Lane 90001->10001
KEEP# ===== VAN loads for test =====
SKIPPure data without comments

SQL/XML Comments

Structural comments are valuable. Analyze neighboring files first.

ActionExample
KEEPSection headers -- ============ TABLES ============
KEEPBlock separators <!-- ===== Mappers ===== -->
KEEPColumn/field documentation
REMOVEExact duplicates, AI markers

Custom Prompt Mode

Custom prompt overrides or extends default rules. Use for:

  • Restricting scope: "only remove AI artifacts, don't touch docs"
  • Adding rules: "also remove all @author tags"
  • Excluding files: "skip test files"
  • Style reference: "use style from src/main/Service.java as reference"

Output Format

## Humanization Report

### Execution Summary
| Metric | Value |
|--------|-------|
| Total files | N |
| Blocks | M |
| Haiku/Sonnet | X/Y |

### Block Results
[Per-block tables with file metrics]

### Totals
| Metric | Count |
|--------|-------|
| Files processed | N |
| Comments removed | X |
| Docs simplified | Y |
| Unicode fixed | Z |

Best Practices

  • Load language reference first
  • Process all commit files (include yaml/data files)
  • Check yaml for unicode (comments may have arrows)
  • Preserve valuable comments (they add context)
  • Skip binaries (avoid corruption)
  • Honor style reference if provided
  • Keep public API docs
  • Group files by complexity
  • Launch agents in parallel

Error Handling

ErrorAction
Agent timeoutContinue with other blocks
File read errorSkip, note in report
Binary fileSkip, note in report
No changesReport "No humanization required"

Examples

/text-human 3be67487                                              # Commit - all files
/text-human src/main/java/MyService.java                          # Single file
/text-human src/main/java/services/                               # Folder
/text-human 3be67487 don't touch docs on public records           # Commit + custom prompt
/text-human src/ only remove AI artifacts and fix unicode         # Path + custom prompt
/text-human 3be67487 also remove all @author tags                 # Commit + extra rule

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.9%
按下载量换算38

Claude

29.51%
按下载量换算31

Cursor

19.7%
按下载量换算20

Gemini CLI

8.59%
按下载量换算9

安全审计

暂无安全审计结果可展示。

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills