What is deviation-kernel?
deviation-kernel is a Claude Code mod by Spendry that holds a project's refused assumptions in Claude's system prompt, flags edits and answers that re-impose them, and pauses on the step where it happens. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | Spendry |
| Repository | Spendry/claude-code-mods |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | High risk (56/100) |
| Rank | #8,513 of 9,397 Claude Code mods; #3,550 in Interface |
| License | MIT |
| Last commit | 2026-10-26 |
| Hooks | 8 events |
| Sees | Edit|Write|NotebookEdit calls, classic hooks, every prompt |
| Draws on | AbovePrompt, Pane |
Is deviation-kernel safe to install?
deviation-kernel scores 56/100 on the MCPMods security check: High risk. Things to review: writes files or config; reads environment variables; watches every prompt or event. It passed 3 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.fs.write | writes files |
$.model.complete | drives Claude |
$.model.fork | drives Claude |
$.session.cwd | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.ask | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install deviation-kernel?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/Spendry/claude-code-mods claude plugin validate ./claude-code-mods/deviation-kernel
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add Spendry/claude-code-mods && claude plugin install deviation-kernel@claude-code-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs deviation-kernel for you:
Install the "deviation-kernel" Claude Code mod from https://github.com/Spendry/claude-code-mods/tree/main/deviation-kernel. Run claude plugin validate on it first and show me what it can access before you enable it.
More from Spendry/claude-code-mods
This repository has 5 Claude Code mods on MCPMods.
- cache-meter: Shows above the prompt how warm the prompt cache is, what a cache miss would cost to rewrite, context fill, and the sess (Low risk)
- file-tree: A file tree of the working directory in a pane beside the transcript, with folders you open and close and the files Clau (Low risk)
- goal-board: Each session's goal, task progress and ETA above the prompt, and a /goals board of every running session on this machine (Low risk)
- idea-agents: Six exploration agents per project (premise-breaker, field-crosser, idea-sizer, and a lazy trogg for each), one ideas/ f (High risk)