LastPass CLI Skill for Openclaw

A secure integration that allows AI agents to fetch credentials and secrets directly from a local LastPass vault using the lpass command-line interface.

gitchrisqueen
v0.1.0
Feb 2, 2026
2
2.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install lastpass-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install lastpass-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is LastPass CLI Skill?

The LastPass CLI skill is a specialized utility designed to bring enterprise-grade secret management to your automated agent workflows. By interfacing directly with the local lpass binary, this skill enables an agent to programmatically retrieve usernames, passwords, and secure notes without human intervention. This makes it an essential part of the Openclaw Skills collection for users who prioritize security and automation.

Rather than storing sensitive information in plaintext configuration files, this skill allows you to keep your secrets in an encrypted vault while still making them accessible to your AI tools. It is built for efficiency, focusing on read-only secret retrieval to support complex deployment, login, and integration tasks within the Openclaw Skills ecosystem.

LastPass CLI Skill Use Cases

  • Automating software deployments that require database credentials or API keys stored in LastPass.
  • Streamlining multi-step login processes for AI agents performing web-based tasks.
  • Retrieving server configuration details or environment variables from secure notes.
  • Integrating secure credential management into custom CLI-based automation flows using Openclaw Skills.

How LastPass CLI Skill Works

  1. The AI agent identifies a requirement for a specific secret (e.g., a login password).
  2. The agent calls the lastpass_get_secret tool, providing the exact name of the vault entry.
  3. The skill executes the lpass show command via the local system shell.
  4. The system validates the local lpass session; if authenticated, it extracts the requested field.
  5. The retrieved secret is returned to the agent to be used in the current workflow.

LastPass CLI Skill Setup

To use this skill, you must have the LastPass CLI installed on your host machine.

  1. Install the lpass CLI tool for your operating system (e.g., brew install lastpass-cli on macOS).
  2. Log in and sync your vault:
lpass login [email protected]
lpass sync
  1. Ensure your vault remains unlocked during agent execution. You can check your status using:
lpass status

LastPass CLI Skill Data Schema & Taxonomy

The skill utilizes a simple request schema to interface with the LastPass vault. It does not maintain a persistent database, as it queries the lpass binary in real-time.

Input Parameter Type Description
name string The exact name of the entry in your LastPass vault.
field string The attribute to retrieve: password, username, notes, or raw.

All responses are handled as secure strings within the agent's memory and are not logged to disk by the Openclaw Skills framework.

LastPass CLI Skill Advanced Features

  • Support for the 'raw' field to retrieve entire vault entry blobs for complex parsing.
  • Real-time synchronization with the LastPass cloud via the local CLI integration.
  • Minimal footprint execution, leveraging existing system-level authentication sessions.
  • Compatible with any Openclaw Skills workflow that requires dynamic secret injection.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*