oneskill

发现技能(Skill),迭代查询,并在任何环境中自动安装技能。

351 stars

Best use case

oneskill is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. 发现技能(Skill),迭代查询,并在任何环境中自动安装技能。

发现技能(Skill),迭代查询,并在任何环境中自动安装技能。

Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.

Practical example

Example input

Use the "oneskill" skill to help with this workflow task. Context: 发现技能(Skill),迭代查询,并在任何环境中自动安装技能。

Example output

A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.

When to use this skill

  • Use this skill when you want a reusable workflow rather than writing the same prompt again and again.

When not to use this skill

  • Do not use this when you only need a one-off answer and do not need a reusable workflow.
  • Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/oneskill/SKILL.md --create-dirs "https://raw.githubusercontent.com/xu-xiang/everything-claude-code-zh/main/.claude/skills/oneskill/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/oneskill/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How oneskill Compares

Feature / AgentoneskillStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

发现技能(Skill),迭代查询,并在任何环境中自动安装技能。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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`,以便在跨项目时可用。

Related Skills

plankton-code-quality

351
from xu-xiang/everything-claude-code-zh

使用 Plankton 实现编写时代码质量强制执行 —— 通过钩子在每次文件编辑时进行自动格式化、代码检查,并由 Claude 驱动自动修复。

autonomous-loops

351
from xu-xiang/everything-claude-code-zh

自主运行 Claude Code 循环的模式与架构 —— 从简单的顺序流水线到 RFC 驱动的多智能体 DAG 系统。

visa-doc-translate

351
from xu-xiang/everything-claude-code-zh

将签证申请文件(图片)翻译成英文,并创建包含原文和译文的双语PDF

swiftui-patterns

351
from xu-xiang/everything-claude-code-zh

SwiftUI 架构模式,使用 @Observable 进行状态管理,视图组合,导航,性能优化,以及现代 iOS/macOS UI 最佳实践。

swift-protocol-di-testing

351
from xu-xiang/everything-claude-code-zh

基于协议的依赖注入,用于可测试的Swift代码——使用聚焦协议和Swift Testing模拟文件系统、网络和外部API。

swift-concurrency-6-2

351
from xu-xiang/everything-claude-code-zh

Swift 6.2 可接近的并发性 — 默认单线程,@concurrent 用于显式后台卸载,隔离一致性用于主 actor 类型。

swift-actor-persistence

351
from xu-xiang/everything-claude-code-zh

在 Swift 中使用 actor 实现线程安全的数据持久化——基于内存缓存与文件支持的存储,通过设计消除数据竞争。

skill-stocktake

351
from xu-xiang/everything-claude-code-zh

用于审计Claude技能和命令的质量。支持快速扫描(仅变更技能)和全面盘点模式,采用顺序子代理批量评估。

search-first

351
from xu-xiang/everything-claude-code-zh

研究优先于编码的工作流程。在编写自定义代码之前,搜索现有的工具、库和模式。调用研究员代理。

regex-vs-llm-structured-text

351
from xu-xiang/everything-claude-code-zh

选择在解析结构化文本时使用正则表达式还是大型语言模型的决策框架——从正则表达式开始,仅在低置信度的边缘情况下添加大型语言模型。

liquid-glass-design

351
from xu-xiang/everything-claude-code-zh

iOS 26 液态玻璃设计系统 — 适用于 SwiftUI、UIKit 和 WidgetKit 的动态玻璃材质,具有模糊、反射和交互式变形效果。

foundation-models-on-device

351
from xu-xiang/everything-claude-code-zh

苹果FoundationModels框架用于设备上的LLM——文本生成、使用@Generable进行引导生成、工具调用,以及在iOS 26+中的快照流。