Memory vs Skill: Declarative Memory and Procedural Memory
Summary
Memory retains facts; Skills retain reusable methods. They need separate management because their loading time, format, and pace of change differ: a memory snapshot provides background at session start, while skill procedures are read on demand. Facts are short entries; methods contain steps and constraints. A PR description example shows how they work together.
Why these two concepts keep getting confused
If Hermes Agent has one design that is especially easy to misread, it is the clean separation of Memory and Skill.
Most people's first reaction is three questions:
- "Aren't they both long-term memory? Why split them?"
- "They're both Markdown, so why not put them together?"
- "Remembering 'the agent-demo frontend runs on a local dev port' and remembering 'summarize first, then list changes when writing a PR description' — isn't that the same thing?"
The short answer: because the human brain splits them too.
1. Cognitive science already made this distinction: declarative vs procedural
Psychology has long distinguished two kinds of long-term memory:
| Type | Definition | Example | How it is invoked |
|---|---|---|---|
| Declarative | Facts you can state | "I live in Beijing", "React 18 introduced concurrent rendering" | By being stated |
| Procedural | Skills you can perform but may not be able to explain | Riding a bike, touch typing, writing a well-structured PR description | By being executed |
These two kinds of memory differ in how they are stored, invoked, and updated: declarative memory can be verbalized (the verbal channel), while procedural memory is mostly performed (the motor channel). In psychology experiments, patients with hippocampal damage have severely impaired declarative memory yet can still learn procedural tasks such as mirror writing — two independent pathways, not two expressions of one pathway.
Hermes Agent ports that distinction straight into its system design:
- Memory (
memories/,MEMORY.md): the agent's declarative memory. - Skill (
skills/): the agent's procedural memory.
2. Memory: what the agent can state
The memory system stores facts, events, conclusions, and preferences:
- "Jasmin is working on the global site for agent-demo."
- "Last week the hero section was changed to an animated gradient."
- "The project runs on Next.js, with the frontend dev server on a local dev port."
Its characteristics:
- Declarative: exists as short sentences and entries that can be cited directly into a prompt.
- Session context:
MEMORY.mdandUSER.mdare loaded as a snapshot at session start. - Kept current: use
add,replace, andremoveto maintain entries.
Think of Memory as the agent's notebook — one lying open on the desk, filled with specific facts.
3. Skill: what the agent can do
A Skill stores a reusable procedure in SKILL.md. The Agent selects it from its description and reads it on demand, or the user invokes it explicitly. A description is not a guarantee of automatic activation on every matching task.
---
name: pr-description-format
description: Format a pull request description with scope and verification.
---
# Standard procedure for writing a PR description
1. Summarize the goal of the change in one sentence
2. List the changes (grouped by module)
3. Blast radius
4. Testing status
5. Related issue / rollback planIts characteristics:
- Procedural: exists as "when to trigger + how to do it", close to a reusable SOP.
- Used on demand: select a skill for the task and read its steps, or invoke it explicitly.
- Relatively stable: once a Skill settles, it usually stays put; what changes is the scenarios and material in Memory that bind to it.
Think of Skill as the agent's muscle memory — no recall needed, the motion just happens.
Hermes users can also run /learn to have the agent distill "the part of this session worth codifying" into a new SKILL.md — much like a mentor passing a method to an apprentice.
4. "Why not merge them?" — three hard constraints
Someone will ask: they are both Markdown, both long-term memory, so why not put them together?
Because it does not work. The reasons resemble the three constraints that keep USER.md and MEMORY.md apart, but they are even stronger here.
Constraint 1: different triggers
- Memory supplies the background first: the initial snapshot provides project facts and user preferences without waiting for a keyword match.
- Skills supply the method when needed: a PR task reads the PR procedure; unrelated tasks do not need all of those steps in their context.
Merged, the agent would lose track of whether it is citing a fact or following a procedure.
Constraint 2: different forms
- Memory is short sentences, facts, entries ("[2026-07-30] agent-demo frontend local dev port").
- Skill is procedure, template, constraint, usually with YAML frontmatter plus "step 1 / 2 / 3" ordering.
Packed together, the agent cannot tell "is this background, or something I should be executing right now?"
Constraint 3: different rates of change
- Memory changes every day (a single session may append one or two entries).
- A Skill can sit unchanged for months (an SOP for PR descriptions needs no edits for half a year).
Putting them together lets high-frequency factual entries wash away the stable SOP — like binding a constitution and a desk calendar into the same notebook.
5. A real scenario: /learn and Memory working together
Suppose you tell the agent:
"From now on our team writes PR descriptions in this format: one-sentence summary, list of changes, blast radius, testing status. Also, remember that this project is called agent-demo and the frontend runs on a local dev port."
A well-trained Hermes Agent handles that as follows:
- First half → use
/learnto capture the team’s PR procedure inskills/pr-description-format/SKILL.md. - Second half → the
addatomic operation, writing one Memory entry:- [2026-07-30] agent-demo: frontend dev server on a local dev port.
Next time you say "write me a PR description", the agent will:
- Use saved facts: the new session’s memory snapshot supplies the project name
agent-demoand the recorded development environment. - Select and read the method: read
pr-description-format/SKILL.mdon demand for the team’s structure and checks. - Combine both: producing a PR description that follows the team standard and fits the specific project.
Remembering facts plus remembering procedures is what makes the result better than the sum of its parts.
6. Skill Bundles and fallback_for_toolsets
Hermes adds two layers of organization on top of Skills:
- Skill Bundle: related Skills are packaged as a group. A "release pipeline" bundle might contain
pre-release-checklist,changelog-format, anddeploy-rollback, enabled, disabled, or shared as a unit. metadata.hermes.fallback_for_toolsetscontrols visibility according to toolset availability: the skill is shown when the toolset is missing and hidden when it is available. It does not execute a recovery workflow after a tool call fails. Hermes Skills.
Together these turn Skills from single-point SOPs into composable working methodology — an entire way of working that a user brings to the agent, captured as shareable assets.
7. Not a new idea, but rarely implemented properly
Layering factual and procedural memory has been discussed in AI circles for a long time. Actually engineering it, and making it visible, editable, and reusable by users, is where Hermes is relatively far ahead — it maps every layer to concrete directories, fields, and commands:
| Capability | Memory side | Skill side |
|---|---|---|
| Primary directory | ~/.hermes/memories/ | ~/.hermes/skills/ |
| Prompt-layer entry | MEMORY.md, USER.md | Read skill procedures on demand |
| Capture commands | add / replace / remove | /learn |
| Organization | MEMORY.md / USER.md | A single SOP plus Bundles and fallback_for_toolsets |
| Rate of change | Daily | Months |
Hermes memory and skill write approval depends on configuration. With the corresponding write_approval enabled, /memory pending or /skills pending lists staged writes. Approval is optional, not a mandatory step for every write by default.
Bring that layering into a product context and you get a shape with real potential:
- Memory is the shared archive between you and the agent.
- Skill is the working methodology you bring to the agent.
Together, those two make the agent a partner that understands you and knows how to work — not a chatbot with a decent memory.
8. LightVela: turning both Memory and Skill into user assets
Hermes already made the Memory / Skill split usable in engineering terms, but it is still Markdown for developers. LightVela's approach is to raise that layer from a technical feature to a user asset:
- Skill — Use the current Bot’s Skills page to view, install, and manage available skills. Follow the sources and actions shown there, then verify the installed skill with a real task.
- Memory — Inspect saved content on the current Bot’s Memory page and check the result after a change. A conversational claim that something was remembered does not prove a successful write.
- Accumulate separately: memories and skills belong to the current Bot. Cloning can copy their state at creation time; later changes are independent, not live team sharing.
- Verify each asset: inspect the saved fact on the Memory page, then ask about it in a new session. Test a skill with real work and check that its tools and permissions are available.
In other words, training an agent on LightVela means accumulating two assets at once: the Memory about you, and your collection of Skills. Those two assets are what belong to you long term — they matter more than the model itself.
Key takeaways
- Memory ≠ Skill. The first is declarative memory (facts that can be stated), the second is procedural memory (methods that get performed).
- Three hard constraints keep them separate: different triggers / different forms / different rates of change.
- A mature agent has to walk on both legs — remembering facts and remembering methods.
- LightVela turns both into user assets, so "training your own agent" becomes a product experience you can build on rather than a slogan.
Where this leaves us
Across this category, five articles cover the ground:
- Capabilities, configuration and deployment differences between Hermes Agent and OpenClaw
- How Hermes Agent remembers you (four structured memory layers)
- Why Hermes Agent splits memory in two (
USER.mdvsMEMORY.md) - Why more memory is not better: how Hermes Agent filters, curates, and updates long-term memory (four iron rules)
- Memory is not Skill: how factual and procedural memory differ (walking on both legs)
One line to close: the moat for the next generation of agents is not model size, but whether an agent genuinely knows you (Memory) and has a method (Skill) — and whether those two can run reliably over the long term comes down to whether it stays alive. That is exactly why LightVela exists.
Last updated 2026-11-15
Hermes Agent Long-Term Memory Curation: Four Iron Rules for "Few but Precise"
Break down the four iron rules — bounded, frozen, transparent, self-consolidating — that keep Hermes Agent long-term memory precise rather than bloated.
Can You Replace Hermes Agent's Brain? Model Layer vs Agent Layer
Learn which responsibilities belong to the model and which stay with the Agent, including identity, memory, tools, channels, and scheduled work.