diffscope

A Claude Code plugin that creates a learning brief immediately after the agent changes code. The brief shows what changed, explains Python syntax, and traces logic and data flow.

In plain words
What is it for?
Use it to review recent code changes, see a map of affected files, understand Python constructs, and follow how data moves through the changed code.
Why use it?
It reduces the need to open each file's change list separately when you are trying to understand an agent-made patch.

Plugin for Claude Code

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.

Claude Code
/plugin marketplace add SWHee/diffscope
agentmods
npx agentmods add plugins/swhee/diffscope/diffscope
Clone the repo
git clone --depth 1 https://github.com/SWHee/diffscope

Made for: Claude Code.

Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

diffscope 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 yesterday.

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.

.claude-plugin/plugin.json · 22 lines

What it actually says

{
  "name": "diffscope",
  "homepage": "https://github.com/SWHee/diffscope",
  "repository": "https://github.com/SWHee/diffscope",
  "description": "코딩 에이전트가 코드를 바꾼 직후, 그 턴의 변경분만 자동으로 잡아내 터미널에 학습 브리핑을 출력합니다. 변경 지도 시각화 + Python 문법 해설 + 로직/데이터 흐름 추적을 한 번에 제공해, 파일마다 diff를 열어보며 따라가는 시간을 없앱니다.",
  "version": "0.1.0",
  "author": {
    "name": "geonhee"
  },
  "license": "MIT",
  "keywords": [
    "diff",
    "code-review",
    "learning",
    "python",
    "code-comprehension",
    "claude-code-plugin",
    "hooks",
    "visualization"
  ]
}
Files

What ships with it

1 file beside plugin.json in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 22 lines scan A e8b777445a60

Subscribe to this mod's changes

diffscope is a plugin published in the GitHub repository SWHee/diffscope (1 stars, last pushed 29d ago), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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.