opencode-skills-collection 4.0.6 → 4.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/bundled-skills/.antigravity-install-manifest.json +19 -1
  2. package/bundled-skills/antigravity-maintainer-batch-release/SKILL.md +15 -6
  3. package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
  4. package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
  5. package/bundled-skills/docs/maintainers/aas-agent-first-control-plane-preview-profile.md +2 -2
  6. package/bundled-skills/docs/maintainers/aas-agent-first-control-plane-v1-worklog.md +1 -1
  7. package/bundled-skills/docs/maintainers/release-process.md +15 -0
  8. package/bundled-skills/docs/maintainers/repo-growth-seo.md +3 -3
  9. package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
  10. package/bundled-skills/docs/users/aas-core.md +32 -3
  11. package/bundled-skills/docs/users/bundles.md +1 -1
  12. package/bundled-skills/docs/users/claude-code-skills.md +1 -1
  13. package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
  14. package/bundled-skills/docs/users/kiro-integration.md +1 -1
  15. package/bundled-skills/docs/users/usage.md +4 -4
  16. package/bundled-skills/docs/users/visual-guide.md +4 -4
  17. package/bundled-skills/docs/vietnamese/README.vi.md +4 -4
  18. package/bundled-skills/hf-cloud-aws-context-discovery/SKILL.md +96 -0
  19. package/bundled-skills/markstream-angular/SKILL.md +76 -0
  20. package/bundled-skills/markstream-custom-components/SKILL.md +74 -0
  21. package/bundled-skills/markstream-custom-components/references/patterns.md +14 -0
  22. package/bundled-skills/markstream-install/SKILL.md +3 -1
  23. package/bundled-skills/markstream-migration/SKILL.md +78 -0
  24. package/bundled-skills/markstream-migration/references/adoption-checklist.md +10 -0
  25. package/bundled-skills/markstream-nuxt/SKILL.md +71 -0
  26. package/bundled-skills/markstream-react/SKILL.md +74 -0
  27. package/bundled-skills/markstream-svelte/SKILL.md +68 -0
  28. package/bundled-skills/markstream-vue/SKILL.md +71 -0
  29. package/bundled-skills/markstream-vue2/SKILL.md +70 -0
  30. package/bundled-skills/markstream-vue2-cli/SKILL.md +70 -0
  31. package/bundled-skills/markstream-vue2-vite/SKILL.md +69 -0
  32. package/bundled-skills/n8n-agents/SKILL.md +301 -0
  33. package/bundled-skills/n8n-agents/references/CHAT_AGENT_PATTERNS.md +228 -0
  34. package/bundled-skills/n8n-agents/references/EXAMPLES.md +432 -0
  35. package/bundled-skills/n8n-agents/references/HUMAN_REVIEW.md +180 -0
  36. package/bundled-skills/n8n-agents/references/MEMORY.md +139 -0
  37. package/bundled-skills/n8n-agents/references/RAG.md +102 -0
  38. package/bundled-skills/n8n-agents/references/STRUCTURED_OUTPUT.md +163 -0
  39. package/bundled-skills/n8n-agents/references/SUBWORKFLOW_AS_TOOL.md +199 -0
  40. package/bundled-skills/n8n-agents/references/SYSTEM_PROMPT.md +151 -0
  41. package/bundled-skills/n8n-agents/references/TOOLS.md +199 -0
  42. package/bundled-skills/n8n-binary-and-data/SKILL.md +269 -0
  43. package/bundled-skills/n8n-binary-and-data/references/AGENT_TOOL_BINARY.md +227 -0
  44. package/bundled-skills/n8n-binary-and-data/references/BINARY_BASICS.md +187 -0
  45. package/bundled-skills/n8n-binary-and-data/references/CDN_REQUIREMENT.md +109 -0
  46. package/bundled-skills/n8n-binary-and-data/references/MERGE_FOR_CONTEXT.md +130 -0
  47. package/bundled-skills/n8n-code-tool/SKILL.md +358 -0
  48. package/bundled-skills/n8n-code-tool/references/ERROR_PATTERNS.md +178 -0
  49. package/bundled-skills/n8n-code-tool/references/INPUT_SCHEMA.md +132 -0
  50. package/bundled-skills/n8n-error-handling/SKILL.md +289 -0
  51. package/bundled-skills/n8n-error-handling/references/API_WORKFLOWS.md +256 -0
  52. package/bundled-skills/n8n-error-handling/references/ERROR_WORKFLOWS.md +178 -0
  53. package/bundled-skills/n8n-error-handling/references/NODE_ERROR_OUTPUTS.md +171 -0
  54. package/bundled-skills/n8n-error-handling/references/RESPONSE_SHAPES.md +220 -0
  55. package/bundled-skills/n8n-multi-instance/SKILL.md +208 -0
  56. package/bundled-skills/n8n-node-configuration/references/NODE_FAMILY_GOTCHAS.md +241 -0
  57. package/bundled-skills/n8n-subworkflows/SKILL.md +271 -0
  58. package/bundled-skills/n8n-subworkflows/references/NAMING_AND_DISCOVERY.md +130 -0
  59. package/bundled-skills/n8n-subworkflows/references/SUBWORKFLOW_PATTERNS.md +147 -0
  60. package/bundled-skills/using-n8n-mcp-skills/SKILL.md +193 -0
  61. package/package.json +1 -1
  62. package/skills_index.json +547 -1
