Build self-improving agent skills with cognee
UnknownWhat this workflow does
This workflow has 15 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Cognee (community).
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set Skill Parameters (Edit Fields (Set)): sets 7 fields: skill_name, dataset_name, skill_markdown…
- Ingest Skill Data (Cognee): ingest skill
- Review Skill Data (Cognee): review skill
- Evaluate Skill Improvement (If): checks a condition and branches into true / false
- Generate Improvement Proposal (Cognee): propose improvement (skill)
- Confirm No Improvement Needed (Code): runs custom JavaScript code
- Extract Proposal Data (Code): runs custom JavaScript code
- Retrieve Improvement Proposal (Cognee): get proposal (skill)
- Compile Review Packet (Code): runs custom JavaScript code
- Check Approval Status (If): checks a condition and branches into true / false
…plus 4 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-cognee is verified or supports 3.0 (used in Ingest Skill Data, Review Skill Data, Generate Improvement Proposal).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (5)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Cognee
n8n-nodes-cognee.cognee - If
n8n-nodes-base.if - Code
n8n-nodes-base.code
From the author
Quick overview A self-improving loop for agent skills, powered by the cognee Verified Node. When a skill's review scores below your threshold, it proposes a rewrite, and you approve the before/after diff before it's applied. No code required. How it works 1.…