# Lastpass CLI

> Securely fetch credentials from LastPass vault via lpass CLI.

- Skill: `kbarbel640-del/lastpass-cli` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add kbarbel640-del/lastpass-cli`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kbarbel640-del/lastpass-cli/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: kbarbel640-del (https://skillmd.com/u/kbarbel640-del)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/kbarbel640-del/lastpass-cli

---


# LastPass CLI Skill

## Description

This skill lets the agent retrieve credentials from the local LastPass vault using the `lpass` CLI. It is intended for fetching secrets into automation flows, not for interactive vault management.

## Tools

- `lastpass_get_secret`: Retrieve a specific field (password, username, notes) for a named LastPass entry using the local `lpass` CLI.

## When to Use

- When you need a password, username, or notes for a specific account that is stored in LastPass.
- When orchestrating deployments, API calls, or logins that require secrets.

## Tool: lastpass_get_secret

### Invocation

Call this tool with a JSON object:

```json
{
  "name": "Exact LastPass entry name",
  "field": "password | username | notes | raw"
}

