Skip to content
Automation
Agent

episodic-memory-capture

Capture-capable memory backends must implement `EpisodicMemoryCaptureMethods`. This includes `getEntriesByContentHashes(scope, contentHashes)`. Recall-only backends do not need this method.

GuideBOOST
From plugin
n8n
208k9 skills9 agents2 commands
Install
$ npx -y skills add n8n-io/n8n --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Capture-capable memory backends must implement `EpisodicMemoryCaptureMethods`. This includes `getEntriesByContentHashes(scope, contentHashes)`. Recall-only backends do not need this method.

Agent definition

episodic-memory-capture.md

Episodic capture storage

Capture-capable memory backends must implement `EpisodicMemoryCaptureMethods`. This includes `getEntriesByContentHashes(scope, contentHashes)`. Recall-only backends do not need this method.

The lookup returns exact content-hash matches from the scope used for writes. Return all matching statuses, including dropped and superseded entries. Include each entry's embedding and embedding model when available. Do not widen the lookup to other scopes available for recall. Return an empty array when there are no matches.

The candidate processor reuses non-empty, finite embeddings from the configured model. It embeds each remaining content hash once per batch. Each candidate still saves its source evidence and completes through the existing processing path.

`saveEntryWithSources` must keep the entry and its sources in one transaction. On a content-hash conflict, keep the stored entry ID, content, creation time, and metadata. Reactivate the entry and update its sighting and mutation timestamps. Replace embedding fields when the caller supplies them. Keep stored embedding fields when the caller omits them. Replayed source links must not create new rows.

The lookup is an optimization, not a reservation. Concurrent processors can both embed content that is not stored yet. Database uniqueness and transactional writes remain the final guard against duplicate entries and partial source writes.

Read more
Ships withn8n

Fair-code platform to build and deploy AI agents and workflows. Combine a visual canvas with custom code, run it self-hosted or in the cloud, and connect to 1500+ integrations. AI automation you can trust with real work, from prototype to production.

Get the whole plugin

Other agents on n8n.

developer
Agent

developer

Use this agent for any n8n development task - frontend (Vue 3), backend (Node.js/TypeScript), workflow engine, node creation, or…

@n8n-io@n8n-ioInstall Agent
prompt-caching
Agent

prompt-caching

`Agent.promptCaching()` generates provider-specific `providerOptions` for Anthropic, Claude on OpenRouter and Vertex, and OpenAI.…

@n8n-io@n8n-ioInstall Agent
BUILT_IN_TOOLS
Agent

BUILT_IN_TOOLS

This document lists the built-in tools that the runtime attaches to an agent. It explains what each tool does and when the…

@n8n-io@n8n-ioInstall Agent