oneskill
OneSkill is a meta-manager for discovering, searching, and automatically installing Claude Code skills from registries. Use it when current capabilities lack needed functionality, tasks require specialized domain expertise and repeated attempts have failed, or better-suited skills exist for specific needs like web browsing, GitHub integration, or database management. The tool searches skill registries, analyzes results, confirms selections with users, and installs packages via OpenSkills while handling environment-specific configuration.
git clone --depth 1 https://github.com/xu-xiang/everything-claude-code-zh /tmp/oneskill && cp -r /tmp/oneskill/.claude/skills/oneskill ~/.claude/skills/oneskillSKILL.md
# OneSkill 元管理器(Meta-Manager)
使用此技能(Skill)来发现新功能、优化搜索查询,并使用 OpenSkills 简化技能设置。这为扩展环境功能提供了一种统一的方式。
## 何时使用
- 当用户要求的某些功能你目前不具备时。
- 当任务复杂、属于特定领域,或在尝试 2 次后仍被反复阻断时。
- 当可能存在更好的技能(Skill)时(例如:网页浏览、GitHub 集成、数据库管理、云基础设施)。
## 工作流(Workflow)
1. **搜索注册表**:
- 运行:`npx oneskill search "<query>" [options]`
- 支持的选项:`--category`、`--limit`、`--offset`、`--sort`。
- 示例:
- `npx oneskill search "browser" --sort stars`
- `npx oneskill search "" --category database --limit 5`
2. **分析结果**:
- 确定最佳匹配项,或优化查询并再次搜索。
3. **与用户确认**:
- 说明该技能的功能及其来源。
4. **在获得明确批准后进行安装(使用 openskills)**:
- 运行:`npx openskills install <slug-or-repo>`
- 示例:`npx openskills install anthropics/skills`
5. **处理特定环境的设置**:
- **Gemini CLI 用户**:`openskills` 不会自动配置 Gemini。安装后你**必须**运行映射命令:
- `npx oneskill map --target gemini`(如果是全局安装,请添加 `--global`)
6. **应用新技能以完成原始请求**。
## OpenSkills 基础
- `npx openskills install <source> [options]` # 从 GitHub、本地路径或私有仓库安装
- `npx openskills sync [-y] [-o <path>]` # 更新 AGENTS.md(或自定义输出)
- `npx openskills list` # 显示已安装的技能
- `npx openskills read <name>` # 加载技能(供智能体(Agent)使用)
- `npx openskills update [name...]` # 更新已安装的技能(默认:全部)
- `npx openskills manage` # 移除技能(交互式)
- `npx openskills remove <name>` # 移除特定技能
示例:
- `npx openskills install anthropics/skills`
- `npx openskills sync`
默认设置:安装在项目本地(`./.claude/skills`,或者带 `--universal` 参数安装在 `./.agent/skills`)。使用 `--global` 安装在 `~/.claude/skills`。
## 安全提示(Safety Reminders)
- 未经用户明确确认,请勿安装。
- 除非用户同意覆盖现有目标,否则避免使用 `--force-map`。
- 使用 openskills 进行安装/更新;OneSkill 仅为 Gemini 提供搜索和映射。
- 对于 Gemini,请在安装后运行 `npx oneskill map --target gemini`。
- 默认安装/映射是项目本地的,与 openskills 相同;全局安装请使用 `--global`。
- 安装 OneSkill 本身时,建议使用 `--global`,以便在跨项目时可用。生产级 API 的 REST API 设计模式,包括资源命名、状态码、分页、过滤、错误响应、版本控制和速率限制。
用于系统设计、可扩展性及技术决策的软件架构专家。在规划新功能、重构大型系统或做出架构决策时请主动(PROACTIVELY)使用。
编写文章、指南、博客、教程、时事通讯(Newsletter)等长内容,支持从示例或品牌指南中提取独特的语感语调。适用于需要撰写超过一个段落的精炼文本,尤其是对语气一致性、结构和可信度有较高要求时。
后端架构模式、API 设计、数据库优化以及 Node.js、Express 和 Next.js API 路由的服务端最佳实践。
构建与 TypeScript 错误修复专家。当构建失败或出现类型错误时,请主动(PROACTIVELY)使用。仅修复构建/类型错误,保持最小差异(diff),不进行架构性修改。重点是快速使构建通过(get the build green)。
个人通讯幕僚 (Chief of Staff),负责分拣电子邮件、Slack、LINE 和 Messenger。将消息分类为 4 个级别 (skip/info_only/meeting_info/action_required),生成草稿回复,并通过钩子 (Hooks) 强制执行发送后的后续跟进。适用于管理多渠道通讯工作流。
启动 NanoClaw 智能体 (Agent) REPL — 一个由 claude CLI 驱动的持久化、会话感知 (session-aware) 的 AI 助手。
ClickHouse 数据库模式、查询优化、分析以及高性能分析工作负载的数据工程最佳实践。