zettelforge

zettelforge is a skill for Claude Code, Codex from ThreatRecall/zettelforge. It costs 80 tokens per session (484 once invoked), scanned A, original, MIT.

A persistent memory system for cyber threat intelligence, which is information about attackers, vulnerabilities, tools, and campaigns. It stores reports, finds related entities, follows relationships, and produces summaries.

In plain words
What is it for?
It is for storing and recalling threat reports, looking up actors, CVEs, and tools, tracing relationships, and preparing threat-intelligence briefs.
Why use it?
It helps retain threat information across sessions instead of relying on one conversation or manually searching many reports. It can combine meaning-based search with a relationship graph and sync data from OpenCTI.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python web/app.py # http://localhost:8088.

Good fit It is for storing and recalling threat reports, looking up actors, CVEs, and tools, tracing relationships, and preparing threat-intelligence briefs.

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/ThreatRecall/zettelforge
agentmods
npx agentmods add skills/threatrecall/zettelforge/openclaw

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 zettelforge

README.md
[![agentmods](https://agentmods.dev/badge/skills/threatrecall/zettelforge/openclaw/github.svg)](https://agentmods.dev/skills/threatrecall/zettelforge/openclaw)
Your own site
<a href="https://agentmods.dev/skills/threatrecall/zettelforge/openclaw"><img src="https://agentmods.dev/badge/skills/threatrecall/zettelforge/openclaw/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 zettelforge

Your own site · 80×15
<a href="https://agentmods.dev/skills/threatrecall/zettelforge/openclaw"><img src="https://agentmods.dev/badge/skills/threatrecall/zettelforge/openclaw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 484 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.00080 $0.00484
Opus 5.5 $0.00032 $0.00194
Sonnet 5.5 $0.00016 $0.00097
Haiku 4.5 $0.00008 $0.00048

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

Security

Grade A, and why

zettelforge 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 1mo 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/openclaw-skill.md · 57 lines

What it actually says

ZettelForge v2.0.0: CTI Agentic Memory

Store, recall, and synthesize threat intelligence. All systems operational.

API

from zettelforge import MemoryManager
mm = MemoryManager()

# Store
note, status = mm.remember("APT28 uses Cobalt Strike via CVE-2024-1111", domain="cti")

# Two-phase extraction (selective, deduplicating)
results = mm.remember_with_extraction("APT28 dropped DROPBEAR", domain="cti")

# Ingest report (auto-chunks)
results = mm.remember_report(content="...", source_url="https://...", domain="cti")

# Recall (blended vector + graph + cross-encoder reranking)
results = mm.recall("What tools does APT28 use?", k=10)

# Entity lookup (O(1), alias resolution: Fancy Bear -> APT28)
mm.recall_actor("Fancy Bear")
mm.recall_cve("CVE-2024-3094")
mm.recall_tool("cobalt-strike")

# Graph traversal
paths = mm.traverse_graph("actor", "apt28", max_depth=2)

# Synthesize
result = mm.synthesize("Summarize APT28", format="synthesized_brief")

# OpenCTI sync
from zettelforge.opencti_sync import sync_opencti
stats = sync_opencti(mm, limit=50)

Web UI

python web/app.py  # http://localhost:8088

Benchmarks

Benchmark Score p50 Latency
CTI Retrieval 75.0% 111ms
LOCOMO 18.0% 157ms
RAGAS 78.1% —
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. 1mo ago First seen · 57 lines · 80 tokens per session scan A ff5f873cbb76

Subscribe to this mod's changes

zettelforge is a skill published in the GitHub repository ThreatRecall/zettelforge (66 stars, last pushed 2d ago), licensed MIT. It adds 80 tokens to every session and 484 once invoked, about $0.0003 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-09-11.