Installable skillMIT

LINE Bridge (by 蝦蝦)

專業的 LINE 橋接器。支援身份識別、多群組回覆,並將機敏資訊外部化儲存。

BY kbarbel640-delUPDATED Oct 27, 2026
INTENDED FOR◈OpenClawInstall in a listed agent.

instructions.md

---
name: line-bridge-shrimp
description: 專業的 LINE 橋接器。支援身份識別、多群組回覆,並將機敏資訊外部化儲存。
---

# LINE Bridge (by 蝦蝦)

這是一個將 LINE Messaging API 與 Clawdbot 大腦串接的技能。

## 特點
- **身份識別**:大腦能辨識說話者的 LINE 顯示名稱。
- **門禁系統**:僅限授權的群組或用戶對話。
- **安全設計**:所有機敏 ID 與 Token 均儲存於外部隱藏檔。

## 安裝與設定
本技能預設會從您的家目錄 (`~`) 讀取設定檔。您也可以透過環境變數 `LINE_BRIDGE_CONFIG_DIR` 自定義存放路徑。

請在指定目錄下建立以下檔案:
1. `.line_token`: 填入您的 LINE Channel Access Token。
2. `.line_secret`: 填入您的 LINE Channel Secret。
3. `.line_allowed_sources`: 每行填入一個授權的 User ID 或 Group ID。

**進階設定**:
如果您想自定義目錄,啟動時請執行:
`LINE_BRIDGE_CONFIG_DIR=/your/path node index.js`

## 執行
安裝後,服務會預設在 `8081` 埠口啟動。請將您的 LINE Webhook URL 指向 `https://您的網域/line/webhook`。
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Includes source scripts; review them before use. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.