n8n-handoff
Skill97 starsChanged 34 days agoApache-2.0View on GitHub
Validate a runx execution context and deliver a governed payload to an n8n Cloud workflow webhook once, with exact approval and the workflow's acknowledgement receipted.
In this repository94 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- runxSkill
- adopt-skillSkill
- agencySkill
- answer-from-docsSkill
- attention-reviewSkill
- audit-receiptSkill
- brand-voiceSkill
- business-opsSkill
- chargeSkill
- chief-of-staffSkill
- cold-outreachSkill
- content-pipelineSkill
- contract-drafterSkill
- conversation-replySkill
- conversation-reviewSkill
- crm-cleanupSkill
- cve-auditSkill
- data-storeSkill
- data-subject-requestSkill
- deep-researchSkill
- diagnose-skill-runSkill
- dispute-respondSkill
- ecosystem-briefSkill
- extractSkill
- ghostwriteSkill
- github-pr-commentSkill
- github-pr-reviewSkill
- github-syncSkill
- google-analyticsSkill
- google-calendarSkill
- google-search-consoleSkill
- governed-outboundSkill
- helpdeskSkill
- incident-commanderSkill
- issue-intakeSkill
- issue-to-prSkill
- issue-triageSkill
- knowledge-routerSkill
- lead-enrichmentSkill
- lead-qualifySkill
- least-privilegeSkill
- ledgerSkill
- list-hygiene-judgeSkill
- marketplace-invokeSkill
- meeting-followupSkill
- mock-chargeSkill
- mock-paySkill
- mock-refundSkill
- moltbookSkill
- nitrosendSkill
- nws-weather-forecastSkill
- open-meteo-weather-forecastSkill
- operator-inboxSkill
- ops-deskSkill
- organic-growthSkill
- policy-authorSkill
- postmortem-makerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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 21
Use preflight for reviews, CI, and local harnesses.
- Distinctive: line 40
When present, these fields must match the top-level inputs:
- Distinctive: line 55
Only n8n Cloud hosts are reachable.
- Very specific: line 59
Do not put raw provider credentials into payload or execution_context.
- Very specific: line 61
If the workflow slug changes, update handoff_audience to the matching n8n:workflow:<slug> value.
≈ “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
n8n Handoff
Hand off governed runx work to an n8n workflow without turning n8n into the authority holder.
This skill is for the outbound side of the n8n integration story. runx owns the policy decision, execution context, and receipt. n8n owns its workflow webhook, canvas, branching, fan-out, and downstream notifications.
Runners
preflight: validates and normalizes the handoff context without network.send: validates the context and delivers it to the selected n8n workflow.
Use preflight for reviews, CI, and local harnesses; it never needs approval.
The send runner first calls native control.prepare_handoff, which validates
the execution identity and produces the canonical delivery envelope. It then
runs n8n/workflow.invoke, which posts that envelope to
https://<workspace>.app.n8n.cloud/webhook/<slug> after exact approval. The
webhook takes no credential and n8n offers no way to read a delivery back, so
the receipt records the workflow's answer with finality acknowledged, not a
confirmed readback.
Execution context
execution_context must identify where the handoff came from. Include at least
one of:
callerorcaller_idprincipalorprincipal_idworkflow,workflow_id,workflow_ref, orsource_workflowupstream_execution_idorupstream_run_id
When present, these fields must match the top-level inputs:
platformevent_ididempotency_key(bound toevent_id)handoff_scopehandoff_audience
The receiver gets the normalized delivery object, not an independently
reassembled copy of these fields. That object carries the business payload,
source context, exact handoff scope and audience, and idempotency binding the
receiver must validate before starting its workflow.
Edge cases
- Only n8n Cloud hosts are reachable. A self-hosted instance needs its own connector that declares its host.
- Anyone who knows the webhook path can post to it, so have the workflow check
handoff_scopeandhandoff_audiencebefore acting. - Do not put raw provider credentials into
payloadorexecution_context. Pass credential references or let runx hold the provider secret. - If the workflow slug changes, update
handoff_audienceto the matchingn8n:workflow:<slug>value. - The receiver must dedupe by
event_idbefore branching or sending downstream notifications.
Inputs
event_id(required): stable id for receiver-side dedupe.execution_context(required): explicit caller/workflow context.payload(required): business payload delivered to n8n.handoff_audience(optional): defaults ton8n:workflow:runx-governed-effect.webhook_hostandworkflow_slug(send runner): the n8n Cloud host and the webhook path segment that selects the workflow.
event_id is also the Runx mutation idempotency key and the value delivered as
idempotency_key; there is no second retry identity that can drift from it.
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.

