ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

line-oa

Operate LINE Official Account Manager (chat.line.biz) via browser automation. Use when asked to check LINE messages, reply to LINE customers, or manage LINE OA chat interface.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/picseeinc/line-oa
Or

LINE Official Account Manager

⚠️ CRITICAL: Always use profile:"openclaw" (isolated browser) for all browser actions. Never use Chrome relay. Keep the same targetId across operations to avoid losing the tab.

⚠️ CONTEXT Management:

  • Snapshot results are large. Do NOT repeat them in thinking.
  • Extract needed info and process immediately. Do not re-describe the entire snapshot.
  • Preferred approach: Use snapshot refs:"aria" compact:true to find element refs, then act + click/type with ref.
  • Avoid: Hard-coded evaluate with textContent.includes() — unreliable due to DOM timing and structure variations.

⚠️ AUTO-LOGIN SCRIPTS:

  • auto-login.mjs is a reference implementation (not directly executable by agents)
  • login-flow.md is the agent-executable version (use this for automation)
  • Why separate? Agents use browser tool calls, not Node module imports

Configuration

Before first use, check if config.json exists:

read file_path:"skills/line-oa/config.json"

⚠️ PATH RULE: Always use workspace-relative paths starting from skills/line-oa/. Never use ../ or absolute paths starting with /.

If missing, help the user run the following command to start the setup wizard:

cd skills/line-oa
node scripts/setup.js

Enter LINE OA Manager

This is the first step for all operations below.

  1. Check and start browser service:

    browser action:"status"
    

    If "running": false, start the browser service:

    browser action:"start" profile:"openclaw"
    

    Wait 2-3 seconds for the service to initialize.

  2. Read config to get chatUrl:

    read file_path:"skills/line-oa/config.json"
    

    Extract chatUrl from the JSON (e.g., https://chat.line.biz/U1234567890abcdef1234567890abcdef/).

  3. Open browser:

    browser action:"open" profile:"openclaw" targetUrl:"<chatUrl>"
    

    Capture targetId and url from response.

  4. Wait for page load:

    browser action:"act" profile:"openclaw" targetId:"<targetId>" request:{"kind":"wait","timeMs":2000}
    
  5. Check current URL:

    browser action:"act" profile:"openclaw" targetId:"<targetId>" request:{"kind":"evaluate","fn":"function(){return window.location.href;}"}
    

    Key result: If the current URL matches chatUrl, you have successfully logged in! Go to step 5, else proceed to troubleshooting.

    Troubleshooting

    If you see the login page (the URL redirects to account.line.biz), use these automation scripts:

    a. Click LINE Account button:

    read file_path:"skills/line-oa/scripts/click-line-account.js"
    

    Execute the script directly:

    browser action:"act" profile:"openclaw" targetId:"<targetId>" request:{"kind":"evaluate","fn":"<script_content>"}
    

    Wait 2 seconds.

Metadata

Author@picseeinc
Stars1217
Views1
Updated2026-02-20
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-picseeinc-line-oa": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.