Home / Claude Code mods / Git & CI / touched-only

touched-only

touched-only is a Claude Code mod by KrisnaSantosa15 that stops `git add -A` and `commit -a` from sweeping in files Claude never touched, and hands Claude the exact paths to stage instead.

Updated 2026-10-07

What is touched-only?

touched-only is a Claude Code mod by KrisnaSantosa15 that stops `git add -A` and `commit -a` from sweeping in files Claude never touched, and hands Claude the exact paths to stage instead. It is listed under Git & CI and has no public popularity data yet.

TypeClaude code mod
AuthorKrisnaSantosa15
RepositoryKrisnaSantosa15/touched-only
Popularityno public popularity data yet
CategoryGit & CI
SecurityLow risk (100/100)
Rank#3,743 of 5,272 Claude Code mods; #262 in Git & CI
LicenseMIT
Last commit2026-10-07
Hooks3 events
SeesBash calls, every tool call
Draws onnothing

Is touched-only safe to install?

touched-only scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.session.cwd
$.state.get
$.state.set

How do I install touched-only?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/KrisnaSantosa15/touched-only
    claude plugin validate ./touched-only/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add KrisnaSantosa15/touched-only && claude plugin install touched-only@touched-only

Or ask Claude to set it up

Paste this into Claude Code and it installs touched-only for you:

Install the "touched-only" Claude Code mod from https://github.com/KrisnaSantosa15/touched-only. Run claude plugin validate on it first and show me what it can access before you enable it.