Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

line-login线路登录

Agent Skill

line-login 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

624

周安装

26

GitHub Stars

公开资料未说明

下载量

208
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:line-login(线路登录)
来源仓库:https://github.com/abgne/line-dev
仓库路径:skills/line-login
安装命令:
npx skills add https://github.com/abgne/line-dev --skill line-login
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/abgne/line-dev --skill line-login

简介

line-login 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或协作事项进行整理时使用。

  • 它适用于代码协作和仓库管理场景,可结合来源仓库和原始 README 核验具体用法。
  • 安装命令为 npx skills add https://github.com/abgne/line-dev --skill line-login。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • line-login 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

LINE Login

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

LINE Login v2.1 is built on OAuth 2.0 and OpenID Connect. It provides user authentication, profile access, and bot linking for web apps, native apps (iOS/Android), Unity, and Flutter.

Workflow

Build

  1. Read references/api-common.md (forward compatibility, rate limits, client_secret rules)
  2. Read references/security.md (security checklist, development guidelines)
  3. Load the relevant reference for the feature being implemented
  4. Write code following specs and constraints from references

Review / Debug

  1. Read references/api-common.md (status codes, error responses, forward compatibility)
  2. Read references/security.md (security checklist, common pitfalls)
  3. Load relevant references for the code being reviewed
  4. Cross-check code against specs (parameter requirements, token expiry, signing algorithms, required validations)
  5. Report violations with reference to specific constraints

Environment Variables

LINE_LOGIN_CHANNEL_ID=LINE Login Channel ID
LINE_LOGIN_CHANNEL_SECRET=Channel secret (ID token verification, token exchange)
LINE_LOGIN_REDIRECT_URI=Registered callback URL

Common Specifications

Read references/api-common.md before writing any LINE Login code. Contains rules that affect all API interactions: forward compatibility (don't use strict schemas — LINE adds fields without notice), rate limits, client_secret conditional requirement by App types, error responses, and logging recommendations.

OAuth 2.1 Authorization Code Flow

User → authorize endpoint → LINE Login screen → callback with code → token exchange → access_token + id_token

Minimal Flow (pseudocode)

# 1. Redirect user to authorize
state = random_token()
session.save(state)
redirect to:
  https://access.line.me/oauth2/v2.1/authorize?
    response_type=code
    &client_id={channel_id}
    &redirect_uri={callback_url}
    &state={state}
    &scope=profile%20openid%20email

# 2. Callback — exchange code for token
if params.state != session.state:
    return 403  # CSRF check failed

POST https://api.line.me/oauth2/v2.1/token
  grant_type=authorization_code
  &code={params.code}
  &redirect_uri={callback_url}
  &client_id={channel_id}
  &client_secret={channel_secret}

# 3. Response
{ access_token, token_type, refresh_token, expires_in, id_token, scope }
StepEndpoint
AuthorizeGET https://access.line.me/oauth2/v2.1/authorize
Token ExchangePOST https://api.line.me/oauth2/v2.1/token
  • Scopes: profile, openid, email (space-separated)
  • Authorization code: valid 10 minutes, one-time use
  • PKCE: recommended for public clients (SPA/Mobile), only S256 supported

Full authorize parameters, PKCE, scope combinations, error codes → references/oauth-flow.md

Token Management

OperationEndpoint
Verify Access TokenGET https://api.line.me/oauth2/v2.1/verify?access_token={token}
Refresh TokenPOST https://api.line.me/oauth2/v2.1/token (grant_type=refresh_token)
Revoke TokenPOST https://api.line.me/oauth2/v2.1/revoke
Verify ID TokenPOST https://api.line.me/oauth2/v2.1/verify (id_token + client_id)
TokenValidity
Access Token30 days
Refresh Token90 days

ID Token signing: HS256 (web login) / ES256 (native app, SDK, LIFF)

Full token APIs, ID Token claims, signing verification → references/token-management.md

User & Bot Linking

OperationEndpoint
Get User ProfileGET https://api.line.me/v2/profile
Check FriendshipGET https://api.line.me/friendship/v1/status
DeauthorizePOST https://api.line.me/user/v1/deauthorize
  • bot_prompt parameter: normal (on consent screen) / aggressive (separate screen after consent)
  • friendship_status_changed: included in token response when bot linking is configured

Full user profile, bot linking logic → references/user-profile.md

Security

  • state: must be cryptographically random, always validate on callback
  • PKCE: use for public clients (SPA, mobile apps)
  • Channel Secret: server-side only, never expose to client
  • redirect_uri: must be HTTPS
  • ID Token: always verify signature before trusting claims

Full security checklist, development guidelines, auto login failure handling → references/security.md

Reference Index

FileTopic
references/api-common.mdRead first. Rate limits, status codes, forward compatibility, client_secret rules, logging
references/oauth-flow.mdAuthorization flow, PKCE, scopes, auth methods, error codes
references/token-management.mdToken exchange/refresh/revoke/verify, ID Token claims and signing
references/security.mdSecurity checklist, development guidelines, auto login failure, login button design
references/user-profile.mdUser profile API, Link a Bot, friendship status
references/experts.mdLINE Login domain experts for architecture guidance

SDK

Native SDKs: iOS (Swift) | Android | Unity | Flutter

For web apps, use the OAuth 2.1 flow directly (no SDK required).

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.35%
按下载量换算76

Claude

29.19%
按下载量换算61

Cursor

20.37%
按下载量换算42

Gemini CLI

8.25%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills