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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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
CopilotKitIntelligencewhere 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/infodeclares 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'sidentifyUserreads 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.
UNKNOWNmeans 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-tripdeliberately 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.
댓글
- …
이 저장소의 다른 스킬
channels-setup
38k에이전트를 CopilotKit의 안내 설정으로 연결해, 처음부터 끝까지 Slack이나 Microsoft Teams에서 답하는 첫 에이전트를 만들도록 돕습니다.
copilotkit-channels
38k에이전트가 관리형 CopilotKit 채널을 설정하거나 맞춤화해, 에이전트가 Slack이나 Microsoft Teams에서 답할 수 있게 돕습니다.
copilotkit
38k에이전트가 코드를 쓰기 전에 현재 CopilotKit 문서와 소스를 찾도록 돕습니다. 바뀌는 API에 대한 기억에 의존하지 않습니다.
setup-slack-channel
38k에이전트가 로컬에서 실행 중인 CopilotKit 에이전트를 Slack에 연결하도록 돕습니다. Slack 앱, 토큰, 관리형 채널을 만듭니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.