Skip to content
TakoAPI
Back to skills

qr-password

by lifehackjohn

DevOps & Cloud
464Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Air-gapped credential bridge using QR codes.

Description

What This Skill Does

Transfers credentials between networked and air-gapped devices using QR codes as the transport channel. Supports two directions: generating a QR code from stored credentials for a device to scan, and decoding a QR code from a camera image to extract credentials. Nothing crosses a network.

Using the camera as the credential transport eliminates all network exposure, which no password manager sync or USB transfer can guarantee for truly isolated environments.

When to Use It

  • Logging into an air-gapped server with credentials from a password manager
  • Moving admin credentials to an isolated lab machine
  • Importing credentials printed as a QR code on hardware
  • Sharing a vault entry with an offline kiosk
  • Transferring a Wi-Fi password to a device with no keyboard

Example Workflow

INPUT

User asks: send my database credentials to the air-gapped machine

AGENT
  1. 1

    Encodes credentials as JSON and pipes to generate-qr.py, writing output to /tmp/qr-out.png

  2. 2

    Displays the QR image on canvas using canvas present

  3. 3

    Waits 30 seconds, then runs canvas hide to clear the display

  4. 4

    Deletes the file with rm /tmp/qr-out.png

  5. 5

    Reports 'QR displayed' to the user without echoing the password

OUTPUT

QR code was displayed for 30 seconds and the image file deleted

Requirements

  • Python packages: qrcode, Pillow, opencv-python-headless (install via pip)

Installation

clawhub install lifehackjohn/qr-password

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links