agent-access

作成者: bitwarden

ログイン認証情報、APIキー、シークレット(ユーザー名、パスワード、TOTP)をaac経由でユーザーのBitwarden vaultから取得します。サインインに認証情報が必要な場合に使用します…

npx skills add https://github.com/bitwarden/agent-access --skill agent-access

Use this skill when you need to sign into a website, retrieve a login, look up a password, or get a TOTP code. aac fetches credentials (username, password, TOTP, URI, notes) from the user's Bitwarden vault through a trusted paired device.

When to use this

  • The user asks you to log into a website or service
  • You need a username and/or password for a domain
  • You need a TOTP / 2FA code for authentication
  • You need an API key or secret stored in the vault
  • The user says "get my credentials for X" or "sign into X"

Quick start (agent flow)

Step 1 — Check for an existing session:

aac connections list

Step 2 — Fetch the credential using the website's domain:

aac --domain example.com --output json

If only one session is cached, it auto-selects. With multiple sessions, add --session <HEX> (use a fingerprint or unique prefix from connections list).

Step 3 — Parse the JSON output:

{
  "success": true,
  "domain": "example.com",
  "credential": {
    "username": "user@example.com",
    "password": "s3cret",
    "totp": "123456",
    "uri": "https://example.com/login",
    "notes": "optional notes"
  }
}

Use credential.username and credential.password to sign in. If the site requires 2FA, use credential.totp.

If no session exists

The user must pair with a trusted device first. Ask them to:

  1. Run aac listen on their trusted device
  2. Give you the pairing token (e.g. ABC-DEF-GHI)

Then connect with:

aac --domain example.com --token <CODE> --output json

Alternatively, for PSK tokens (format: <64-hex-psk>_<64-hex-fingerprint>):

aac --domain example.com --token <PSK_TOKEN> --output json

Sessions are cached in ~/.access-protocol/ for future use — subsequent requests don't need a token.

Domain matching

Use the bare domain of the website you need credentials for:

  • github.com (not https://github.com/login)
  • accounts.google.com (not https://accounts.google.com/v3/signin)
  • aws.amazon.com

All options

FlagDescription
--domain <DOMAIN>Website domain to fetch credentials for (required for non-interactive use)
--token <TOKEN>Pairing token — rendezvous or PSK (conflicts with --session)
--session <HEX>Session fingerprint or unique prefix (conflicts with --token)
--relay-url <URL>WebSocket relay address (default: wss://ap.lesspassword.dev)
--output json|textOutput format (default: text; use json for programmatic access)
--no-cacheDon't cache this session
--verify-fingerprintRequire fingerprint verification
-vVerbose logging

Session management

aac connections list                          # List all cached sessions
aac connections clear                         # Clear all sessions and identity keys
aac connections clear sessions                # Clear sessions only, keep identity key

Error handling

On failure, JSON output:

{"success": false, "error": {"message": "...", "code": "connection_failed"}}

Exit codes:

CodeMeaningWhat to do
0SuccessParse credential from output
1General errorCheck stderr for details
2Connection failedRelay may be down; retry or check --relay-url
3Auth/handshake failedSession may be stale; clear cache and re-pair
4Credential not foundNo matching login for that domain in the vault
5Fingerprint mismatchSecurity issue; do not proceed, alert the user

If exit code is 3, try aac connections clear sessions and ask the user for a new token. If exit code is 4, confirm the domain with the user — they may store it under a different name.

bitwardenのその他のスキル

figma-to-angular
bitwarden
このスキルは、Figmaのデザイン仕様を、Bitwarden Clientsモノレポ内でStorybookストーリーを持つ完全に実装されたAngularコンポーネントに変換します。出力は、すべてのコードベースの規約に従いながら、視覚的にデザインと一致する必要があります。
force-multiplier
bitwarden
1つの意図を多数のターゲットに同時に適用する——Bitwardenエコシステム全体のリポジトリ群や、モノレポ内の多くのプロジェクト——をN個の一貫した……として。
analyzing-git-sessions
bitwarden
指定された時間枠またはコミット範囲内のgitコミットと変更を分析し、コードレビュー、振り返り、作業ログ、セッション…のための構造化されたサマリーを提供します。
coordinating-cross-team-breakdown
bitwarden
クロスチームのレビューと承認を調整し、Bitwarden Tech Breakdownを実施します。影響を受けるチームの特定、パート3の承認テーブルの作成、フォローアップの際に使用します。
assessing-jira-issue-relevance
bitwarden
ユーザーが単一のJira課題キーを提示し、それがまだ関連性があるか、まだ適用可能か、まだ保留中か、まだバグか、修正済みか、またはその可能性があるかを尋ねる場合に使用します。
assessing-test-coverage
bitwarden
特定の変更(PR、Jiraキー、Tech Breakdownドキュメント、Testmo CSV、変更されたパス、または指定された…)に対して、どのテストカバレッジが既に存在するかを判断する際に使用します。
retrospecting
bitwarden
Claude Codeセッションの包括的な分析を実行し、git履歴、会話ログ、コード変更を調査し、ユーザーフィードバックを収集して生成する…
reviewing-incremental-changes
bitwarden
このスキルは、既にコメントがあるPRを再レビューする際や、初回レビュー後の開発者の変更に対応する際に使用します。PRスレッドが存在する場合や…に適用します。