sc-n8n
Skill13 starsChanged 2 months agoMITView on GitHub
Drive a user-configured self-hosted or cloud n8n instance through the official @n8n/cli. List, inspect, create, update, activate, and verify workflows; inspect executions; manage projects, tags, variables, data tables, and packages without assuming a specific server, deployment platform, or account.
- Reads credentials
- Installs packages
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- si-coderSkill
- sc-allSkill
- sc-axSkill
- sc-buildSkill
- sc-cfSkill
- sc-clerkSkill
- sc-convex-cloudSkill
- sc-convexSkill
- sc-dokploySkill
- sc-dokuSkill
- sc-dxSkill
- sc-feSkill
- sc-gitSkill
- sc-helpSkill
- sc-installSkill
- sc-onboardingSkill
- sc-providerSkill
- sc-resendSkill
- scSkill
- sc-skillSkill
- sc-stripeSkill
- sc-supabaseSkill
- sc-syncSkill
- sc-uiSkill
- sc-uxSkill
- sc-vercelSkill
- use-si-coderSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Use the official @n8n/cli binary (n8n-cli) against the user-selected n8n instance.
- Very specific: line 48
Every command supports --help.
- Distinctive: line 87
Do not assume backups live in a particular directory or that n8n is deployed with a particular provider.
- Distinctive: line 93
verify the workflow after the mutation.
- Distinctive: line 97
Read before write; use dry-run functionality when the installed subcommand provides it.
- Distinctive: line 99
Never bulk-edit workflows based on names alone when IDs can disambiguate them.
- Distinctive: line 100
Never assume production webhooks, workflows, projects, credentials, URLs, or backup paths from repository documentation.
- Very specific: line 101
Treat CLI capabilities as version-dependent.
- Distinctive: line 102
Keep credentials outside memory, evidence, recipes, logs, and tool payloads.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
sc-n8n — n8n control via @n8n/cli
Use the official @n8n/cli binary (n8n-cli) against the user-selected n8n instance. Do not assume a fixed hostname, backup location, deployment platform, shell profile, project, or workflow set.
Required connection state
| Setting | Purpose |
N8N_URL | Base URL of the selected n8n instance, for example https://n8n.example.com |
N8N_API_KEY | Public API key for that instance; keep it in the selected SI-Coder credential store or another secure local source |
~/.n8n-cli/config.json | Optional CLI-local configuration; never treat it as the only possible source of truth |
Install the binary only when needed:
npm i -g @n8n/cli
# or use: npx @n8n/cli ...Auth resolution
When diagnosing which account/instance is active, inspect explicit CLI flags first, then environment variables, then CLI config. Environment variables can override a value saved in the CLI config, so a newly written config value may appear ignored when an older environment variable is still present.
If the API returns 401 or an invalid-signature error, do not guess that the header format is wrong. Verify the selected instance/account, then create or rotate an API key from the official n8n UI and store it through the safe SI-Coder credential handoff. Never print the key during verification.
Connect / verify
n8n-cli config show
n8n-cli workflow list --format=id-onlyA successful read-only workflow listing is the preferred smoke check before mutations.
Command surface
Every command supports --help. Common output formats are table, json, and id-only when supported by the installed CLI version.
| Topic | Typical commands |
workflow | list · get · create · update · delete · activate · deactivate · tags · transfer |
execution | list · get · retry · stop · delete |
credential | list · get · schema · create · delete · transfer |
project | list · get · create · update · delete · members |
tag | list · create · update · delete |
variable | list · create · update · delete |
data-table | list · get · create · delete · rows operations |
user | list · get |
config | set-url · set-api-key · show |
source-control | pull |
package | export · import when supported by the installed CLI |
audit / auth | inspect with --help because availability can vary by CLI version |
Safe recipes
# inspect before changing
n8n-cli workflow list
n8n-cli workflow get <id> --format=json
# recent failures
n8n-cli execution list --status=error --limit=10
# create from reviewed JSON
cat workflow.json | n8n-cli workflow create --stdin
# inspect a credential schema before creating metadata
n8n-cli credential schema <credentialType>
# portable workflow package when supported
n8n-cli package export --workflow-id=<id> --output=export.n8npBackup / restore policy
Do not assume backups live in a particular directory or that n8n is deployed with a particular provider. Before a destructive or broad workflow change:
- identify the selected n8n instance;
- inspect the affected workflow/project IDs;
- export the relevant workflow/package when the CLI supports it, or use the deployment provider's existing backup mechanism;
- record an Evidence Receipt for high-risk changes;
- verify the workflow after the mutation.
Rules
- Read before write; use dry-run functionality when the installed subcommand provides it.
- Require explicit confirmation for delete, bulk deactivate, transfer, or other destructive/broad operations.
- Never bulk-edit workflows based on names alone when IDs can disambiguate them.
- Never assume production webhooks, workflows, projects, credentials, URLs, or backup paths from repository documentation.
- Treat CLI capabilities as version-dependent; check
n8n-cli <command> --helpwhen behavior matters. - Keep credentials outside memory, evidence, recipes, logs, and tool payloads.
Linked SI-Coder skills
sc-dokploymay be used when the user-selected n8n deployment actually runs on Dokploy.sc-gitmay help when a workflow is intentionally replaced by a repository-native automation.
These are optional internal SI-Coder capabilities, not external project dependencies.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

