SuperAPIAI Directory

ultramod

github.com · AI coding

Ultra Mod is a free, open-source all-in-one plugin for Claude Code, released under the MIT license, that packages ten mods into a single installation. It displays context usage, the 5-hour and 7-day limits, reset times, turn timing, session cost, model, and current suite above the prompt; generates a receipt under each response listing changed files, executed commands, test and build results, elapsed time, and cost, and verifies claims that "tests passed." It can also intercept dangerous commands such as rm -rf and git reset --hard and supports undo snapshots, protect .env, private key, and credential files, ask before Claude modifies tests or creates new note files, warn or auto-compact when context is nearly full, interrupt repetitive failure retry loops, and inject pinned rules into the system prompt. The plugin declares zero network requests, no telemetry, and no model calls, and requires Claude Code 2.1.287 or later.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux · API

About this tool

Ultra Mod is an open-source plugin for Claude Code that consolidates common status display, safety protection, and workflow control into a single installation package. It is officially positioned as an "all-in-one mod pack" containing ten mods, released under the MIT license and free to use.

Purpose and positioning Claude Code users often need to configure status line scripts separately to view usage, use hooks to prevent accidental deletion, and use rules to protect sensitive files. Ultra Mod brings these controls into one plugin, reducing scattered configuration.

Main capabilities

  1. HUD: Displays a line of information above the prompt, including a context progress bar, the 5-hour and 7-day limits and reset times, turn timing, session cost, model, and current suite; it can be set to full, compact, or off.
  2. Receipts: Lists changed files, executed commands, test and build pass or fail results, time, and cost below each response, and verifies claims that "tests passed"; tests piped elsewhere or ending with ; or || are not counted as passed. The most recent 20 receipts are kept in the /ultra panel.
  3. Notifications: Sends a desktop notification when a turn ends after more than 30 seconds or when Claude is waiting for input, at most once every 10 seconds, with an optional sound.
  4. Guard: The default suite intercepts 22 categories of dangerous commands, and the strict suite intercepts 27, offering "Run," "Allow for this session," and "Deny" options; before execution it attempts to save the working tree (including untracked files) as a git ref snapshot, and /ultra undo can restore the most recent 20 snapshots.
  5. Secret protection: Denies reading .env, private key, and credential files, including printing their contents via shell commands, and masks known token formats in tool output.
  6. Test protection: Asks before Claude adds skip/focus markers, deletes assertions, or deletes test files.
  7. Tidying: Under the strict suite, asks before Claude creates new note files outside allowed locations.
  8. Compaction: Warns at 70% context, offers a one-click compact button at 85%, and auto-compacts at 88% under the marathon suite; it uses Claude Code's built-in /compact, and the summary retains changed files, failed commands, and unverified claims.
  9. Loop interruption: When the same command fails three times with the same error, or an edit misses twice in a row, prompts Claude to stop and rethink.
  10. Pinned rules: Adds the contents of ~/.claude/pins.md and an approved project .claude/pins.md to the system prompt,Maximum 30 lines, 3000 characters; approval is valid only for the current session, and modifying files requires re-approval.

Usage Add the marketplace and install the plugin with a single command inside Claude Code; you can also do it in one line in a shell, or install in two steps (compatible with older 2.1.28x versions). The npm installer checks the Claude Code version and performs the above steps. After installation, type /ultra to open the control panel, where you can switch suites, toggle individual mods, and view snapshots and receipts. Common subcommands include /ultra set <name>, /ultra reset, /ultra undo [n], /ultra allow <risk or path>, /ultra pin <text>, /ultra pins, /ultra pins approve, /ultra doctor. Use /plugin configure ultramod@ultramod to set the default suite, notification thresholds, and sounds. To uninstall, run npx ultramod uninstall or claude plugin uninstall ultramod@ultramod.

Use cases Suitable for users who want centralized management of Claude Code usage display, dangerous command protection, sensitive file protection, test integrity, and context compaction, and for teams that need fixed rule injection and switching between multiple work modes.

Limitations and notes Requires Claude Code 2.1.287 or later; the npx installer requires Node.js 18 or later and supports Linux, macOS, and Windows. The HUD and /ultra panel are drawn only in the terminal and the Code tab of the desktop app; VS Code chat, claude -p, and the Agent SDK only run protection and receipts without drawing the interface. The plugin declares zero network requests, no telemetry, and no model calls, but it sends the project folder name and a brief reason to the desktop notification program (token formats are masked); Claude Code itself and the npm installer have their own network behavior. Protection works by reading shell text to make judgments and does not execute commands; commands executed by other programs (such as xargs rm -rf, find -exec, ssh host '...'), wrappers such as stdbuf and flock,and command names in variables still pass through directly. When protection fails, commands are denied by default; when other mods fail, they are allowed by default. Snapshots do not include files ignored by git, and a failed snapshot does not prevent command execution.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools