Skip to content
Back to skills

Sessions

ASecurity

Find, bring back, sort and start up Irie's sessions. Use after a restart or power cut emptied the list ("restore my sessions", "my cards are gone"), to reopen a closed one, to put cards in a space or group of their own, or to start cut-off cards again.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add irie-people/irie --skill sessions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sessions?

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

Security grade badge for Sessions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/irie-people-sessions/badge)](https://www.skillsdirectory.com/skills/irie-people-sessions)

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: sessions
description: Find, bring back, sort and start up Irie's sessions. Use after a restart or power cut emptied the list ("restore my sessions", "my cards are gone"), to reopen a closed one, to put cards in a space or group of their own, or to start cut-off cards again.
license: Apache-2.0
---

# Irie's sessions: find, bring back, sort, start up

Each card in Irie's list is a session: an agent in a tmux pane. Everything here goes through `irie ctl`, which talks to the running Irie, so nothing needs a window. Leave the cards the person didn't name alone: only they move, park or close a card.

## Find

- `irie ctl list` shows the open sessions, Parked last. With `--json` each row also gives its `space`, `group`, `pinned` and `parked`.
- `irie ctl history [WORDS...]` lists the closed ones, newest first, whose name or id has every word. `lost` after the time marks the sessions a restart took. Only the newest 100 are there.
- `irie ctl conversation ID | tail` shows how a session's last turn ended. A turn that failed ("Login expired", "Credit balance is too low") never did its task, and one cut off mid-turn sits idle.

## After a restart

A restart or a power cut ends Irie's tmux server, and every card goes with it. The next start records each of them as closed on its own, marked `lost`.

1. Check that the list is empty and history shows the `lost` ones: `irie ctl list`, then `irie ctl history`.
2. Look in the core's log (`core.log` in Irie's state folder, `~/.local/state/irie` by default) for the `msg=lost` lines. One with `resume=false` never had a conversation, so reopening it starts its task over and spends tokens. Name it to the person rather than reopening it.
3. Bring the rest back with `irie ctl reopen --lost`, in the background. Each comes back in its place, its space and its group, pinned, parked or frozen as it was. Only the cards that were at work when they were lost, or boosted, start their agents, one at a time, each once the one before has started, and only while a quarter of the memory is free; if it stops for memory, run it again later and it goes on with the rest. The others come back resting: the card with its conversation, and no agent until the person opens it or a message is sent to it, so a restore never starts every agent at once. `--awake` starts them all, but only when the person asks for that.
4. Tell the person how many came back and what is left.

To bring back one closed session, use `irie ctl reopen ID` or its name. Reopening costs nothing until the session's next turn.

## Start them up again

Only start up what the person asked for. A session's next turn may first rebuild its prompt cache, and `irie ctl thaw` and `irie ctl wake` print what that costs.

- `irie ctl wake ID` starts a resting card's agent again, carrying its conversation on; opening the card or sending it a message does the same. A card that rests frozen wakes at its thaw.
- `irie ctl rest ID` ends an idle card's agent to free memory and keeps the card; `irie ctl rest --idle` rests every card that may, the longest idle first. Raffi does this by himself while memory is short.

- `irie ctl thaw ID` lets a frozen one go on.
- `irie ctl continue ID` sends one on, as typing "continue" would. Use it for a card cut off mid-turn, or one whose turn failed for a reason that is fixed now, such as a sign-in.
- When several cards wait on the same job, as a daily retry makes, send one on. Tell the person about the others and let them close those.

## Spaces and groups

- `irie ctl spaces` lists the spaces and how many sessions each holds. `irie ctl spaces new NAME`, `rename SPACE NAME`, `move SPACE [BEFORE]` and `remove SPACE` change them.
- `irie ctl space NAME [SESSION...]` moves sessions, by id or name, to the space of that name, and makes the space when none has that name. `--group GROUP` moves a whole group. It is one step of the history, so one undo takes it back.
- `irie ctl group NAME [SESSION...]`, `irie ctl ungroup [SESSION...]` and `irie ctl nest GROUP [INTO]` do the same for groups. A path such as `Work/Irie` makes a group inside another.

## Start new work

`irie ctl spawn --name NAME [@REPO] [+PROFILE] - < brief.md` starts a session and prints its id. Make the brief stand on its own. Give the person's words as they said them, where to start reading, what to leave alone, and how to finish and report. `--group NAME` puts the new session in a group.

## Limits

- Closed sessions older than the newest 100 can't be reopened. `irie ctl fork ID` carries a conversation on for 30 days after its last turn.
- A session whose folder was deleted can't come back.

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.