본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)38k · #7488

copilotkit-cli

하는 일

이 스킬은 CopilotKit 명령줄 도구를 쓰는 방법을 설명하며, 프로젝트의 연결을 확인하는 점검 명령도 포함합니다. 직접 디버깅하기 전에 CopilotKit 설정을 확인하려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓CopilotKit 앱이 작동하지 않아 먼저 연결을 확인해야 할 때.
  • ✓명령줄에서 새 CopilotKit 프로젝트를 만들고 싶을 때.
  • ✓로그인하고 호스팅된 Intelligence 프로젝트를 고를 필요가 있을 때.

스킬 링크

https://github.com/CopilotKit/CopilotKit/blob/main/skills/copilotkit-cli/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“내 CopilotKit 앱이 응답하지 않습니다. 먼저 CopilotKit 점검을 실행하고, 무엇을 찾았는지 알려 주세요.”

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

작동 방식

에이전트는 맞는 명령을 실행하는데, 예를 들어 연결을 테스트하고 결과를 보고하는 verify 점검이 있습니다. 설정에 맞는 점검, 즉 호스팅 Intelligence를 쓰는지 여부에 따라 고르며, 점검을 통과시키려고 로그인 설정을 바꾸지 않습니다.

기술 내용 (원본 SKILL.md)

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

CopilotKit CLI

npx copilotkit@latest <command> --via skill:copilotkit-cli

Keep --via skill:copilotkit-cli on every command you run from this skill. It only tells CopilotKit's telemetry that the call came from this skill, and the command ignores it. If the CLI reports Unknown option '--via', npx ran an old cached version: run the command again without the flag.

--help on any command prints its flags. The commands below are the ones worth knowing before you start reading someone's project by hand.

verify — do this before debugging

First decide whether the app uses hosted Intelligence. verify checks for it by default, and an open-source app fails those checks every time.

  • No Intelligence: nothing constructs CopilotKitIntelligence where the runtime is built, and there is no .copilotkit/project.json. Run the open-source check, with an agent id the runtime registers:

    npx copilotkit@latest verify --expect-runtime oss --round-trip --agent <id> --json --via skill:copilotkit-cli
    

    --round-trip --agent <id> is required here. Without it the round trip is not attempted and the command cannot pass.

  • Otherwise: run the default check.

    npx copilotkit@latest verify --json --via skill:copilotkit-cli
    

Do not run login or project select only to make verify pass. Those commands set up hosted Intelligence. They do not fix an open-source app, and verify still fails on it afterward, because the runtime never consumes the credential.

One command replaces the manual survey. It settles up to eleven things: a hosted project is selected; the project API key is present, loadable by the app, and authenticates; the runtime responds, declares an agent, actually consumes the credential, and serves the thread routes; the frontend serves its own assets; the runtime accepts the browser's origin; and the installed CopilotKit packages match the version the runtime reports. It also reports the runtime version, the agent framework in use, whether transcription is wired, the realtime gateway wiring, and the license state.

Eleven is the ceiling, not a promise. The last three are omitted when there was nothing to check them against — no frontend origin was found, or no installed packages were. Count checks[] rather than assuming a fixed set. With --expect-runtime oss the hosted-project and credential checks do not apply at all, so that run is a smaller set.

Crucially it names which URL it probed and where that URL came from — the project's runtimeUrl, an environment variable, the app's own dev configuration, or an assumed default. A survey done by hand cannot tell you that, and the provenance changes the verdict: nothing answering at a URL the project named is a FAIL, while nothing answering at an assumed default is UNKNOWN, because an app on a port the command never learned is not a wiring failure.

Useful flags:

  • --frontend-url <origin you actually open> — adds the browser-facing checks, including a real CORS preflight when that origin differs from the runtime's
  • --round-trip — also runs the agent and reads its answer back. Costs a model call, so it is opt-in
  • --expect-runtime oss — for a self-hosted runtime with no Intelligence. It exits zero only when /info declares the named agent, reports no Intelligence entitlement, and --round-trip --agent <id> passes
  • --agent <id> — which declared agent to run, when several are registered
  • --runtime-url <url> — probe this endpoint instead of the one read from the project
  • --header '<name>: <value>' — repeatable. Needed when the project's identifyUser reads a session the CLI does not carry
  • --timeout <seconds> — how long to wait for an answer, default 90

Read checks[] and fix in the order given:

  • The checks chain. A later check that could not run says so and names the earlier one to fix first, so the first failure is the real one.
  • UNKNOWN means the check could not run. It never means the check passed, and the command exits non-zero unless every check passed.

What verify does not cover

Reach past it only once it is clean.

  • Tool execution. --round-trip deliberately asks a question that needs no tools and sends no context, so a passing round trip says nothing about whether your tools work.
  • Event ordering and streaming. It reports pass or fail on a run, not the sequence inside it. A run that starts and never finishes, or s
자주 묻는 질문

디버깅 전에 점검하는 이유는 무엇인가요?

연결이 올바른지 빠르게 보여 주므로, 프로젝트 전체를 손으로 읽지 않아도 됩니다.

점검에 호스팅 Intelligence가 필요한가요?

항상은 아닙니다. 오픈소스 앱은 호스팅 Intelligence를 쓰는 앱과 다른 점검을 씁니다.

로그인을 물어보지 않고 하나요?

점검을 통과시키기 위해 로그인하지 않아야 합니다. 로그인은 사용자가 고르는 별도의 단계입니다.

상세 정보

작성자의 원본 설명

Use for the CopilotKit CLI — `npx copilotkit@latest`. Covers proving a project's wiring with `verify` before debugging anything by hand, scaffolding with `create`, signing in and selecting a hosted Intelligence project, agent-assisted onboarding of an existing app, generating type-safe agent ids, and importing thread history. Reach for `verify` first whenever a CopilotKit app is not working.

repo: CopilotKit/CopilotKit

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