Cookie Alive Pro
/install cookie-alive
Session Cookie Online
Overview
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.
Quick Start
- Pick a database name. The default is
default, which resolves to~/.cookie_alive/default.db. - Capture the current cookie as either a
Cookieheader string or a JSON object. - Store or update a named profile with
python {baseDir}/scripts/cookie_alive.py upsert .... - Validate the stored cookie with
python {baseDir}/scripts/cookie_alive.py get --profile \x3Cprofile>. - Refresh it once with
python {baseDir}/scripts/cookie_alive.py refresh --profile \x3Cprofile>. - Keep it alive with
python {baseDir}/scripts/cookie_alive.py run --profile \x3Cprofile>.
Workflow Rules
- Prefer a lightweight authenticated endpoint for
--refresh-url, such as/ping,/me, or a low-cost page load. Avoid heavy pages when a cheaper endpoint exists. - Store cookies with
--cookie-headerwhen the source is browser devtools or another HTTP client. Store them with--cookie-jsonwhen the source is already structured. - Use
get --format headerwhen another program needs a literalCookieheader value. - Use
get --format recordorlistwhen another program needs metadata such asinterval_seconds,last_status_code, orlast_refreshed_at. - If the target site requires JavaScript timers, WebSocket traffic, or browser-only activity to stay logged in, use external browser automation to renew the cookie and write the updated cookie back with
upsert. This skill only performs deterministic HTTP requests.
Script
scripts/cookie_alive.pyUse this CLI for profile CRUD, one-shot refreshes, and repeat keepalive loops.
References
references/commands.mdLoad this file for exact CLI shapes, storage path rules, and copy-paste examples.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cookie-alive - 安装完成后,直接呼叫该 Skill 的名称或使用
/cookie-alive触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Cookie Alive Pro 是什么?
Persist, refresh, and serve website session cookies through a local SQLite-backed cookie store. Use when Codex needs to keep authenticated cookies alive by c... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 139 次。
如何安装 Cookie Alive Pro?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cookie-alive」即可一键安装,无需额外配置。
Cookie Alive Pro 是免费的吗?
是的,Cookie Alive Pro 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Cookie Alive Pro 支持哪些平台?
Cookie Alive Pro 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Cookie Alive Pro?
由 Xinhai Zou(@seanmwx)开发并维护,当前版本 v1.0.0。