@@ -0,0 +1,193 @@
1
+ ---
2
+ name: using-n8n-mcp-skills
3
+ description: Route n8n MCP workflow design, editing, validation, testing, deployment, credential, execution, and debugging tasks to specialist guidance.
4
+ risk: critical
5
+ source: https://github.com/czlonkowski/n8n-skills/tree/main/skills/using-n8n-mcp-skills
6
+ source_repo: czlonkowski/n8n-skills
7
+ source_type: community
8
+ date_added: "2026-07-21"
9
+ author: Romuald Czlonkowski
10
+ license: MIT
11
+ license_source: https://github.com/czlonkowski/n8n-skills/blob/main/LICENSE
12
+ ---
13
+
14
+ # Using the n8n-mcp Skills
15
+
16
+ ## When to Use
17
+
18
+ Use this router at the start of any n8n MCP workflow design, inspection, edit, validation, test, deployment, credential, execution, or troubleshooting task so the relevant specialist guidance is loaded first.
19
+
20
+ Begin with read-only discovery and live schema inspection. Never copy secrets into prompts or workflow fields, never infer the target instance, and obtain approval before tests with side effects, activation, deletion, credential mutation, or other externally visible changes.
21
+
22
+ This is a **router**, not a reference. It tells you which skill owns the rules for what
23
+ you're about to do. The skill bodies hold the actual guidance — invoke them with the
24
+ Skill tool. When in doubt, load more skills rather than fewer.
25
+
26
+ The community **n8n-mcp** server and n8n itself move faster than any model's training
27
+ cutoff. Tool names, parameters, node `typeVersion`s, and default behaviors drift between
28
+ releases. When you spot drift — a tool a skill names doesn't exist, a parameter shape
29
+ doesn't match what `get_node` returns, behavior differs from what a skill describes —
30
+ trust the **live tool**, tell the user, and suggest updating the pack and the instance.
31
+
32
+ ## Non-negotiables
33
+
34
+ Three rules with no exceptions. Each one prevents a class of workflow that looks correct
35
+ but breaks in production.
36
+
37
+ 1. **Invoke the relevant skill before any n8n action** — not just before MCP calls.
38
+ Before writing an expression, configuring a node, designing a workflow, wiring a
39
+ connection, or writing Code, invoke the matching skill. The PreToolUse hooks remind
40
+ you on the highest-impact tool calls *only when the plugin bundle is installed*; on
41
+ Claude.ai (plain skill uploads, no hooks) the responsibility is entirely yours.
42
+ 2. **Validate AND verify before activating.** Run `validate_workflow` (or
43
+ `n8n_validate_workflow` by id) before you activate, and call `n8n_get_workflow` after
44
+ every create or update to inspect the `connections` object. Validation alone misses
45
+ silently dropped wires, Merge index off-by-one, and error outputs that were never
46
+ wired. Validation passing means the JSON is well-formed — not that the workflow is
47
+ correct.
48
+ 3. **Secrets never go in text fields.** Tokens, API keys, and passwords always go through
49
+ the n8n credential system. If no native node exists, use the HTTP Request node with
50
+ the official credential type. A Set node holding a token referenced via `{{ $json.token }}`
51
+ is a leak with extra steps. See `n8n-mcp-tools-expert`.
52
+
53
+ ## Lean on skills, not training data
54
+
55
+ n8n changes constantly. "Remembered" parameter names are often silently wrong — they
56
+ validate as plain strings and then do nothing at runtime. Trust the skills and the live
57
+ tools (`get_node`, `search_nodes`, `tools_documentation`) over recollection. If a skill
58
+ contradicts your memory, trust the skill. If `get_node` contradicts a skill, trust the
59
+ tool and flag the drift.
60
+
61
+ ## Strong defaults
62
+
63
+ Each skill owns its own exceptions; these are the defaults.
64
+
65
+ - **The Code node is a last resort.** Expression first, then an arrow function inside Edit
66
+ Fields, then a Code node only when neither can do the job. See `n8n-code-javascript`.
67
+ - **A Set node feeding 0–1 consumers is almost always wrong.** Inline the expression at
68
+ the consumer instead. See `n8n-expression-syntax`.
69
+ - **Per-item iteration is automatic.** Don't add a Loop Over Items node to "make it loop"
70
+ when default per-item execution already handles the case.
71
+ - **Configure from the live schema, never from memory.** `get_node` before you set
72
+ parameters. See `n8n-node-configuration`.
73
+
74
+ ## Red flags: "about to ___" → invoke ___
75
+
76
+ If you catch yourself thinking any of these, stop and invoke the named skill first.
77
+
78
+ | Thought | Invoke |
79
+ |---|---|
80
+ | "This workflow is simple, I'll just build it" | `n8n-workflow-patterns` — most "simple" flows ship at 10+ nodes |
81
+ | "I'll add a Set node to map these fields" | `n8n-expression-syntax` — Set feeding ≤1 consumer is the #1 antipattern |
82
+ | "I'll just use a Code node, it's easier" | `n8n-code-javascript` — the bar is high; most reaches are expressions or Edit Fields |
83
+ | "The user mentioned data, I'll write Python" | `n8n-code-javascript` — default JS; Python (`n8n-code-python`) only on explicit ask |
84
+ | "I'm writing code an AI agent will call" | `n8n-code-tool` — a different runtime contract from the Code node |
85
+ | "Date math — I'll drop in a DateTime node" | `n8n-expression-syntax` — Luxon inline is almost always right |
86
+ | "I'll wire a Merge with 3 sources" | `n8n-node-configuration` — Merge defaults to 2 inputs; the 3rd silently drops |
87
+ | "Validation passed, I'm ready to activate" | `n8n-validation-expert` + `n8n-workflow-patterns` — run the antipattern scan |
88
+ | "Validation threw an error I don't understand" | `n8n-validation-expert` — what each error and warning means, and which are must-fix vs. best-practice advice |
89
+ | "I'll reference `$json.x` here" | `n8n-expression-syntax` — prefer `$('Node').item.json.x` in branchy workflows |
90
+ | "This webhook/scheduled flow is happy-path only" | `n8n-error-handling` — wire an error branch on every fallible node; 4xx caller faults, 5xx yours |
91
+ | "I'll pass this file/image through as JSON" | `n8n-binary-and-data` — file contents live in `$binary`, and can't cross the agent-tool boundary |
92
+ | "I'll wire up an AI agent and give the model some tools" | `n8n-agents` — tool names & descriptions ARE the prompt; memory, structured output, and topology have traps |
93
+ | "I'll copy this logic into another workflow" / "this is getting big" | `n8n-subworkflows` — extract a reusable sub-workflow; search before building |
94
+ | "I'll create that credential / open that workflow" (account has >1 instance) | `n8n-multi-instance` — every call hits the currently-targeted instance; reads misroute silently, and an ambiguous credential write fails closed with `INSTANCE_AMBIGUOUS` |
95
+
96
+ ## Skill index
97
+
98
+ | Skill | Reach for it when |
99
+ |---|---|
100
+ | `using-n8n-mcp-skills` | This router (auto-loaded). Names the skill that owns your task. |
101
+ | `n8n-mcp-tools-expert` | Choosing or calling any n8n-mcp tool; node discovery; credentials; data tables; security audit; templates |
102
+ | `n8n-workflow-patterns` | Designing or building a workflow; picking an architecture (webhook / HTTP API / database / AI agent / scheduled / batch) |
103
+ | `n8n-node-configuration` | Configuring any node; operation-aware required fields; property dependencies; surgical field edits |
104
+ | `n8n-expression-syntax` | Writing `{{ }}`, `$json`/`$node`/`$now`; mapping data between nodes; the transform gatekeeper; Set-node discipline |
105
+ | `n8n-validation-expert` | Interpreting validation errors/warnings; false positives; the validation loop; auto-fix; reviewing an existing workflow |
106
+ | `n8n-code-javascript` | Any Code node in JavaScript; data access; `this.helpers`; DateTime; SplitInBatches loop patterns |
107
+ | `n8n-code-python` | A Code node specifically requested in Python; standard-library limits |
108
+ | `n8n-code-tool` | The AI-agent-callable Custom Code Tool (`toolCode`) — returns a string, no `$fromAI`/`$input` |
109
+ | `n8n-error-handling` | Webhook/API or unattended workflows; wiring error outputs; retries; 4xx/5xx response shapes; silent failures |
110
+ | `n8n-binary-and-data` | Files, images, PDFs, attachments, uploads/downloads, vision; passing a file to/from an agent tool |
111
+ | `n8n-subworkflows` | Reusable / multi-step builds; Execute Workflow; extracting shared logic; Define-Below inputs; all-vs-each; exposing a workflow as an agent tool |
112
+ | `n8n-agents` | AI Agent / LLM-with-tools / Text Classifier; tool design & `$fromAI`; system prompts; structured output; memory; RAG; human review; chat bots |
113
+ | `n8n-multi-instance` | Accounts with multiple instances (the `n8n_instances` tool is present); switching the target instance; verifying before credential writes; recovering from an unexpected `NOT_FOUND`, wrong/empty reads, or an `INSTANCE_AMBIGUOUS` credential-write fail-close |
114
+
115
+ ## n8n-mcp tools — working knowledge from turn one
116
+
117
+ Qualified names look like `mcp__<server>__<tool>` (`<server>` is usually `n8n-mcp`). This
118
+ closes the gap where a tool's full description isn't loaded until first use.
119
+
120
+ **Discovery & docs**
121
+ - `tools_documentation` — meta-docs for every tool; `{topic:"ai_agents_guide", depth:"full"}` for the agent guide.
122
+ - `search_nodes` — find nodes by keyword.
123
+ - `get_node` — node info. Takes a single **SHORT-form** `nodeType` (`nodes-base.httpRequest`, `nodes-langchain.agent`), plus `detail` (minimal/standard/full) and `mode` (info/docs/search_properties/versions).
124
+ - `validate_node` — validate one node's config in isolation (profiles: minimal/runtime/ai-friendly/strict).
125
+ - `search_templates` / `get_template` — the template library (by keyword, nodes, task, metadata).
126
+
127
+ **Build & edit**
128
+ - `n8n_create_workflow` — create from full workflow JSON.
129
+ - `n8n_update_partial_workflow` — incremental diff ops (`{id, operations:[…]}`): addNode, updateNode, patchNodeField, addConnection, activateWorkflow, etc. Preferred for edits.
130
+ - `n8n_update_full_workflow` — full replacement.
131
+ - `n8n_autofix_workflow` — auto-fix common issues.
132
+ - `n8n_deploy_template` — deploy a template to the instance.
133
+
134
+ **Validate** (necessary, not sufficient — always pair with the antipattern scan)
135
+ - `validate_workflow` — full JSON in, errors/warnings/fixes out. Node types here are **LONG form** (`n8n-nodes-base.set`).
136
+ - `n8n_validate_workflow` — validate a deployed workflow by `{id}` (no node JSON to inspect).
137
+
138
+ **Inspect & lifecycle**
139
+ - `n8n_get_workflow` — fetch a workflow (full / structure / active / filtered / minimal). Use it to verify `connections` after edits; `mode="filtered"` + `nodeNames` reads one heavy node (e.g. long Code source) without pulling the whole workflow, which can truncate client-side.
140
+ - `n8n_list_workflows` — list/filter (search before duplicating logic).
141
+ - `n8n_delete_workflow`, `n8n_workflow_versions` (history/rollback), `n8n_instances` (multi-instance accounts only: list/switch the target instance — see `n8n-multi-instance`), `n8n_health_check` (returns the resolved `instanceName`).
142
+
143
+ **Test & run**
144
+ - `n8n_test_workflow` — runs real nodes (Code, HTTP, DB writes, sends all fire). Ask the user before running when side effects exist.
145
+ - `n8n_executions` — list/inspect executions. **There is no `execute_workflow` tool.**
146
+ - `n8n_evaluations` — read evaluation test runs (n8n ≥ 2.30): list runs, aggregated metrics, per-case results. Read-only — runs are started from the n8n editor, not the API; a 403 usually means the API key predates 2.30 (re-create it for the testRun scopes).
147
+
148
+ **Data, credentials, audit**
149
+ - `n8n_manage_datatable` — Data Table CRUD, filtering, dry-run.
150
+ - `n8n_manage_credentials` — credential CRUD + `getSchema` discovery.
151
+ - `n8n_audit_instance` — security audit (hardcoded secrets, unauthenticated webhooks, error-handling gaps).
152
+
153
+ > **Node-type form trap:** `get_node` / `validate_node` take SHORT form (`nodes-base.set`);
154
+ > workflow JSON inside `validate_workflow` / `n8n_create_workflow` uses LONG form
155
+ > (`n8n-nodes-base.set`). Mixing them is a common, silent mistake — see `n8n-mcp-tools-expert`.
156
+
157
+ ## The protocol, in order
158
+
159
+ 1. Recognize the matching skill from the index and **invoke it before the first MCP call**.
160
+ 2. Skim `tools_documentation` once per session to refresh the tool surface if you're unsure.
161
+ 3. `get_node` before configuring any node — read the live schema, don't assume.
162
+ 4. Build / edit, then **`validate_workflow` before activating** and **`n8n_get_workflow` after** to check `connections`.
163
+ 5. Surface any drift you notice (missing tool, changed parameter, diverging behavior).
164
+
165
+ ## When in doubt
166
+
167
+ - **Can't find a workflow the user built in the UI?** The most common cause is per-workflow
168
+ MCP access being off. Ask them to open it in n8n, go to Settings, and enable MCP access.
169
+ - **User says it's broken?** Believe them. Re-check parameters against `get_node`, trace
170
+ data references, inspect the execution. See `n8n-validation-expert`.
171
+ - **No skill fits and the task is non-trivial?** Ask before guessing.
172
+
173
+ These are opinionated best practices, not laws. Disagree with a call? It's all markdown —
174
+ edit the skill.
175
+
176
+ ## Example
177
+
178
+ ```yaml
179
+ request: Build a webhook that validates input, calls an API, and returns structured errors.
180
+ specialists: [n8n-workflow-patterns, n8n-node-configuration, n8n-error-handling]
181
+ sequence:
182
+ - inspect the target instance and live node schemas
183
+ - build and validate the graph
184
+ - preview side effects and obtain approval
185
+ - write changes, fetch the saved workflow with n8n_get_workflow, and revalidate
186
+ - activate and test only after approval
187
+ ```
188
+
189
+ ## Limitations
190
+
191
+ - The router describes a moving n8n MCP surface; live tool schemas and the target instance override stale examples.
192
+ - Availability of lifecycle, credential, evaluation, and multi-instance tools depends on server version and permissions.
193
+ - Routing to a specialist skill does not authorize mutations, executions, activation, deletion, or credential changes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-skills-collection",
3
- "version": "4.0.6",
3
+ "version": "4.0.8",
4
4
  "description": "OpenCode CLI plugin that automatically downloads and keeps skills up to date.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",