본문으로 건너뛰기
Skillpedia
에이전트16k · #10886

composio

하는 일

이 스킬은 어시스턴트가 업무 도구 같이 사용자가 허용한 앱을 찾아 안전한 로그인 단계를 거쳐 연결하도록 합니다. 어시스턴트가 외부 앱을 쓰기를 원하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓아직 연결하지 않은 앱을 연결해 달라고 어시스턴트에게 요청할 때.
  • ✓작업에 내 계정에 연결되지 않은 앱이 필요할 때.
  • ✓연결할 수 있는 앱 목록을 보고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/yc-software/qm/blob/main/skills-seed/composio/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제가 연결할 수 있는 앱을 보여 주셔서, 제 작업에 사용할 수 있게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

어시스턴트는 사용할 수 있는 앱을 확인하고 선택기를 보여 줍니다. 사용자가 앱을 고르고, 앱 제공자의 로그인 페이지에서 접근을 승인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Composio

Use this skill for app discovery, consent, and execution through QM's authenticated backend. Check availability with GET /v1/composio/toolkits; an absent sandbox API key is expected. Never ask regular users to provision a Composio project key.

Show setup in web chat

When the user asks to connect apps, browse integrations, or show setup again in web chat, include the following directive as its own paragraph in your reply, with blank lines around it:

::connect-apps{}

Write the directive directly, without a code fence or quotation. The web UI renders only the searchable app picker in place. To display the separate Add to Slack action, use ::add-to-slack{} as its own paragraph instead. Include both directives in separate paragraphs when the user asks for full setup. The Slack action is available to administrators; other users should ask their administrator to install QM. Do not repeat the welcome or celebration. Rendering the widget does not authorize any service or require an SDK call; the user chooses an app and completes provider consent. Do not claim accounts are connected without verified status. For Slack conversations, use ordinary authorization links instead of this web-only directive.

When a task needs an app that isn't connected

Check connections before work that depends on an app. If the app is in the catalog but not connected, ask for it in your first reply: do any part that doesn't need the app, show the connect option, and stop. Don't finish a long partial answer first.

  • Slack uses its dedicated connection flow even though toolkits lists it. In web chat, use ::link-slack-account{} as its own paragraph for personal Slack access or its connection status. Use ::add-to-slack{} for the separate administrator step of installing the workspace bot, which must be completed first. In Slack conversations, direct the user to QM web Settings (/?view=settings) and Link your Slack account, signed into their existing web account. Never use ::connect-apps{toolkit="slack"} or a generic Slack authorization link. These dedicated widgets do not automatically resume the task; ask the user to reply after connecting.
  • For other apps in web chat, put ::connect-apps{toolkit="notion"} on its own paragraph, using the exact id from toolkits. It shows a single connect button for that app. After consent the user returns to this conversation, the account is verified, and a message is sent so you can continue the task.
  • For other apps in Slack conversations, mint a link with authorize (step 3 below) and say you'll pick the task back up when they reply.
  • If the app isn't in the catalog, say so in one sentence and don't show the picker. Look for the provider's official API or MCP server yourself. If it uses API keys, send a secure keychain drop link instead of asking for the key in chat.

Reconnect or disconnect an app

Each account in connections lists missingScopes: permissions the app's configuration now requests that this connection never got. Providers like X can't upgrade a token in place, so only a fresh consent fixes it.

  • When a tool fails with 403 or an insufficient-scope error and that account's missingScopes is non-empty, say so in one sentence and offer to reconnect instead of retrying.
  • In web chat, show ::connect-apps{toolkit="twitter"}. For a connected app it offers Reconnect and Disconnect, and removes the replaced account itself after a verified reconnect.
  • Elsewhere, authorize a new link (step 3 below). Once the new account ID is listed in connections, remove the old one with apps("disconnect", {accountId}), never before.
  • When asked to remove or reset a connection, call apps("disconnect", {accountId}) on a turn the user started. It only removes their own connections and can't be undone.

Backend API

Use the authenticated QM API from the computer through execute with an explicit sandbox_id. The Composio project key stays in QM's backend. Do not request it from the keychain, install the Composio SDK, use old SDK scripts, or call Composio directly. Existing execute approval and command policies still apply.

const base = process.env.AGENT_API_URL;
const token = process.env.AGENT_API_TOKEN;
async function apps(path, body) {
  const response = await fetch(`${base}/v1/composio/${path}`, {
    method: body === undefined ? "GET" : "POST",
    headers: { "X-Agent-Capability": token, "Content-Type": "application/json" },
    ..
자주 묻는 질문

어시스턴트가 내 앱 비밀번호를 보나요?

아닙니다. 접근은 앱 제공자의 로그인 페이지에서 승인하므로, 어시스턴트에게 비밀번호가 필요하지 않습니다.

앱을 연결하려면 관리자여야 하나요?

Slack처럼 관리자만 설치할 수 있는 앱도 있으므로, 먼저 관리자에게 요청해야 할 수 있습니다.

앱이 연결되어 있지 않다면 어떻게 되나요?

어시스턴트는 먼저 연결 상태를 확인합니다. 앱이 없으면 작업 전에 연결을 제안합니다.

상세 정보

작성자의 원본 설명

Show the app connection picker or setup widget when users ask to connect apps, reopen setup, or need an app that isn't connected yet. Use QM’s authenticated backend for app discovery, consent, and execution without exposing project keys.

repo: yc-software/qm

인기도

GitHub 스타
16k
순위
#10886
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