diff-project

diff-project is a skill for Claude Code from luiseiman/dotforge. It costs 25 tokens per session (652 once invoked), scanned A, original, MIT.

A comparison tool for a dotforge project, showing changes since its last synchronization. It checks recorded file versions and hashes, which are fingerprints used to detect file changes.

In plain words
What is it for?
Use it to inspect a project's synchronization baseline, find local changes, review newer dotforge changes, and decide whether to run a sync.
Why use it?
It helps you see whether the project or dotforge has changed before deciding whether synchronization is needed. It also identifies modified or deleted managed files.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Part of the dotforge plugin — 25 skills, 25 commands, 7 agents, 8 hooks shipped together

Good fit Use it to inspect a project's synchronization baseline, find local changes, review newer dotforge changes, and decide whether to run a sync.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luiseiman/dotforge/diff-project
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 luiseiman/dotforge --skill diff-project
Clone the repo
git clone --depth 1 https://github.com/luiseiman/dotforge

Made for: Claude Code.

Or install dotforge, the plugin that ships this one along with the rest of its 25 skills, 25 commands, 7 agents, 8 hooks.

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 diff-project

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/luiseiman/dotforge/diff-project"><img src="https://agentmods.dev/badge/skills/luiseiman/dotforge/diff-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 652 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.00025 $0.00652
Opus 5.5 $0.00010 $0.00261
Sonnet 5.5 $0.00005 $0.00130
Haiku 4.5 $0.00003 $0.00065

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

Security

Grade A, and why

diff-project 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 9d 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/diff-project/SKILL.md · 91 lines

How it starts

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

Diff Project

Show what changed in dotforge since the last synchronization of the current project.

Step 1: Identify project baseline

  1. Read $DOTFORGE_DIR/registry/projects.local.yml
  2. Find the current project by path (compare with $PWD)
  3. Get dotforge_version and last_sync
  4. If no dotforge_version is registered (null), report:
    Project not synced — no baseline to compare against.
    Run /forge sync to establish baseline.
    
    And stop.

Step 2: Verify local manifest

If .claude/.forge-manifest.json exists in the current project:

  1. Read it and get the version and file hashes
  2. For each file in the manifest, calculate shasum -a 256 <file> | cut -d' ' -f1
  3. Compare against the registered hash
  4. Report locally modified files (hash differs) and deleted files
  5. Use the manifest version as baseline (more precise than the registry)

If manifest does NOT exist, continue to Step 3 using git log.

Step 3: Detect changes in dotforge

Run in $DOTFORGE_DIR/:

git log --oneline v<version>..HEAD -- template/ stacks/

Where <version> is the tag corresponding to the project's dotforge_version.

If the tag does not exist, use last_sync as reference:

git log --oneline --since="<last_sync>" -- template/ stacks/

If there are no relevant commits, report:

dotforge has no changes in template/stacks since v<version>.
Project is up to date.

Step 4: Show change summary

For each modified file in template/ or relevant stacks/ for the project:

═══ DIFF dotforge: v<previous> → v<current> ═══
Project: <name> (last sync: <date>)

Files modified in dotforge:
  template/hooks/block-destructive.sh — <diff summary>
  template/rules/_common.md — <diff summary>
  stacks/python-fastapi/rules/backend.md — <diff summary>

Local files with modifications (vs manifest):
  .claude/rules/_common.md — hash differs from deployed

Filter stacks/ to show only the stacks used by the project (read from registry).

Read the full file on GitHub · 91 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. 9d ago Changed 5b6c52b4a75a
  2. 1mo ago First seen · 91 lines · 25 tokens per session scan A b177698e1fe7

Subscribe to this mod's changes

diff-project is a skill published in the GitHub repository luiseiman/dotforge (8 stars, last pushed 9d ago), licensed MIT. It adds 25 tokens to every session and 652 once invoked, about $0.0001 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.