zikr

zikr is a skill for Claude Code, Codex from Cloud-Eye-Prime/mcp-agent-forge. It costs 91 tokens per session (1,023 once invoked), scanned A, original, MIT.

A conversation-memory tool that searches an index of earlier chat turns and cites the original turn and date. The index stores searchable human and assistant messages, summaries of tool calls, and related commits and paths.

In plain words
What is it for?
Use it before claiming that something was not said, when memories differ, before decisions that may repeat an earlier ruling, and after a context compaction.
Why use it?
Conversation summaries can preserve conclusions while losing the exact wording, source, or speaker. Searching the transcript helps resolve conflicting memories and recover details after context has been shortened.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python tools/thread_index.py ingest # index new transcript bytes (resumable).

Good fit Use it before claiming that something was not said, when memories differ, before decisions that may repeat an earlier ruling, and after a context compaction.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Cloud-Eye-Prime/mcp-agent-forge
agentmods
npx agentmods add skills/cloud-eye-prime/mcp-agent-forge/zikr

Made for: Claude Code, Codex.

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 zikr

README.md
[![agentmods](https://agentmods.dev/badge/skills/cloud-eye-prime/mcp-agent-forge/zikr/github.svg)](https://agentmods.dev/skills/cloud-eye-prime/mcp-agent-forge/zikr)
Your own site
<a href="https://agentmods.dev/skills/cloud-eye-prime/mcp-agent-forge/zikr"><img src="https://agentmods.dev/badge/skills/cloud-eye-prime/mcp-agent-forge/zikr/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 zikr

Your own site · 80×15
<a href="https://agentmods.dev/skills/cloud-eye-prime/mcp-agent-forge/zikr"><img src="https://agentmods.dev/badge/skills/cloud-eye-prime/mcp-agent-forge/zikr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,023 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.00091 $0.01023
Opus 5.5 $0.00036 $0.00409
Sonnet 5.5 $0.00018 $0.00205
Haiku 4.5 $0.00009 $0.00102

Measured 7d ago against content hash d939157d3193, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

zikr 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 7d 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.

skills/zikr/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Zikr: the practice of returning

Zikr is an Arabic word for remembrance as a practice: not a store you fill, but a returning you do. Paired with the Ubuntu saying "I am because we are", it names this skill in one line: to remember to remember -- I am because we are. What was said between the human and the agent is shared ground. Neither side owns it, and neither should overwrite it from memory.

Why

A long session gets compacted. A summary keeps conclusions and drops sources: what was decided survives, who said it, when, and in what words does not. The human's memory of the conversation then turns out to be right more often than the agent's summary of it. The full record still exists in the transcripts; the failure is not returning to it.

The index already exists. This skill is the habit of going back to it.

The tool

tools/thread_index.py indexes Claude Code transcripts (by default ~/.claude/projects) into SQLite full-text search: one row per turn, with the human's words, the assistant's prose, a one-line summary of each tool call, and the commits and paths it touched. Secret-shaped text is scrubbed before anything is stored.

python tools/thread_index.py ingest                      # index new transcript bytes (resumable)
python tools/thread_index.py query "words they would have used"
python tools/thread_index.py show 1234                   # the full turn: their words, the reply, tools, commits
python tools/thread_index.py rulings --since 2026-01-01  # turns that set direction

query ranks by the human's words first. It matches words, not meaning: phrase the query the way they would have said it, and try a second phrasing before concluding there is nothing.

For a fresh index without remembering to run ingest, install the optional Stop hook (tools/thread_index_hook.py; see the README). It indexes each turn as it ends.

The four moments

Query the index:

  1. Before saying "I can't find it." That sentence is a claim about the record, so check the record first. "I can't find it" after a query is a finding; before one, it is a guess.
  2. When the human's memory and yours differ. Don't argue from your summary. Look up the turn. If they were right, say so plainly.
  3. Before a decision that may repeat or contradict a past ruling. If the question has been settled before, the earlier answer and its reasons are in the record. Find them before deciding again, and before letting a reviewer's argument overturn a call the human made on purpose.
  4. Right after a context compaction. This is when sources were just dropped. Re-read the turns your summary leans on before acting on it.

Read the full file on GitHub · 86 lines

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. 7d ago First seen · 86 lines · 91 tokens per session scan A d939157d3193

Subscribe to this mod's changes

zikr is a skill published in the GitHub repository Cloud-Eye-Prime/mcp-agent-forge (27 stars, last pushed 8d ago), licensed MIT. It adds 91 tokens to every session and 1,023 once invoked, about $0.0004 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-11-19.

Related

zikr compared with skills from other repositories

zikr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
zikrCloud-Eye-Prime/mcp-agent-forgeSkill278d agoMITA91Claude Code, Codex
knowledge-ingestopenclaw/openclawSkill395ktodayMITA80Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill69kyesterdayApache-2.0A217Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill73k2d agoCC0-1.0A0Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20k8d agoMITA184Claude Code
memoryopensquilla/opensquillaSkill7.2k6d agoApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex