Templates / Build self-improving agent skills with cognee

Build self-improving agent skills with cognee

Unknown

by Andrej Milicevic · 231 views · created 2026-06-24 · Engineering, AI Summarization

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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”.

  1. Set Skill Parameters (Edit Fields (Set)): sets 7 fields: skill_name, dataset_name, skill_markdown…
  2. Ingest Skill Data (Cognee): ingest skill
  3. Review Skill Data (Cognee): review skill
  4. Evaluate Skill Improvement (If): checks a condition and branches into true / false
  5. Generate Improvement Proposal (Cognee): propose improvement (skill)
  6. Confirm No Improvement Needed (Code): runs custom JavaScript code
  7. Extract Proposal Data (Code): runs custom JavaScript code
  8. Retrieve Improvement Proposal (Cognee): get proposal (skill)
  9. Compile Review Packet (Code): runs custom JavaScript code
  10. 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

Cognee (community)

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).
Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (5)

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.…

Excerpt from Andrej Milicevic's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.