LaunchKit · 2026
Back to Skills

LINE messaging integration via Chrome extension gateway.

3
336 downloads
by @2manslkh

Setup & Installation

openclaw skills install @2manslkh/line-client

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install line-client

Version History

v1.0.0Feb 25, 2026 - Version note by skill developer:

Initial release: LINE messaging via Chrome extension gateway

What This Skill Does

Python client for the LINE messaging platform via LINE's Chrome extension JSON gateway. Supports sending and receiving messages, managing contacts and groups, handling reactions, and updating profiles. Authentication requires scanning a QR code in the LINE mobile app, with tokens valid for approximately 7 days.

LINE has no official API for personal accounts, and this library provides one of the few ways to automate personal LINE interactions without screen scraping.

When to use it

  • Automating LINE message sends from a Python script
  • Polling a LINE group chat for incoming messages
  • Looking up or adding LINE contacts by phone number
  • Marking conversations as read in bulk
  • Reacting to messages with emoji responses programmatically

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Send 'Meeting at 3pm' to a LINE contact with MID U1234abc

AGENT
  1. 1Load auth token from ~/.line-client/tokens.json
  2. 2Initialize LineChromeClient with the auth token
  3. 3Call client.send_message('U1234abc', 'Meeting at 3pm')
  4. 4Catch APIError(10051) if token is expired and prompt re-authentication via QR login
OUTPUT

Message delivered to the specified LINE contact

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

lstm.wasm and lstmSandbox.js in repo rootLINE mobile app for QR code authentication