sigcli-auth-proxy

Proxies authenticated API requests for AI agents using encrypted browser SSO and OAuth2 credentials.

4|Updated May 16, 2026
One-click install
npx skills add https://github.com/reason-machines/devtools-skills --skill sigcli-auth-proxy-reason-machines
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sigcli-auth-proxy
Source: https://github.com/reason-machines/devtools-skills/tree/main/skills/sigcli-auth-proxy
Command: npx skills add https://github.com/reason-machines/devtools-skills --skill sigcli-auth-proxy-reason-machines

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @sigcli/cli.

What problem does it solve? AI agents cannot access authenticated APIs without handling raw credentials, which creates security risks and manual login friction. This Skill manages browser SSO logins, OAuth2 flows, and credential injection so agents call protected APIs without ever seeing secrets. ## Core Features & Use Cases - Browser SSO Authentication: Log in to any website or enterprise SSO provider with sig login, with automatic provider provisioning and validation rules. - Encrypted Credential Storage: Extracts cookies, localStorage tokens, and OAuth2 tokens, encrypting them locally with AES-256-GCM in ~/.sig/credentials/. - Transparent Auth Proxy & Requests: Inject credentials into HTTP calls via sig request, sig run, or a MITM proxy on sig proxy --port 8080. - Use Case: An agent needs to query Jira issues. After a one-time sig login https://jira.example.com, the agent runs sig request https://jira.example.com/rest/api/2/issue/PROJ-123 and receives authenticated JSON without handling any session cookies. ## Quick Start Install the CLI with npm install -g @sigcli/cli, then run sig login against your target site and use sig request to make an authenticated API call.

Frequently Asked Questions about sigcli-auth-proxy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I authenticate an AI agent with browser SSO?▼

Run sig login followed by the site URL, for example sig login https://jira.example.com. The CLI opens a browser for SSO login, extracts session cookies automatically, and stores them encrypted for later authenticated requests.

How to make authenticated API requests without exposing credentials?▼

Use sig request with the target URL to make direct authenticated calls, or start sig proxy --port 8080 and route HTTP traffic through it. Credentials are injected from encrypted local storage and never appear in environment variables or shell history.

Does sigcli support OAuth2 client credentials flow?▼

Yes, configure a provider with strategy oauth2, tokenUrl, clientId, and clientSecret in ~/.sig/config.yaml. The CLI obtains access tokens and refreshes them automatically when they expire.

Why does sigcli report not authenticated after browser login?▼

Validation fails when the validateUrl returns HTTP 200 even for logged-out users. Add a validateRule JavaScript expression such as res.body.status_code === 0, or point validateUrl at an endpoint that returns 401 when unauthenticated.

Can sigcli extract tokens from localStorage?▼

Yes, add an extract entry with from localStorage, the storage key in match, and a jsonPath for nested values. This works for apps like Slack that store tokens such as xoxc in localStorage instead of cookies.

How are credentials stored and secured in sigcli?▼

Credentials are encrypted with AES-256-GCM and stored in ~/.sig/credentials/ with file mode 600. An audit log is kept in ~/.sig/logs/, and sig get redacts tokens by default unless --no-redaction is passed.