Skip to content
Back to skills

Grapim

ASecurity

Use when the user asks who or which agent changed a line or file, wants to see what each agent session changed, wants to undo or revert one agent's run (or one turn) while keeping other agents' work, wants a branch of one agent's changes, wants to restore an earlier version of a file, or when an edit was blocked because another agent holds the file.

  • 5 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 15, 2026
ai-agentsshellnodegitapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add grapim/grapim --skill grapim --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Grapim?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Grapim
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/grapim-grapim/badge)](https://www.skillsdirectory.com/skills/grapim-grapim)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: grapim
description: Use when the user asks who or which agent changed a line or file, wants to see what each agent session changed, wants to undo or revert one agent's run (or one turn) while keeping other agents' work, wants a branch of one agent's changes, wants to restore an earlier version of a file, or when an edit was blocked because another agent holds the file.
---

# Grapim

Grapim records every edit each agent session makes in this repo. Use its commands to answer "who changed this" and to undo one agent's work without touching anyone else's.

Run the CLI as `node "${CLAUDE_PLUGIN_ROOT}/bin/grapim.js" <command>` from the repo. The MCP tools `list_runs`, `who_wrote`, `who_is_editing` and `recent_activity` give the same information without a shell.

- **What each agent changed:** `runs`
- **Who wrote each uncommitted line of a file:** `blame <file>`
- **Undo one agent's run** (or one turn with `--turn N`): run `undo <run>` first. It only prints the plan. Show the plan to the user, and run `undo <run> --yes` only after they agree. Other agents' later edits in the same files are kept. Files with overlapping edits are reported as conflicts and left alone.
- **Put one run's changes on its own git branch,** without touching the working tree: `branch <run>`
- **Approve or reject a run:** `review <run> --approve|--reject --note "..."`
- **Restore a file to a recorded version:** `restore <file> <sha-prefix>` prints the plan; add `--yes` to apply.
- **The review desk in the browser:** `serve --open`

If an edit was blocked because another agent holds the file, don't retry it. Work on other files, or tell the user who has it and what they are doing (`status` shows this).

Never run `undo --yes` or `restore --yes` without the user's explicit OK.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.