
Browser Login
FreeStreamline authentication for repeated web access.
Free · Opens the source repo
What Browser Login does
The Browser Login skill simplifies the process of authenticating against a target website by allowing users to drive an authentication flow once and then securely vault the resulting session credentials for future use. This skill is particularly useful for developers and designers who need to interact with web applications that require frequent logins. By capturing and storing session cookies, users can avoid the repetitive task of logging in each time they need to access the site.
This skill operates by first opening a recorded session and driving the authentication flow, where credentials can be filled in using various methods. It supports multi-factor authentication (MFA) by allowing user input or integration with a TOTP helper. After successfully logging in, the skill captures the session cookies and sanitizes them using AIDefence, ensuring that sensitive information is not exposed. The sanitized cookies are then stored in a secure vault, enabling easy access for downstream skills like browser-extract and browser-form-fill without needing to re-authenticate.
The Browser Login skill is designed for those who frequently interact with web applications that require authentication, making it a valuable tool for developers automating testing or data extraction tasks. It ensures that authentication flows are streamlined, reducing overhead and improving efficiency when working with multiple sessions. However, it is important to note that this skill is not intended for storing credentials securely; it focuses on managing session cookies while protecting sensitive data from being logged or exposed.
In summary, the Browser Login skill is an essential tool for anyone looking to enhance their workflow when dealing with authenticated web sessions. It allows for secure cookie management and simplifies the process of re-authenticating across multiple sessions, making it a practical addition to any developer's toolkit.
When to use it
Use this skill when you need to establish reusable authentication for a site you visit frequently or when you need to refresh session cookies that have expired.
When not to use it
Avoid this skill if you need a secure credential storage solution, as it focuses on managing session cookies rather than storing sensitive credentials securely.
What you can build with it
Frequent Web Testing
Use this skill to automate login for web applications you test regularly, saving time on repetitive authentication.
Data Extraction from Authenticated Sites
Capture and reuse session cookies for extracting data from sites that require login, enhancing your data collection workflow.
MFA Session Management
Manage sessions that require multi-factor authentication without needing to re-enter credentials each time.
How to install Browser Login
View source1. Install with the skills CLI
npx skills add ruvnet/ruflo/browser-login --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by ruvnetBrowser Login
Authenticate against a target site once, then vault the resulting session credentials so subsequent skills (browser-extract, browser-form-fill, browser-test) can reuse them without re-driving the auth flow. Borrows the pattern from Browserbase's cookie-sync/SKILL.md but stores the resulting context in AgentDB rather than on a hosted backend.
When to use
- Establishing reusable auth for a host the agent will visit repeatedly.
- Refreshing a vaulted cookie set whose expiry has passed.
- Capturing an MFA-protected session that requires interactive completion.
Steps
- Open a recorded session via
browser-record. - Drive the auth flow — fill credentials with
browser_fill/browser_type. Credentials come from the user or environment; do not read them from.envor paste them into the trajectory args. - Handle MFA (when
--mfa): pause for user input or invoke the user's TOTP helper; capture only the resulting redirect, not the code itself. - Capture cookies via
browser_eval:
Or use the Playwright context API where exposed.document.cookie // returns the cookie string for the active document - AIDefence sanitize:
Tokens that look raw get vault-wrapped (an opaque handle) before AgentDB store; raw values never enter the namespace.# Each cookie value passes aidefence_scan to flag raw secrets / high-entropy tokens. - Store in
browser-cookies:npx -y @claude-flow/cli@latest memory store --namespace browser-cookies \ --key "<host>" \ --value "{vault_handle:<opaque>, expiry:<iso>, aidefence_verdict:safe}" - Return the vault handle so downstream skills can mount it via the planned
browser_cookie_useMCP tool.
Caveats
- Never log raw cookie values, tokens, or passwords. The trajectory step for the auth POST records only the form field names and a
<redacted>placeholder for values. - The
browser_cookie_useMCP tool is reserved (ADR-0001 §7) but not yet implemented. Until then, downstream skills mount the vaulted cookies via a helper bash function inscripts/(TBD). - Some sites bind cookies to a UA fingerprint; if a vaulted cookie fails on reuse, re-run
browser-login. Do not attempt to fingerprint-match yourself. - This skill is not a credential storage solution. The vault-handle pattern protects against AgentDB leaks, not against compromise of the agent's environment.
Frequently asked questions about Browser Login
Similar skills
Spring Boot Testing
Master testing techniques for Spring Boot 4 applications.
GitHub Issues
Manage GitHub issues efficiently with MCP tools.
Geofeed Tuner
Optimize your IP geolocation feeds in CSV format.
Batch Files
Master Windows batch scripting for automation and task management.
Adobe Illustrator Scripting
Automate your Illustrator workflows with ExtendScript.
Plugin Structure
Create and organize Claude Code plugins effectively.
