ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified browser automation Safety 3/5

Browser Session Manager

Skill by flyingzl

Why use this skill?

Learn how to use the Browser Session Manager to maintain authenticated states for automation. Effortlessly handle cookies and local storage in your workflows.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/flyingzl/browser-session-manager
Or

What This Skill Does

The Browser Session Manager skill, developed by flyingzl, provides a robust framework for maintaining persistent browser authentication states within automated workflows. It solves the common 'session invalidation' problem faced when using headless browser agents like Playwright. By capturing, storing, and injecting Cookies, LocalStorage, and SessionStorage data, the skill allows OpenClaw agents to resume authenticated sessions on platforms that lack official APIs, such as ByteDance's Jimeng AI.

Installation

To install this skill, run the following command in your terminal within your OpenClaw workspace: clawhub install openclaw/skills/skills/flyingzl/browser-session-manager Ensure your Node.js environment is configured and Playwright is initialized before running the automation scripts.

Use Cases

This skill is indispensable for automating repetitive web-based tasks that require user login. Common use cases include:

  • Batch generating AI video content on web platforms by persisting login credentials.
  • Automating form submissions that require multi-step data entry where sessions must remain active.
  • Monitoring web dashboards by keeping the session alive across different execution cycles.
  • Scraping data from authenticated web portals that use complex security headers or tokens stored in localStorage.

Example Prompts

  1. 'Load my saved session for Jimeng AI and prepare the browser for a new video generation task.'
  2. 'Check if the currently injected cookies for the Jimeng session are still valid, and if not, prompt me for an update.'
  3. 'Inject the session data from session-data.json and navigate to the video generation dashboard.'

Tips & Limitations

  • Security: Always treat your exported session files as sensitive data. Never commit session-data.json to public version control repositories.
  • Dynamic Content: Web platforms frequently rotate cookies. If you encounter a 401 Unauthorized error, re-export your session data using the Cookie-Editor browser extension.
  • Image Handling: When using this alongside automation tools, ensure file sizes are optimized via tools like ImageMagick to prevent upload timeouts.
  • Compatibility: This skill is specifically designed for Chromium-based browsers; behavior with Firefox or Safari engines may vary depending on how local storage is serialized.

Metadata

Author@flyingzl
Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-flyingzl-browser-session-manager": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#automation#browser#playwright#session#web-scraping
Safety Score: 3/5

Flags: file-write, file-read, code-execution