claude-keysmith

作者 Jia-Ethan已验证

Managed Claude Code instruction deployment with safe CLI recovery and an unsigned macOS/Windows desktop beta.

668
Stars
121
Forks
Python
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/Jia-Ethan/claude-keysmith

快速入门

使用 claude-keysmith 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

简体中文

Keysmith 系列为本地 AI 工具安全部署、验证和撤销自定义指令。claude-keysmith 把一份 Markdown 存进 keysmith 目录,并在 CLAUDE.md / CLAUDE.local.md 插入可识别、可卸载的 import block。

[!WARNING] 项目 / local scope 只影响该仓库;user scope 会影响加载 ~/.claude/CLAUDE.md 的新会话。--runtime 还会对齐 settings.jsonsystemPrompt,并安装 managed shell wrapper。默认只预览,显式 --yes 才写入。先阅读 examples/claude-project-rules.mdexamples/claude-append-prompt.mddocs/privacy-security.md

选择哪个 Keysmith

项目 目标工具 部署面 稳妥安装 Desktop

codex-keysmith Codex 全局 ~/.codex 指令 稳定 CLI Release 未签名 Beta

claude-keysmith Claude Code 项目 / 用户 CLAUDE.md import 稳定 v7.1 源码 tag 未签名 Beta

grok-keysmith Grok Build 全局 ~/.grok/rules(不改 AGENTS.md) 稳定 CLI Release 未签名 Beta

zcode-keysmith ZCode App 用户目录 system-role + wrapper 仅源码 无

安装方式

  • 稳妥:稳定 v7.1 源码 CLI。 没有独立 CLI 安装包;按下方命令固定 clone v7.1 tag,再运行 claude-instruct.py。不要 curl | python

  • 更易用:未签名 Desktop Beta。desktop-v0.1.0-beta.1:macOS Apple Silicon DMG 与 Windows x64 NSIS,内嵌 v7 预发布 CLI。无 Linux GUI、无自动更新、无签名。步骤见 docs/platform-support.md

快速开始(稳定 v7.1)

git clone --branch v7.1 --depth 1 https://github.com/Jia-Ethan/claude-keysmith.git
cd claude-keysmith
python3 claude-instruct.py --version  # claude-keysmith v7.1
python3 claude-instruct.py install --scope project --project-dir /path/to/repo
python3 claude-instruct.py install --scope project --project-dir /path/to/repo --yes
python3 claude-instruct.py status --scope project --project-dir /path/to/repo

可选 user-scope runtime:先 install --scope user --runtime 预览,再加 --yes。macOS / Linux 随后 source ~/.zshrc;Windows PowerShell 用 python .\\claude-instruct.py. $PROFILE

会修改什么

路径 会发生什么

CLAUDE.mdCLAUDE.local.md 插入或替换同名 managed import block

相邻 keysmith/<name>.md 新建,或先备份再替换

~/.claude/settings.json、shell profile 仅 --runtime:对齐 systemPrompt 并写入 managed wrapper

不修改 Claude 二进制、MCP、hooks、permissions 或凭证。完整表见 docs/reference.md

如何撤销

# 项目级卸载先预览,确认后加 --yes
python3 claude-instruct.py uninstall --scope project --project-dir /path/to/repo
python3 claude-instruct.py uninstall --scope user --runtime --yes
python3 claude-instruct.py restore --target PATH --backup PATH --yes

v7.1 提供备份枚举和中断事务恢复:

python3 claude-instruct.py backups --scope user --json
python3 claude-instruct.py recover --scope user
python3 claude-instruct.py recover --scope user --yes

uninstall --runtime 不自动回滚 settings.jsonsystemPrompt;可对已知的安装前备份执行 restore。写操作中断时,先用 recover 预览,再加 --yes

平台与 Beta 限制

  • CLI:Python 3.8+;wrapper 支持 macOS / Linux zsh 与 Windows PowerShell 5.1 / 7。CMD、Git Bash 不在正式范围。

  • Desktop:仅 macOS Apple Silicon 与 Windows x64;未签名,可能触发 Gatekeeper / SmartScreen。

  • 版本与产物以 Releasesdocs/platform-support.md 为准。

进阶文档

贡献、安全与系列

python3 -m py_compile claude-instruct.py
python3 -m pytest tests

安全边界见 docs/privacy-security.md。社区:LINUX DO

常见问题

What is claude-keysmith?

claude-keysmith is an open-source cli tools skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Jia-Ethan. Managed Claude Code instruction deployment with safe CLI recovery and an unsigned macOS/Windows desktop beta. It has 668 GitHub stars.

Is claude-keysmith safe to use?

Yes. claude-keysmith passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install claude-keysmith?

Clone the repository with "git clone https://github.com/Jia-Ethan/claude-keysmith" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is claude-keysmith written in?

claude-keysmith is primarily written in Python. It is open-source under Jia-Ethan on GitHub, so you can review or fork the full source.

Are there alternatives to claude-keysmith?

Yes. SkillsLLM lists many other CLI Tools skills you can browse and compare side by side. Open the CLI Tools category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-keysmith against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ui-ux-pro-max-skill

by nextlevelbuilder

12

An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.

119,92012,870Python
CLI 工具ai-skillsantigravity
查看详情

happy

by slopus

Mobile and Web client for Codex and Claude Code, with realtime voice, encryption and fully featured

23,4501,980TypeScript
CLI 工具
查看详情

claudecodeui

by siteboon

Use Claude Code, OpenCode, Cursor CLI, and Codex on mobile and web with CloudCLI (aka Claude Code UI). CloudCLI is a free open source webui/GUI that helps you manage your Claude Code session and projects remotely.

13,3941,866TypeScript
CLI 工具
查看详情

CRS-自建Claude Code镜像,一站式开源中转服务,让 Claude、OpenAI、Gemini、Droid 订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。

12,5471,869JavaScript
CLI 工具
查看详情

ccstatusline

by sirmalloc

🚀 Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more.

12,508545TypeScript
CLI 工具
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情