Your Claude Code with Infrared
Infrared's agents work every Change the same way: a branch of its own, conventional commits, a pull request whose body shows what was asked for and how it was met, the proof of the work kept beside it, and one verdict at the end. infrared-change is a Claude Code plugin that gives your own Claude Code those conventions, so the work you do in your terminal is branched, committed and described the way theirs is.
The plugin comes from infrared, Darkshift's public plugin marketplace: the repository darkshiftio/infrared-plugins on GitHub. Installing it takes Claude Code and nothing else. It never calls Infrared, so it needs no install, account or token.
What it does
The plugin has ten skills and two hooks. claude plugin details infrared-change@infrared lists them, with what each costs a session in tokens.
Skills
A skill is a short set of instructions that Claude Code loads when the work in front of it matches the skill's description. You can also call one by name, such as /infrared-change:conventional-commit.
| Skill | What it asks of Claude |
|---|---|
change-branch | A branch of its own for each Change, made from the default branch and named <type>/<issue number>-<slug>. Never the default branch, and never the infrared/ prefix that Infrared's runner keeps for itself |
conventional-commit | Every commit a conventional commit, <type>(<scope>): <description> in at most 72 characters, that references its issue, does one thing and carries no attribution line |
pull-request-body | The pull request's body in the order Infrared's reviewers and approvers read it: the summary, the plan, each acceptance criterion and how it was met, what was verified, and Closes #<n> |
evidence | The proof of the work, such as the gate's output, test and coverage reports and screenshots, in .infrared/artifacts/, which is never committed |
verdict | Each step and each session ends with exactly one of the role's verdicts, a plain summary and a line per success criterion |
progress-entry | In a repository with .infrared/harness.json at its top level, a dated entry in the progress log that file names |
hand-off | How a finished Change reaches review: from a session that ir local work started, as an agent step, or from your own clone. Never a push to the default branch, and never a merge of your own pull request |
flag-new-work, flag-rollout, flag-retire | The life of a rollout flag: new behaviour behind a flag that is off by default, turned on install by install, then deleted once the behaviour is generally available. They apply only where a repository's AGENTS.md has a Flags section, or its CLAUDE.md a rule on flags |
Hooks
A hook is a command that Claude Code runs by itself at a set moment, with no model involved. Both of the plugin's hooks run with node 22 or later from your PATH. Without it they check nothing, and the skills still work.
commit-subjectruns before each Bash command. When Claude runsgit commitwith a message the hook can read, it refuses the commit if the subject is not a conventional commit's (the typesfeat,fix,docs,refactor,test,chore,ci,perfandbuild), if the subject is longer than 72 characters, or if the message carries aCo-authored-bytrailer or a "Generated with Claude" line, and it says how to fix it. It acts only in a clone thatir local workmade, or in a repository with.infrared/harness.jsonat its top level. Anywhere else, for a message it cannot read, and when its own check fails, it lets the commit through.pull-request-bodyruns when Claude is about to stop. In a session of the builder AgentRole, feature-builder, on a branch thatir local workmade, it asks once for the pull request's body if the session ends with its verdict while the branch has commits ahead of the default branch and.ir-work/pull-request.mdis missing or empty. Every other session stops as usual.
Install
Add the marketplace, then install the plugin from it:
claude plugin marketplace add darkshiftio/infrared-plugins
claude plugin install infrared-change@infrared
Or in one step, which adds the marketplace first when it is not there yet:
claude plugin install infrared-change --marketplace darkshiftio/infrared-plugins
Either way, the plugin is installed for you in every repository on the machine (--scope user, the default), and the next Claude Code session loads it. claude plugin list shows it as infrared-change@infrared, enabled, with its version. These are the commands of Claude Code 2.1.323, the version the marketplace's own checks use.
Make it a repository's default
A repository can offer the plugin to everyone who works in it. Add these keys to its .claude/settings.json, beside any it already has:
{
"extraKnownMarketplaces": {
"infrared": {
"source": {
"source": "github",
"repo": "darkshiftio/infrared-plugins"
},
"autoUpdate": true
}
},
"enabledPlugins": {
"infrared-change@infrared": true
}
}
extraKnownMarketplacesdeclares the marketplaceinfrared, and where it lives, for everyone who trusts the repository's folder in Claude Code.autoUpdatehas Claude Code update the marketplace, and the plugins installed from it, each time it starts.enabledPluginsturns the plugin on in this repository.
Settings install nothing on their own: each person still installs the plugin once, with the commands in Install.
Update
Claude Code keeps the version of a plugin it installed until the plugin's version changes, and every change to infrared-change raises its version. Where the marketplace is declared with autoUpdate on, as above, Claude Code updates it and the plugin each time it starts. To update by hand:
claude plugin marketplace update infrared
claude plugin update infrared-change@infrared
Then restart Claude Code. For a marketplace you added yourself, you can also turn on auto-update for infrared in a session's /plugin menu.
What it sends
Nothing. The plugin makes no network requests and keeps no data. Its hooks read the event Claude Code hands them, run read-only git commands in your repository and answer Claude Code. Its skills are text that Claude reads. The only traffic it causes is Claude Code fetching the marketplace from GitHub when you install or update it.
Remove it
claude plugin uninstall infrared-change@infrared
claude plugin marketplace remove infrared
Source, license and security
The plugin's source, its tests and its checks are in darkshiftio/infrared-plugins, under the Apache License 2.0. That license is the plugin's own: using the plugin needs no Infrared license. Report a vulnerability privately, as the repository's security policy describes, never in a public issue.
Read Infrared from Claude Code
The plugin carries conventions, not data. To let Claude Code read Infrared itself, such as your Products, runs, deployments and SLOs, point it at Infrared's MCP server: see Connect an MCP client. Where your install runs a code index, Claude Code can search your code through it too.