Skip to content
cccskills
FreePublished on GitHub

ai-text-humanizer

AI(LLM)が生成した日本語テキストの「AI臭」を検出・診断し、人間らしい文章にリライトするスキル。

Use when: 「AIっぽい文章を直して」「人間らしくリライトして」「AI臭を消して」「この文章をもっと自然にして」 「テキストのAI感を減らして」「機械っぽさを取りたい」 "make this sound more human", "remove AI tone", "humanize this text", "detect if this is AI-generated". 6つのAI特有パターン(視覚的マーカー、単調なリズム、マニュアル的構成、非コミット姿勢、抽象語の濫用、 定型メタファー)を正規表現ベースで検出し、0-100のAI臭スコアを算出。

3つの人間化技法 (バランスを崩す・客観を崩す・論理を崩す)でリライトを実行する。Note: 検出スクリプトは日本語テキスト専用。英語テキストの場合はClaude自身がreferences/を参照して分析・リライトする。

The English summary is being prepared. Showing the original description.

Works withSlack

Run score Not tested

See how to install

Files included (30)

  • SKILL.md11.3 KB
  • assets/detection_report_template.md1.8 KB
  • assets/rewrite_prompt_en.md3.7 KB
  • assets/rewrite_prompt_ja.md4.2 KB
  • references/ai_writing_patterns.md11.3 KB
  • references/human_writing_techniques.md7.3 KB
  • references/rewrite_rules.md8.4 KB
  • samples/design/design_after_ja.md956 B
  • samples/design/design_after_report.json1.4 KB
  • samples/design/design_before_after.diff1.8 KB
  • samples/design/design_before_ja.md1.1 KB
  • samples/design/design_before_report.json3.0 KB
  • samples/dummy_ai_after_ja.txt1.0 KB
  • samples/dummy_ai_after_report.json1.6 KB
  • samples/dummy_ai_before_after.diff2.9 KB
  • samples/dummy_ai_before_ja.txt1.7 KB
  • samples/dummy_ai_before_report.json5.9 KB
  • samples/email/email_after_ja.txt539 B
  • samples/email/email_after_report.json1.7 KB
  • samples/email/email_before_after.diff1.5 KB
  • samples/email/email_before_ja.md793 B
  • samples/email/email_before_report.json2.6 KB
  • samples/estimate/estimate_after_ja.md916 B
  • samples/estimate/estimate_after_report.json1.5 KB
  • samples/estimate/estimate_before_after.diff1.3 KB
  • samples/estimate/estimate_before_ja.md1.0 KB
  • samples/estimate/estimate_before_report.json2.6 KB
  • scripts/detect_ai_patterns.py31.7 KB
  • scripts/tests/__init__.py43 B
  • scripts/tests/test_detect_ai_patterns.py11.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

AI Text Humanizer

Overview

LLMが生成するテキストには、人間の文章にはほとんど現れない6つの特有パターンがある。このスキルは:

  1. 6パターン検出 — 視覚的マーカー残存、単調なリズム、マニュアル的構成、非コミット姿勢、抽象語の濫用、定型メタファーを正規表現ベースで検出
  2. AI臭スコアリング — 0-100のスコアで「どのくらいAIっぽいか」を定量化
  3. 人間化リライト — 3つの技法(バランスを崩す・客観を崩す・論理を崩す)で自然な文章に変換

When to Use

  • ユーザーが「AIっぽい」「AI臭い」「機械的」「リライトして」「人間らしく」「自然にして」と言ったとき
  • ブログ記事、ビジネス文書、SNS投稿などをAI生成後に人間化したいとき
  • AI生成テキストの品質チェック・改善が必要なとき
  • テキストがAI生成かどうかの簡易判定を求められたとき

Bundled Resources

TypeFilePurpose
Referencereferences/ai_writing_patterns.md6パターン検出ガイド(正規表現・具体例)
Referencereferences/rewrite_rules.mdパターン別変換ルール
Referencereferences/human_writing_techniques.md人間っぽく崩す3技法
Scriptscripts/detect_ai_patterns.pyパターン検出・スコアリングスクリプト
Assetassets/rewrite_prompt_ja.mdリライトプロンプト(日本語)
Assetassets/rewrite_prompt_en.mdリライトプロンプト(英語)
Assetassets/detection_report_template.mdAI臭スコアレポート雛形

Prerequisites

  • Python 3.9+ — スクリプト実行に必要
  • 日本語テキストファイル — UTF-8エンコーディング推奨(他のエンコーディングは --encoding オプションで指定可能)
  • 英語テキスト — 検出スクリプトは日本語専用。英語の場合はClaude自身が references/ を参照して分析する

Workflow 1: AI臭診断

テキストを受け取り、6パターンの検出とスコアリングを行う。

