Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add dailyaiagents-cpu/dailyai-os --skill session-keepergit clone --depth 1 https://github.com/dailyaiagents-cpu/dailyai-osWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dailyaiagents-cpu/dailyai-os/session-keeper)<a href="https://agentmods.dev/skills/dailyaiagents-cpu/dailyai-os/session-keeper"><img src="https://agentmods.dev/badge/skills/dailyaiagents-cpu/dailyai-os/session-keeper/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dailyaiagents-cpu/dailyai-os/session-keeper"><img src="https://agentmods.dev/badge/skills/dailyaiagents-cpu/dailyai-os/session-keeper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00099 | $0.00861 |
| Opus 5.5 | $0.00040 | $0.00344 |
| Sonnet 5.5 | $0.00020 | $0.00172 |
| Haiku 4.5 | $0.00010 | $0.00086 |
Grade A, and why
session-keeper scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
6. For each expired: open `LOGIN_<NAME>` approval gate with the curl-PUT command Cooper taps How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
session-keeper
Why this exists
Sales, content, ops — every specialist that depends on a logged-in browser session breaks silently when the session expires. By the time the user sees an outage in the inbox-router or "0 leads found" in the brief, the actual problem (linkedin logged out 18h ago) is buried.
This skill audits the 3 default targets every morning and surfaces expired sessions before Cooper opens Telegram for the day.
Targets
~/.openclaw/state/session-keeper/targets.json. Initial 3:
| Target | URL | Login URL | Marker |
|---|---|---|---|
| stripe | dashboard.stripe.com | dashboard.stripe.com/login | URL stays on /dashboard when live |
| linkedin.com/feed/ | linkedin.com/login | URL stays on /feed when live; redirects to authwall when expired | |
| reddit.com/ | reddit.com/login | URL stays on reddit.com/ when live |
Add Stripe / Gumroad / Gmail-web by editing targets.json once Cooper has those tabs logged in on agent-chrome. URL-redirect detection is the canonical primitive — DOM selectors break on UI updates.
Procedure
bash ${OPENCLAW_HOME}/skills/session-keeper/run.sh
SESSION_KEEPER_DRYRUN=1 → scan only, no gate, no Telegram.
The bash + python flow:
- Read targets.json
- For each target: PUT /json/new? → wait 3s → GET /json → find tab by id → read final URL
- Match final URL against
logged_in_marker.value(live) orlogged_out_marker.value(expired); else "unknown" - Close the spawned tab (CDP /json/close/)
- Write
~/.openclaw/state/session-keeper/<YYYY-MM-DD>.jsonwith full results - For each expired: open
LOGIN_<NAME>approval gate with the curl-PUT command Cooper taps - Telegram-summary only if expired OR unknown count > 0
Hard rules
- URL-redirect detection over DOM selectors. UI updates break selectors; URL paths are stable.
- Always close spawned tabs. Otherwise the agent-chrome instance accumulates dead tabs.
- Silent on all-live. Cooper doesn't need a "everything fine" message every morning.
- One gate per expired target per day. If yesterday's gate is still pending and target is still expired today, don't open a duplicate — extend the timeout via resolve_gate.py if needed (Cooper-side decision).
- Cooper-tap commands in gate evidence. The
--evidencefield contains the literalcurl -s -X PUT ...command — Cooper copies/runs in Terminal, that opens the login tab on agent-chrome, Cooper signs in, future probes auto-flip to live. - 3 default targets only. Stripe/Gumroad/Gmail-web added once Cooper has those tabs already logged in. Probing a never-logged-in service produces noise.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 77 lines · 99 tokens per session scan A 4ac1e66c9141
session-keeper is a skill published in the GitHub repository dailyaiagents-cpu/dailyai-os (0 stars, last pushed 6mo ago), licensed MIT. It adds 99 tokens to every session and 861 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
session-keeper compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| session-keeperdailyaiagents-cpu/dailyai-os | Skill | 0 | 6mo ago | MIT | A | 99 | Claude Code, Codex |
| interactive-loginyc-software/qm | Skill | 16k | today | MIT | A | 46 | Claude Code, Codex |
| pinchtab-mcppinchtab/pinchtab | Skill | 11k | 11d ago | MIT | A | 52 | Claude Code, Codex |
| azure-messaging-webpubsub-javamicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 43 | Claude Code |
| cua-driverdavidondrej/skills | Skill | 4.3k | 2d ago | MIT | A | 68 | Claude Code, Codex |
| open-design-browsercompozy/compozy | Skill | 2.9k | today | MIT | A | 56 | Claude Code, Codex |
| southwestborski/travel-hacking-toolkit | Skill | 906 | 2d ago | MIT | A | 40 | Claude Code |