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.
npx agentmods add skills/s3yed/appie-kit/cognitive-memorynpx skills add S3YED/appie-kit --skill cognitive-memorygit clone --depth 1 https://github.com/S3YED/appie-kitWrote 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.
[](https://agentmods.dev/skills/s3yed/appie-kit/cognitive-memory)<a href="https://agentmods.dev/skills/s3yed/appie-kit/cognitive-memory"><img src="https://agentmods.dev/badge/skills/s3yed/appie-kit/cognitive-memory.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00021 | $0.00439 |
| Opus 5 | $0.00010 | $0.00219 |
| Sonnet 5 | $0.00004 | $0.00088 |
| Haiku 4.5 | $0.00002 | $0.00044 |
Grade A, and why
cognitive-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 4d 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.
What it actually says
Cognitive Memory (Cognify)
The Cognitive Memory system (PR #727, codenamed "Cognify") provides Hermes Agent with semantic recall, auto-encoding, contradiction detection, and exponential forgetting.
Architecture
cognitive_memory/: Core logic (store, embeddings, recall, encoding, extraction).tools/cognitive_memory_tool.py: Agent-facingcognitive_recalltool.- Database:
~/.hermes/cognitive_memory.db(SQLite).
Setup & Configuration
Enable in ~/.hermes/config.yaml:
cognitive_memory:
enabled: true
embedding:
model: "text-embedding-3-small"
Known Issues & Workarounds
Dependency: litellm
Cognify depends on litellm. On macOS systems with Homebrew Python, you may encounter pyexpat errors related to Symbol not found: _XML_SetAllocTrackerActivationThreshold.
Fix:
export DYLD_LIBRARY_PATH=/opt/homebrew/opt/expat/lib
python3.13 -m pip install litellm --break-system-packages
Manual Installation (from PR branch)
If the system is not yet merged, files must be extracted from the cognitive-memory branch:
git fetch origin pull/727/head:cognitive-memorygit show cognitive-memory:path/to/file > path/to/file- Tools must be registered in
tools/registry.py(standard auto-discovery usually handles this ifcognitive_memory_tool.pyis in thetools/dir).
Tool usage: cognitive_recall
action='store', content='...': Saves to semantic memory.action='recall', query='...': Retrieves by meaning.action='forget', query='...': Deletes matching items.action='status': Shows database stats.
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.
- 4d ago First seen · 51 lines · 21 tokens per session scan A 4346b09984e0
cognitive-memory is a skill published in the GitHub repository S3YED/appie-kit (7 stars, last pushed 8d ago), licensed MIT. It adds 21 tokens to every session and 439 once invoked, about $0.0001 per session on Opus 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-08-31.
Other skills, from other repositories
remember
Recall what was actually said or decided earlier — across daily summaries, the conversation buffer, files people sent, live sessions and scheduled runs. Use whenever someone refers to prior context ("what did we decide", "last time", "as I said", "the file I sent you", "what did you tell me"), or for any synonym of…
bot-state
Show where this bot's memory actually lives — state root, summaries, attachments, outbox, buffer, sessions — and what is in each. Use when asked where files go, why a summary or attachment is missing, or to check the bot's storage layout.
knowledge
Capture and structure institutional knowledge before it is lost. Activate for: institutional knowledge, knowledge capture, knowledge transfer, knowledge base article, knowledge management, preserve knowledge, what do they know, departing employee knowledge, exit knowledge, succession knowledge, tacit knowledge…
workplace-context
Activate for: workplace memory, person brief, team profile, organisation profile, add person, add project, add terminology, four-layer memory, communication style, stakeholder brief, post-meeting memory revision, who works on, team directory, revise workplace memory, organisation context. NOT for: basic memory CRUD…
setup
Activate for: configure agentic office, install agentic office, agentic office orientation, two-plugin architecture, create work.local, initialise workplace memory, agentic office getting started, configure agents, workplace configuration. NOT for: official productivity plugin setup (use /productivity:start).
context-loader
Activate for: load context, inject context, cross-domain context, context for this endeavour, relevant background, multi-domain context, what context do I need, before I work on this, context from HR, context from finance, context from ops, combine context, cross-domain brief, what should I know before starting. NOT…