Skip to content
Back to skills

Pstack Pulse

ASecurity

Show Claude Code and Codex pstack sessions on the iPhone lock screen through ActivitySmith and in the Mac menubar, with each plan's pipeline, and buzz when a session needs you, ships or fails.

  • 1,166 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 27, 2026
ai-agentsrustswiftshellnodegitapisecurity

Works with

  • claude code
  • api

Security analysis

A100/100

Pro scans all 16 files and shows the line behind each finding

Scanned November 28, 2026

npx -y skills add udecode/ustack --skill pstack-pulse --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pstack Pulse?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pstack Pulse
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/udecode-pstack-pulse-ustack/badge)](https://www.skillsdirectory.com/skills/udecode-pstack-pulse-ustack)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pstack-pulse
description: Show Claude Code and Codex pstack sessions on the iPhone lock screen through ActivitySmith and in the Mac menubar, with each plan's pipeline, and buzz when a session needs you, ships or fails.
argument-hint: install [--auto-update] | update | doctor | status | menubar | uninstall
disable-model-invocation: true
---

# pstack pulse

Mac daemon turning Claude Code and Codex hook events for pstack-titled sessions (starting with a pstack state emoji) into an ActivitySmith Live Activity summary card and a Mac menubar menu. Every command runs `node <skill>/scripts/pulse.mjs <command>`.

## Behavior

- **Summary card (iPhone):** One card across all active projects (shows up to 7 sessions + overflow, ordered needs-you -> failed -> working -> to-resume; finished `⚪` or bare-title sessions drop off). Groups repos by git origin.
- **Push notifications:** Sent only when blocked on owner (question, plan approval, unanswered ~6s permission prompt, API error, or dead working process) and away from Mac for 3+ minutes; cleared silently when resolved (ActivitySmith >=1.17.0). Never shows panel seats, smoke runs, headless `-p` runs, subagents, Codex exec/review threads, or `PSTACK_PULSE_OFF=1` sessions.
- **Check state:** A failing required check at turn stop marks the session red (no push) when run as a direct command (not chained or piped). Active background shells/subagents/servers keep a session in working state.

## Install & update

Install with `npx --yes skills add udecode/ustack --skill pstack-pulse --agent claude-code --global -y`.

1. Run `install` (add `--auto-update` for daily updates). Prints hook files, `daemon: started`, `menubar: started`, and session list URL.
2. Owner completes the 3 printed setup commands: Keychain ActivitySmith key (`security add-generic-password`), read-only `tailscale funnel`, and trusting Codex `/hooks`.
3. Allow macOS notification permission for menubar banners.
4. Run `doctor` until every line is `ok` or `warn`.

`update` runs `npx --yes skills update pstack-pulse --global --yes`; the daemon detects skill changes every 30s, refreshes hooks/menubar, and lets launchd restart it.

## Operations

- `status`: lists live sessions, phone cards, and badge count.
- `doctor`: checks Keychain key, daemon, menubar, hooks, Node >=22, session registry, and list secret.
- `menubar`: rebuilds and restarts `~/.pstack-pulse/PstackPulse.app` (`dev.pstack.pulse.menu`, compiled via `swiftc`). Supports `--dump` and `--test-banner`. Posts Mac banners when Claude needs you, dies, or finishes with no background work (suppressed while that session is focused).
- `pet`: optional floating desktop pet (`--snapshot` saves screenshots to `~/.pstack-pulse/`).
- `uninstall`: stops daemon/menubar, removes LaunchAgents and `--owner=pstack-pulse` hook entries, clears phone cards/badge, preserves `~/.pstack-pulse/`.
- Logs: `~/Library/Logs/pstack-pulse.log`, `~/Library/Logs/pstack-pulse-menu.log`, state in `~/.pstack-pulse/` (bad inbox events move to `inbox/bad/`).

## Tests

`node --test <skill>/scripts/pulse.test.mjs`

Files in this skill

  • SKILL.md3.2 KB
  • desktop/index.html1.7 KB
  • desktop/main.mjs4 KB
  • desktop/package.json88 B
  • desktop/pet.js3.8 KB
  • desktop/preload.cjs520 B
  • menubar/PulseMenu.swift16.4 KB
  • scripts/hook.mjs656 B
  • scripts/lib/event.mjs4 KB
  • scripts/lib/install.mjs4 KB
  • scripts/lib/io.mjs20.1 KB
  • scripts/lib/model.mjs22.9 KB
  • scripts/lib/phone.mjs7.6 KB
  • scripts/lib/pstack.mjs11.3 KB
  • scripts/pulse.mjs20.5 KB
  • scripts/pulse.test.mjs47.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.