Steps

  1. テキスト受領 — ユーザーからテキストを受け取る(ファイルパス指定。直接入力の場合は一時ファイルに保存してスクリプトに渡す)
  2. パターン検出実行 — scripts/detect_ai_patterns.py を実行してパターンを検出 Note: 英語テキストの場合はスクリプトではなく、references/ai_writing_patterns.md を読み込んでClaude自身が分析する。
    python3 scripts/detect_ai_patterns.py <input_file> --output report.md --doc-type auto
    
    doc-type の使い分け:
    • email / chat: Markdown構造をAIマーカーとして検出
    • blog / structured: ## 見出し と箇条書きはPattern 1で非加点
    • auto: 上記を簡易推定
  3. 結果確認 — スクリプト出力のスコアとパターン別内訳を確認
  4. レポート確認 — スクリプトが自動生成したレポートを確認する。assets/detection_report_template.md はClaude手動分析時用の雛形
  5. ユーザーへ報告 — 総合スコア、パターン別内訳、具体例、推奨アクションを提示

Output

  • 総合AI臭スコア (0-100)
  • パターン別スコア内訳(6パターン)
  • 検出された具体例(該当箇所の引用)
  • スコア解釈と推奨アクション

Workflow 2: リライト実行

検出結果を踏まえ、AI臭を除去したリライト文を生成する。

Steps

  1. 診断結果確認 — Workflow 1の結果を確認(未実施なら先に実行)
  2. リファレンス読み込み — references/rewrite_rules.md と references/human_writing_techniques.md を読み込む
  3. 変換ルール適用 — パターン別変換ルールに従い、優先順位で変換:
    • 非コミット姿勢の除去(ヘッジ語削除、立場の明確化)
    • マニュアル的構成の解体(前置き短縮、ステップ表記排除)
    • 視覚的マーカーの除去(太字、装飾記号の削除)
    • リズムの変化(文末バリエーション、文長の変化)
    • 抽象語の具体化(実例・数値・エピソードに置換)
    • 定型メタファーの削除または具体化
  4. 3技法による人間化 — references/human_writing_techniques.md の3技法を適用:
    • バランスを崩す: 文体的ヘッジ(「〜かもしれません」等)を断定に変える。ただし事実的不確実性(未確定の情報・未検証のデータ)の断定化ではない
    • 客観を崩す: 主観・経験・判断を入れる
    • 論理を崩す: 完璧な構造を壊す、自然な脱線を入れる
  5. リライト文出力 — 変換後テキストをユーザーに提示

Rewrite Principles (Content Rules)

  1. 捏造禁止 — 元テキストにない事実・データを追加しない
  2. 曖昧さ保持(事実的不確実性のみ) — 元テキストが事実として不確実・未確定の情報は不確実なまま残す。区別基準: 「〜かもしれません」「〜の可能性があります」等の文体的ヘッジは断定化してよい。「調査中」「未確認」等の事実的不確実性は保持する
  3. 意味保全 — 内容の意味を変えない
  4. トーン維持 — 元テキストの意図するトーン(フォーマル/カジュアル等)を尊重
  5. 文化的配慮 — 日本語特有の表現パターンを考慮する
  6. 過剰矯正回避 — すべてのパターンを一度に直そうとしない
  7. 読者想定 — 元テキストの想定読者層を考慮する

Rewrite Principles (Formatting Rules)

  1. 文書種別でMarkdown方針を決める — メール本文・チャット文はMarkdownを除去しプレーンテキスト化。ブログ記事・見積書・提案書・報告書・仕様書・設計書はMarkdown構造を保持する
  2. 構造Markdownは保持 — 保持対象の文書では ## 見出し、表、箇条書きを維持する
  3. 装飾的Markdownのみ削減 — **太字** の連打や過剰装飾は減らす。意味を持つ構造は壊さない
  4. 引用符を自然化 — 「」 の入れ子 『』 を避ける
  5. 句読点と記号を整理 — 、 の過密を分割で解消し、(補足説明) — / は必要に応じて平易化する
  6. リスト処理は用途別 — メール本文は文章化、ブログ/構造化文書は箇条書きを保持

文書種別の境界ケース

  • SNS投稿(短文): メール/チャット寄りとしてプレーンテキスト優先
  • SNS投稿(長文スレッド/記事型): ブログ寄りとして見出し・箇条書き保持可
  • Slack/Teams の短い連絡: チャット扱い(Markdown除去)
  • Slack/Teams の仕様共有・議事録: 構造化文書扱い(Markdown保持)
  • README.md / ドキュメント: 構造化文書扱い(Markdown保持)

Workflow 3: Before/After比較

元文とリライト文を並べて比較し、変更点と理由を提示する。

Steps

  1. 元文のスコア確認 — Workflow 1の結果を使用
  2. リライト文の再スコアリング — リライト後テキストに再度 detect_ai_patterns.py を実行
  3. 比較レポート生成 — 以下を含む比較レポートを作成:
    • 総合スコア比較(Before → After)
    • パターン別スコア変化
    • 主要な変更箇所のdiff表示
    • 各変更の理由(どのパターンに対応するか)
    • 残存するAI臭パターン(あれば)

