chore: Replace n8n-claude-skills usages with n8n-agent-skills (#36332)

This commit is contained in:
yehorkardash 2026-08-18 14:25:44 +00:00 committed by GitHub
parent 2f2e2d9fc0
commit f7e84c9bdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 7 deletions

View File

@ -130,13 +130,14 @@ the tools assume.
## Quality skills (Claude plugin)
Claude sessions can also load the private quality skills from the
`n8n-io/n8n-claude-skills` plugin marketplace (bug insights, defect attribution,
mutation testing, and more). `post-start.mjs` installs the `quality` plugin on
each container start, so every session gets the skills with no per-session step.
`n8n-io/n8n-agent-skills` repository (bug insights, defect attribution,
mutation testing, and more). Its Claude marketplace remains named
`n8n-claude-skills`. `post-start.mjs` installs the `quality` plugin on each
container start, so every session gets the skills with no per-session step.
The private marketplace uses the codespace's own GitHub auth — no extra token.
`devcontainer.json` grants the codespace read access to
`n8n-io/n8n-claude-skills` via `customizations.codespaces.repositories`, and
`n8n-io/n8n-agent-skills` via `customizations.codespaces.repositories`, and
**each user authorizes that access once when they create the codespace** (GitHub
prompts for it, then remembers). Both repos are in the same org, which is what
lets this work.

View File

@ -24,7 +24,7 @@
"customizations": {
"codespaces": {
"repositories": {
"n8n-io/n8n-claude-skills": { "permissions": { "contents": "read" } }
"n8n-io/n8n-agent-skills": { "permissions": { "contents": "read" } }
}
}
},

View File

@ -2,7 +2,7 @@
// Runs on each codespace start. Installs the skills marketplace, starts the worker.
import { execFileSync } from 'node:child_process';
const MARKETPLACE = 'n8n-io/n8n-claude-skills';
const MARKETPLACE = 'n8n-io/n8n-agent-skills';
const PLUGIN = 'quality@n8n-claude-skills';
// The codespace clones over HTTPS and has no SSH key. The loader defaults to SSH

View File

@ -80,7 +80,7 @@ const CACHE = 'export TURBO_CACHE_DIR=/workspaces/.turbo-cache; [ -d "$TURBO_CAC
// Run the idempotent install here to block until the plugin is on disk (a fast
// no-op once cached). Mirrors the env vars post-start.mjs sets for the private
// HTTPS clone; failures are tolerated so a plugin hiccup never blocks the session.
const MARKETPLACE = 'n8n-io/n8n-claude-skills';
const MARKETPLACE = 'n8n-io/n8n-agent-skills';
const PLUGIN = 'quality@n8n-claude-skills';
const ENSURE_PLUGIN = `export CLAUDE_CODE_PLUGIN_PREFER_HTTPS=1 CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE=1; claude plugin marketplace add ${MARKETPLACE} >/dev/null 2>&1 || true; claude plugin install ${PLUGIN} >/dev/null 2>&1 || true`;