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 Medhovarsh/forkmind --skill forkmind-archivistgit clone --depth 1 https://github.com/Medhovarsh/forkmindWrote 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/medhovarsh/forkmind/forkmind-archivist)<a href="https://agentmods.dev/skills/medhovarsh/forkmind/forkmind-archivist"><img src="https://agentmods.dev/badge/skills/medhovarsh/forkmind/forkmind-archivist/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/medhovarsh/forkmind/forkmind-archivist"><img src="https://agentmods.dev/badge/skills/medhovarsh/forkmind/forkmind-archivist.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.00136 | $0.00921 |
| Opus 5.5 | $0.00054 | $0.00368 |
| Sonnet 5.5 | $0.00027 | $0.00184 |
| Haiku 4.5 | $0.00014 | $0.00092 |
Grade A, and why
forkmind-archivist 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ForkMind Archivist — offload context as an encrypted DAG
Industry context managers treat a full window as a cache-eviction problem: truncate and lose it. ForkMind capsules invert that — persist first, verify, then compact. Nothing is dropped until it is provably on disk.
Core loop
| Step | Tool | Rule |
|---|---|---|
| 1. Save | forkmind_context_save |
Pass items + a digest YOU write (≤5 lines, decision-relevant) |
| 2. Verify | forkmind_context_digest |
Re-reads from disk. Save is not real until this succeeds |
| 3. Compact | (your window) | Replace archived material with one handle line |
| 4. Probe | forkmind_context_digest |
Later: check the digest before restoring anything |
| 5. Restore | forkmind_context_restore |
Full, or segmentIds for just one piece |
| 6. Forget | forkmind_context_forget |
Irreversible crypto-shred; explicit user ask + confirm: <id> only |
| 7. Move | forkmind_context_export / _import |
Portable passphrase-encrypted bundle for another machine/project |
Handle line to keep in the window after compacting:
[capsule 9f3ac21b7e04 · "auth-refactor context" · restore via forkmind_context_restore]
When to offload
- Window pressure: long session, old turns no longer active.
- Finished sub-topics: debugging concluded, decision recorded.
- Bulk payloads: file dumps, test logs, tool transcripts already acted on.
- User privacy: sensitive material that should leave the window — save it without a digest (private capsule; manifest carries structure only).
Do NOT offload: the current task's active instructions, unresolved questions, or anything needed in the next few turns.
Guarantees (why this is safe)
- Immutable + acyclic by construction — segments are content-addressed
(hash over content + parents, Git-style), so capsules cannot be edited or
contain cycles;
forkmind context verify <id>re-proves it. - No plaintext at rest — AES-256-GCM per-capsule keys; the master key
lives outside
.forkmind/(~/.forkmind-keys/), so a committed.forkmind/leaks only ciphertext. - Crypto-shred delete — forgetting destroys the key first; backups of the ciphertext stay unreadable. Tombstones stop id resurrection.
- Local-first — no cloud, no account, no telemetry; the underlying model and provider are never touched (this all happens in what the client sends).
- RAID redundancy — if
forkmind context replicas add <path>targets are configured, capsules mirror automatically (ciphertext only, never keys) and restore self-heals from replicas on primary loss/corruption. Check health withforkmind_context_replicas; after a forget with unreachable replicas, run a sync once they return.
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.
- 2mo ago First seen · 77 lines · 136 tokens per session scan A 42d90f4cd59c
forkmind-archivist is a skill published in the GitHub repository Medhovarsh/forkmind (3 stars, last pushed 2mo ago), licensed MIT. It adds 136 tokens to every session and 921 once invoked, about $0.0005 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.
forkmind-archivist compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| forkmind-archivistMedhovarsh/forkmind | Skill | 3 | 2mo ago | MIT | A | 136 | Claude Code |
| knowledge-basePinvou/pinvou-agent | Skill | 2.9k | today | MIT | A | 0 | Claude Code, Codex |
| notesPinvou/pinvou-agent | Skill | 2.9k | today | MIT | A | 0 | Claude Code, Codex |
| weknora-sharedTencent/WeKnora | Skill | 37k | 5d ago | none | A | 68 | Claude Code, Codex |
| weknora-rag-searchTencent/WeKnora | Skill | 37k | 5d ago | none | A | 54 | Claude Code, Codex |
| plur-create-engramsplur-ai/plur | Skill | 313 | today | Apache-2.0 | A | 66 | Claude Code, Codex |
| plur-memoryplur-ai/plur | Skill | 313 | today | Apache-2.0 | A | 31 | Claude Code |