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 mthinesv0.2.0MITIn 1 marketplace
Pushes Claude session state to the Agent Tasks VS Code Sessions panel in near real time as prompts start and stop. Hooks run on every prompt; it claims to record only event metadata, never prompt or response content.
Run automatically on Claude Code events. Claude doesn't decide.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
agent-tasks, session-monitoring, lifecycle-hooks, sessions-panel, privacy, sessions, hooks
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that emits privacy-safe lifecycle hook events for the Agent Tasks VS Code extension. Hook events drive sub-second session-state transitions in the Sessions panel — replacing a 15-second polling tick with immediate updates at natural lifecycle boundaries.
Registers five Claude Code lifecycle hooks:
| Hook | Session panel transition |
|---|---|
UserPromptSubmit | → running |
Stop | → needs-input |
SessionStart | → running |
SessionEnd | → idle |
Notification | refresh (no state change) |
Each hook fires bin/emit-event.js, which writes a single NDJSON line to
${CLAUDE_PLUGIN_DATA}/events/<sessionId>.ndjson. The VS Code extension's
HookEventWatcher watches that directory and feeds events into
SessionsProvider as an override layer on top of the existing JSONL polling
fallback.
The hook script emits only {event, sessionId, cwd, ts}. It never reads
or emits:
The Agent Tasks VS Code extension handles installation automatically on first activation (with a consent modal). To install manually:
claude plugin marketplace add mthines/agent-skills --scope user
claude plugin install agent-tasks-hooks@agent-skills-plugins --scope user
Toggle agentTasks.hooks.enabled to false in VS Code Settings
(Preferences: Open Settings (UI) → search "Agent Tasks"). This deletes
the sentinel file so the hook script silently no-ops on every subsequent
invocation — the plugin stays installed but produces no output.
To fully uninstall:
claude plugin uninstall agent-tasks-hooks@agent-skills-plugins --scope user
The hook script checks for a sentinel file at
${CLAUDE_PLUGIN_DATA}/sentinel before doing any work. The VS Code extension
writes this file when the agentTasks.hooks.enabled setting is true. If the
sentinel is absent (extension not installed, extension uninstalled, or opt-out
toggled), the script exits 0 immediately — making an orphaned plugin
completely harmless.
UserPromptSubmit and Stop hooks can
block Claude on non-zero exit; this script will never do that.try/catch. Disk full, permission errors, and
malformed stdin are all handled silently.The existing JSONL-based session polling in the Agent Tasks extension remains
fully functional when this plugin is not installed or when agentTasks.hooks.enabled
is false. Hooks are an augmentation layer, not a replacement.
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 mthines/agent-skills --plugin agent-tasks-hooksPlugins from other owners that cover similar ground