Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Magic-Man-usv0.1.0MITIn 1 marketplace
Example plugin: background monitors that keep Claude aware of workspace state, live deploy tracking via /app-deploy, a read-only deploy-investigator subagent, frontmatter hooks scoped to component lifecycles, and context-injection hooks (SessionStart, UserPromptSubmit, SubagentStart).
Claude hands work to one, or you mention it with @.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Application log filelog_file
Path to a log file to watch for error lines. Leave empty to disable this monitor.
fileOptional
Deploy/CI status tokenapi_token
Optional bearer token for the status endpoint. Sent as an Authorization header, never on the command line.
SensitivestringOptional
Deploy/CI status endpointapi_endpoint
URL returning a short status token. Leave empty to disable this monitor. If api_token is set, this must use https:// unless it targets localhost.
stringOptional
Git upstream poll interval (seconds)git_poll_seconds
How often to fetch and compare the current branch against its upstream.
numbermin 15default 60
Deploy completion detectiondeploy_detect_mode
How to decide a deploy finished: 'keywords' matches the command's output, 'exitcode' uses a blocking command's exit status (0 = success).
stringOptionaldefault keywords
Disk usage warning threshold (%)disk_threshold_pct
Warn once when workspace disk usage reaches this percentage.
number50–99default 90
Deploy poll interval (seconds)deploy_poll_seconds
How often the deploy-watch monitor re-runs the status command.
numbermin 5default 15
Deploy status commanddeploy_status_command
Shell command run on a loop by the deploy-watch monitor (started by /app-deploy). Leave empty to auto-detect the provider (GitHub Actions on the current branch, Fly, or Vercel). Prefer a scoped .claude/deploy-status.sh for custom tooling.
stringOptional
Deploy failure patterndeploy_failure_pattern
Case-insensitive regex (keywords mode), checked before success, that marks a deploy as failed.
stringOptionaldefault fail|failed|failure|errored|cancell?ed|…
Deploy success patterndeploy_success_pattern
Case-insensitive regex (keywords mode) that marks a deploy as succeeded.
stringOptionaldefault succeeded|success|deployed|deployment c…
An example Claude Code plugin. It ships background monitors
that keep Claude aware of workspace state and signal it when something needs
attention, plus skills, a read-only subagent, and hooks — a skill frontmatter
hook and a hooks/hooks.json with three
context-injection examples plus an agent-scoped
guard. See Design notes for how the hooks are
scoped.
Each monitor runs a shell command for the lifetime of the session and forwards every stdout line to Claude as a notification. The scripts are change-only: they stay silent until there is real signal, so every notification means Claude should act.
/app-deploy, detection precedence, and scoping to your own tooling.deploy-watch auto-detect helpers expect the relevant provider CLI
(gh, flyctl, or vercel) on PATH; otherwise set deploy_status_command./plugin marketplace add magic-man-us/claude-code-monitor-examples
/plugin install claude-code-monitor-examples@magic-man-us
You'll be prompted for the configuration options below at enable time (all are
optional or have defaults). Reconfigure later from /plugin.
| Monitor | Starts | Watches | Key options |
|---|---|---|---|
git-upstream | always | Current branch drifting ahead/behind its upstream; tells Claude when to pull, push, or reconcile | git_poll_seconds |
error-log | always | Error-like lines in a log file (tail -F, survives rotation, error lines only) | log_file |
disk-usage | always | Workspace disk usage crossing a threshold (warns once, recovers once) | disk_threshold_pct |
deploy-status | always | An HTTP(S) status endpoint changing state | api_endpoint, api_token |
deploy-watch | on /app-deploy | Live deploy tracking — signals when a deploy completes or fails | deploy_status_command, deploy_detect_mode, deploy_poll_seconds, deploy_success_pattern, deploy_failure_pattern |
Monitors whose required option is unset disable themselves quietly with a single
notice (e.g. error-log with no log_file).
| Option | Type | Default | Used by |
|---|---|---|---|
git_poll_seconds | number (min 15) | 60 | git-upstream |
log_file | file | — | error-log |
disk_threshold_pct | number (50–99) | 90 | disk-usage |
api_endpoint | string | — | deploy-status |
api_token | string (sensitive) | — | deploy-status |
deploy_status_command | string | auto-detect | deploy-watch |
deploy_detect_mode | string (keywords|exitcode) | keywords | deploy-watch |
deploy_poll_seconds | number (min 5) | 15 | deploy-watch |
deploy_success_pattern | string (regex) | success keywords | deploy-watch |
deploy_failure_pattern | string (regex) | failure keywords | deploy-watch |
Sensitive values (api_token) are stored in the system keychain and passed to
the script as an environment variable, never on the command line. Token-bearing
status checks require https://, except for localhost endpoints.
/app-deployRun /app-deploy when you kick off a deployment. That starts the deploy-watch
monitor, which runs a status command on a loop and notifies you when the deploy
completes or fails — no polling. It prefers a scoped .claude/deploy-status.sh,
then auto-detects GitHub Actions / Fly / Vercel, or uses deploy_status_command.
Custom deploy_status_command values are shell commands run unsandboxed on a
loop; prefer a scoped .claude/deploy-status.sh for project-specific tooling.
To track internal or custom tooling, run the deploy-watch-setup skill.
Full details — detection precedence, detect modes (keywords/exitcode), and
the scoped-script contract — are in
docs/deploy-tracking.md.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub magic-man-us/claude-code-monitor-examples --plugin claude-code-monitor-examplesPlugins from other owners that cover similar ground