Skip to content

快速开始

第一步:安装 OneSkill (只需一次)

bash
# 安装核心工具
npx openskills install xu-xiang/oneskill --global

# (该步仅 Gemini/Qwen 用户需要) 将 OneSkill 自身映射到 .gemini 或 .qwen
npx oneskill map --target gemini --global
# 或者 Qwen 用户:
npx oneskill map --target qwen --global

第二步:享受 Skill 的无限可能

安装完成后,直接在你的 Claude code/codex/gemini-cli等Agent里面处理复杂问题时自动给你查找推荐适合的skill或直接用自然语言让他帮你看看有没有解决眼前问题的skill,剩下的就交给他全部搞定。

场景演示:在对话中让 Agent 自我进化

你甚至不需要离开对话框。直接告诉 Agent 你需要什么,剩下的交给 OneSkill。

下面的真实对话记录展示了 Agent 如何通过 OneSkill 瞬间获得 FastAPI 开发能力

text
> 帮我找找有没有关于 FastAPI 的生产级模板,我想快速建个项目。

✦ 好的,我将使用 oneskill 搜索相关的 Skill。

  ╭── Shell: npx oneskill search "fastapi template" ───────────────────────────╮
  │                                                                            │
  │ {                                                                          │
  │   "items": [
  │     {                                                                      │
  │       "slug": "wshobson-fastapi-templates",                                │
  │       "description": "Production-ready FastAPI project structures...",     │
  │       "repository": "wshobson/agents",                                     │
  │       "stars": 23027                                                       │
  │     }
  │   ]
  │ }
  ╰────────────────────────────────────────────────────────────────────────────╯

✦ 找到了 `wshobson-fastapi-templates`,它包含在 `wshobson/agents` 仓库中。
  这是一个非常热门的 Skill (23k+ stars),提供了生产级的项目结构。需要我为您安装吗?

> 好的,安装它。

✦ 正在为您安装并配置到 Gemini...

  ╭── Shell: npx openskills install wshobson/agents && npx oneskill map ───────╮
  │                                                                            │
  │ ✔ Repository cloned                                                        │
  │ Found 140 skill(s)                                                         │
  │                                                                            │
  │ ? Select skills to install: (Press <space> to select, <i> to invert)       │
  │ ❯ ◉ fastapi-templates                                                      │
  │   ◯ architecture-patterns                                                  │
  │   ◯ api-design-principles                                                  │
  │   ↓ Scroll down for more...                                                │
  │                                                                            │
  │ [Agent 操作]: 选择了 'fastapi-templates' 并确认                            │
  │                                                                            │
  │ ✅ Installed: fastapi-templates                                            │
  │                                                                            │
  │ [自动触发映射]                                                             │
  │ ✔ Mapped 1 skills to Gemini CLI configuration.                             │
  ╰────────────────────────────────────────────────────────────────────────────╯

✦ 安装完成!我已经学会了 `fastapi-templates`。
  现在您可以直接问我:“如何使用这个模板创建一个带有异步模式的新项目?”

💥 结果:全程无需你手动敲一行命令,Agent 自动完成了搜索、下载、筛选和环境配置。

Released under the Apache-2.0 License.