zanei

zanei is a skill for Claude Code, Codex from KentoShimizu/zanei. It costs 89 tokens per session (1,692 once invoked), scanned A, original, Apache-2.0.

A read-only activity history for this computer, covering recently used apps, windows, files, and web pages. It keeps this information in local storage for about 48 hours and does not include screenshots.

In plain words
What is it for?
Use it to resume interrupted work, find recently viewed documents or pages, identify files and pull requests you had open, or draft a work log from recent activity.
Why use it?
It helps recover context when you cannot remember what you were working on or refer to something outside the current conversation. It can also show whether activity recording is healthy before history is used.

Skill for Claude CodeCodex

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

Good fit Use it to resume interrupted work, find recently viewed documents or pages, identify files and pull requests you had open, or draft a work log from recent activity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kentoshimizu/zanei/skills
Install

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.

Any agent
npx skills add KentoShimizu/zanei --skill skills
Clone the repo
git clone --depth 1 https://github.com/KentoShimizu/zanei

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 zanei

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kentoshimizu/zanei/skills"><img src="https://agentmods.dev/badge/skills/kentoshimizu/zanei/skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,692 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.00089 $0.01692
Opus 5.5 $0.00036 $0.00677
Sonnet 5.5 $0.00018 $0.00338
Haiku 4.5 $0.00009 $0.00169

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

Security

Grade A, and why

zanei 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 20d 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/SKILL.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Zanei

Zanei records the user's activity on this machine as OS-level events — app switches, window titles, UI interactions, Chrome URLs. Everything stays in a local store and is deleted after about 48 hours by default. Typed/copied content and text shown in windows (content snapshots) are separate opt-ins. Zanei never stores screenshots or video. When content snapshots are on, Zanei asks once for the macOS Screen Recording permission. If you grant it, Zanei reads a window's text from its pixels whenever Accessibility exposes too little of it: it captures that one window in memory, recognizes the text on this Mac with Apple Vision, keeps only the text and its on-screen layout (position and colors), and discards the image immediately. Images are never written to disk or sent anywhere. Without Screen Recording, this fallback is off.

When to use

  • The user resumes interrupted work ("continue where I left off", "what was I working on?")
  • The user asks what they recently viewed, edited, or read ("which Stripe doc was I reading?")
  • The user references something from outside this conversation that you cannot see — "that doc", "the error I saw", "the PR I reviewed this morning"
  • Drafting a standup or work log from the day's activity
  • You need context about which files, PRs, or pages the user had open before this session — including when you notice the need, without being asked

How to use

  • Start with zanei status --json. Recording is healthy only when state == "running", paused == false, and store_write_state == "healthy"; otherwise say so instead of inferring missing history.
  • To resume work: zanei timeline --since 2h --format md — a session-structured Markdown timeline sized for prompts (--token-budget to shrink it).
  • For a specific detail: zanei query with the narrowest useful --since, --types, --app, --bundle-id, and --limit filters.
  • Copied text (when the user opted in) lives in clipboard.copy events; the timeline only counts them. zanei query --types clipboard.copy --since 30m answers "what did I copy?".
  • Content snapshots exist only when zanei status --json reports capture.content_snapshot: true. Timeline sessions show only their count. Read bodies with an explicit type and the narrowest useful range and limit, for example zanei query --types content.snapshot --since 15m --limit 20.
  • Every command supports --help.

Read the full file on GitHub · 63 lines

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. 20d ago Changed · +1 lines 1f45c1fa9344
  2. 1mo ago Changed 1188f485771b
  3. 2mo ago First seen · 62 lines · 89 tokens per session scan A a3c9f6a93cfc

Subscribe to this mod's changes

zanei is a skill published in the GitHub repository KentoShimizu/zanei (5 stars, last pushed 20d ago), licensed Apache-2.0. It adds 89 tokens to every session and 1,692 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

watchdog

Arm an autonomous escalation watchdog that monitors a situation and reaches you by chat → warning → phone alert → phone call, but only when you are actually away from the laptop (judged by macOS HID idle time). Use when the user wants to be notified/called about a long-running task, deploy, script run, or any…

mohitbadwal/ringback · 96 tokens

apple-notes

Manage Apple Notes via memo CLI: create, search, edit.

NousResearch/hermes-agent · 17 tokens

channels-setup

Use when a developer wants to build their first CopilotKit Channels agent and get it answering in Slack or Microsoft Teams: "set up a channel", "connect my agent to Slack", "get my agent into Teams", or starting from nothing and wanting a working channel end to end. Covers the whole path: inspecting or scaffolding the…

CopilotKit/CopilotKit · 141 tokens

agent-initialization

Initialize or extend an Agent from a user requirement - write AGENTS.md, set identity metadata, and create, install or import Skills and hook packages (scripts the harness runs on every prompt, before tool calls, or after a task). For an Agent with an in-app workbench, pair with penguin-plugin; for a standalone…

Prism-Shadow/penguin-harness · 79 tokens

dws

A command-line guide for DingTalk, a workplace platform with chat, documents, calendars, approvals, tasks, and other business tools.

Pinvou/pinvou-agent · 193 tokens

slacrawl

Archive and search Slack workspace messages, threads, and channels via the slacrawl CLI. Supports API sync, Slack export ZIP import, local desktop cache import, and full-text search.

moltis-org/moltis · 41 tokens