Use this skill when a website session must stay alive without building a full browser-automation system.
The runtime script stores named session profiles in SQLite, replays a deterministic HTTP keepalive request, merges Set-Cookie updates back into the database, and exposes the current cookies to downstream programs.
default, which resolves to ~/.cookie_alive/default.db.Cookie header string or a JSON object.python {baseDir}/scripts/cookie_alive.py upsert ....python {baseDir}/scripts/cookie_alive.py get --profile .python {baseDir}/scripts/cookie_alive.py refresh --profile .python {baseDir}/scripts/cookie_alive.py run --profile .--refresh-url, such as /ping, /me, or a low-cost page load. Avoid heavy pages when a cheaper endpoint exists.--cookie-header when the source is browser devtools or another HTTP client. Store them with --cookie-json when the source is already structured.get --format header when another program needs a literal Cookie header value.get --format record or list when another program needs metadata such as interval_seconds, last_status_code, or last_refreshed_at.upsert. This skill only performs deterministic HTTP requests.scripts/cookie_alive.pyUse this CLI for profile CRUD, one-shot refreshes, and repeat keepalive loops.
references/commands.mdLoad this file for exact CLI shapes, storage path rules, and copy-paste examples.
共 1 个版本