line-chat-advisor

line-chat-advisor is a skill for Claude Code, Codex from LEO0047/line-chat-advisor-mcp-ai-assistant. It costs 64 tokens per session (1,029 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 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,029 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.00064 $0.01029
Opus 5 $0.00032 $0.00515
Sonnet 5 $0.00013 $0.00206
Haiku 4.5 $0.00006 $0.00103

Measured 11d ago against content hash 3c4ad479dbd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 11d 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 · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 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, refresh it with DB evidence, maintain private local relationship context, and return at most one reply suggestion. All visible output is in Traditional Chinese (Taiwan).

Non-negotiable safety

  • Never use Computer Use, Chronicle, OCR, screenshots, browser automation, or coordinates for LINE.
  • Never call or invent send_message, select_chat, generic input, clipboard, keyboard, Shell, AppleScript, or arbitrary app-control 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 or quote private chat history outside the current answer. Do not put chat text, chat IDs, snapshots, or relationship context in a repository.
  • Suggestions appear only in Codex.

Capability gate

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. Continue only when ok: true and targetAdvanced: true. For target_not_advanced, locked_session_unavailable, focus/launch failure, or any other error, stop without calling context or history tools.
  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 · 98 lines

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. 11d 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 10d ago), licensed MIT. It adds 64 tokens to every session and 1,029 once invoked, about $0.0003 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.