{"data":{"slug":"discovered-85bf38b7718c2acc0346d1b54d7b9d199e7647ce1e89c115","title":"Lavish Keeper","summary":"Maintains the Lavish review listener (lavish-axi poll) across Claude Code sessions, ensuring notes are received when sessions restart.","url":"https:\/\/skillshunter.net\/skills\/discovered-85bf38b7718c2acc0346d1b54d7b9d199e7647ce1e89c115","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-85bf38b7718c2acc0346d1b54d7b9d199e7647ce1e89c115","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-85bf38b7718c2acc0346d1b54d7b9d199e7647ce1e89c115.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-85bf38b7718c2acc0346d1b54d7b9d199e7647ce1e89c115\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure Python 3.8+ is installed, and `lavish-axi` is available via `npx -y lavish-axi`. Use `pgrep` on macOS and Linux to stop leftover polls; otherwise, use `--takeover` to restart polls. Before running commands, execute `npx -y lavish-axi poll <file> --owner <label> --takeover` as a background Bash command.","instructions":"---\nname: lavish-keeper\ndescription: Keeps the Lavish review listener (lavish-axi poll) alive across Claude Code sessions. Use when a SessionStart message from lavish-keeper asks to restart a poll, when the user says the Lavish listener dropped (\"caiu a escuta\", \"the poll died\", \"notes are not arriving\"), or to inspect which pages a session was watching.\nversion: \"0.1.0\"\nmetadata:\n  author: Lucas Saldanha Werneck <lucas@2olhares.com>\n  tags: [lavish, lavish-axi, poll, hooks, sessions]\n---\n\n# lavish-keeper\n\n## Purpose\n\nLavish pages are reviewed by a person who sends notes back through `lavish-axi poll`. That poll is a command of the Claude session: when the session closes, the listener goes away and nobody is reading notes. lavish-keeper remembers which pages each session opened, stops the leftover polls when the session closes, and when the session opens again tells the agent to start the polls again.\n\n## Instructions\n\n1. When a SessionStart message from lavish-keeper lists `npx -y lavish-axi poll <file> --owner <label> --takeover`, run each command as its own tracked background Bash command (`run_in_background: true`). Do this before anything else in the turn, then carry on with the user's request.\n2. If a page has queued notes, the poll returns them at once. Read the whole output, save the notes to a file, say how many you read, and only then change anything.\n3. Do not tell the user a page is being watched until its background poll is running.\n4. A page the user ended is not listed. Never reopen it without being asked.\n5. To see what is remembered: `python3 \"${CLAUDE_PLUGIN_ROOT}\/bin\/lavish-keeper\" list`. To drop a session's pages: `... forget <session-id>` or `forget --all`.\n\n## Prerequisites\n\n- Python 3.8+, `lavish-axi` (run through `npx -y lavish-axi`), and a Claude Code that fires SessionStart, SessionEnd and PostToolUse hooks (terminal and desktop app).\n- `pgrep` for stopping leftover polls (macOS and Linux). Without it, restarting still works through `--takeover`.\n\n## Limitations\n\n- It cannot wake an idle session by itself: only a background command of the agent can do that, which is why the restart is done by the agent after the hook asks for it. A closed session is not woken by a note; the notes wait in Lavish until the session opens again.\n- Pages are matched to a session by the `lavish-axi` commands the session ran through the Bash tool. A page opened outside a session is not tracked.\n- After `\/clear` the session id changes; pages pass to the new session if it starts in the same folder within 15 minutes.\n\n## Troubleshooting\n\n- `LISTENER_ACTIVE` from a poll: another poll still holds the page. Re-run with `--takeover` (the hook's command already has it).\n- The agent was not asked to restart anything: `lavish-keeper list` shows nothing for the session, so no `lavish-axi` command went through Bash in it, or the page was ended in Lavish.\n\n## Examples\n\n- Session closed with a page open, reopened later: the SessionStart message lists the page; the agent runs `npx -y lavish-axi poll \/path\/page.html --owner claude-1a2b3c4d --takeover` in the background.\n- \"what was this session watching?\": `lavish-keeper list`.\n","use_cases":["Maintaining a Lavish review listener during Claude Code session closures and restarts","Restarting polls automatically when a session is reopened","Listing pages watched by a session using `lavish-keeper list`","Managing sessions and their associated pages with `forget` commands"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/lucas-saldanha-werneck\/lavish-keeper\/blob\/f5b8f52636c331360162cf52b54b7e1ca5fea7e6\/skills\/lavish-keeper\/SKILL.md","source_commit":"f5b8f52636c331360162cf52b54b7e1ca5fea7e6","license":null,"version":null,"listing_approved_at":"2026-12-01","created_at":"2026-11-30T08:07:21.000000Z","updated_at":"2026-12-01T12:48:20.000000Z","seo_title":"Lavish Keeper - Maintain Lavish Review Listener Across Claude Code","seo_description":"Lavish Keeper keeps the Lavish review listener (lavish-axi poll) active during Claude Code sessions and restarts it when sessions reopen, ensuring continuous note receipt","seo_keywords":["lavish-keeper","lavish-axi","poll","Claude Code","session management","note tracking"]}}