using-xskill
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "using-xskill":https://skillpi.com/zh/skills/deepskill-13c289650f3e1f2bb5e68269d9687cd7c058cb604ea9852b33e21aac98d06b34。安装前核对上游来源和版本:https://github.com/SkillNerds/xskill。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
用于安装、配置或操作 xskill(如使用 xskill CLI 或 pip install xskill):包括启动守护进程、注册轨迹目录、加入团队服务器、了解轨迹如何转化为技能,以及在模型变更后重建或重蒸馏技能库的相关操作。
介绍来源: third_party · SkillNerds · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: using-xskill
description: Use when installing, configuring, or operating xskill (the `xskill` CLI / `pip install xskill`) — starting the daemon, registering trajectory dirs, joining a team server, understanding how trajectories become Skills, or rebuilding/re-distilling the skill library after a model change.Using xskill
Overview
xskill distills reusable Skills (SKILL.md folders) out of the real execution
trajectories of coding agents (Claude Code, Codex, OpenCode, Cursor, …). A background
daemon watches each agent's session logs, slices them into single-intent atoms,
clusters atoms into skills, and writes/versions each skill in its own git folder. New
skill versions only replace old ones when real traffic shows they serve users better
(canary A/B by UX score) — not by an LLM grading itself.
Core mental model: raw trajectory → atoms → candidate routing → SKILL.md → canary A/B → installed into every agent's skill dir. You operate the daemon; the daemon does the distilling.
When to Use
- Installing xskill or filling in
~/.xskill/config.yaml(LLM + embedding endpoints) - Starting/keeping the daemon running (
xskill serve), or backfilling old trajectories - Joining or hosting a team server (
xskill serve --server/xskill connect) - Understanding the agent pipeline, atoms, canary/UX scoring, or deployment modes
- Re-distilling the whole skill library (e.g. after switching to a stronger model)
Quick Reference
| Command | What it does |
|---|---|
pip install xskill |
Install (Python 3.9+) |
xskill serve |
Standalone daemon: FastAPI + watcher; first run writes ~/.xskill/config.yaml then exits |
xskill serve --server |
Team server: owns all LLM calls + git; prints a join token |
xskill connect <host:port> --token <t> |
Join a team server as a thin client |
xskill registry add <path> |
Backfill / watch an extra trajectory directory |
xskill traj search <query> / xskill search <query> |
Search trajectories or skills |
xskill read <path> --eco <eco> |
Batch-ingest db trajectories (ngagent/opencode) |
xskill rebuild [--force] |
Re-distill from existing raw trajectories (see reference) |
xskill stats |
Token usage & estimated cost |
The daemon is the engine: most commands only change state in the DB; nothing is
distilled unless xskill serve (or the team server) is running.
Progressive Disclosure — read on demand
- Install & configure (config.yaml fields, per-agent collect/install paths, team
client setup):
references/installation.md - How it works (TaskAgent → TaskClusterAgent → SkillEditAgent, atoms, canary/UX
scoring, standalone vs team mode):
references/mechanisms.md - Rebuild the skill library (a ready-to-run prompt that walks a model through
re-distilling correctly):
references/rebuilding-skill-library.md
Common Mistakes
- Running
rebuildwith no daemon up.rebuildonly resets DB state; the watcher inservedoes the actual re-split/re-cluster every 30s. No daemon = nothing happens. - Deleting raw
~/.xskill/*_sessions/*.md. Those are the input to distillation — delete them and you can no longer rebuild. - Expecting DeepSeek to do embeddings. DeepSeek has no embedding endpoint; point the
embedding:block at DashScope / OpenAI / Ollama. - Putting tokens in public places. Team join tokens must never land in a public repo or chat log.
版本历史
-
v0.7.0
GitHub ↗
原版更新说明
v0.7.0 Generate 读轨迹改为 traj_search、traj_cards、atom_search、read_traj,wiki 可增量记进度。SKILL.md 还是 stub 时 commit_generate_main 拒绝提交。 `xskill init` 可跳过连接:回车、空地址或空 token 都完成本机引导。已连接用户再跑 init 不会断连。 另有 traj 与 atom 的 CLI,以及可选 OTel(`xskill[obs]`,设 XSKILL_OTEL_ENDPOINT)。 安装: pip install -U xskill 指定本版: pip install -U xskill==0.7.0 PyPI:https://pypi.org/project/xskill/0.7.0/
-
v0.6.31
GitHub ↗
原版更新说明
v0.6.31 - `xskill rebuild --force` 不再因 `.git/objects` Directory not empty 中断(#231) - 全量 rebuild 会留下 `xskill import` 纳入的技能,只清蒸馏产物 - `xskill upload` 本来就在 skillhub 目录,不在这次清仓范围 PyPI: https://pypi.org/project/xskill/0.6.31/
-
v0.6.30
GitHub ↗
原版更新说明
v0.6.30 - team `xskill import` 成功后钉到发起人推荐列表(有 user_name 才钉,匿名不钉),立刻出现在「我的」 - 技能库登录后可点空心星 pin 进自己的推荐流;已推送显示「推给我」,已钉显示 pinned·自己 / admin / 全局 - import 后写入 skills_catalog,技能库列表能立刻看到新技能(#225) https://pypi.org/project/xskill/0.6.30/
-
v0.6.29
GitHub ↗
原版更新说明
## v0.6.29 Stable cut of the 0.6.29a line. - Recommend: relevance polling / interest centers, backfill fix - Install ledger SQLite + orphan reclaim - Dashboard「我的」页、推送对象 / routing、take_n - pymilvus optional (`xskill[milvus]`) - SkillHub exact match Top1 PyPI: https://pypi.org/project/xskill/0.6.29/
-
v0.6.28
GitHub ↗
原版更新说明
## v0.6.28 本次正式版重点解决高并发蒸馏、海量 baby candidates 的可恢复编辑,以及团队 Skill 搜索和下载路径的一致性。`v0.6.27` 用户可直接升级,旧配置会在内存中自动兼容,不会改写用户的 YAML。 ### 主要变化 - **四池并行 agent-worker**:split、cluster、edit、embed 使用独立线程池,并增加共享 LLM 限流、Embedding 并发限制、Atom 去重恢复、串行文件写入和 worker 状态接口。 - **SkillEdit 冷启动断点续跑**:baby 默认按 FIFO 每 5 个原子产生一个真实 checkpoint;`commit_baby` 精确消费框架绑定的 candidate ID。429、上下文超长等失败会按 `N → floor(N/2) → 1` 缩批,成功后恢复默认 N;candidates 清空后由框架晋升 main。 - **更可读的 SkillEdit 日志**:每个 skill 使用单一追加日志,记录 turn/round、token 阈值、工具摘要、消费 ID、重试缩批、spill 和 compact;上下文优先 spill,compact 仅作为兜底。 - **统一团队搜索**:生成的 repository skills 与 SkillHub 进入同一 BM25 + semantic + RRF 语料和排序;baby-only skill 不进入用户检索结果,main/staging 分配保持稳定。 - **搜索与下载语义修复**:`xskill search` 默认只返回紧凑元数据;原有自动下载行为迁移到 `xskill search --download`。`xskill download <skill-id>` 支持持久安装、交互式多选、重复 `--agent` 和非交互 `-y`。 - **共享安装与用户编辑修复**:显式目标不再被 detector 假阴性阻断;共享 symlink/junction 不再触发错误的 copy reverse-sync。 - **兼容与隐私边界**:兼容 v0.6.27 的 `watcher.max_concurrent`、`watcher.cluster_batch_size` 和旧 rate-limit 字段;用户可见 Skill 内容不再依赖无法访问的服务器 atom/traj 引用。 ### 升级 ```bash python -m pip install --upgrade xskill==0.6.28 ``` Python 要求仍为 3.9 及以上。已有 v0.6.27 配置无需手工迁移;显式的新四池配置始终优先。 ### 验证 - Python 3.9、3.10、3.11、3.12 发布测试全部通过。 - Linux、macOS、Windows 的 UT/IT、smoke、connect lifecycle 与 CodeQL 门禁通过。 - 11 个 SkillEdit BDD 场景通过,其中 aimock 真实贯通 Agno/OpenAI HTTP、tool calls、Git checkpoint 与 candidate 消费。 - SkillEdit mutation testing:47/47 mutants killed。 - SkillHub search/dashboard/sync 发布 smoke 通过。 - wheel、sdist、包内容校验和 Twine check 通过。 ### 相关变更 - [#134 四池并行 agent-worker](https://github.com/SkillNerds/xskill/pull/134) - [#136 v0.6.27 配置兼容](https://github.com/SkillNerds/xskill/pull/136) - [#140 atom 引用的服务器边界](https://github.com/SkillNerds/xskill/pull/140) - [#141 统一 repository 与 SkillHub 搜索](https://github.com/SkillNerds/xskill/pull/141) - [#145 搜索、下载与共享链接用户编辑](https://github.com/SkillNerds/xskill/pull/145) - [#147 SkillEdit baby checkpoint 与断点续跑](https://github.com/SkillNerds/xskill/pull/147) - [#148 aimock BDD 与 mutation testing](https://github.com/SkillNerds/xskill/pull/148) **完整差异**:https://github.com/SkillNerds/xskill/compare/v0.6.27...v0.6.28
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供 xskill 工具链的完整操作闭环
- 覆盖安装、配置、运行、重建等高价值场景
亮点
- 触发描述精准覆盖多种命令变体
- 边界清晰无歧义
亮点
- 结构清晰,含快速参考表格与渐进披露设计
- frontmatter 完整,文档长度适中
亮点
- 明确标注关键执行陷阱(如 rebuild 依赖 daemon)
- 覆盖 embedding 服务选型等易错点
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 3, 33 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。