linejs-cli

Installation
SKILL.md

linejs-cli

line is the command-line client for LINEJS. It talks to LINE directly, reuses the same E2EE/session machinery as the library, and exposes contacts, chats, OpenChat, media, Timeline/Note, calls, and raw LINE Thrift/REST methods. Result-producing commands have a --json mode, and the same surface is available to agents through a two-tool MCP server.

This skill is a map, not a frozen manual. The command set is large and still evolving; discover exact arguments with line help <command> or line commands --json instead of guessing.

Ground rules

  1. Check the session before re-authenticating. Run line auth status --json first. Repeated logins can trigger LINE account restrictions.
  2. Use --json for anything you parse. Human output is a table and is not a stable interface.
  3. Confirm before observable or destructive actions. Sending, replying, uploading, unsending, leaving/kicking, blocking, profile edits, deletes, and logout affect a real account. Restate the target MID, chat name, and payload to the user first.
  4. Resolve MIDs; never guess them. Look up the contact or chat and use the returned mid (u… user, c… group, r… room, s… OpenChat square, m… OpenChat chat).
  5. Treat credentials as secrets. ~/.linejs/*.json, line auth token, line storage list --values, and --no-save output contain auth tokens or E2EE keys. Do not print, log, or commit them.
  6. Ask before automating a personal account. Using LINEJS may violate LINE's terms of service and can lead to account restrictions.

Install and invoke

Installs
2
Repository
evex-dev/linejs
GitHub Stars
466
First Seen
5 days ago