Fix install instructions with correct plugin path

Skills live inside plugin packages under ~/.claude/plugins/,
not a standalone ~/.claude/skills/ directory. Updated README
with working install steps for both copy and symlink approaches.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
zero
2026-04-07 22:04:13 +02:00
parent 90e507bb3e
commit f865302cb4

View File

@@ -24,23 +24,40 @@ When installed, Claude will know how to use `tea` to:
## Installation ## Installation
### Option A — install the skill folder directly Skills in Claude Code live inside plugin packages under `~/.claude/plugins/`. To install this skill, copy the `tea/` folder into a plugin's `skills/` directory.
Copy or symlink the `tea/` directory into your Claude Code skills path: ### Option A — standalone plugin (recommended)
Create a minimal plugin structure and drop the skill in:
```bash ```bash
cp -r tea ~/.claude/skills/ PLUGIN_DIR=~/.claude/plugins/cache/local-plugins/tea-skill/1.0.0
mkdir -p "$PLUGIN_DIR/skills"
cp -r tea "$PLUGIN_DIR/skills/"
``` ```
Or via a plugin that points at this repo. Then register it in `~/.claude/plugins/installed_plugins.json` under the `"plugins"` key:
### Option B — clone and reference ```json
"tea-skill@local-plugins": [{
"scope": "user",
"installPath": "/home/YOUR_USER/.claude/plugins/cache/local-plugins/tea-skill/1.0.0",
"version": "1.0.0",
"installedAt": "2025-01-01T00:00:00.000Z",
"lastUpdated": "2025-01-01T00:00:00.000Z"
}]
```
### Option B — clone and symlink
```bash ```bash
git clone https://github.com/yourname/tea-skill git clone https://github.com/yourname/tea-skill
PLUGIN_DIR=~/.claude/plugins/cache/local-plugins/tea-skill/1.0.0
mkdir -p "$PLUGIN_DIR/skills"
ln -s "$(pwd)/tea-skill/tea" "$PLUGIN_DIR/skills/tea"
``` ```
Then point your Claude Code config at the `tea/` subdirectory. Then register as above. With a symlink, pulling the repo updates the skill immediately.
## Structure ## Structure