Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

sess

БесплатноЗапускает вложенные скриптыНе проверен

Victor's session manager for Claude Code and Codex sessions: the sess web app (http://127.0.0.1:8787, where he reads and drives sessions, answers their…

vicnaumот vicnaum★ 53 звезды на GitHub

Об этом скилле

sess web: where Victor sees and drives sessions

sess (~/github/sess) is a local web app at http://127.0.0.1:8787. It runs as the launchd agent com.sess.web. Victor can do all of his session work there, without any iTerm windows:

  • Sidebar: projects, then sessions, collapsed to the current fork of each lineage. Claude Code and Codex sit side by side.
  • Conversation: read from the transcript (Claude) or from the Codex daemon. Tool calls are collapsed.
  • Message box: his messages reach you as normal typed prompts. For Claude that is the session's terminal input; for Codex, a turn on your thread.
  • Dialogs as cards: permission prompts, AskUserQuestion and plan approval (ExitPlanMode) show up as buttons. Codex command and patch approvals do too. Whoever answers first wins, the terminal or sess. So keep using these dialogs normally when you need a decision.
  • Waking: a closed session wakes when he writes to it. sess resumes it as a background job.

Spawning other agents: no windows

Victor is moving everything to background sessions, so a new iTerm or tmux window is clutter. Start agents headless:

agent-chat spawn <name> --bg [--worker] [--dir <path>] --prompt "task"                 # Claude Code background session
agent-chat spawn <name> --bg [--worker] [--dir <path>] --cmd codex --prompt "task"     # Codex app-server daemon thread
  • --worker: a helper for your current task, such as a parallel researcher, reviewer or builder that reports back to you. sess nests it under you, with its status rolled up onto your row.
  • --session: an independent session, for example one Victor asked you to start in another folder or for another project. It shows as its own session, marked "started by" you.
  • Neither flag means auto: a spawn into your folder or a subfolder of it counts as a worker, anything else as a session. Pass the flag when you know.
  • Forks: a session-stripper fork is neither. It stays in the same lineage, and sess shows the current fork.
  • Spawns are recorded in ~/.claude/agent-chat/spawns/<child-session-id>.json, with spawned_by and role. The new agent registers itself on agent-chat under <name>.
  • Codex daemon threads have no terminal. agent-chat delivers DMs to them with codex queue (an idle thread is woken). Victor opens them in sess, or with codex resume <thread-id>.
  • Use a window (--tab, --pane) only when Victor explicitly asks to watch a terminal.

If you are a background session

  • claude --bg sessions have no terminal. Victor uses sess, or claude attach <job>.
  • Your hooks may include sess's PermissionRequest hook, from ~/.claude/sess/hooks-settings.json. It only relays dialogs to the sess UI. If sess isn't running it does nothing, and the terminal dialog decides.
  • /effort and /model typed from sess save Victor's per-model defaults, the same as typing them anywhere.

sess: session states and park

sess: session states and park

~/bin/sess is scripts/sess.py. It reuses agent-chat's keepalive.py, which provides:

  • session discovery: live records, pid plus start time verified
  • transcript facts: exact request send time, context, cache warmth, pending background tasks
  • inbox delivery

It also uses session-stripper's strip-all / verify.

States (per lineage: a session plus the forks stripped from it)

  • active: the default. Victor will be back soon. The keepalive treats it normally.
  • parked: distilled, stripped into a fork, process stopped. Nothing runs and no tokens are spent. Resume the fork later.
  • done: finished. Hidden from sess ls unless --all.

A parked session that is running again shows as active in sess ls, which flips it back.

park

sess park <session> [--notes | --no-notes] [--force] [--dry-run]

<session> can be an agent-chat name, a Claude session title, a session-id (or prefix), or a .jsonl path.

  1. Price check. It reads when the last request was sent:
    • Warm cache (< 50 min): it asks for park notes automatically. That costs one turn of cache reads, i.e. cents.
    • Cold cache: notes would re-write the whole context first (~2× input price, about $6 at 760k). sess prints the price and needs --notes (pay) or --no-notes (strip only, $0).
  2. Notes. sess sends the session a [sess park] message through its inbox. The session replies with PARK NOTES in a fixed shape between <<<PARK NOTES>>> and <<<END PARK NOTES>>>, then ends its turn. The notes are plain dialogue text, so they survive the strip.
  3. Strip. It runs stripper strip-all --new-fork: tool output, thinking and superseded attachments go, and every word of the dialogue stays. The fork must pass verify and contain the notes, or nothing else happens.
  4. Stop. It stops the old process: SIGTERM, or claude stop for background jobs. It refuses while the session is busy, or while background tasks it launched are still running, since stopping
Полный SKILL.md на GitHub

Установить sess в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

scripts/sess.py

FAQ

Что делает скилл sess?

Victor's session manager for Claude Code and Codex sessions: the sess web app (http://127.0.0.1:8787, where he reads and drives sessions, answers their dialogs and sees workers nested under their parent), session states (active / parked / done) and `park` (distill into PARK NOTES, strip into a fork, stop, resume later). Use when: (1) you spawn other agents or workers - use `agent-chat spawn --bg` (with --worker for helpers), never new iTerm windows; (2) Victor wants to park / shelve a session, mark sessions done or active, or list sessions with state, context and cache; (3) reading a parked session's notes; (4) a session is asked by `sess park` to write PARK NOTES; (5) questions about sess, background sessions, or where Victor sees you. Triggers on: sess, park this session, spawn workers, spawn a codex worker, background session, session states, which sessions are parked.

Как установить скилл sess?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sess запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить sess с