Line openapi skill

From holon-run/uxc · View interactive version

Line openapi skill is an AI agent skill from the GitHub repository holon-run/uxc. Operate LINE Messaging API through UXC with a curated OpenAPI schema, bearer-token auth, and messaging-core guardrails.

How to use this skill

Skill file

LINE Messaging API Skill

Use this skill to run LINE Messaging API operations through uxc + OpenAPI.

Reuse the uxc skill for shared execution, auth, and error-handling guidance.

Prerequisites

Scope

This skill covers a Messaging Core surface:

This skill does not cover:

Authentication

LINE Messaging API uses Authorization: Bearer <channel access token>.

Configure one bearer credential and bind it to api.line.me:

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

Validate the active mapping when auth looks wrong:

uxc auth binding match https://api.line.me

Core Workflow

  1. Use the fixed link command by default:

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

  1. Inspect operation schema first:
  1. Prefer read/setup validation before writes:
  1. Execute with key/value or positional JSON:

line-openapi-cli get:/v2/bot/profile/{userId} userId=U1234567890abcdef

line-openapi-cli post:/v2/bot/message/push '{"to":"U1234567890abcdef","messages":[{"type":"text","text":"Hello from UXC"}]}'

Operation Groups

Read / Lookup

Messaging

Webhook Endpoint Management

Guardrails

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.