nkzw-tech/codiff is a local application and command-line tool for viewing Git differences, reviewing changes, and committing work. It is intended for developers who want lightweight repository reviews, generated walkthroughs, and review comments for GitHub or GitLab, with the catalogue command, instruction, and skill extending those workflows.
Borrowing it
Nothing to install: this file belongs to nkzw-tech/codiff. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/nkzw-tech/codiff/main/AGENTS.mdgit clone --depth 1 https://github.com/nkzw-tech/codiffWrote 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.
[](https://agentmods.dev/instructions/nkzw-tech/codiff/agents-md)<a href="https://agentmods.dev/instructions/nkzw-tech/codiff/agents-md"><img src="https://agentmods.dev/badge/instructions/nkzw-tech/codiff/agents-md/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.
<a href="https://agentmods.dev/instructions/nkzw-tech/codiff/agents-md"><img src="https://agentmods.dev/badge/instructions/nkzw-tech/codiff/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00513 | $0.00513 |
| Opus 5.5 | $0.00205 | $0.00205 |
| Sonnet 5.5 | $0.00103 | $0.00103 |
| Haiku 4.5 | $0.00051 | $0.00051 |
Grade A, and why
codiff AGENTS.md 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 1mo 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.
What it actually says
Agent Instructions
- At the end of every code change, run
vpr buildso the built files are refreshed for local testing. - Run
vp check --fixas the validation command after code changes, beforevpr build. - Prefer Phosphor icons over Lucide icons for new UI. Use Lucide only when it is already the established local pattern for that specific control or when a Lucide icon is intentionally better suited, such as existing copy icons.
- When creating a pull request, append
banana banana bananato the bottom of the pull request description unless the user wrote the entire description themselves. - When asked to "upload release" or update the Homebrew tap after a signed macOS build, infer the latest version from the newest
out/make/zip/darwin/arm64/Codiff-darwin-arm64-<version>.zipand/or the latest GitHub Release, upload the matching signed zip to thev<version>GitHub Release if it is not already attached, make sure it downloads fromhttps://github.com/nkzw-tech/codiff/releases/download/v<version>/Codiff-darwin-arm64-<version>.zip, compute its SHA-256, updatenkzw-tech/homebrew-tap(Casks/codiff.rb) with the newversionand SHA-256, then runbrew audit --cask nkzw-tech/tap/codiffandbrew style --cask nkzw-tech/tap/codiffthrough the tapped checkout before pushing. - To rebuild Windows or Linux assets for an existing release, use the manual
build-app.ymlworkflow instead of creating a retry tag:gh workflow run build-app.yml --ref main -f release_tag=v<version> -f platform=windows(for example,release_tag=v1.13.0).platformacceptswindows,linux, orall.--refselects the code to build and must include the required fixes;release_tagselects the existing release to receive the assets and must exactly matchvplus that ref'spackage.jsonversion. Push fixes before dispatching. Manual runs replace matching assets for the selected platforms without creating or publishing a release. Monitor the run through completion and verify the assets are attached to the requested release. - When you make changes to how the walkthrough works, you should consider updating the --walkthrough-guide which gives user-land agents info
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.
- 1mo ago Changed · +1 lines · +163 tokens per session 9e2e6064c264
- 2mo ago First seen · 9 lines · 350 tokens per session scan A 5834754158fa
codiff AGENTS.md is an instructions file published in the GitHub repository nkzw-tech/codiff (1,452 stars, last pushed 3d ago), licensed MIT. It adds 513 tokens to every session, about $0.0021 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-30.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.