Skip to content

feat: live Wikipedia sync for auto-updating AI patterns (v2.3.0)#44

Open
justinmassa wants to merge 1 commit intoblader:mainfrom
justinmassa:feat/live-wikipedia-sync
Open

feat: live Wikipedia sync for auto-updating AI patterns (v2.3.0)#44
justinmassa wants to merge 1 commit intoblader:mainfrom
justinmassa:feat/live-wikipedia-sync

Conversation

@justinmassa
Copy link

Summary

  • Adds automatic fetching + caching of Wikipedia's "Signs of AI writing" patterns before each humanization run
  • New patterns discovered by the Wikipedia community are picked up without manual skill updates
  • Fetches via curl against the MediaWiki API, caches locally for 7 days, falls back gracefully to built-in static patterns on failure
  • Adds Bash and WebFetch to allowed-tools in SKILL.md frontmatter
  • Adds .gitignore for the runtime cache file
  • Updates README with docs and version history

Why curl over WebFetch?

During testing, Wikipedia returned 403 for all WebFetch requests (direct URL, mobile URL, and API URL). curl with a standard browser user-agent works reliably against the MediaWiki API, so the skill now uses curl as the primary fetch method with WebFetch as a fallback.

Test plan

  • Tested full humanization run with cache miss (first run) — curl fetch succeeded, cache created, patterns merged with static list
  • Verified .gitignore excludes cache file from commits
  • Confirmed graceful fallback when fetch fails (static patterns still work)
  • Tested humanization quality on real text (pre-interview questionnaire)

🤖 Generated with Claude Code

Add automatic fetching and caching of Wikipedia's "Signs of AI writing"
patterns before each humanization run. The skill now stays current with
new AI tells discovered by the community without manual updates.

- Fetch latest patterns from Wikipedia's MediaWiki API via curl
- Cache locally with 7-day refresh interval
- Fall back to built-in static patterns if fetch fails
- Add .gitignore for runtime cache file
- Add Bash and WebFetch to allowed-tools
- Update README with feature docs and version history

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant