fidelis-memory

fidelis-memory is a skill for Claude Code from hermes-labs-ai/fidelis. It costs 63 tokens per session (408 once invoked), scanned A, original, Apache-2.0.

A local memory workflow for a coding agent. It retrieves earlier decisions and project context from a Fidelis store, a local service that saves searchable conversation facts, and records new decisions after they are settled.

In plain words
What is it for?
Use it when a task refers to past work, a named project, an earlier decision, or information that is not in the current conversation.
Why use it?
It prevents the agent from losing relevant context between turns while distinguishing an empty memory store from an unavailable one.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fidelis plugin — 1 skill, 1 MCP server shipped together

Good fit Use it when a task refers to past work, a named project, an earlier decision, or information that is not in the current conversation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hermes-labs-ai/fidelis/fidelis-memory
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hermes-labs-ai/fidelis --skill fidelis-memory
Clone the repo
git clone --depth 1 https://github.com/hermes-labs-ai/fidelis

Made for: Claude Code.

Or install fidelis, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fidelis-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/hermes-labs-ai/fidelis/fidelis-memory/github.svg)](https://agentmods.dev/skills/hermes-labs-ai/fidelis/fidelis-memory)
Your own site
<a href="https://agentmods.dev/skills/hermes-labs-ai/fidelis/fidelis-memory"><img src="https://agentmods.dev/badge/skills/hermes-labs-ai/fidelis/fidelis-memory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fidelis-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/hermes-labs-ai/fidelis/fidelis-memory"><img src="https://agentmods.dev/badge/skills/hermes-labs-ai/fidelis/fidelis-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 408 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.00408
Opus 5.5 $0.00025 $0.00163
Sonnet 5.5 $0.00013 $0.00082
Haiku 4.5 $0.00006 $0.00041

Measured 5d ago against content hash 748421d0b004, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-30, from the pricing page.

Security

Grade A, and why

fidelis-memory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

claude-plugin/skills/fidelis-memory/SKILL.md · 34 lines

What it actually says

Fidelis memory workflow

Use fidelis_recall when the current turn needs earlier evidence. Default fast recall uses local embeddings without a generative LLM. Use as_of for historical validity and mode: "thorough" for explicit hybrid retrieval.

Read the record ID and temporal status alongside the text. Superseded records remain visible as history. Quote the original wording and preserve constraints; retrieval does not authenticate a claim or prove completeness. Similarity is a ranking signal, not calibrated confidence. Empty results do not prove absence.

Use fidelis_get to fetch full text and correction links by ID. Use fidelis_recent to browse recent records or corrections. On errors, inspect fidelis_health; an unavailable or unloaded store is not an empty one. Ask the user to start the local service and Ollama when needed.

When the user intends a durable fact to be kept, call fidelis_store. To replace an earlier statement, call fidelis_correct with its ID and the replacement text. The original remains in history. Optional validity dates describe when the statement applies. Read the acknowledgement: queued is not stored, duplicate creates no new fact, and rejected writes were not accepted. Do not invent success.

Do not store secrets or content the user has excluded. Storage is local and not application-encrypted. Do not call recall for self-contained turns.

FIDELIS_PORT must match on the service and MCP process. Restart the client after upgrading to refresh its six-tool surface.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed 748421d0b004
  2. 8d ago Changed · -54 lines · -43 tokens per session cd8785a0b906
  3. 11d ago First seen · 88 lines · 106 tokens per session scan A 14275dfb901e

Subscribe to this mod's changes

fidelis-memory is a skill published in the GitHub repository hermes-labs-ai/fidelis (23 stars, last pushed today), licensed Apache-2.0. It adds 63 tokens to every session and 408 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-19.

Related

Other skills, from other repositories

knowledge-org

A guide to organising large bodies of knowledge so an AI system can navigate relationships, summaries, and layers instead of searching only flat text chunks. It covers tree indexes, knowledge graphs, file-like structures, incremental updates, and long-term memory layouts.

bojieli/ai-agent-book · 96 tokens

memory-to-skill

Turn workflows from your MemSearch memory into reusable skills. Use when the user asks to make/create/extract/distill a skill from what they just did or from past work, review skill candidates, install a distilled skill, or 'turn this into a skill'. Manages MemSearch procedural-memory candidates under…

zilliztech/memsearch · 82 tokens

install-openviking-memory

Install and configure the OpenViking long-term memory plugin for OpenClaw via natural conversation. Once installed, the plugin automatically captures facts from chats and recalls relevant context before each reply (auto-capture + auto-recall, cross-session). Covers prerequisites, install through OpenClaw's plugin…

volcengine/OpenViking · 191 tokens

setup-open-index

Install and configure Open Index as the read/write context layer for a domain-specialized agent. Use when setting up a legal, marketing, customer support, sales, infrastructure, or other domain agent with Open Index over MCP.

DrDroidLab/open-index · 48 tokens

Platos RAG

Ingest documents into the agent's long-term memory, then retrieve chunks semantically at turn-time. Five tools — ingest, retrieve, list, reindex, delete. Chunks are stored on the user's PlatosMemory rows with kind="rag" in metadata, so scope + user isolation comes for free.

winsenlabs/platos · 70 tokens

library

Sync agent memory files to a Cortex knowledge graph for enhanced retrieval, hybrid search (vector + keyword + graph), AI-powered Q&A with agentic deep research, and knowledge graph exploration.

mocaOS/cortex-app · 39 tokens