feat: add pattern detection script for deterministic scanning#68
Open
Kholtien wants to merge 1 commit intoblader:mainfrom
Open
feat: add pattern detection script for deterministic scanning#68Kholtien wants to merge 1 commit intoblader:mainfrom
Kholtien wants to merge 1 commit intoblader:mainfrom
Conversation
Adds scripts/detect_patterns.py — a stdlib-only Python script that scans text for measurable AI writing patterns and produces a scored report. Detects 15 of the 25 patterns programmatically (AI vocabulary, em dashes, boldface, emojis, filler phrases, hedging, and more). Outputs a normalised score per 100 words for objective before/after comparison. Updates SKILL.md (v2.4.0) to integrate the scanner into the humanisation process at three points: pre-scan, post-scan, and final scan. Updates README.md with script documentation and usage examples. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3 tasks
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/detect_patterns.py— a stdlib-only Python script that scans text for measurable AI writing patterns and produces a scored report (normalised per 100 words)Bash(python3 *)to allowed tools so the skill can run the script via${CLAUDE_SKILL_DIR}Test plan
echo "text with AI vocabulary like delve and tapestry" | python3 scripts/detect_patterns.pyand verify hits are reportedpython3 scripts/detect_patterns.py --jsonto verify JSON output mode/humanizerin Claude Code and verify the skill runs the scanner at each step🤖 Generated with Claude Code