LINE Messaging API Skill for Openclaw

A specialized skill for operating the LINE Messaging API via uxc using a curated OpenAPI schema and bearer-token authentication.

jolestar
v1.0.0
Mar 17, 2026
0
825
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install line-openapi-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install line-openapi-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is LINE Messaging API Skill?

The LINE Messaging API Skill is a powerful extension for AI agents and developers designed to streamline bot management and message delivery. By leveraging the uxc CLI and a curated OpenAPI definition, this Openclaw Skills asset provides a structured way to interact with LINE's messaging core without manually constructing complex HTTP requests. It focuses on the essential Messaging Core surface, ensuring reliable execution for bot identity lookups, profile management, and message dispatching.

Built with developer experience in mind, this skill integrates seamlessly with existing uxc authentication workflows. It abstracts the complexities of the LINE Messaging API into a predictable command-line interface, allowing for high-speed prototyping and reliable automation of notification systems or customer support bots.

LINE Messaging API Skill Use Cases

  • Automating push notifications to specific LINE users via the messaging-core surface.
  • Validating and testing LINE webhook endpoints during deployment cycles.
  • Retrieving user profile data and bot identity information for personalized AI interactions.
  • Monitoring messaging quota and consumption levels to prevent service interruptions.
  • Managing bot channel configurations through a standardized CLI workflow within Openclaw Skills.

How LINE Messaging API Skill Works

  1. The user ensures uxc is installed and configures the LINE Channel Access Token as a bearer credential.
  2. A dedicated CLI alias (line-openapi-cli) is linked to the LINE API host using the curated OpenAPI schema.
  3. The AI agent or developer inspects the operation schema to understand required parameters for specific endpoints.
  4. Read operations are performed to validate credentials and bot status before attempting any write actions.
  5. Messaging commands are executed using either key-value pairs or positional JSON payloads for precise control.
  6. The skill processes the JSON output envelope, ensuring stable field parsing for automated error handling.

LINE Messaging API Skill Setup

First, configure your LINE channel credentials:

uxc auth credential set line-channel \
  --auth-type bearer \
  --secret-env LINE_CHANNEL_ACCESS_TOKEN

uxc auth binding add \
  --id line-channel \
  --host api.line.me \
  --scheme https \
  --credential line-channel \
  --priority 100

Then, link the Openclaw Skills OpenAPI client:

uxc link line-openapi-cli https://api.line.me --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/line-openapi-skill/references/line-messaging.openapi.json

LINE Messaging API Skill Data Schema & Taxonomy

The skill utilizes a structured JSON envelope for all responses. This ensures interoperability within the Openclaw Skills ecosystem:

Field Description
ok Boolean indicating if the request was successful.
kind The type of response object returned.
protocol The protocol used (OpenAPI).
data The actual payload from the LINE Messaging API.
error Detailed error information if the request fails.

It follows the standard OpenAPI 3.0 specification tailored specifically for the api.line.me host.

LINE Messaging API Skill Advanced Features

  • Multi-credential binding support for managing multiple LINE bot channels from a single environment.
  • Guardrail-protected messaging operations that require explicit confirmation for push and reply actions.
  • Real-time webhook testing capabilities to verify server-to-server connectivity.
  • Specialized handling for short-lived reply tokens to prevent expired event responses.
  • Seamless integration with uxc auth match for troubleshooting complex authentication mappings.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*