show_diff

show_diff is a command for coding agents from Still-chowline394/MagicTeX-mcp. It costs 17 tokens per session (84 once invoked), scanned A, original, AGPL-3.0.

A command that displays a visual, side-by-side comparison of code changes, either from a saved checkpoint or from current uncommitted work.

In plain words
What is it for?
Use it to inspect the differences associated with a checkpoint or the changes currently in the working folder.
Why use it?
It makes it easier to spot what changed without reviewing files line by line.

Command

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.

agentmods
npx agentmods add commands/still-chowline394/magictex-mcp/show_diff
Clone the repo
git clone --depth 1 https://github.com/Still-chowline394/MagicTeX-mcp

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 show_diff

README.md
[![agentmods](https://agentmods.dev/badge/commands/still-chowline394/magictex-mcp/show_diff.svg)](https://agentmods.dev/commands/still-chowline394/magictex-mcp/show_diff)
Your own site
<a href="https://agentmods.dev/commands/still-chowline394/magictex-mcp/show_diff"><img src="https://agentmods.dev/badge/commands/still-chowline394/magictex-mcp/show_diff.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 84 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00017 $0.00084
Opus 5 $0.00009 $0.00042
Sonnet 5 $0.00003 $0.00017
Haiku 4.5 $0.00002 $0.00008

Measured 4d ago against content hash f5652782bf1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

show_diff 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 4d 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.

commands/show_diff.md · 9 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 4d ago First seen · 9 lines · 17 tokens per session scan A f5652782bf1c

Subscribe to this mod's changes

show_diff is a command published in the GitHub repository Still-chowline394/MagicTeX-mcp (0 stars, last pushed yesterday), licensed AGPL-3.0. It adds 17 tokens to every session and 84 once invoked, about $0.0001 per session on Opus 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 commands, from other repositories

ars-plan

ARS academic-paper plan mode — Socratic chapter-by-chapter planning.

Imbad0202/academic-research-skills · 19 tokens

ars-revision-coach

ARS academic-paper revision-coach — peer-review roadmap or source-accounted real-committee response skeleton.

Imbad0202/academic-research-skills-codex · 27 tokens

task-management

Query and update recorded planning and research portfolio state across tasks, topics, papers, outputs, submissions, venues, people, institutions, and deadlines. Use when asking what is already recorded, including institution- or venue-associated topics, or when doing daily planning and weekly review. For venue…

flonat/flonat-research · 73 tokens

init-project-course

Bootstrap a university course or module folder with the canonical teaching structure, guidance, and starter files. Use when creating or migrating a course workspace. Not for checking an existing course without modifying it; use $audit-project-course.

flonat/flonat-research · 44 tokens

latex-scaffold

Convert an existing Markdown manuscript draft into a buildable LaTeX project with canonical structure and build configuration. Use when prose already exists but no LaTeX source tree does. Not for checking template drift in an existing project; use $latex-template.

flonat/flonat-research · 50 tokens

meetings-list

List recent meetings and voice memos. Use when the user asks "what meetings did I have", "show my recent recordings", "any meetings today", "list my voice memos", or wants an overview of their meeting history. Also use when they need to find a specific meeting by browsing rather than searching.

flonat/flonat-research · 63 tokens