CLI tool for executing sensitive browser actions with human review
npx skills add https://github.com/napoleond/sensitive-browser --skill sensitive-browserCLI를 사용하여 이 스킬을 설치하고 작업 공간에서 SKILL.md 워크플로 사용을 시작하세요.
A CLI tool for executing sensitive browser actions (login, payments, form filling) outside of the core agent loop. Designed to integrate with agentic browsing workflows.
npm install -g sensitive-browser
# or
npx sensitive-browser <task> [options]
ATXP_CONNECTION_STRING environment variable setnpx sensitive-browser <task> \
--sensitive-data ./creds.json \
--url https://example.com/login \
--state ./session.json \
--output ./session.json
| Option | Description |
|---|---|
<task> |
The task to perform (e.g., "log in with credentials") |
-s, --state <path> |
Path to Playwright storage state JSON file |
-d, --sensitive-data <path> |
Path to sensitive data JSON file (required) |
-u, --url <url> |
Target URL to navigate to |
-o, --output <path> |
Output path for updated state (defaults to --state) |
Create a JSON file with your sensitive data:
{
"credentials": {
"username": "[email protected]",
"password": "secret"
},
"payment": {
"cardNumber": "4111111111111111",
"expiry": "12/28",
"cvv": "123",
"billingZip": "94102"
},
"personal": {
"fullName": "Jane Doe",
"phone": "+1-555-0123",
"address": "123 Main St"
}
}
# Start a session with agent-browser
agent-browser --session myapp open https://example.com
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
# Continue with agent-browser
agent-browser --session myapp state load ./session.json
agent-browser --session myapp snapshot
npx sensitive-browser "fill out the checkout form with payment info" \
--url https://store.example.com/checkout \
--sensitive-data ./payment.json \
--output ./checkout-state.json
# Install dependencies
npm install
# Build
npm run build
# Run locally
node dist/index.js "task" --sensitive-data ./test-creds.json --url https://example.com
MIT