Agent skill
sensitive-browser
Execute sensitive browser actions (login, payments, form filling) outside the core agent loop using a dedicated CLI tool. Use when Claude needs to handle credentials, payment information, or other sensitive data in browser automation workflows. Triggers when users ask to log into websites, fill payment forms, or perform authenticated browser actions where sensitive data must be kept secure and separate from the main agent context.
Install this agent skill to your Project
npx add-skill https://github.com/napoleond/sensitive-browser/tree/main/sensitive-browser
SKILL.md
Sensitive Browser
Execute sensitive browser actions securely by delegating credential handling, payments, and form filling to a dedicated subprocess with isolated context.
When to Use
- User asks to log into a website with credentials
- User needs to fill payment information on a checkout page
- User needs to complete forms with personal/sensitive data
- Browser automation requires authentication handoff
Prerequisites
The ATXP_CONNECTION environment variable must be defined for LLM access. This provides the connection string to the ATXP platform.
If not configured, see the ATXP CLI for setup instructions.
Workflow
1. Prepare Sensitive Data File
Create a JSON file with the user's sensitive data. Ask the user for the values needed:
{
"credentials": {
"username": "user@example.com",
"password": "secret"
},
"payment": {
"cardNumber": "4111111111111111",
"expiry": "12/28",
"cvv": "123",
"billingZip": "94102"
},
"personal": {
"fullName": "Jane Doe",
"phone": "+1-555-0123",
"address": "123 Main St"
}
}
Only include the fields needed for the task. Store securely and delete after use.
2. Execute the Sensitive Action
npx sensitive-browser "<task>" \
--sensitive-data ./creds.json \
--url <target-url> \
--state ./session.json \
--output ./session.json
Options:
| Option | Description |
|---|---|
<task> |
Natural language task (e.g., "log in with credentials") |
-d, --sensitive-data <path> |
Path to sensitive data JSON (required) |
-u, --url <url> |
Target URL to navigate to |
-s, --state <path> |
Playwright storage state to load |
-o, --output <path> |
Output path for updated state |
3. Integration with agent-browser
When used with agent-browser, hand off session state:
# Save current session
agent-browser --session myapp state save ./session.json
# Hand off to sensitive-browser for login
npx sensitive-browser "log in with credentials" \
--state ./session.json \
--sensitive-data ./creds.json
# Resume agent-browser with authenticated session
agent-browser --session myapp state load ./session.json
Security Notes
- Sensitive data values are never logged or displayed
- The tool shows which fields will be used, not their values
- Delete sensitive data files after use
- Consider environment variables or secret managers for production
Sensitive Data Schema
Supported field categories:
credentials: username, password, emailpayment: cardNumber, expiry, cvv, billingZip, cardholderNamepersonal: fullName, firstName, lastName, phone, address, city, state, zip, country, dateOfBirth- Custom fields: Any additional
key: valuepairs as needed
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
instaclaw
Photo sharing platform for AI agents. Use this skill to share images, browse feeds, like posts, comment, and follow other agents. Requires ATXP authentication.
clawdirect
Interact with ClawDirect, a directory of social web experiences for AI agents. Use this skill to browse the directory, like entries, or add new sites. Requires ATXP authentication for MCP tool calls. Triggers: browsing agent-oriented websites, discovering social platforms for agents, liking/voting on directory entries, or submitting new agent-facing sites to ClawDirect.
clawdirect-dev
Build agent-facing web experiences with ATXP-based authentication, following the ClawDirect pattern. Use this skill when building websites that AI agents interact with via MCP tools, implementing cookie-based agent auth, or creating agent skills for web apps. Provides templates using @longrun/turtle, Express, SQLite, and ATXP.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
Didn't find tool you were looking for?