← スキル一覧に戻る

agent-browser-cookies
by yujiachen-y
⭐ 2🍴 0📅 2026年1月24日
SKILL.md
name: agent-browser-cookies description: This skill should be used when exporting, storing, or reapplying agent-browser cookies across sessions, especially for localhost login states.
Agent Browser Cookie Manager
Use this skill to export cookies from an agent-browser session, store them under this skill’s folder, and reapply them to another session.
What This Skill Provides
- Deterministic export of cookies to
assets/cookies/ - Reapplication of cookies to another session (with optional base URL)
- Safe filtering by domain when reapplying
Files and Locations
- Exported cookies live in
assets/cookies/as JSON files. - Use
scripts/export_cookies.pyandscripts/import_cookies.py.
Workflow
Export cookies from a session
- Ensure the session you want to export from is active.
- Run:
python /Users/jace/.codex/skills/agent-browser-cookies/scripts/export_cookies.py \ --session default \ --name default-localhost - Verify output file in:
/Users/jace/.codex/skills/agent-browser-cookies/assets/cookies/default-localhost.local.json
Import cookies into a different session
- Decide the base URL (origin) the cookies should apply to, e.g.
http://localhost:3208. - Run:
python /Users/jace/.codex/skills/agent-browser-cookies/scripts/import_cookies.py \ --session test-cookie \ --file /Users/jace/.codex/skills/agent-browser-cookies/assets/cookies/default-localhost.local.json \ --base-url http://localhost:3208 - Open the target page in that session and verify login state.
Notes and Constraints
agent-browser cookies setonly sets name/value for the current origin.- The import script filters cookies to the base URL host and applies them after opening that URL.
- If login still fails, cookies may be missing attributes; re-login manually and re-export.
- Cookie files are stored as
*.local.jsonand are ignored byassets/cookies/.gitignore.
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です