Agent skill

Messaging API

by majiayu000 in majiayu000/claude-skill-registry

Comprehensive reference for LINE Messaging API — webhook setup, message sending, Flex Message design, Rich Menu management, audience targeting, insights, coupons, and channel access tokens.

MITAuto-check passedBackend & APIs

Install Messaging API

skills CLI
$ npx skills add majiayu000/claude-skill-registry --skill messaging-api -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install majiayu000/claude-skill-registry messaging-api --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/majiayu000/claude-skill-registry.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/api/messaging-api .claude/skills/messaging-api && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
messaging-api
GitHub stars
666
Used in
1 other repo
Token cost
~1.7k tokens
SKILL.md length
428 words
Files
2
Skills in repo
971
Repo updated
First seen
Licence
MIT

At a glance

Comprehensive reference for LINE Messaging API — webhook setup, message sending, Flex Message design, Rich Menu management, audience targeting, insights, coupons, and channel access tokens.

  • Works in 4 steps: Read references/api-common.md (rate… → Load the relevant reference for the… → For architecture or design choices,… → …
  • Asks to build a LINE Bot
  • SKILL.md covers Workflow, Environment Variables, Common Specifications and Webhook, plus 4 more sections
  • Needs LINE_CHANNEL_SECRET and LINE_CHANNEL_ACCESS_TOKEN

What it does

Messaging API is an agent skill from majiayu000/claude-skill-registry. Comprehensive reference for LINE Messaging API — webhook setup, message sending, Flex Message design, Rich Menu management, audience targeting, insights, coupons, and channel access tokens. This skill should be used when the user asks to "build a LINE Bot", "set up a webhook", "send a push message", "design a Flex Message", "create a Rich Menu", "manage audience targeting", "get messaging insights", "create a coupon campaign", "debug webhook signature verification", or mentions LINE Messaging API, LINE OA…

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `metadata.json`).

It sits in Backend & APIs, covering Webhooks and Chatbots and conversational support. The repository describes itself as: Searchable Claude Code skills catalog with source-linked guides and generated registry artifacts. The licence is MIT.

When your agent uses it

  • Asks to build a LINE Bot
  • Set up a webhook
  • Send a push message
  • Design a Flex Message

Example prompts

  • “build a LINE Bot”
  • “set up a webhook”
  • “send a push message”
  • “/messaging-api”

Requirements

  • Node.js
  • A credential in LINE_CHANNEL_ACCESS_TOKEN
  • A credential in LINE_CHANNEL_SECRET

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Read references/api-common.md (rate limits, forward compatibility, error handling)
  2. Load the relevant reference for the feature being implemented
  3. For architecture or design choices, consult references/experts.md for directional guidance
  4. Write code following specs and constraints from references

What it can do on your machine

Read from SKILL.md and the folder at commit 000116a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • developers.line.biz

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • LINE_CHANNEL_SECRET
    • LINE_CHANNEL_ACCESS_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Messaging API loads about 1.7k tokens when it runs. Until then it costs about 208 tokens; SKILL.md has 428 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~208
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from majiayu000/claude-skill-registry at commit 000116a, republished under its MIT licence (© majiayu000). 428 words, ~1,726 tokens.

Download SKILL.mdSave it as .claude/skills/messaging-api/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
messaging-api
description
Comprehensive reference for LINE Messaging API — webhook setup, message sending, Flex Message design, Rich Menu management, audience targeting, insights, coupons, and channel access tokens. This skill should be used when the user asks to "build a LINE Bot", "set up a webhook", "send a push message", "design a Flex Message", "create a Rich Menu", "manage audience targeting", "get messaging insights", "create a coupon campaign", "debug webhook signature verification", or mentions LINE Messaging API, LINE OA chatbot, reply/push/multicast/narrowcast/broadcast, Flex Message JSON, Rich Menu, group chat bot, channel access token, or URL schemes. Always use this skill whenever the user mentions LINE bots, chatbots, LINE OA, or any messaging-related LINE integration, even if they don't explicitly say "Messaging API".

LINE Messaging API

Do not answer LINE API questions from memory — LINE updates APIs frequently and training data is unreliable. Always consult the references below.

Reference for building, reviewing, and debugging LINE Bots and LINE Messaging API integrations.

Workflow

Build
  1. Read references/api-common.md (rate limits, forward compatibility, error handling)
  2. Load the relevant reference for the feature being implemented
  3. For architecture or design choices, consult references/experts.md for directional guidance
  4. Write code following specs and constraints from references
Review / Debug
  1. Read references/api-common.md (rate limits, error codes)
  2. Load relevant references for the code being reviewed
  3. Cross-check code against specs (size limits, token expiry, counting rules, required fields)
  4. For design pattern concerns, consult references/experts.md
  5. Report violations with reference to specific constraints

Environment Variables

LINE_CHANNEL_ACCESS_TOKEN=Bot access token
LINE_CHANNEL_SECRET=Channel secret (webhook signature verification)

Common Specifications

