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/medhovarsh/forkmind/forkmind-archivistnpx 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.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.00136 | $0.00921 |
| Opus 5 | $0.00068 | $0.00461 |
| Sonnet 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 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.
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.
- 4d 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 16d ago), licensed MIT. It adds 136 tokens to every session and 921 once invoked, about $0.0007 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
knowledge-base
Skill "knowledge-base" from Pinvou/pinvou-agent, covering ima knowledge base, operations, routing rules, examples and file upload guard.
lynkr
Universal LLM gateway with intelligent routing, Graphify code intelligence, Distill compression, routing telemetry, Code Mode, and 12+ provider support. 60-80% cost reduction for Claude Code, Cursor, and Codex.
knowledge-base
Build and maintain a company knowledge base as a wiki of interlinked markdown notes in the workspace — a private, compounding Wikipedia. Use when the user wants to start or organize a knowledge base / wiki, ingest sources (URLs, documents, pasted notes) into it, ask questions answered from it, or audit (lint) it.…
weknora-shared
Use when driving a WeKnora RAG server through the weknora CLI as an agent — authenticating, managing knowledge bases / documents / sessions / agents, running search or chat, or interpreting the CLI's JSON envelopes and exit codes. Read this before any other weknora- skill.
weknora-rag-search
Use when retrieving from or asking questions against a WeKnora knowledge base via the weknora CLI — and especially when unsure whether to use chat, session ask, or search chunks for a given goal.
plur-memory
Persistent learning for AI agents. Open engram format. Your agent learns from corrections, remembers across sessions, and transfers knowledge across domains.