Agent skill

CLI Anything Ccswitch

by HKUDS in HKUDS/CLI-Anything

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

Apache-2.0Auto-check passedAgent Workflows

Install CLI Anything Ccswitch

skills CLI
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-ccswitch -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HKUDS/CLI-Anything cli-anything-ccswitch --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HKUDS/CLI-Anything.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cli-anything-ccswitch .claude/skills/cli-anything-ccswitch && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cli-anything-ccswitch
GitHub stars
52k
Token cost
~890 tokens
SKILL.md length
288 words
Files
1
Skills in repo
78
Repo updated
First seen
Licence
Apache-2.0

At a glance

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

  • Agent Workflows work in your project
  • SKILL.md covers Prerequisites, Installation, Command Groups and Global Options, plus 4 more sections
  • Calls pip

What it does

CLI Anything Ccswitch is an agent skill from HKUDS/CLI-Anything. CLI interface for CC Switch — manage AI coding tool configurations from the terminal

Its SKILL.md is about 890 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. It works with Model Context Protocol. The repository describes itself as: "CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/. The licence is Apache-2.0.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “/cli-anything-ccswitch”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 34f5195. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

CLI Anything Ccswitch loads about 890 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 288 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~890

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from HKUDS/CLI-Anything at commit 34f5195, republished under its Apache-2.0 licence (© HKUDS). 288 words, ~890 tokens.