6パターン検出フレームワーク

AI臭スコアの配分:

#PatternWeightDescription
1視覚的マーカー残存15%**太字**、—、「」過多、()過多、/
2単調なリズム20%同一文末連続、接続詞過多、均一トーン
3マニュアル的構成20%長い前置き、構成宣言、ステップ表記、薄い結論
4非コミット姿勢15%ヘッジ語、強制中立、弱い否定、断定回避
5抽象語の濫用15%実体なき抽象語、根拠なき強評価
6定型メタファー15%羅針盤/地図/設計書/柱/DNA/車の両輪/潤滑油/エンジン

Score Interpretation

ScoreLevelDescription
0-25Natural人間らしい自然な文章。修正不要
26-50Slightly AIやや AI的な要素あり。軽微な修正で改善可能
51-75Clearly AI明確にAI生成と分かる。リライト推奨
76-100Strongly AI強くAI臭を感じる。全面リライト推奨

Output

このスキルは以下の成果物を生成する:

OutputFormatDescription
AI臭スコアレポートMarkdown / JSON総合スコア(0-100)、パターン別スコア内訳、検出例、推奨アクション
リライト文プレーンテキスト / MarkdownAI臭を除去した人間化テキスト(文書種別に応じたフォーマット)
Before/After比較Markdownスコア変化、diff表示、変更理由の一覧

出力例(JSON):

{
  "total_score": 65.0,
  "level": "Clearly AI",
  "doc_type": "blog",
  "patterns": [
    {"id": 1, "name": "視覚的マーカー残存", "score": 12.0, "max_score": 15},
    ...
  ]
}

Resources

  • references/ai_writing_patterns.md — 6パターンの詳細定義と正規表現パターン
  • references/rewrite_rules.md — パターン別の具体的変換ルール
  • references/human_writing_techniques.md — 3技法(バランス・客観・論理を崩す)の詳細解説
  • assets/detection_report_template.md — Claude手動分析時のレポート雛形
  • assets/rewrite_prompt_ja.md / assets/rewrite_prompt_en.md — リライト指示プロンプト
  • samples/ — 各文書種別(email, estimate, design)のBefore/Afterサンプル

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Track and update action item status from natural language updates like 'Seanのメールには返信しておいた' or 'Lu対応予定'. Integrates with daily-comms-ops workflow. Use when managing action items across communication channels.

The English summary is being prepared. Showing the original description.

takusaotome/claude-skills-library10Updated Oct 23, 2026

AI活用提案の専門コンサルタントスキル。LLM・AIエージェントの活用事例知識を基に、業界別、部門別、シーン別に最適なAI導入提案を行います。システム化、業務改善、効率化を得意とし、具体的な活用事例、期待効果、導入ステップを含む実践的な提案を提供します。Use when proposing AI/LLM adoption strategies for specific industries, departments, or business scenarios.

The English summary is being prepared. Showing the original description.

takusaotome/claude-skills-library10Updated Oct 23, 2026

Generate AI-powered BPO service proposals for Japanese companies in the US market. Use when creating outsourcing proposals with AI service menus, ROI estimation, implementation roadmaps, and bilingual (JA/EN) proposal documents for 在米日系企業向けAI実装.

The English summary is being prepared. Showing the original description.

takusaotome/claude-skills-library10Updated Oct 23, 2026

Generate audit-ready internal control design documents from As-Is business process inventories. Produces control IDs, assertion mappings, procedures, SoD analysis, KPIs, materiality thresholds, and implementation roadmaps. Use when building internal controls for new audit engagements, SOX/J-SOX compliance, or process improvement initiatives.

The English summary is being prepared. Showing the original description.

takusaotome/claude-skills-library10Updated Oct 23, 2026

Review audit-related documents (control design documents, bottleneck analyses, requirements definitions, etc.) for quality, scoring them 0-100 with a severity-rated findings list. Use when reviewing audit documents, checking control design quality, or verifying cross-document consistency. Supports documents governed by US GAAP, IFRS, or J-GAAP.

The English summary is being prepared. Showing the original description.

takusaotome/claude-skills-library10Updated Oct 23, 2026

AWS CLIの専門家スキル。EC2, S3, IAM, Lambda, RDS, ECS等の主要サービスのCLI操作を支援。IAMポリシー設計、クロスアカウント運用、セキュリティ設定、コスト最適化のベストプラクティスを提供。Use when working with AWS services via CLI, designing IAM policies, managing infrastructure, or automating cloud operations.

The English summary is being prepared. Showing the original description.

takusaotome/claude-skills-library10Updated Oct 23, 2026

See all skills by takusaotome

Report a problem with this skill