选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install dashlane或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install dashlane⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/dashlane/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: dashlane description: Access passwords, secure notes, secrets and OTP codes from Dashlane vault. homepage: https://cli.dashlane.com metadata: {"clawdbot":{"emoji":"🔐","requires":{"bins":["dcli"]}}} ---
Access your Dashlane vault from the command line. Read-only access to passwords, secure notes, secrets and OTP codes.
brew install dashlane/tap/dashlane-cli
First sync to trigger authentication:
dcli sync
Steps:
Check current account:
dcli accounts whoami
# Search by URL or title (copies password to clipboard by default)
dcli p mywebsite
dcli password mywebsite
# Get specific field
dcli p mywebsite -f login # Username/login
dcli p mywebsite -f email # Email
dcli p mywebsite -f otp # TOTP 2FA code
dcli p mywebsite -f password # Password (default)
# Output formats
dcli p mywebsite -o clipboard # Copy to clipboard (default)
dcli p mywebsite -o console # Print to stdout
dcli p mywebsite -o json # Full JSON output (all matches)
# Search by specific fields
dcli p url=example.com
dcli p title=MyBank
dcli p id=xxxxxx # By vault ID
dcli p url=site1 title=site2 # Multiple filters (OR)
dcli note [filters]
dcli n [filters] # Shorthand
# Filter by title (default)
dcli n my-note
dcli n title=api-keys
# Output formats: text (default), json
dcli n my-note -o json
Dashlane secrets are a dedicated content type for sensitive data.
dcli secret [filters]
# Filter by title (default)
dcli secret api_keys
dcli secret title=api_keys -o json
# Sync vault manually (auto-sync every hour by default)
dcli sync
# Lock the vault (requires master password to unlock)
dcli lock
# Logout completely
dcli logout
# Backup vault to current directory
dcli backup
dcli backup --directory /path/to/backup
# Save master password in OS keychain (default: true)
dcli configure save-master-password true
# Disable auto-sync
dcli configure disable-auto-sync true
# Enable biometrics unlock (macOS only)
dcli configure user-presence --method biometrics
# Disable user presence check
dcli configure user-presence --method none
Master password is stored in the Keychain by default. Survives reboots.
dcli configure save-master-password true
No native keychain. Options:
```bash export DASHLANE_MASTER_PASSWORD="..." ```
save-master-password true stores in ~/.local/share/dcli/Use the DASHLANE_MASTER_PASSWORD environment variable passed to the container.
docker run -e DASHLANE_MASTER_PASSWORD="..." myimage
Not supported by dcli yet — requires a classic master password.
# Inject secrets into environment variables
dcli exec -- mycommand
# Inject into templated files
dcli inject < template.txt > output.txt
# Read secret by path
dcli read "dl://vault/secret-id"
dcli p github -f otp
# Returns: 123456 (25s remaining)
Store private key in a secure note, then:
dcli n SSH_KEY | ssh-add -
# Get password for a script
PASSWORD=$(dcli p myservice -o console)
# Get JSON and parse with jq
dcli p myservice -o json | jq -r '.[0].password'
dcli sync to unlockdcli --debug Docs: https://cli.dashlane.com
安装 达什兰 后,可以对 AI 说这些话来触发它
Help me get started with Dashlane
Explains what Dashlane does, walks through the setup, and runs a quick demo based on your current project
Use Dashlane to access passwords, secure notes, secrets and OTP codes from Dashlane...
Invokes Dashlane with the right parameters and returns the result directly in the conversation
What can I do with Dashlane in my documents & notes workflow?
Lists the top use cases for Dashlane, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/dashlane/ 目录(个人级,所有项目可用),或 .claude/skills/dashlane/(项目级)。重启 AI 客户端后,用 /dashlane 主动调用,或让 AI 根据上下文自动发现并使用。
达什兰 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
达什兰 可免费安装使用。请查阅仓库了解许可证信息。
从 Dashlane 保险库访问密码、安全笔记、机密和 OTP 代码。
达什兰 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Dashlane
Identifies repetitive steps in your workflow and sets up Dashlane to handle them automatically