Read references/api-common.md before writing any LINE bot code. Contains rules that affect all API interactions: forward compatibility (don't use strict schemas — LINE adds fields without notice), rate limits, error handling, retry policy, and logging recommendations.

Webhook

  • Verification: x-line-signature header (HMAC-SHA256, base64, key = Channel Secret)
  • Body: {"destination": "U...", "events": [...]}
  • Bot server must return 200
Signature Verification (pseudocode)
channel_secret = ENV['LINE_CHANNEL_SECRET']
signature = request.headers['x-line-signature']
body = request.body   # raw bytes, do NOT parse/reformat before verification

digest = HMAC_SHA256(key = channel_secret, message = body)
expected = Base64.encode(digest)

if signature != expected:
    return 403  # reject — not from LINE

events = JSON.parse(body)['events']
for event in events:
    handle(event)
return 200
  • Never deserialize or re-format the body before verification
  • Use UTF-8 encoding exclusively
  • Official SDKs handle this automatically — use them when possible

Full event types, properties, and webhook settings → references/webhook-events.md

Message Sending

All require Authorization: Bearer {channel access token}:

ModeEndpointPurpose
ReplyPOST /v2/bot/message/replyReply to user (requires one-time replyToken)
PushPOST /v2/bot/message/pushSend to a specific user/group at any time
MulticastPOST /v2/bot/message/multicastSend to multiple users (max 500)
BroadcastPOST /v2/bot/message/broadcastSend to all friends
  • Max 5 messages per request
  • Domain: api.line.me (general) / api-data.line.me (content upload)

Message objects → references/message-objects.md Full sending API (Narrowcast, statistics, validation, etc.) → references/message-sending.md

Show full SKILL.md (144 more words)Show less

Flex Message

Three-layer structure:

Container (Bubble / Carousel)
  └── Block (Header / Hero / Body / Footer)
       └── Component (Box / Button / Image / Video / Icon / Text / Span / Separator)

Minimal Flex Message:

json
{
  "type": "flex", "altText": "Notification",
  "contents": {
    "type": "bubble",
    "body": {
      "type": "box", "layout": "vertical",
      "contents": [{"type": "text", "text": "Hello Flex!", "weight": "bold"}]
    }
  }
}

Full component specs, layout, video → references/flex-message.md Official Flex Message Simulator examples → assets/examples/

Reference Index

FileTopic
references/api-common.mdRead first. Rate limits, error handling, forward compatibility
references/webhook-events.mdWebhook event types and JSON structure
references/message-objects.mdMessage objects, Quick Reply, sender customization
references/action-objects.mdAction objects (postback, URI, datetimepicker, etc.)
references/message-sending.mdReply/Push/Multicast/Narrowcast/Broadcast, statistics
references/flex-message.mdFlex Message components, layout, styles
references/rich-menu.mdRich Menu CRUD, tab switching, display priority
references/user.mdUser profile, follower IDs, account link
references/group-chat.mdGroup/Room messaging and member APIs
references/audience.mdAudience management (create/add/get/delete)
references/insights.mdDelivery, follower, and interaction insights
references/channel-token.mdChannel access token lifecycle
references/coupon.mdCoupon CRUD, reward types, sending
references/url-schemes.mdLINE URL schemes for deep linking
references/experts.mdExpert domain routing and 17 specialist profiles
assets/examples/Flex Message JSON examples (11 showcases)

SDK

Official SDKs: Python | Node.js | Go | Java | PHP | Ruby

Other languages: use LINE OpenAPI specs with OpenAPI Generator.

© majiayu000, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/api/messaging-api of majiayu000/claude-skill-registry.

  • SKILL.md
  • metadata.json

Open the folder on GitHubat commit 000116a

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in majiayu000/claude-skill-registry, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Messaging API next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Messaging API compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Messaging API this skillmajiayu000/claude-skill-registry6661 repos~1.7kAutomated safety check: PassMIT
Telegram Development Guide2025Emma/vibe-coding-cn23k1 repos~3.7kAutomated safety check: PassMIT
Tg Bot Opsserejaris/personal-corp-os229—~1.6kAutomated safety check: NotesMIT
Sap Btp Build Work Zone Advancedsecondsky/sap-skills460—~3.3kAutomated safety check: PassGPL-3.0
Slack BotOpenClaudia/openclaudia-skills708—~8.7kAutomated safety check: NotesMIT
Telegram Setupvellum-ai/vellum-assistant1.4k—~2.9kAutomated safety check: WarnMIT

Similar skills

  • Telegram Development Guide

    2025Emma/vibe-coding-cn

    Chinese-language guide to building on Telegram: bots through the Bot API, Mini Apps in JavaScript and custom clients through TDLib, with Python examples.

    23k GitHub starsUsed in 1 repo~3.7k tokens
    Backend & APIsAuto-check passed
  • Tg Bot Ops

    serejaris/personal-corp-os

    A skill your agent uses when operating, debugging, deploying, or monitoring a Telegram bot or Telegram-to-agent gateway.

    229 GitHub stars~1.6k tokensUpdated 3 days ago
    Backend & APIsAuto-check: notes
  • Develops and administers SAP Build Work Zone, advanced edition digital workplace solutions.

    460 GitHub stars~3.3k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Slack Bot

    OpenClaudia/openclaudia-skills

    Send messages and rich content to Slack channels via webhooks or Bot API.

    708 GitHub stars~8.7k tokensUpdated 19 days ago
    Backend & APIsAuto-check: notes
  • Telegram Setup

    vellum-ai/vellum-assistant

    Connect a Telegram bot to the Vellum Assistant gateway with automated webhook registration and credential storage

    1.4k GitHub stars~2.9k tokensUpdated 3 days ago
    Backend & APIsAuto-check: warnings
  • Whatsapp Telegram

    ericrisco/rsc-harness

    A skill your agent uses when wiring an app or agent to message customers over the WhatsApp Cloud API or a Telegram bot — order updates, OTP codes, reminders, alerts and broadcasts — or when…

    156 GitHub stars~2.9k tokensUpdated today
    Backend & APIsAuto-check passed

More from majiayu000/claude-skill-registry

All 971 skills in this repo
  • Deep Research

    majiayu000/claude-skill-registry

    Multi-source deep research using firecrawl and exa MCPs. An agent skill from majiayu000/claude-skill-registry.

    666 GitHub starsUsed in 6 repos~1.1k tokens
    Auto-check passed
  • Exa Search

    majiayu000/claude-skill-registry

    Neural search via Exa MCP for web, code, and company research.

    666 GitHub starsUsed in 5 repos~856 tokens
    Auto-check passed
  • Fal AI Media

    majiayu000/claude-skill-registry

    Unified media generation via fal.ai MCP — image, video, and audio.

    666 GitHub starsUsed in 5 repos~1.7k tokens
    Auto-check passed
  • Bgpt Paper Search

    majiayu000/claude-skill-registry

    Search scientific papers and retrieve structured experimental data extracted from full-text studies via the BGPT MCP server.

    666 GitHub starsUsed in 4 repos~619 tokens
    Auto-check: notes
  • Bio Alignment Pairwise

    majiayu000/claude-skill-registry

    Perform pairwise sequence alignment using Biopython Bio.Align.PairwiseAligner.

    666 GitHub starsUsed in 4 repos~1.7k tokens
    Auto-check passed
  • Open Notebook

    majiayu000/claude-skill-registry

    Self-hosted, open-source alternative to Google NotebookLM for AI-powered research and document analysis.

    666 GitHub starsUsed in 4 repos~2.4k tokens
    Auto-check passed

Categories

Questions about Messaging API

What does Messaging API do?

Comprehensive reference for LINE Messaging API — webhook setup, message sending, Flex Message design, Rich Menu management, audience targeting, insights, coupons, and channel access tokens. Messaging API is an agent skill from majiayu000/claude-skill-registry. Comprehensive reference for LINE Messaging API — webhook setup, message sending, Flex Message design, Rich Menu management, audience targeting, insights, coupons, and channel access tokens.

When should I use Messaging API?

Messaging API fits situations like: asks to build a LINE Bot; set up a webhook; send a push message; design a Flex Message.

How do I install Messaging API in Claude Code?

Run `npx skills add majiayu000/claude-skill-registry --skill messaging-api -a claude-code`. Or copy the skill folder (skills/api/messaging-api in majiayu000/claude-skill-registry) into .claude/skills/messaging-api in your project. Claude Code loads it when a task matches its description.

How do I install Messaging API in Codex?

Run `npx skills add majiayu000/claude-skill-registry --skill messaging-api -a codex`. Or copy the skill folder (skills/api/messaging-api in majiayu000/claude-skill-registry) into .agents/skills/messaging-api in your project. Codex loads it when a task matches its description.

Can I use Messaging API in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add majiayu000/claude-skill-registry --skill messaging-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/messaging-api, .gemini/skills/messaging-api, .github/skills/messaging-api and .opencode/skills/messaging-api in your project.

What does Messaging API need to run?

Going by SKILL.md and its folder, Messaging API needs credentials named LINE_CHANNEL_SECRET and LINE_CHANNEL_ACCESS_TOKEN. Our summary lists: Node.js; A credential in LINE_CHANNEL_ACCESS_TOKEN; A credential in LINE_CHANNEL_SECRET.

Does Messaging API access the network?

SKILL.md names 2 domains. As links in the text: github.com and developers.line.biz. This is read from the text; nothing was executed.

Is Messaging API safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Messaging API use?

Messaging API is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Messaging API use?

About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Messaging API?

Skills that share tags, products or a category with Messaging API: Telegram Development Guide (2025Emma/vibe-coding-cn, 23k stars), Tg Bot Ops (serejaris/personal-corp-os, 229 stars), Sap Btp Build Work Zone Advanced (secondsky/sap-skills, 460 stars) and Slack Bot (OpenClaudia/openclaudia-skills, 708 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Messaging API?

majiayu000 (a GitHub user) maintains it in majiayu000/claude-skill-registry, which has 666 GitHub stars. The repository holds 971 skills in this directory. The repository was last updated on October 7, 2026.

Source: majiayu000/claude-skill-registry on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.