diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..1a07f7a0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules/ +.agents/ diff --git a/README.md b/README.md index 120bec1c..4a07b007 100644 --- a/README.md +++ b/README.md @@ -1,45 +1,49 @@ # Humanizer -A skill for Claude Code and OpenCode that removes signs of AI-generated writing from text, making it sound more natural and human. +A skill that removes signs of AI-generated writing from text, making it sound more natural and human. Works with Pi, Claude Code, and OpenCode. ## Installation -### Claude Code - -Clone directly into Claude Code's skills directory: +### Pi ```bash -mkdir -p ~/.claude/skills -git clone https://github.com/blader/humanizer.git ~/.claude/skills/humanizer +pi install git:github.com/blader/humanizer ``` -Or copy the skill file manually if you already have this repo cloned: +To install to your project instead of globally: ```bash -mkdir -p ~/.claude/skills/humanizer -cp SKILL.md ~/.claude/skills/humanizer/ +pi install -l git:github.com/blader/humanizer ``` -### OpenCode +### Claude Code -Clone directly into OpenCode's skills directory: +Copy the skill directory into Claude Code's skills folder: ```bash -mkdir -p ~/.config/opencode/skills -git clone https://github.com/blader/humanizer.git ~/.config/opencode/skills/humanizer +cp -r skills/humanizer ~/.claude/skills/humanizer ``` -Or copy the skill file manually if you already have this repo cloned: +### OpenCode + +Copy the skill directory into OpenCode's skills folder: ```bash -mkdir -p ~/.config/opencode/skills/humanizer -cp SKILL.md ~/.config/opencode/skills/humanizer/ +cp -r skills/humanizer ~/.config/opencode/skills/humanizer ``` -> **Note:** OpenCode also scans `~/.claude/skills/` for compatibility, so a single clone into `~/.claude/skills/humanizer/` works for both tools. +> **Note:** OpenCode also scans `~/.claude/skills/` for compatibility, so copying into `~/.claude/skills/humanizer/` works for both tools. ## Usage +### Pi + +In any Pi session, the skill activates automatically when you ask to humanize or edit text for AI-writing patterns: + +``` +Please humanize this text: [your text] +``` + ### Claude Code ``` @@ -56,7 +60,7 @@ cp SKILL.md ~/.config/opencode/skills/humanizer/ [paste your text here] ``` -Or ask the model to humanize text directly in either tool: +Or ask the model directly in any of these tools: ``` Please humanize this text: [your text] diff --git a/package.json b/package.json new file mode 100644 index 00000000..d80c5151 --- /dev/null +++ b/package.json @@ -0,0 +1,29 @@ +{ + "name": "humanizer", + "version": "2.5.1", + "description": "Remove signs of AI-generated writing from text. Based on Wikipedia's comprehensive 'Signs of AI writing' guide.", + "keywords": [ + "pi-package", + "pi", + "skills", + "humanizer", + "writing", + "ai-detection", + "ai-writing", + "editing" + ], + "author": "Siqi Chen", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/blader/humanizer.git" + }, + "homepage": "https://github.com/blader/humanizer#readme", + "bugs": { + "url": "https://github.com/blader/humanizer/issues" + }, + "pi": { + "skills": ["./skills"] + }, + "files": ["skills/", "README.md", "LICENSE"] +} diff --git a/SKILL.md b/skills/humanizer/SKILL.md similarity index 100% rename from SKILL.md rename to skills/humanizer/SKILL.md