Token导航 LogoToken导航

Agent Skill · 研究检索

line-oa(线 OA)

line-oa 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

line-oa 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为操作浏览器;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 4,990。

总安装 28,470周安装 1,163GitHub Stars 公开资料未说明下载 9,118核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.2

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:line-oa(线 OA)
来源仓库:https://github.com/picseeinc/line-oa
安装命令:
openclaw skills install line-oa
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install line-oa

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

line-oa 自动化操作 LINE 官方客户管理系统。支持消息检查与客户回复管理功能。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。适用于客服场景下的工单流转处理。需确保操作符合平台服务条款规定。line-oa 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install line-oa;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

line-oa 怎么安装?

在终端执行 openclaw skills install line-oa。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

line-oa 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

line-oa 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

line-oa 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

line-oa 用的人多吗?

公开数据是累计安装 28,470 次,近一周安装 1,163 次,下载 9,118 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

line-oa 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
line-oa

线 OA · 本页

28,470—操作浏览器MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
line-oa
description
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.

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.

  1. 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/).

  1. Open browser:
   browser action:"open" profile:"openclaw" targetUrl:"<chatUrl>"

Capture targetId and url from response.

  1. Wait for page load:
   browser action:"act" profile:"openclaw" targetId:"<targetId>" request:{"kind":"wait","timeMs":2000}
  1. 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.

b. Click Login button:

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

Execute the script directly:

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

Wait 3 seconds.

c. Reload chatUrl:

      browser action:"navigate" profile:"openclaw" targetId:"<targetId>" targetUrl:"<chatUrl>"

Wait 2 seconds, then take snapshot to verify left-side chat list is visible.

### After Check

  1. Proceed with the user's other requests.
  2. Clean Up Browser Tabs:

a. Open a blank tab:

   browser action:"open" profile:"openclaw" targetUrl:"about:blank"

b. Get all tabs:

   browser action:"tabs" profile:"openclaw"

c. Close all tabs except the newest one (about:blank):

   browser action:"close" profile:"openclaw" targetId:"<your_targetId>"

Important: Always clean up tabs after all operations to prevent resource accumulation. The blank tab keeps the browser service running for faster next use.

Quick Check (for cron / automated checks)

Complete flow: login → list chats → report. Follow these steps exactly.

  1. Read config: read file_path:"skills/line-oa/config.json" → get chatUrl
  2. Open browser: browser action:"open" profile:"openclaw" targetUrl:<chatUrl> → get targetId
  3. Wait: browser action:"act" profile:"openclaw" targetId:<targetId> request:{"kind":"wait","timeMs":3000}
  4. Check URL: browser action:"act" profile:"openclaw" targetId:<targetId> request:{"kind":"evaluate","fn":"function(){return window.location.href;}"}

- If URL contains account.line.biz → go to Troubleshooting section below to login, then come back - If URL contains chat.line.biz → continue

  1. Run this one-liner script as-is, do not modify:
   browser action:"act" profile:"openclaw" targetId:<targetId> request:{"kind":"evaluate","fn":"(function(){var r=document.querySelectorAll('.list-group-item-chat');return Array.from(r).map(function(e){var h=e.querySelector('h6');var p=e.querySelector('.text-muted.small');var pt=p?p.textContent.trim():'';var ms=e.querySelectorAll('.text-muted');var t='';for(var i=0;i<ms.length;i++){var v=ms[i].textContent.trim();if(v&&v.length<20&&v!==pt)t=v;}var d=e.querySelector('span.badge.badge-pin');var u=!!d&&getComputedStyle(d).display!=='none';return{name:h?h.textContent.trim():'',time:t,lastMsg:pt.substring(0,100),unread:u};}).filter(function(i){return i.name;});})()"}

⚠️ CHECKPOINT: Did you actually call the browser tool above? If you only thought about it but didn't call it, STOP and call it NOW. You MUST see a tool result before continuing.

  1. Report: take the first 5 items, format each as: <name> (<time>) <lastMsg> [未讀] or [已讀] based on unread field. If empty array, say "目前沒有聊天記錄".
  2. Clean up: open about:blank, list all tabs, close everything except about:blank.

Check LINE Messages

Extracts all chats from the left-side chat list with unread status. Does NOT require clicking into each chat.

Prerequisites: You must be logged in and on the chat list page (see Login section Step 5 for verification).

Steps

  1. Read the script content:
   read file_path:"skills/line-oa/scripts/list-chats.js"
  1. Run the script via browser evaluate:

Pass the script content directly as the fn parameter:

   browser action:"act" profile:"openclaw" targetId:"<your_targetId>" request:{"kind":"evaluate","fn":"<script_content>"}
  1. The script returns a JSON array of all chat items with structure:
   [{ name: string, time: string, lastMsg: string, unread: boolean }]

