跳到正文
Skillpedia
智能体16k · #10887

connect-apps

它能做什么

让助手通过你在浏览器中打开的一次性链接,为你启动与业务应用的连接。适合希望关联已批准工具的人。

适用场景

  • ✓当你要求助手把软件应用连接到你的账户时。
  • ✓当任务需要你的管理员已提供的应用时。
  • ✓当你希望助手在不在聊天中输入密码的情况下获得应用访问权限时。

技能链接

https://github.com/yc-software/qm/blob/main/skills-seed/connect-apps/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/yc-software/qm/blob/main/skills-seed/connect-apps/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把我的账户连接到已批准的应用,以便你完成这项任务。”

每周 5 个新技能,1 分钟读完。

工作原理

助手会创建一次性链接。你打开它,在服务商的页面上登录并批准访问。助手永远不会看到你的密码。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Connecting SaaS apps

Check Composio availability through GET /v1/composio/toolkits on the authenticated QM API. When available, load the composio skill and use its discovery and consent flow instead of the direct OAuth flow below. An empty direct OAuth list or a native oauth_not_configured error does not describe Composio availability. Preserve explicit app restrictions and account permissions; never switch credentials to evade a denial.

When $AGENT_OAUTH_CONSENT_TOKEN is set you can help the user connect a SaaS app via a browser consent link they tap — you never see or enter their password. The direct OAuth allowlist is the providers configured by the admin, the catalog entries with configured: true:

curl -fsS "$AGENT_API_URL/v1/connectors/catalog" -H "x-agent-capability: $AGENT_API_TOKEN" \
  | jq -r '.catalog[] | select(.configured) | .provider'

Offer direct OAuth links only for those providers, and none when the list is empty. Mint a single-use link for the selected provider, then give the user the full URL to open: curl -sS -X POST "$AGENT_API_URL/v1/connectors/oauth/consent/mint"
-H "X-Agent-Capability: $AGENT_OAUTH_CONSENT_TOKEN" -H 'content-type: application/json'
-d '{"provider":"<configured-provider>"}'

  • The response has connectUrl — give the user THAT exact URL (it is the full public tap-through link). Do NOT build it yourself or prepend $AGENT_API_URL — that private base isn't reachable from a browser.
  • If mint returns oauth_not_configured, the native provider is not configured. Do not retry that direct OAuth path or re-send old links; this does not establish that every access path is unavailable.
  • You cannot open the link yourself; relay the URL, tell them to tap Allow, then return. After they connect, the app's tools/skills work in your 1:1s with them.

Connect a personal Slack account

When someone asks to connect Slack or use their existing web connectors from Slack, offer the personal Slack linking widget in web chat, or direct them to QM web Settings (/?view=settings) and Link your Slack account from Slack. They must sign in with their existing web account before connecting. This authorizes personal Slack access and links their verified Slack identity to that QM account. Workspace bot installation is separate. Do not create a generic Composio Slack link or infer identity from matching emails.

In web chat, offer personal Slack account linking with ::link-slack-account{} as a standalone paragraph, outside code fences and quotations. Use it when someone wants Slack search, actions on their behalf, or access to their existing web connectors from Slack. This shows the personal linking card and its verified connection status, without the general app picker. Company bot installation must be completed first; use ::add-to-slack{} for that separate administrator step. In Slack, send them to QM web Settings while signed into their existing web account; web widget directives do not render in Slack.

常见问题

为什么这个链接只能使用一次?

链接只能使用一次,这样访问请求就仅限于一次批准。

助手可以提供哪些应用?

只有你的管理员为团队设置好的应用。如果没有列出任何应用,就不会提供直接链接。

如果连接失败怎么办?

如果连接未成功,助手会告诉你。如果列表中缺少该应用,请询问你的管理员。

详情

作者的原始描述

Connect an administrator-enabled SaaS app for a user with a one-time OAuth consent link.

repo: yc-software/qm

热度

GitHub 星标
16k
排名
#10887
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能