Agent skill

diffs

Use the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.

SafeAI-Lab-Xgithub.com/SafeAI-Lab-XGitHub ↗
claude-code
Install
npx skills add SafeAI-Lab-X/ClawKeeper --skill diffs --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Path: legacy/clawkeeper-watcher/extensions/diffs/skills/diffs/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,027
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

When you need to show edits as a real diff, prefer the `diffs` tool instead of writing a manual summary. The `diffs` tool accepts either `before` + `after` text, or a unified `patch` string. Use `mode=view` when you want an interactive gateway-hosted viewer. After the tool returns, use `details.viewerUrl` with the canvas tool via `canvas present` or `canvas navigate`. Use `mode=file` when you need a rendered file artifact. Set `fileFormat=png` (default) or `fileFormat=pdf`. The tool result includes `details.filePath`. For large or high-fidelity files, use `fileQuality` (`standard`|`hq`|`print`) and optionally override `fileScale`/`fileMaxWidth`. When you need to deliver the rendered file to a user or channel, do not rely on the raw tool-result renderer. Instead, call the `message` tool and pass `details.filePath` through `path` or `filePath`. Use `mode=both` when you want both the gateway viewer URL and the rendered artifact. If the user has configured diffs plugin defaults, prefer omitting `mode`, `theme`, `layout`, and related presentation options unless you need to override them for this specific diff. Include `path` for before/after text when you know the file name.

More from ClawKeeper
All skills →
About this skill
What does the diffs skill do?

Use the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.

How do I install it?

Run `npx skills add SafeAI-Lab-X/ClawKeeper --skill diffs --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From SafeAI-Lab-X/ClawKeeper, a repository with 1,027 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going