Agentrec — AI skill for Claude Code
Local, offline flight recorder for AI coding agents — a tamper-evident, revertible record of every edit and command, that never leaves your machine.
How to install Agentrec
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open nico-perales/agentrec and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agentrec does
Local, offline flight recorder for AI coding agents — a tamper-evident, revertible record of every edit and command, that never leaves your machine.
Alternatives in AI
- TokenTracker — Local-first AI token usage & cost tracker for 31 coding tools incl 1.4k ★
- Iai Personal Memory Engine — A cyber brain for your AI 866 ★
- Memory Forge Rs — Stop resetting satisfying AI chats — edit the memory instead 474 ★
README
agentrec
**A local, offline flight recorder and guardrail for AI coding agents.** It records every action an agent takes — file edits (with before/after content) and shell commands — into a tamper-evident, hash-chained log, so you can review exactly what an agent did to your machine, prove the record wasn't altered, and revert it. It can also **block** catastrophic actions before they run.
It makes **no network calls, needs no account or API key, and never transmits what it records.** Everything stays on your disk. That is the whole point: the cloud "AI observability" tools upload your agent's activity to their servers; agentrec keeps it yours.
$ agentrec log
1 21:17:13 Edit ~ src/main.rs
2 21:17:13 Bash cargo test --all
$ agentrec verify
OK — 2 entries, hash chain intact
$ agentrec diff 1
#1 src/main.rs
fn main() {
- println!("hi");
+ println!("hello, world");
}
How it works
%%{init: {'theme':'base','themeVariables':{'fontFamily':'monospace','primaryColor':'#F3F0E9','primaryBorderColor':'#A75D1E','primaryTextColor':'#1A1B18','lineColor':'#7A7B70','clusterBkg':'#FBFAF6','clusterBorder':'#CFCCC0'}}}%%
flowchart TB
subgraph M["Your machine · no network · no account · no API key · no telemetry"]
direction TB
CC["Claude Code
(has hooks)"]
OTH["Any agent or human
aider · Cursor · Cline · editor · shell"]
HOOK["agentrec hook
PreToolUse + PostToolUse"]
WATCH["agentrec watch
filesystem events · notify"]
POL["policy — guardrail
deny (block) / warn"]
REC["record
classify · snapshot before / after
via event + network"]
subgraph ST["Store · ~/.agentrec — one dir per project"]
BLOB["blobs/ — deduplicated content (sha256)"]
LOG["log.jsonl — hash-chained entries"]
HEAD["head.json — O(1) appends"]
end
TOOLS["Read / audit (CLI)
log · show · diff · verify · revert · review"]
CC --> HOOK
OTH --> WATCH
HOOK --> POL
Related Skills
Tracon
The flight recorder for AI coding agents. See every command, file edit, and package install Claude Code, Codex
Scopebond
Scopebond is an open-source checkpoint for AI coding agents (Claude Code, Cursor, MCP, GitHub) that blocks out
VLS 32M Context Local LLM
Give Claude Code, Codex and opencode a 32M-token memory that never leaves your machine. Local LLM server (MCP
Amore
Local-first AI memory backbone for IDE/agent assistants — Claude Desktop / Claude Code / Cursor / Cline / Cont
Hoshin Kanri
Hoshin Kanri X-Matrix for AI agents: an MCP server (hosted, or local JSON mode where the strategy never leaves
Sdlc Kit
Harness-neutral AI-native SDLC framework — intent grilling, sha256 tamper-evident approval gates, fresh-contex
Related Agents
Edit Planner
Produces camera-config.json from moments.json + alignment.json. Call this after record and narrate succeed and
Privacy Scanner
Last privacy gate before anything leaves the machine - YouTube metadata, social posts, shared folders or repos
Local Worker
Coding worker on a local model (Ollama, LM Studio, vLLM) served by the multi-model gateway's upstream. Use whe