line-chat-advisor

line-chat-advisor is a skill for Claude Code, Codex from LEO0047/line-chat-advisor-mcp-ai-assistant. It costs 62 tokens per session (2,338 once invoked), scanned A, original, MIT.

A read-only advisor for reviewing LINE chats and preparing at most one reply suggestion in the user's style. LINE is a messaging service widely used in Japan and Taiwan.

In plain words
What is it for?
Use it to inspect a specific LINE conversation, decide whether a reply is appropriate, continue the discussion, or draft one reply in Traditional Chinese for Taiwan.
Why use it?
It helps interpret a conversation and its relationship context without sending messages or changing the chat.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to inspect a specific LINE conversation, decide whether a reply is appropriate, continue the discussion, or draft one reply in Traditional Chinese for Taiwan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leo0047/line-chat-advisor-mcp-ai-assistant/line-chat-advisor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LEO0047/line-chat-advisor-mcp-ai-assistant --skill line-chat-advisor
Clone the repo
git clone --depth 1 https://github.com/LEO0047/line-chat-advisor-mcp-ai-assistant

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for line-chat-advisor

README.md
[![agentmods](https://agentmods.dev/badge/skills/leo0047/line-chat-advisor-mcp-ai-assistant/line-chat-advisor/github.svg)](https://agentmods.dev/skills/leo0047/line-chat-advisor-mcp-ai-assistant/line-chat-advisor)
Your own site
<a href="https://agentmods.dev/skills/leo0047/line-chat-advisor-mcp-ai-assistant/line-chat-advisor"><img src="https://agentmods.dev/badge/skills/leo0047/line-chat-advisor-mcp-ai-assistant/line-chat-advisor/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.

agentmods 80×15 button for line-chat-advisor

Your own site · 80×15
<a href="https://agentmods.dev/skills/leo0047/line-chat-advisor-mcp-ai-assistant/line-chat-advisor"><img src="https://agentmods.dev/badge/skills/leo0047/line-chat-advisor-mcp-ai-assistant/line-chat-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,338 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.02338
Opus 5.5 $0.00025 $0.00935
Sonnet 5.5 $0.00012 $0.00468
Haiku 4.5 $0.00006 $0.00234

Measured 22d ago against content hash d30cf449a6ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

line-chat-advisor 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 22d 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.

skills/line-chat-advisor/SKILL.md · 192 lines

How it starts

The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LINE Chat Advisor

Read one exact LINE chat through the line-readonly MCP, refreshing the local DB snapshot even when the Mac is locked or LINE cannot be activated. Export the requested messages or provide reply advice according to the user's request. All visible output is in Traditional Chinese (Taiwan).

Non-negotiable safety

  • For chat text, use the read-only MCP, never GUI/OCR as a fallback. Attachments must also be retrieved programmatically, with no window-clicking fallback. Read references/attachments.md for file downloads.
  • Never expose or invent send_message, select_chat, generic input, clipboard, keyboard, Shell, AppleScript, or arbitrary app-control MCP tools.
  • Never type, paste, focus a composer, press Return/Enter, or send anything.
  • Never call sync_older_messages for an ordinary latest-message request.
  • Never upload private chat history. User-requested attachment exports may be saved to the requested local folder. Do not put chat text, chat IDs, snapshots, or relationship context in a repository.
  • Suggestions appear only in Codex.

Capability gate

For attachment requests, follow the transcript workflow to identify the exact chat, date range and messages, then download attachments. The existing five operations gate chat reads. get_attachment_info provides attachment metadata; download_attachment retrieves and saves the file.

Before reading any chat, confirm that the callable tool list contains all five operations from the line-readonly MCP, regardless of namespace prefix:

  1. line_status
  2. refresh_latest
  3. get_relationship_context
  4. read_history
  5. save_relationship_context

If any operation is absent, stop. Return one line telling the user the line-readonly catalog is stale and Codex must be reloaded. Do not substitute another tool or an older snapshot.

Required workflow

  1. Resolve the requested contact from the exact display name or a previously successful chatId. Never guess between duplicate names.
  2. Call line_status. Continue only when dbFound, keyAvailable, decryptOk, databaseSnapshot.readOnly, and databaseSnapshot.queryOnly are all true.
  3. Call refresh_latest for the exact chat with timeoutSeconds: 30. If ok: true and localSnapshotRefreshed: true, continue reading even when freshnessVerified: false. The locked-session path now polls passively up to the requested timeout (or until the target advances) and returns a successful local snapshot instead of a lock error. targetAdvanced only means a newer local target message appeared; it may be outgoing and does not prove incoming delivery or complete server sync. Otherwise, if lock state, missing Peekaboo, or focus/launch failure prevents verification, or an older result lacks localSnapshotRefreshed and reports freshnessVerified: false without a DB/identity error, continue in local-snapshot mode: call line_status again and require all checks in step 2 to pass before proceeding. This fallback is already authorized; do not ask the user to unlock or approve reading local data. Stop for missing/inaccessible DB or key, decryption/snapshot failure, unresolved contact identity, or unavailable MCP. Never bypass these failures.
  4. Call get_relationship_context for the same exact chat.
  5. If initialized is false, call read_history with order: "oldest" and limit: 200; follow every pagination.nextCursor until hasMore is false. Only after all pages succeed, synthesize and save the relationship context.
  6. If initialized is true, call read_history with order: "oldest", limit: 200, and cursor: summaryThrough; paginate until hasMore is false. Merge only the newly read messages into the saved context.
  7. Set summaryThrough to the timestamp/message ID of the newest message that was actually read. Save these four concise, evidence-based fields: relationship, stableBackground, toneNotes, and avoidReasking. Never turn an inference into a fact.
  8. Call save_relationship_context with the context version returned by the preceding get. On context_version_conflict, get the current context, rebase once, and retry once. If it conflicts again, stop.

Read the full file on GitHub · 192 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 22d ago Changed · +94 lines · -2 tokens per session d30cf449a6ba
  2. 2mo ago First seen · 98 lines · 64 tokens per session scan A 3c4ad479dbd7

Subscribe to this mod's changes

line-chat-advisor is a skill published in the GitHub repository LEO0047/line-chat-advisor-mcp-ai-assistant (0 stars, last pushed 23d ago), licensed MIT. It adds 62 tokens to every session and 2,338 once invoked, about $0.0002 per session on Opus 5.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.

Related

line-chat-advisor compared with skills from other repositories

line-chat-advisor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
line-chat-advisorLEO0047/line-chat-advisor-mcp-ai-assistantSkill023d agoMITA62Claude Code, Codex
browserstickerdaniel/browserjackSkill22d agoMITA18Claude Code
setupstickerdaniel/browserjackSkill22d agoMITA13Claude Code
doctorstickerdaniel/browserjackSkill22d agoMITA15Claude Code
dbear-mihomo-ai-failoverdoublebearoliver-cyber/mihomo-ai-failoverSkill02mo agoMITA103Claude Code, Codex
dcf-modelNousResearch/hermes-agentSkill261kyesterdayMITA14Claude Code, Codex
baoyu-article-illustratorNousResearch/hermes-agentSkill261kyesterdayMITA18Claude Code, Codex