cli-anything-ccswitch
하는 일
이 스킬은 에이전트가 CC Switch가 관리하는 AI 코딩 도구, 예를 들어 Claude Code와 Codex의 설정을 확인하고 관리하게 합니다. 제공자와 도구를 자주 바꾸는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓AI 코딩 도구가 현재 어떤 제공자를 쓰도록 설정되어 있는지 보고 싶을 때.
- ✓AI 코딩 도구의 활성 제공자를 바꾸고 싶을 때.
- ✓코딩 도구의 API 사용량과 비용 통계를 확인하고 싶을 때.
스킬 링크
https://github.com/HKUDS/CLI-Anything/blob/main/cc-switch/agent-harness/cli_anything/ccswitch/skills/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 코딩 도구가 어떤 AI 제공자를 쓰고 있는지, 최근 사흘 동안 비용이 얼마였는지 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 컴퓨터의 CC Switch 데이터베이스를 읽고 명령줄 도구를 실행해 설정을 나열하거나 바꿉니다. 사용 로그를 보여 주고, 지난 세션을 탐색할 수도 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
CC Switch CLI
CLI harness for CC Switch, a desktop app that manages AI coding tool (Claude Code, Codex, Gemini CLI, OpenCode, OpenClaw, Hermes) configurations. Built with Click and the CLI-Anything methodology.
Prerequisites
- Python 3.10+
- CC Switch installed with an active database at
~/.cc-switch/cc-switch.db
Installation
pip install -e .
After installation, the command cli-anything-ccswitch is available.
Command Groups
| Group | Description |
|---|---|
status |
Show a quick database overview |
providers |
Manage AI provider configurations (list, get, set-current) |
proxy |
Manage the local HTTP proxy server (status, config) |
mcp |
Manage MCP (Model Context Protocol) servers (list, enable) |
skills |
Manage installed skills (list, repos) |
usage |
View API usage and cost statistics (stats, logs) |
settings |
View and manage CC Switch settings (list, get, set) |
sessions |
Browse and search AI conversation sessions (list) |
Global Options
--json— Output in machine-readable JSON format (recommended for agent use)--db PATH— Override the database path
Agent-Specific Guidance
JSON Output
Always use --json for programmatic consumption. Place it before the
subcommand:
cli-anything-ccswitch --json providers list
cli-anything-ccswitch --json usage stats --days 30
cli-anything-ccswitch --json providers get <id> --app claude
Sensitive Values
API tokens, keys, and secrets are masked in all output. The settings_config
field in provider details shows masked values (e.g., sk-bc089...5cbb).
Exit Codes
0— Success1— Error (e.g., resource not found, invalid app type)
App Types
Valid app types: claude, codex, gemini, opencode, openclaw, hermes.
Examples
List all providers
cli-anything-ccswitch providers list
cli-anything-ccswitch --json providers list --app claude
Switch active provider
cli-anything-ccswitch providers set-current <provider-id> --app claude
Check proxy status
cli-anything-ccswitch proxy status --app claude
cli-anything-ccswitch proxy config --app claude --set-port 8080
View usage stats
cli-anything-ccswitch usage stats --days 7
cli-anything-ccswitch --json usage stats --days 30 --app claude
cli-anything-ccswitch usage logs --limit 10
List skills
cli-anything-ccswitch skills list
cli-anything-ccswitch skills repos
MCP servers
cli-anything-ccswitch mcp list
cli-anything-ccswitch mcp enable <server-id> --app claude --on
Settings
cli-anything-ccswitch settings list
cli-anything-ccswitch settings get <key>
cli-anything-ccswitch settings set <key> <value>
Sessions
cli-anything-ccswitch sessions list --app claude --limit 10
Status overview
cli-anything-ccswitch status
cli-anything-ccswitch
cli-anything-ccswitch --json
Error Handling
When a resource is not found, the CLI prints an error message to stderr and exits with code 1. Agents should check the exit code before parsing output.
Database
The CLI reads from the live CC Switch SQLite database. All read operations
are safe and do not modify the database. Write operations (providers set-current, proxy config, mcp enable, settings set) modify the
database directly.
자주 묻는 질문
CC Switch가 설치되어 있어야 하나요?
네. 컴퓨터에 활성 데이터베이스와 함께 CC Switch가 설치되어 있어야 합니다.
어떤 도구를 다루나요?
Claude Code, Codex, Gemini CLI, OpenCode, OpenClaw, Hermes를 다룹니다.
설정을 바꿀 수 있나요?
네. 현재 제공자를 설정하고, MCP 서버를 켜는 것 등을 할 수 있습니다.
상세 정보
작성자의 원본 설명
CLI interface for CC Switch — manage AI coding tool configurations from the terminal
repo: HKUDS/CLI-Anything
인기도
- GitHub 스타
- 58k
- 순위
- #3187
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 9. 21.
댓글
- …
이 저장소의 다른 스킬
cli-anything-3mf
58k에이전트가 3D 프린팅 파일을 검사하고 고치도록 돕습니다. 둥근 구멍 찾기, 크기 조정, 메시 수리, 두 파일 비교가 가능합니다.
cli-anything-qgis
58k에이전트가 터미널에서 QGIS 지도 프로젝트를 열고 편집하고 내보내도록 돕습니다. 레이어, 피처, 인쇄 레이아웃, 처리 도구를 포함합니다.
cli-anything-adguardhome
58k에이전트가 네트워크 전체의 광고 차단기인 AdGuard Home을 관리하도록 돕습니다. 필터, DNS 재작성, 클라이언트, 쿼리 로그를 포함합니다.
cli-anything-anygen
58k에이전트가 AnyGen 서비스를 이용해 글로 된 프롬프트로 슬라이드, 문서, 웹사이트, 다이어그램을 만들도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.