From f865302cb4d9cff84ca697260667d6c1831f38bf Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 7 Apr 2026 22:04:13 +0200 Subject: [PATCH] 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 --- README.md | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1b07b0f..a3d7d2c 100644 --- a/README.md +++ b/README.md @@ -24,23 +24,40 @@ When installed, Claude will know how to use `tea` to: ## 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 -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 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