Repo-local OpenClaw skill workspace for session_cookie_online.
The skill stores session cookies in SQLite under ~/.cookie_alive/<db_name>.db, refreshes them against a keepalive URL, and returns cookie headers or JSON for other programs.
SKILL.md: skill definition at the repository rootreferences/: runtime reference docsscripts/: runtime scripts and example clientstest/: local-only tests, ignored by gitskill_creator/: local helper template used to scaffold the skill, ignored by git
python skill_creator/scripts/quick_validate.py .python test/run_smoke.pypython test/run_cli_tests.py
- Examples assume
conda activate py12opcskills python scripts/examples/use_chsi_cookie.pypython scripts/examples/use_chsi_cookie.py --no-refreshpython scripts/examples/other_program_calls_cookie_alive.py --skip-requestpython scripts/examples/other_program_calls_cookie_alive.py --show-commandpython scripts/examples/http_api_wrapper.py --host 127.0.0.1 --port 8787
Start the local wrapper:
python scripts/examples/http_api_wrapper.py --host 127.0.0.1 --port 8787
Then other software can call:
GET /healthGET /pull?db_name=chsi&profile=main&refresh=1&format=headerGET /check?db_name=chsi&profile=mainGET /list?db_name=chsi&active_only=1