
Security News
Anthropic Identifies Biased Reasoning and Recklessness as Drivers of Claude’s PyPI Attack
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.
一个用于管理 Claude Code 配置文件的命令行工具,让您可以轻松地在不同配置之间切换。
# 克隆仓库
git clone <repository-url>
cd ccsettings
# 安装依赖
npm install
# 构建项目
npm run build
# 全局链接(可选)
npm link
npm install -g ccsettings
# 使用默认模板创建配置
ccsm create dev
# 使用自定义模板创建配置
ccsm create production --template /path/to/template.json
# 切换到指定配置
ccsm switch dev
# 列出所有配置
ccsm list
# 查看当前配置
ccsm current
# 备份当前 Claude Code 配置
ccsm backup
# 删除配置(会有确认提示)
ccsm delete old-config
# 强制删除(跳过确认)
ccsm delete old-config --yes
ccsm create <name> [options]创建新的配置文件。
参数:
name - 配置名称(必需)选项:
-t, --template <path> - 指定模板文件路径示例:
ccsm create development
ccsm create prod --template ./templates/production.json
ccsm switch <name>切换到指定的配置文件。
参数:
name - 要切换的配置名称(必需)示例:
ccsm switch development
ccsm list [options]列出所有可用的配置文件。
别名: ls
选项:
--backups - 同时显示备份文件示例:
ccsm list
ccsm ls --backups
ccsm current显示当前正在使用的配置。
示例:
ccsm current
ccsm backup备份当前 Claude Code 配置。
示例:
ccsm backup
ccsm delete <name> [options]删除指定的配置文件。
参数:
name - 要删除的配置名称(必需)选项:
-y, --yes - 跳过确认提示,直接删除示例:
ccsm delete old-config
ccsm delete temp-config --yes
配置文件存储在以下位置:
%USERPROFILE%/.ccsm/~/.ccsm/~/.ccsm/配置文件使用 JSON 格式,遵循 Claude Code 的 settings.json 结构:
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"env": {
"DISABLE_TELEMETRY": "1",
"DISABLE_ERROR_REPORTING": "1",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
"ANTHROPIC_BASE_URL": "",
"ANTHROPIC_AUTH_TOKEN": ""
},
"includeCoAuthoredBy": false,
"permissions": {
"allow": [],
"deny": []
},
"hooks": {}
}
如果遇到权限错误,请检查:
工具会自动检测 Claude Code 的安装路径:
%APPDATA%/Claude/settings.json~/Library/Application Support/Claude/settings.json~/.config/Claude/settings.json如果路径不正确,请检查 Claude Code 是否正确安装。
配置名称不能包含:
< > : " / \\ | ? *CON, PRN, AUX, NUL, COM1-9, LPT1-9settings_backup_ 开头欢迎贡献代码!请提交 Pull Request 或创建 Issue。
MIT License
提示: 使用 ccsm --help 或 ccsm <command> --help 查看详细的帮助信息。
FAQs
CLI tool for managing Claude Code settings.json configurations
The npm package ccsm receives a total of 1 weekly downloads. As such, ccsm popularity was classified as not popular.
We found that ccsm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.

Research
/Security News
Malicious Chrome and Firefox extensions target Axiom Trade and Padre users, stealing session tokens and wallet data.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.