using-xskill
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "using-xskill" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-13c289650f3e1f2bb5e68269d9687cd7c058cb604ea9852b33e21aac98d06b34. Verify the upstream source and version against https://github.com/SkillNerds/xskill before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
For installing, configuring, or operating xskill (e.g. using the xskill CLI or pip install xskill): includes starting the daemon, registering track directories, joining a team server, understanding how tracks are converted into skills, and rebuilding or re-distilling the skill repository after model changes.
Introduction source: third_party · SkillNerds · 0.0.1 Reference
SkillPi interpretation
- Tasks
- 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.
- Audience
- 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)
- Testing
- Not tested
Browse files
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.
Version history
-
v0.7.0
GitHub ↗
Original release notes
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 ↗
Original release notes
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 ↗
Original release notes
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 ↗
Original release notes
## 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 ↗
Original release notes
## 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
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 xskill 工具链的完整操作闭环
- 覆盖安装、配置、运行、重建等高价值场景
Highlights
- 触发描述精准覆盖多种命令变体
- 边界清晰无歧义
Highlights
- 结构清晰,含快速参考表格与渐进披露设计
- frontmatter 完整,文档长度适中
Highlights
- 明确标注关键执行陷阱(如 rebuild 依赖 daemon)
- 覆盖 embedding 服务选型等易错点
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 3, 33
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.