nico-perales

Agentrec — AI skill for Claude Code

AI community

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

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