connect-apps
它能做什么
让助手通过你在浏览器中打开的一次性链接,为你启动与业务应用的连接。适合希望关联已批准工具的人。
适用场景
- ✓当你要求助手把软件应用连接到你的账户时。
- ✓当任务需要你的管理员已提供的应用时。
- ✓当你希望助手在不在聊天中输入密码的情况下获得应用访问权限时。
技能链接
https://github.com/yc-software/qm/blob/main/skills-seed/connect-apps/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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
评论
- …
同一仓库的更多技能
deploy-qm
16k按照完整的部署清单,将 QM 软件包部署到 Fly.io、AWS 或 Render,然后设置管理员、连接器,并可选择连接 Slack。
onboarding
16k在一段简短的对话中,引导新用户连接账户、说明自己的工作方式、选择语音,并设置最初的帮助内容。
admin
16k让经过验证的组织管理员在聊天中查看或更改全组织范围的设置及其他范围,并在每项更改前进行确认。
browse
16k从你的 shell 驱动真实的隐身浏览器,在网站上执行操作,例如登录或填写表单,并按人保存登录状态。仅用于操作,不用于阅读。