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 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/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.
<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="Reviewed on agentmods" width="80" 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.1 | $0.00021 | $0.00439 |
| Opus 5.5 | $0.00008 | $0.00176 |
| Sonnet 5.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 3mo 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.
- 3mo 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 (14 stars, last pushed 3mo ago), licensed MIT. It adds 21 tokens to every session and 439 once invoked, about $0.0001 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-08-31.
cognitive-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cognitive-memoryS3YED/appie-kit | Skill | 14 | 3mo ago | MIT | A | 21 | Claude Code, Codex |
| emerging-techniques-long-contextdavila7/claude-code-templates | Skill | 35k | today | MIT | A | 78 | Claude Code, Codex |
| hive.note-takingaden-hive/hive | Skill | 11k | yesterday | Apache-2.0 | A | 30 | Claude Code, Codex |
| vellum-memory-v3-migrationvellum-ai/vellum-assistant | Skill | 1.5k | 5d ago | MIT | A | 63 | Claude Code, Codex |
| hive-mind-advancedfrankxai/claude-skills-library | Skill | 51 | yesterday | MIT | A | 47 | Claude Code |
| ccc-memoryKevinZai/commander | Skill | 6 | yesterday | MIT | A | 55 | Claude Code, Codex |
| context-mgmtariaxhan/kernel-claude | Skill | 16 | yesterday | MIT | A | 37 | Claude Code |