- name: customer display name - time: timestamp (e.g., "21:32", "Yesterday", "Friday") - lastMsg: last message preview (~100 chars) - unread: true if green dot present, false otherwise

  1. Get URLs for unread chats (optional but recommended for faster follow-up):

For each unread chat, click into it to get the direct URL, then return to list:

   browser action:"act" profile:"openclaw" targetId:"<your_targetId>" request:{"kind":"evaluate","fn":"function(){const items=document.querySelectorAll('.list-group-item-chat');const target=Array.from(items).find(el=>{const h6=el.querySelector('h6');return h6&&h6.textContent.includes('<customer_name>');});if(target){const link=target.querySelector('a.d-flex');if(link){link.click();return {clicked:true};}return {linkNotFound:true};}return {itemNotFound:true};}"}

Wait 500ms, then get the URL:

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

Navigate back to list:

   browser action:"navigate" profile:"openclaw" targetId:"<your_targetId>" targetUrl:"<chatUrl>"

Wait 1 second before processing next unread chat.

Result: Store the chat URL (e.g., https://chat.line.biz/U1234567890abcdef1234567890abcdef/chat/U803dc04f...) alongside the chat info for faster access later.

How to Report Results

  • If unread: true exists: List each unread chat with name, time, preview, and URL (if obtained)
  • If no unread: Say "No unread messages at this time"

Notes

  • Unread indicator: span.badge.badge-pin inside each chat list item (green dot)
  • Limitation: lastMsg shows the last message in the thread, which may be an auto-response rather than the customer's original message
  • Chat URLs: Getting URLs requires clicking each chat. Do this for unread chats to enable faster replies later.
  • To read full messages: See "View Specific Messages" section below

View Specific Messages

Opens any chat (read or unread) and displays its messages. Works for viewing message history, checking context, or preparing to reply.

Prerequisites: You must be logged in and on the chat list page. You should know the customer name (from list-chats.js or user request).

Steps

  1. Find and click the chat item to open messages:

Use evaluate to find the chat item by name (more reliable than snapshot for dynamic chat list):

   browser action:"act" profile:"openclaw" targetId:"<your_targetId>" request:{"kind":"evaluate","fn":"function(){const items=document.querySelectorAll('.list-group-item-chat');const target=Array.from(items).find(el=>{const h6=el.querySelector('h6');return h6&&h6.textContent.includes('<customer_name>');});if(target){const link=target.querySelector('a.d-flex');if(link){link.click();return {clicked:true};}return {linkNotFound:true};}return {itemNotFound:true};}"}

Replace <customer_name> with the actual customer name.

  1. Wait for messages panel to load:
   browser action:"act" profile:"openclaw" targetId:"<your_targetId>" request:{"kind":"wait","timeMs":2000}
  1. Take a screenshot to view the messages:
   browser action:"screenshot" profile:"openclaw" targetId:"<your_targetId>"

The screenshot will show: - Recent messages in the chat (right panel) - Customer info and tags (far right panel) - Auto-response status banner (if active)

  1. Optional: Read recent messages programmatically

If you need structured message data instead of a screenshot, read and run this script:

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

Execute:

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

Returns an array of recent messages with: - time: timestamp - text: message content - isCustomer: true if from customer, false if from you - hasImage: true if message contains an image

Navigation Tips

To scroll to earlier messages:

  • The messages panel auto-scrolls to the bottom by default
  • To see earlier history, use:
  browser action:"act" profile:"openclaw" targetId:"<your_targetId>" request:{"kind":"evaluate","fn":"function(){const panel=document.querySelector('.conversation-panel, .messages-container, [class*=\"chat-container\"]');if(panel){panel.scrollTo({top:0,behavior:'smooth'});return {scrolled:true};}return {error:'Messages panel not found'};}"}
  • Wait 1 second after scrolling, then take another screenshot

Common issues:

  • If messages don't load: increase wait time to 3000ms
  • If customer name has special characters: use partial match (e.g., "John" instead of "John ⭐️")
  • If click fails: the chat might not be visible in the current scroll position of the left panel

Handling Images

When you see images in the screenshot or hasImage: true in message data:

  1. Find and download the image:
   function(){
     const allPhotoImgs = Array.from(document.querySelectorAll('img[alt="Photo"]'));
     const targetImg = allPhotoImgs.find(img => {
       const parent = img.closest('.chat');
       return parent && !parent.classList.contains('chat-reverse') && parent.innerText.includes('<time>');
     });
     
     if (!targetImg) return {error: 'Image not found'};
     
     const parent = targetImg.closest('.chat');
     const downloadLink = Array.from(parent.querySelectorAll('a')).find(a => a.textContent.trim() === 'Download');
     
     if (downloadLink) {
       downloadLink.click();
       return {clicked: true};
     }
     return {error: 'Download link not found'};
   }

Replace <time> with the message timestamp (e.g., "09:11").

  1. Wait and locate downloaded file:
   browser action:"act" profile:"openclaw" targetId:"<your_targetId>" request:{"kind":"wait","timeMs":2000}
   exec command:"ls -t ~/Downloads/line_oa_chat_*.jpg 2>/dev/null | head -1"
  1. Send to user:
   message action:"send" target:"<user>" filePath:"<path>" message:"Customer sent this image"

Note: Downloaded images are named line_oa_chat_YYMMDD_HHMMSS.jpg

Reply to a Message

⚡ Fast Path: If you already have the chat URL from a previous "Check LINE Messages" operation, skip steps 1-2 and go directly to step 3:

browser action:"navigate" profile:"openclaw" targetId:"<your_targetId>" targetUrl:"<chat_url>"

Wait 2 seconds, then proceed to step 3.

Standard Path (when you don't have the chat URL):

  1. Take a snapshot to find the chat item:
   browser action:"snapshot" profile:"openclaw" targetId:"<your_targetId>" refs:"aria"
  1. Click a chat item link in the left panel (e.g., ref:"e68"):
   browser action:"act" profile:"openclaw" targetId:"<your_targetId>" request:{"kind":"click","ref":"e68"}
  1. If the input box is locked (auto-response mode), click the manual chat toggle button in the top banner to unlock it.
  2. Take another snapshot to find the input box and send button.
  3. Click the text input box (e.g., ref:"e509"):
   browser action:"act" profile:"openclaw" targetId:"<your_targetId>" request:{"kind":"click","ref":"e509"}
  1. Type the reply message:
   browser action:"act" profile:"openclaw" targetId:"<your_targetId>" request:{"kind":"type","ref":"e509","text":"Hello! I'm Emma, happy to help you!"}
  1. Click the green Send button (e.g., ref:"e522") or press Enter:
   browser action:"act" profile:"openclaw" targetId:"<your_targetId>" request:{"kind":"click","ref":"e522"}

Manage Notes

Each chat has a Notes panel on the right side. Notes are internal-only (not visible to customers). Max 300 characters per note.

Add a note

  1. Open the conversation.
  2. Click the + button next to the Notes heading in the right panel.
  3. Type content in the textarea.
  4. Click Save.

Edit a note

  1. Find the note in the right panel.
  2. Click the pencil icon at the note's bottom-right corner.
  3. Modify the textarea content.
  4. Click Save.

Delete a note

  1. Click the trash icon at the note's bottom-right corner.
  2. A confirmation dialog appears — click Delete to confirm.

Manage Tags

Tags are shown in the right panel below the user's name. They are predefined labels for categorizing chats.

Add a tag

  1. Open the conversation.
  2. Click the Add tags link (or the pencil icon next to existing tags) in the right panel.
  3. The Edit tags modal opens, showing an input field and all available tags.
  4. Click a tag from the "All tags" list to select it (it moves to the input field).
  5. Click Save.

Remove a tag

  1. Open the Edit tags modal (same as above).
  2. Click the × next to the tag in the input field to deselect it.
  3. Click Save.

Switch Account

LINE OA Manager can manage multiple official accounts. Switch between them using the account dropdown in the top-left corner.

  1. Take a snapshot to find the account selector:
   browser action:"snapshot" profile:"openclaw" targetId:"<your_targetId>" refs:"aria"
  1. Click the account combobox (shows current account name):
   browser action:"act" profile:"openclaw" targetId:"<your_targetId>" request:{"kind":"click","ref":"e11"}
  1. Wait for the dropdown menu to appear:
   browser action:"act" profile:"openclaw" targetId:"<your_targetId>" request:{"kind":"wait","timeMs":1000}
  1. Take another snapshot to see available accounts in the listbox:
   browser action:"snapshot" profile:"openclaw" targetId:"<your_targetId>" refs:"aria"

The snapshot will show a list of accounts you have access to. Look for generic items in the listbox (each account will have a name and "Administrator" or role label).

  1. Click the desired account item (e.g., ref:"e589"):
   browser action:"act" profile:"openclaw" targetId:"<your_targetId>" request:{"kind":"click","ref":"e589"}
  1. Wait for the page to load the new account's chat list:
   browser action:"act" profile:"openclaw" targetId:"<your_targetId>" request:{"kind":"wait","timeMs":2000}

Notes

  • LINE periodically expires sessions; re-login required when that happens
  • Session is usually active for several hours if the browser remains open

平台分布

OpenClaw

85.55%
按下载量换算7,800

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills