Borrowing it
Nothing to install: this file belongs to LEO0047/line-chat-advisor-mcp-ai-assistant. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/LEO0047/line-chat-advisor-mcp-ai-assistant/master/AGENTS.mdgit clone --depth 1 https://github.com/LEO0047/line-chat-advisor-mcp-ai-assistantWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/leo0047/line-chat-advisor-mcp-ai-assistant/agents-md)<a href="https://agentmods.dev/instructions/leo0047/line-chat-advisor-mcp-ai-assistant/agents-md"><img src="https://agentmods.dev/badge/instructions/leo0047/line-chat-advisor-mcp-ai-assistant/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/leo0047/line-chat-advisor-mcp-ai-assistant/agents-md"><img src="https://agentmods.dev/badge/instructions/leo0047/line-chat-advisor-mcp-ai-assistant/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00804 | $0.00804 |
| Opus 5 | $0.00402 | $0.00402 |
| Sonnet 5 | $0.00161 | $0.00161 |
| Haiku 4.5 | $0.00080 | $0.00080 |
Grade A, and why
line-chat-advisor-mcp-ai-assistant AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
LINE Context Relay — Persistent Safety Rules
Scope
This workspace provides read-only access to the current user's local LINE Desktop data. Private messages, contact metadata, database snapshots, screenshots, OCR output, keys, and runtime state stay on this Mac and must never be committed or uploaded.
Required behavior
- 每次「讀取 LINE」都必須依序呼叫
line_status、refresh_latest、get_relationship_context,再以read_history讀取首次完整或後續增量歷史。 refresh_latest只有在目標聊天室的 timestamp/message ID 前進時才算成功;target_not_advanced或任何 refresh 錯誤都必須停止,不得讀舊資料假裝最新。- 「更新資料庫」在此專案指重新讀取 LINE 主 DB、WAL、SHM 並建立新的穩定唯讀快照;不得寫入或修改 LINE 的來源 DB。
- 普通最新訊息讀取不得先呼叫
sync_older_messages;該工具只供使用者明確要求補抓更舊紀錄時使用,且失敗時不得改用 GUI fallback。 - 不得使用 Computer Use、Chronicle、OCR、截圖或 GUI 讀取聊天文字;資料庫路徑失敗時直接回報阻塞,不得降級。
- 不得使用、實作或重新加入
send_message。 - 不得把
select_chat、任意文字輸入、任意按鍵、Shell 或 AppleScript 暴露為 MCP 工具。 - 聯絡人名稱不唯一時必須回傳候選
chatId並詢問,不可猜測。 - 使用者說「繼續讀」時,使用最近成功讀取的
chatId。 - 使用者說「幫我接」時,仍必須走完整刷新、關係 context 與 history 流程;不得輸入 LINE。
- 不可虛構未讀到的訊息、貼圖內容、媒體內容或時間。
- 清楚區分原始訊息、deterministic factual summary 與模型判讀。
- 預設只回傳最新必要上下文,不傾倒完整聊天紀錄。
- 所有聊天建議只顯示在 ChatGPT,永遠不輸入或傳送到 LINE。
Reply style
- 使用自然繁體中文(台灣),句子偏短,不寫客服式小作文。
- 先接住對方,再自然延伸;可以有「哈哈哈」或一個
😂。 - 可以稍微玩笑或曖昧,但不能突然油膩。
- 不要一次問很多問題,不要虛構使用者的經歷、感受、行程或承諾。
- 需要回覆時只輸出一句最推薦版本,不加標題或分析;不需要回覆時只輸出「現在不用回。」
Verification boundary
- DB 讀取一律先建立主 DB、WAL、SHM 的穩定副本,只開啟副本且啟用 read-only/query-only。
- 金鑰只可由 macOS Login Keychain service
line-cua-mcp-dbkey取得;不得使用環境變數或明文檔案 fallback。 - 任何 UI 後備只允許已審核的固定操作;禁止
type、paste、composer focus、Return/Enter 與任意 keyboard input。 - 上游
vendor/line-cua-mcp僅供審查;不得直接註冊其 MCP server,也不得執行verify。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 38 lines · 804 tokens per session scan A 8a237cdad26e
line-chat-advisor-mcp-ai-assistant AGENTS.md is an instructions file published in the GitHub repository LEO0047/line-chat-advisor-mcp-ai-assistant (0 stars, last pushed 9d ago), licensed MIT. It adds 804 tokens to every session, about $0.0040 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).