← 返回
未分类 中文

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...
通过本地 SQLite 支持的 Cookie 存储持久化、刷新并提供网站会话 Cookie,适用于 Codex 需要保持已认证 Cookie活跃的场景。
seanmwx
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 393
下载
💾 0
安装
1
版本
#latest

概述

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

  1. Pick a database name. The default is default, which resolves to ~/.cookie_alive/default.db.
  2. Capture the current cookie as either a Cookie header string or a JSON object.
  3. Store or update a named profile with python {baseDir}/scripts/cookie_alive.py upsert ....
  4. Validate the stored cookie with python {baseDir}/scripts/cookie_alive.py get --profile .
  5. Refresh it once with python {baseDir}/scripts/cookie_alive.py refresh --profile .
  6. Keep it alive with python {baseDir}/scripts/cookie_alive.py run --profile .

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-header when the source is browser devtools or another HTTP client. Store them with --cookie-json when the source is already structured.
  • Use get --format header when another program needs a literal Cookie header value.
  • Use get --format record or list when another program needs metadata such as interval_seconds, last_status_code, or last_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.py

Use this CLI for profile CRUD, one-shot refreshes, and repeat keepalive loops.

References

  • references/commands.md

Load this file for exact CLI shapes, storage path rules, and copy-paste examples.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 09:36 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Fund Buying Decision Pro

seanmwx
Parameterize and apply a Chinese mutual-fund buy, add, reduce, or hold strategy driven by price drawdown, recurring DCA,
★ 0 📥 342

TODO List Pro

seanmwx
在 SQLite 数据库中追踪本地待办或工作报告项,包括计划工作、进度、完成状态、删除和归档。当协同工作时使用。
★ 0 📥 363

Email Sender Pro

seanmwx
通过SMTP(如126、QQ、新浪、阿里云邮箱)发送邮件,使用SMTP授权码或邮箱密码。当用户希望Codex发送邮件时使用。
★ 0 📥 409