line

line is a skill for Claude Code, Codex from zhinjs/zhin. It costs 72 tokens per session (347 once invoked), scanned A, original, MIT.

A LINE Messaging API connection for receiving and sending chat messages through webhooks. LINE is a messaging platform; a webhook is a web address that receives event notifications from a service.

In plain words
What is it for?
Use it to process text, media, location, and sticker messages, retrieve media through LINE's content service, and send replies or proactive messages to users and groups. Message recall and read receipts are not supported.
Why use it?
It lets an application handle incoming messages and choose between replying to the original message or sending a new push message.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to process text, media, location, and sticker messages, retrieve media through LINE's content service, and send replies or proactive messages to users and groups. Message recall and read receipts are not supported.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhinjs/zhin/line
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 zhinjs/zhin --skill line
Clone the repo
git clone --depth 1 https://github.com/zhinjs/zhin

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhinjs/zhin/line"><img src="https://agentmods.dev/badge/skills/zhinjs/zhin/line.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 347 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.00072 $0.00347
Opus 5.5 $0.00029 $0.00139
Sonnet 5.5 $0.00014 $0.00069
Haiku 4.5 $0.00007 $0.00035

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

Security

Grade A, and why

line 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 26d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (tools/get_group_members/index.ts, tools/get_profile/index.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/adapters/line/agents/line/skills/line/SKILL.md · 43 lines

What it actually says

LINE Messaging API 技能

LINE 的 Messaging API 基于 Webhook 模式:平台将事件 POST 到指定 URL,适配器签名验证后处理。

消息接收

  • 文本消息:直接转发为 text segment
  • 媒体消息(image/video/audio/file):包含 message_id,可通过 Content API 获取
  • 位置消息:包含经纬度和地址
  • 贴纸消息:包含 packageId 和 stickerId

消息发送

  • Reply API:有 replyToken 时自动使用,回复会关联原始消息
  • Push API:无 replyToken 时使用,主动推送到 userId/groupId/roomId
  • 单次最多 5 条消息,单条文本最多 5000 字符

限制

  • 不支持消息撤回
  • 不支持已读回执(read receipt)
  • 媒体消息仅提供 message_id,需额外 API 调用获取内容
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. 26d ago First seen · 43 lines · 72 tokens per session scan A 2d3b15f49a10

Subscribe to this mod's changes

line is a skill published in the GitHub repository zhinjs/zhin (136 stars, last pushed today), licensed MIT. It adds 72 tokens to every session and 347 once invoked, about $0.0003 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-09-21.

Related

Other skills, from other repositories

lookup-agent-run

Find an eve Agent Run from a run ID, project, request reference, or approximate time using authorized evidence available to the consumer.

vercel/eve · 30 tokens

article-writer

Multi-style article creation skill. Supports 5 writing styles (deep analysis, practical guide, story-driven, opinion, news brief), including complete workflow: material collection → outline → content → formatting. Activated when users mention "write article", "write post", "create", or "draft".

netease-youdao/LobsterAI · 62 tokens

skin-creator

Create and apply a two-asset LobsterAI visual skin from the user's style description. Use only when the AI Skin Designer kit supplies the structured skinpack workflow marker; do not use for ordinary theme or image requests.

netease-youdao/LobsterAI · 48 tokens

content-planner

WeChat Official Account topic planning and content calendar management. Based on WeChat article search and trending analysis, generates differentiated topic recommendations and outputs structured content calendars. Activated when users mention "topic", "planning", "content calendar", "trending", or "what to write next…

netease-youdao/LobsterAI · 63 tokens

weather

Get current weather and forecasts (no API key required).

netease-youdao/LobsterAI · 13 tokens

ha-skill-creator

Create, edit, improve, or audit Hope Agent skills. Use when the user wants to: (1) create a new skill from scratch, (2) edit or improve an existing skill, (3) review or clean up a SKILL.md file, (4) run evaluations to test skill effectiveness, (5) optimize skill descriptions for better trigger accuracy. Trigger…

shiwenwen/hope-agent · 106 tokens