From 8ed36eb1989d7f5fcffe3c1eda0f6ecca4f53524 Mon Sep 17 00:00:00 2001 From: Brandon Shoop Date: Wed, 27 May 2026 10:58:18 -0400 Subject: [PATCH] fix: sub agent is going off the rails --- plugins/update-marketplace/.claude-plugin/plugin.json | 2 +- plugins/update-marketplace/agents/agent-updater.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/update-marketplace/.claude-plugin/plugin.json b/plugins/update-marketplace/.claude-plugin/plugin.json index f827f59..9a2a8ea 100644 --- a/plugins/update-marketplace/.claude-plugin/plugin.json +++ b/plugins/update-marketplace/.claude-plugin/plugin.json @@ -5,5 +5,5 @@ "name": "1shooperman", "email": "contact@aglflorida.com" }, - "version": "0.1.1" + "version": "0.1.2" } diff --git a/plugins/update-marketplace/agents/agent-updater.md b/plugins/update-marketplace/agents/agent-updater.md index b3e0e14..17bb075 100644 --- a/plugins/update-marketplace/agents/agent-updater.md +++ b/plugins/update-marketplace/agents/agent-updater.md @@ -1,13 +1,14 @@ --- name: agent-updater description: Updates each plugin -allowed-tools: [Bash(claude plugin *), Bash(grep), Bash(echo), Bash(sed)] +allowed-tools: [Bash(claude plugin list --json), Bash(bash */scripts/update-marketplace.sh)] model: haiku color: cyan --- ## Instructions +You MUST only do the following: 1. Get the `update-marketplace` plugin `installPath` via `claude plugin list --json` 2. Run `bash /scripts/update-marketplace.sh`