返回顶部
l

latchkey

Interact with arbitrary third-party or self-hosted services (AWS, Slack, Google Drive, Dropbox, GitHub, GitLab, Linear, Coolify...) using their HTTP APIs.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 2.3.0+5
安全检测
已通过
303
下载量
0
收藏
概述
安装方式
版本历史

latchkey

# Latchkey ## Instructions Latchkey is a CLI tool that automatically injects credentials into curl commands. Credentials (mostly API tokens) need to be manually managed by the user. Use this skill when the user asks you to work with services that have HTTP APIs, like AWS, Coolify, GitLab, Google Drive, Discord or others. Usage: 1. **Use `latchkey curl`** instead of regular `curl` for supported services. 2. **Pass through all regular curl arguments** - latchkey is a transparent wrapper. 3. **Check for `latchkey services list`** to get a list of supported services. Use `--viable` to only show the currently configured ones. 4. **Use `latchkey services info <service_name>`** to get information about a specific service (auth options, credentials status, API docs links, special requirements, etc.). 5. **If necessary, ask the user to configure credentials first.** Tell the user to run `latchkey auth set` on the machine where latchkey is installed (using the setCredentialsExample from the `services info` command). 6. **Look for the newest documentation of the desired public API online.** 7. **Do not initiate a new login if the credentials status is `valid` or `unknown`** - the user might just not have the necessary permissions for the action you're trying to do. ## Examples ### Make an authenticated curl request ```bash latchkey curl [curl arguments] ``` ### Creating a Slack channel ```bash latchkey curl -X POST 'https://slack.com/api/conversations.create' \ -H 'Content-Type: application/json' \ -d '{"name":"my-channel"}' ``` (Notice that `-H 'Authorization: Bearer` is not present in the invocation.) ### Getting Discord user info ```bash latchkey curl 'https://discord.com/api/v10/users/@me' ``` ### Detect expired credentials ```bash latchkey services info discord # Check the "credentialStatus" field - shows "invalid" ``` ### List usable services ```bash latchkey services list --viable ``` Lists services that have stored credentials. ### Get service-specific info ```bash latchkey services info slack ``` Returns auth options, credentials status, and developer notes about the service. ## Storing credentials It is the user's responsibility to supply credentials. The user would typically do something like this: ```bash latchkey auth set my-gitlab-instance -H "PRIVATE-TOKEN: <token>" ``` When credentials cannot be expressed as static curl arguments, the user would use the `set-nocurl` subcommand. For example: ```bash latchkey auth set-nocurl aws <access-key-id> <secret-access-key> ``` If a service doesn't appear with the `--viable` flag, it may still be supported; the user just hasn't provided the credentials yet. `latchkey service info <service_name>` can be used to see how to provide credentials for a specific service. ## Notes - All curl arguments are passed through unchanged - Return code, stdout and stderr are passed back from curl - Credentials are always stored encrypted and are never transmitted anywhere beyond the endpoints specified by the actual curl calls. ## Currently supported services Latchkey currently offers varying levels of support for the following services: AWS, Calendly, Coolify, Discord, Dropbox, Figma, GitHub, GitLab, Gmail, Google Analytics, Google Calendar, Google Docs, Google Drive, Google Sheets, Linear, Mailchimp, Notion, Sentry, Slack, Stripe, Telegram, Umami, Yelp, Zoom, and more. ### User-registered services Note for humans: users can also add limited support for new services at runtime using the `latchkey services register` command.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 latchkey-1776233841 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 latchkey-1776233841 技能

通过命令行安装

skillhub install latchkey-1776233841

下载 Zip 包

⬇ 下载 latchkey v2.3.0+5

文件大小: 2.41 KB | 发布时间: 2026-4-15 23:59

v2.3.0+5 最新 2026-4-15 23:59
- Changed install instructions metadata from npm to node in compatibility requirements.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部