Agent Plugins Marketplace
← All plugins

compact-nudge

v0.1.0

Nudge the user to run /compact once the session context passes a token threshold, with a ready-to-edit /compact command drafted from the conversation. Claude Code only (function hooks); never compacts on its own.

Claude CodeAgent Plugins

By AgentRelay Maintainers1 GitHub starsUpdated 2 weeks ago

Directory evidence

Runtimes
Claude Code and Agent Plugins
Parsed components
0 skill or MCP entries
Source updated
Oct 3, 2026
Manifest status
Canonical path parsed

The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →

Install compact-nudge for Claude Code

Installs for the current user
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install compact-nudge@agent-plugin-marketplace

Paste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.

The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.

Get the source manually
git clone https://github.com/trisjr/agent-relay

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is plugins/compact-nudge/.

Plugin files

plugins/compact-nudge/
├── .claude-plugin/plugin.json
└── plugin.json

Plugin manifests2

plugins/compact-nudge/.claude-plugin/plugin.json
{
  "name": "compact-nudge",
  "version": "0.1.0",
  "description": "Nudge the user to run /compact once the session context passes a token threshold, with a ready-to-edit /compact command drafted from the conversation. Claude Code only (function hooks); never compacts on its own.",
  "author": {
    "name": "AgentRelay Maintainers"
  },
  "types": "./types/index.d.ts",
  "userConfig": {
    "threshold": {
      "type": "number",
      "title": "Nudge threshold (tokens)",
      "description": "Start nudging once the context window holds at least this many tokens.",
      "default": 200000
    },
    "step": {
      "type": "number",
      "title": "Re-nudge step (tokens)",
      "description": "After a nudge, wait until the context grows by this many tokens before nudging again.",
      "default": 100000
    }
  }
}
plugins/compact-nudge/plugin.json
{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "compact-nudge",
  "version": "0.1.0",
  "description": "Nudge the user to run /compact once the session context passes a token threshold, with a ready-to-edit /compact command drafted from the conversation. Claude Code only (function hooks); never compacts on its own.",
  "author": {
    "name": "AgentRelay Maintainers"
  }
}

If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.

[compact-nudge on Agent Plugins Marketplace](https://pluginsmp.com/plugins/compact-nudge)