Download SKILL.mdSave it as .claude/skills/cli-anything-ccswitch/SKILL.md (or your agent's skills folder).
name
cli-anything-ccswitch
description
CLI interface for CC Switch — manage AI coding tool configurations from the terminal

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

bash
pip install -e .

After installation, the command cli-anything-ccswitch is available.

Command Groups

GroupDescription
statusShow a quick database overview
providersManage AI provider configurations (list, get, set-current)
proxyManage the local HTTP proxy server (status, config)
mcpManage MCP (Model Context Protocol) servers (list, enable)
skillsManage installed skills (list, repos)
usageView API usage and cost statistics (stats, logs)
settingsView and manage CC Switch settings (list, get, set)
sessionsBrowse 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:

bash
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 — Success
  • 1 — Error (e.g., resource not found, invalid app type)
App Types

Valid app types: claude, codex, gemini, opencode, openclaw, hermes.

Examples

List all providers
bash
cli-anything-ccswitch providers list
cli-anything-ccswitch --json providers list --app claude
Switch active provider
bash
cli-anything-ccswitch providers set-current <provider-id> --app claude
Check proxy status
bash
cli-anything-ccswitch proxy status --app claude
cli-anything-ccswitch proxy config --app claude --set-port 8080
View usage stats
bash
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
bash
cli-anything-ccswitch skills list
cli-anything-ccswitch skills repos
MCP servers
bash
cli-anything-ccswitch mcp list
cli-anything-ccswitch mcp enable <server-id> --app claude --on
Settings
bash
cli-anything-ccswitch settings list
cli-anything-ccswitch settings get <key>
cli-anything-ccswitch settings set <key> <value>
Sessions
bash
cli-anything-ccswitch sessions list --app claude --limit 10
Status overview
bash
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.

© HKUDS, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/cli-anything-ccswitch of HKUDS/CLI-Anything.

Open the folder on GitHubat commit 34f5195

Compare with similar skills

CLI Anything Ccswitch next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

CLI Anything Ccswitch compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
CLI Anything Ccswitch this skillHKUDS/CLI-Anything52k—~890Automated safety check: PassApache-2.0
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official38k11 repos~3.1kAutomated safety check: PassApache-2.0
Fastmcp Client CLIPrefectHQ/fastmcp28k1 repos~823Automated safety check: PassApache-2.0
MemPalace Memory SearchMemPalace/mempalace59k—~1.4kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Fastmcp Client CLI

    PrefectHQ/fastmcp

    Query and invoke tools on MCP servers using fastmcp list and fastmcp call.

    28k GitHub starsUsed in 1 repo~823 tokens
    Agent WorkflowsAuto-check passed
  • MemPalace Memory Search

    MemPalace/mempalace

    Mines project files and conversation exports into a local, searchable memory palace and recalls past work by semantic search through the mempalace CLI.

    59k GitHub stars~1.4k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Crush Configuration

    charmbracelet/crush

    Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.

    29k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from HKUDS/CLI-Anything

All 78 skills in this repo
  • CLI-Anything for Codex

    HKUDS/CLI-Anything

    Lets Codex build, refine, test, validate and list CLI-Anything harnesses for GUI applications or source repositories, following the project's full methodology.

    52k GitHub stars~1.5k tokensUpdated 16 days ago
    Auto-check passed
  • CLI-Anything for Reasonix

    HKUDS/CLI-Anything

    Adapts the CLI-Anything methodology so Reasonix can build, refine, test and validate a command-line harness for an existing GUI application or source repository.

    52k GitHub stars~1.8k tokensUpdated 16 days ago
    Auto-check passed
  • Guides Hermes Agent through building, refining and testing a CLI-Anything harness that wraps a GUI application or source repository in a scriptable command line.

    52k GitHub stars~1.1k tokensUpdated 16 days ago
    Auto-check passed
  • Builds, refines, tests or validates a CLI-Anything harness that wraps a GUI application or source repository as a stateful Click CLI with JSON output and a REPL mode.

    52k GitHub stars~839 tokensUpdated 16 days ago
    Auto-check passed
  • Krita CLI Harness

    HKUDS/CLI-Anything

    Drives Krita from the command line to create projects, add layers, apply filters, resize the canvas and export images, with JSON output for agents.

    52k GitHub stars~931 tokensUpdated 16 days ago
    Auto-check passed
  • MacroCLI GUI Macros

    HKUDS/CLI-Anything

    Defines, lists, inspects and runs parameterized GUI macros from the command line, with the runtime choosing the execution backend.

    52k GitHub stars~1.4k tokensUpdated 16 days ago
    Auto-check passed

Categories

Questions about CLI Anything Ccswitch

What does CLI Anything Ccswitch do?

CLI interface for CC Switch — manage AI coding tool configurations from the terminal. CLI Anything Ccswitch is an agent skill from HKUDS/CLI-Anything.

When should I use CLI Anything Ccswitch?

CLI Anything Ccswitch fits situations like: agent Workflows work in your project.

How do I install CLI Anything Ccswitch in Claude Code?

Run `npx skills add HKUDS/CLI-Anything --skill cli-anything-ccswitch -a claude-code`. Or copy the skill folder (skills/cli-anything-ccswitch in HKUDS/CLI-Anything) into .claude/skills/cli-anything-ccswitch in your project. Claude Code loads it when a task matches its description.

How do I install CLI Anything Ccswitch in Codex?

Run `npx skills add HKUDS/CLI-Anything --skill cli-anything-ccswitch -a codex`. Or copy the skill folder (skills/cli-anything-ccswitch in HKUDS/CLI-Anything) into .agents/skills/cli-anything-ccswitch in your project. Codex loads it when a task matches its description.

Can I use CLI Anything Ccswitch in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HKUDS/CLI-Anything --skill cli-anything-ccswitch -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cli-anything-ccswitch, .gemini/skills/cli-anything-ccswitch, .github/skills/cli-anything-ccswitch and .opencode/skills/cli-anything-ccswitch in your project.

What does CLI Anything Ccswitch need to run?

Going by SKILL.md and its folder, CLI Anything Ccswitch needs the command-line tools its instructions call (pip). Our summary lists: Python 3.

Does CLI Anything Ccswitch access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is CLI Anything Ccswitch safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does CLI Anything Ccswitch use?

CLI Anything Ccswitch is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does CLI Anything Ccswitch use?

About 890 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to CLI Anything Ccswitch?

Skills that share tags, products or a category with CLI Anything Ccswitch: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Fastmcp Client CLI (PrefectHQ/fastmcp, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains CLI Anything Ccswitch?

HKUDS (a GitHub organization) maintains it in HKUDS/CLI-Anything, which has 51,696 GitHub stars. The repository holds 78 skills in this directory. The repository was last updated on September 22, 2026.

Source: HKUDS/CLI-Anything on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.