Skip to content

difit - Setup Guide

Source: yoshiko-pg/difit via skills.sh - 4.4K combined installs across 2 indexed listings; first seen 2026-11-29 (Nov 29 morning sweep)

GitHub: yoshiko-pg/difit - 3,364 stars, MIT license, branch main, last pushed 2026-08-28; the two skills live under skills/difit/SKILL.md and skills/difit-review/SKILL.md, with mirrored copies under .claude/skills/ and .codex/skills/ plus slash commands under .claude/commands/.

Category: Development

Quality Tier: 🟡 Yellow - difit-review carries a Warn cell on Snyk; difit passes all three auditors.

difit is a command-line tool that starts a local web server to display git diffs in a GitHub-style Files changed view. It ships two agent skills from the same repository: difit asks the user for a code review by opening the changes in the viewer, and difit-review reviews a specific diff and attaches the findings as comments inside the viewer. Both skills are explicit opt-in only.

Both skills.sh listings ship from this one repository. The canonical skill files live under skills/difit/SKILL.md and skills/difit-review/SKILL.md, and the difit-review skill text is mirrored identically under .claude/skills/ and .codex/skills/ for Claude Code and Codex.

Installation

Try difit without installing:

npx difit

Install it globally:

npm install -g difit
difit

Add the skills to an agent:

npx skills add yoshiko-pg/difit

The install adds two skills: difit requests a review in the viewer, and difit-review reviews a specific diff and shows findings as comments.

What It Provides

Skill Installs Use For
difit 2,406 Ask the user for a code review by opening the changes in difit, the local diff viewer.
difit-review 2,022 Review a specific diff, branch, commit, or GitHub PR and show the findings as comments in the viewer.

All 2 indexed listings clear the 500-install threshold and appear in the table above.

Why This Matters for Hermes Agents

difit is a clean example of a local tool paired with opt-in agent skills. The two skills share one product: difit opens a human-readable diff, and difit-review drives that same viewer and preloads findings through a --comment option. The explicit opt-in rule is worth copying: both skills refuse ordinary review requests and only launch the browser when the user names difit or asks to open the diff in the viewer. The --comment mechanism shows how to hand structured data to a local tool as JSON thread and reply objects, which a Hermes builder can reuse to inject review findings into any viewer. The mirror layout is also instructive: one canonical skills/ tree plus .claude/skills/ and .codex/skills/ copies carry the same difit-review text, so a single repo serves multiple agent runtimes without duplicating the skill body.

Usage

You say What happens
"Review this PR in difit" Uses difit-review to open the PR diff in the viewer and attach review findings as comments.
"Show me the latest commit diff" Uses difit to open the HEAD commit in the GitHub-style viewer.
"Compare this branch against main" Runs difit feature main to show the diff between two branches.
"Review my staged changes" Runs difit staged to open the staging-area diff.
"Annotate line 42 of src/example.ts" Launches difit with --comment to preload a thread comment at that line.
"Review this GitHub PR" Uses difit-review with --pr to fetch patches via gh pr diff --patch.

Verification

The skills live under skills/difit/SKILL.md and skills/difit-review/SKILL.md on branch main. Fetch one directly to review its frontmatter and instructions before installing:

curl -sL https://raw.githubusercontent.com/yoshiko-pg/difit/main/skills/difit-review/SKILL.md

After a clone, list the skill folders to confirm the set:

git clone --depth 1 https://github.com/yoshiko-pg/difit.git /tmp/difit
ls /tmp/difit/skills/

Two skill directories ship under skills/ (difit and difit-review); the .claude/skills/ and .codex/skills/ trees add mirrored copies plus a difit-dev helper that is not an indexed listing.

Security

skills.sh verdicts for sampled skills (verified 2026-11-29) - re-check the security pages on skills.sh before production use:

Skill Gen Agent Trust Hub Socket Snyk
difit Pass Pass Pass
difit-review Pass Pass Warn

difit-review carries a Warn on Snyk and difit passes all three auditors. This guide is Yellow because of that Warn, so review difit-review's Snyk page before relying on it in production.

Integration with CorpusIQ

CorpusIQ is the connector layer that lets AI assistants read the systems a business already runs on - accounting, payments, CRM, email, files and analytics - and answer with the source named. It is read-only by design: it retrieves data and never writes to, or acts in, a connected system, which is what makes it safe to point at live accounts.

This page is part of the CorpusIQ directory, the reference we maintain for the MCP server and agent-skill ecosystem. Run alongside CorpusIQ, a third-party server like this one can be combined with a company's own business data in a single answer.

See what CorpusIQ connects

Limitations

  • Snapshot data, verified 2026-11-29: 4,428 combined installs across 2 indexed listings; 3,364 GitHub stars; MIT license; last pushed 2026-08-28. Counts drift over time.
  • Both skills are explicit opt-in only: they open an external browser and a long-running local server, so they are not for ordinary review requests.
  • difit requires Node.js 21.0.0 or newer and a git repository with commits; the --pr mode needs GitHub CLI (gh).
  • The repository tree carries more skill directories than the two indexed listings: difit-dev appears under .claude/skills/ and .codex/skills/, and release plus vscode-release appear under .codex/skills/; none of these are indexed on skills.sh.
  • Review comments are stored in browser localStorage per commit, so they do not sync across browsers or machines.

Skills Catalog | Skills Marketplace

Pro Tips

  • Read a skill's SKILL.md before installing; the curl path above returns the whole file.
  • Prefer npx skills add yoshiko-pg/difit to install both skills in one command.
  • Reserve difit and difit-review for when the user names difit or asks to open the diff in the viewer; answer ordinary review requests in the conversation.
  • Use difit-review with --comment to preload findings as JSON thread or reply comments before the viewer opens.
  • The .claude/skills/ and .codex/skills/ mirrors carry the same difit-review text, so use whichever matches your agent runtime.

← Skills Catalog | Skills Marketplace → Powered by CorpusIQ

AI answers on your data. See where every number comes from.

Connect your tools and ask in ChatGPT, Claude, or Perplexity. Enterprise-grade answers in minutes. From $29.95/month.

Start free, no credit card
Contact Terms Privacy Pricing