From 0cfdde46c67606ff0cbe6bc71439812734b8ad50 Mon Sep 17 00:00:00 2001 From: gavrielc Date: Tue, 10 Mar 2026 22:59:23 +0200 Subject: [PATCH] fix: remove claude plugin marketplace commands (skills are local now) Co-Authored-By: Claude Opus 4.6 --- .claude/settings.json | 11 +---------- .claude/skills/customize/SKILL.md | 7 +------ .claude/skills/setup/SKILL.md | 28 ++++++++-------------------- 3 files changed, 10 insertions(+), 36 deletions(-) diff --git a/.claude/settings.json b/.claude/settings.json index f859a6d..0967ef4 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -1,10 +1 @@ -{ - "extraKnownMarketplaces": { - "nanoclaw-skills": { - "source": { - "source": "github", - "repo": "qwibitai/nanoclaw-skills" - } - } - } -} +{} diff --git a/.claude/skills/customize/SKILL.md b/.claude/skills/customize/SKILL.md index 13b5b89..614a979 100644 --- a/.claude/skills/customize/SKILL.md +++ b/.claude/skills/customize/SKILL.md @@ -9,12 +9,7 @@ This skill helps users add capabilities or modify behavior. Use AskUserQuestion ## Workflow -1. **Install marketplace** - If feature skills aren't available yet, install the marketplace plugin: - ```bash - claude plugin install nanoclaw-skills@nanoclaw-skills --scope project - ``` - This is hot-loaded — all feature skills become immediately available. -2. **Understand the request** - Ask clarifying questions +1. **Understand the request** - Ask clarifying questions 3. **Plan the changes** - Identify files to modify. If a skill exists for the request (e.g., `/add-telegram` for adding Telegram), invoke it instead of implementing manually. 4. **Implement** - Make changes directly to the code 5. **Test guidance** - Tell user how to verify diff --git a/.claude/skills/setup/SKILL.md b/.claude/skills/setup/SKILL.md index 18515f6..d173927 100644 --- a/.claude/skills/setup/SKILL.md +++ b/.claude/skills/setup/SKILL.md @@ -122,19 +122,7 @@ AskUserQuestion: Claude subscription (Pro/Max) vs Anthropic API key? **API key:** Tell user to add `ANTHROPIC_API_KEY=` to `.env`. -## 5. Install Skills Marketplace - -Register and install the NanoClaw skills marketplace plugin so all feature skills (channel integrations, add-ons) are available: - -```bash -claude plugin marketplace add qwibitai/nanoclaw-skills -claude plugin marketplace update nanoclaw-skills -claude plugin install nanoclaw-skills@nanoclaw-skills --scope project -``` - -The marketplace update ensures the local cache is fresh before installing. This is hot-loaded — no restart needed. All feature skills become immediately available. - -## 6. Set Up Channels +## 5. Set Up Channels AskUserQuestion (multiSelect): Which messaging channels do you want to enable? - WhatsApp (authenticates via QR code or pairing code) @@ -164,16 +152,16 @@ Each skill will: npm install && npm run build ``` -If the build fails, read the error output and fix it (usually a missing dependency). Then continue to step 7. +If the build fails, read the error output and fix it (usually a missing dependency). Then continue to step 6. -## 7. Mount Allowlist +## 6. Mount Allowlist AskUserQuestion: Agent access to external directories? **No:** `npx tsx setup/index.ts --step mounts -- --empty` **Yes:** Collect paths/permissions. `npx tsx setup/index.ts --step mounts -- --json '{"allowedRoots":[...],"blockedPatterns":[],"nonMainReadOnly":true}'` -## 8. Start Service +## 7. Start Service If service already running: unload first. - macOS: `launchctl unload ~/Library/LaunchAgents/com.nanoclaw.plist` @@ -203,23 +191,23 @@ Replace `USERNAME` with the actual username (from `whoami`). Run the two `sudo` - Linux: check `systemctl --user status nanoclaw`. - Re-run the service step after fixing. -## 9. Verify +## 8. Verify Run `npx tsx setup/index.ts --step verify` and parse the status block. **If STATUS=failed, fix each:** - SERVICE=stopped → `npm run build`, then restart: `launchctl kickstart -k gui/$(id -u)/com.nanoclaw` (macOS) or `systemctl --user restart nanoclaw` (Linux) or `bash start-nanoclaw.sh` (WSL nohup) -- SERVICE=not_found → re-run step 8 +- SERVICE=not_found → re-run step 7 - CREDENTIALS=missing → re-run step 4 - CHANNEL_AUTH shows `not_found` for any channel → re-invoke that channel's skill (e.g. `/add-telegram`) -- REGISTERED_GROUPS=0 → re-invoke the channel skills from step 6 +- REGISTERED_GROUPS=0 → re-invoke the channel skills from step 5 - MOUNT_ALLOWLIST=missing → `npx tsx setup/index.ts --step mounts -- --empty` Tell user to test: send a message in their registered chat. Show: `tail -f logs/nanoclaw.log` ## Troubleshooting -**Service not starting:** Check `logs/nanoclaw.error.log`. Common: wrong Node path (re-run step 8), missing `.env` (step 4), missing channel credentials (re-invoke channel skill). +**Service not starting:** Check `logs/nanoclaw.error.log`. Common: wrong Node path (re-run step 7), missing `.env` (step 4), missing channel credentials (re-invoke channel skill). **Container agent fails ("Claude Code process exited with code 1"):** Ensure the container runtime is running — `open -a Docker` (macOS Docker), `container system start` (Apple Container), or `sudo systemctl start docker` (Linux). Check container logs in `groups/main/logs/container-*.log`.