Logo Xskill Helper

Xskill Helper

Tổ chức
SkillNerds
xskill-helper

Dùng kỹ năng này cho xskill. Kích hoạt khi bạn muốn khởi tạo, kết nối hoặc tham gia máy chủ nhóm; tạo hoặc viết lại Skill nhóm từ các trajectory; tìm kiếm, tải xuống, tải lên hoặc nhập Skill nhóm; tra cứu các cuộc trò chuyện trước đây của bạn hoặc đồng đội trên Claude Code, Codex, Cursor, OpenCode, Trae, DeepSeek Harness và ngagent; nâng cấp client hoặc xử lý sự cố daemon bị treo. Tìm cuộc trò chuyện nhóm: xskill traj search rồi traj read. Chỉ trên máy này: thêm --local để đọc ~/.xskill/*_sessions. Gọi bằng /xskill-helper.

Add to TypingMind

Tổng quan

Nhà phát hànhSkillNerds
Kho mãxskill
Tên kỹ năngxskill-helper
Sao
128
Bản fork
26
Tệp đi kèm
2
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được SkillNerds công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Xskill Helper trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/SkillNerds/xskill/tree/main/src/xskill/data/skill/xskill-helper
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SkillNerds/xskill.git /tmp/xskill
mkdir -p .claude/skills
cp -r /tmp/xskill/src/xskill/data/skill/xskill-helper .claude/skills/xskill-helper
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Xskill Helper trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Xskill Helper ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Xskill Helper với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

xskill-helper

xskill is a thin client + background daemon that (1) mounts your team's shared Skills into every AI-agent tool you use (Claude Code, Codex, OpenCode, Cursor, Trae, DeepSeek Harness) and (2) collects your agent trajectories and syncs them to a team server; you choose which projects are uploaded (see "Controlling which trajectories are uploaded"). You join a server once, then it keeps skills in sync and auto-updates itself.

xskill init can install this guide into chosen harnesses on this machine. xskill connect also installs it after a team join. Invoke it as /xskill-helper from Claude Code, Codex, Cursor, and the other supported tools.

All state lives under ~/.xskill/:

FileWhat
~/.xskill/local_init.jsonlocal harness scan marker (no team server required)
~/.xskill/team_client.jsonconnection identity (server_url, client_id, join_token, server privacy mode) — survives restarts
~/.xskill/privacy.jsonlocal upload rules: mode + per-project allow/deny — never sent to the server
~/.xskill/connect_daemon.jsoncurrent background daemon (pid / host task) — used by status/stop
~/.xskill/logs/xskill.*.logsplit logs (one file per component)
~/.xskill/skill/the local skill repo everything is mounted from

Getting started

After pip install xskill, local trajectory search does not need a team server. The first xskill traj search checks for a connection. If there is no xskill connect and this machine has not been initialized, it scans detected harnesses, converts their sessions into ~/.xskill/*_sessions, and builds the local index. After that, xskill traj search and xskill traj read work on this computer.

For a guided setup that lists harnesses, turns on trajectory processing, and asks which agents should get this guide:

bash
xskill init

xskill init -y is the non-interactive form: scan every detected harness and install /xskill-helper into all of them. --no-skill skips the guide. --skills-only only installs the guide. --force rescans even if the local index already exists.

Interactive xskill init then asks whether to join a team server. Enter, skip, or an empty address/token all leave the machine usable locally. Do not treat a skipped connect as failure. If they want to connect later, or run a standalone team server:

bash
xskill connect <host:port> --token <token> --name <user-id>
xskill serve --server

Never send the user to a public hub or any address you were not given. If they do not have host, token, or name, show the connect command as the example and ask their server operator. The operator prints the token with xskill serve --server. Do not invent an address or token, and do not paste one from the internet.

After a successful handshake, connect installs this guide and starts the background daemon. Later reconnects can omit the address and token; they reuse ~/.xskill/team_client.json.

In the agent, invoke this guide as /xskill-helper.

Controlling which trajectories are uploaded

Rules live only on this machine. A mode decides what happens to projects without a rule; the server and this machine each have one, and the stricter wins (allowlist is stricter than denylist):

  • allowlist — nothing is uploaded except projects you allow.
  • denylist — everything is uploaded except projects you deny (server default).

A server set to allowlist requires it from every client on this version or newer; older clients do not know the field.

bash
xskill privacy status                 # effective mode + every discovered project and its decision
xskill privacy mode allowlist         # this machine: only upload allowed projects (server cannot loosen it)
cd ~/code/my-service && xskill privacy allow   # allow this project (and subdirectories)
xskill privacy deny ~/code/secret     # never read or upload this project
xskill privacy clear ~/code/secret    # drop the rule, back to the mode default
xskill privacy review                 # interactive walk through discovered projects
xskill connect <host:port> --token <t> --privacy allowlist   # set the mode before the first upload

A skipped trajectory is never read, never uploaded and never marked as uploaded, so allowing it later uploads it on the next scan. A trajectory whose sidecar records no working directory (Cursor and Trae never do) cannot be matched to a project: it follows the mode default and status lists it separately. Rules never delete what was already uploaded.

Generate or rewrite a Skill

generate does not invent a Skill from scratch. It reads trajectories the team server already allows this client to see, and the instruction only describes what to create or change. The job may wait for a free SkillEdit seat; the CLI streams queue and run logs. When it finishes, the Skill is committed to main and pinned on the initiator's recommendation list.

bash
xskill generate "创建一个排查 Python 内存泄漏的 Skill,包含常用诊断命令"
xskill generate "改写现有的 python-memory-debug Skill,补充 Windows 排查步骤"
xskill generate --name alice,bob "根据这些用户的成功案例生成数据库迁移 Skill"

--name is a comma-separated list of employee ids the agent should read first. Omit it and the agent may search every trajectory the server authorizes. If the CLI says the server is too old, ask the operator to upgrade the team server.

Import an existing Skill

import takes a local Skill folder (or a parent that contains several) into the team's own repo. This is not upload: import becomes a first-party Skill on main, while upload only lands in the user's SkillHub share.

bash
xskill import ./my-skill
xskill import ./skills-parent --json

Searching and reading trajectories

This is how the agent looks up past chats. xskill collects sessions from every harness it detected on this machine and converts them to traj_*.md. After xskill connect it also uploads them to the team server. One search covers Claude Code, Codex, Cursor, OpenCode, Trae, DeepSeek Harness, and ngagent. Do not tell the user to open each tool's own history UI.

The default entry is the trajectory, not Atom.

xskill traj search is full-text over traj_*.md, not the first-user-query index. Default listing is one block per hit: traj_id, then the first match with three lines before and after (the hit line is marked *). Same-name prefixes are spread. A page shows at most 30 hits. --page N turns the page. --cards returns index cards (source, line count, user turns, tools, then L 问 / L 答), at most 8 per page; cards are not close reading. Close-read with xskill traj read <traj_id> --offset-start <L from the card>.

No team server (after pip, or after xskill init): search reads ~/.xskill/*_sessions. The first search on this machine runs the same harness scan as xskill init if that has not happened yet.

Team (online, after xskill connect): search reads uploaded traj_*.md this user and teammates can see. --name alice,bob narrows to those employee ids. Reading someone else's file needs the server switch team.server.allow_read_others; otherwise the CLI prints that the server has not opened others' trajectories.

This machine only (offline, or skip the server): add --local. xskill traj search --local and xskill traj read --local <traj_id> use ~/.xskill/*_sessions and do not call the team server. If this machine has not been initialized, the first --local search or read scans harnesses and converts sessions. --local also prints the concrete *_sessions directories. After that, grep those folders with this harness's own search tools (traj_*.md); do not invent a server path.

Putting the word traj after xskill search searches skills, not trajectories. Use xskill traj search.

xskill traj read takes --offset-start and --offset-end (1-based, half-open). Each reply prints the current window and the total window. One call returns at most 200 lines.

Local harness directories (this machine):

HarnessBridged markdown
Claude Code~/.xskill/cc_sessions/traj_*.md
Codex~/.xskill/codex_sessions/traj_*.md
Cursor~/.xskill/cursor_sessions/traj_*.md
OpenCode~/.xskill/opencode_sessions/traj_*.md
ngagent~/.xskill/ngagent_sessions/traj_*.md
nga3~/.xskill/nga3_sessions/traj_*.md
Trae~/.xskill/trae_sessions/traj_*.md
DeepSeek Harness~/.xskill/dsh_sessions/traj_*.md
bash
xskill traj search 内存泄漏
xskill traj search patentdagger --page 2
xskill traj search patentdagger --cards
xskill traj search --cards traj_cc_patentdagger_43773fc8
xskill traj search "alembic 半迁移" --cards --page 2
xskill traj search --name alice,bob 发票核对 --json
xskill traj read traj_cc_alice_memleak
xskill traj read traj_cc_alice_memleak --offset-start 12 --offset-end 88
xskill traj read --local traj_cc_alice_memleak
xskill traj read --local traj_cc_alice_memleak --offset-start 12 --offset-end 88

--name only applies in team mode. Search does not download files. Paste a traj_id into xskill generate when the instruction should name the evidence. Do not print server paths.

Advanced: atoms

Atom is a split-agent product. Granularity may change across versions. Prefer xskill traj search unless a script already has an atom_id.

bash
xskill atom search 内存泄漏
xskill atom search --name alice,bob 发票核对
xskill atom read atom_t_0001
xskill atom read atom_t_0001 --offset-start 40 --json

Searching & sharing team skills

bash
xskill init                    # this machine: scan harnesses, convert traj, optional helper
xskill search <query...>       # search team skills; returns metadata only
xskill traj search <query...>  # no team: local index; after connect: this user and teammates
xskill traj read <traj_id>     # read trajectory lines; prints current and total range
xskill traj read --local <id>  # this machine ~/.xskill/*_sessions, no team server
xskill search <query...> --download  # legacy 10-slot LRU download + auto-install
xskill download <skill-id>     # persist one result; interactively select harnesses
xskill download <skill-id> --agent claude-code --agent codex -y  # for agents/scripts
xskill search auth retry -k 3  # top-3 results (max 10)
xskill upload ./my-skill       # package a SKILL.md folder and share to the team
xskill dashboard               # print a passwordless link into the server dashboard
xskill stats                   # token usage & estimated cost

Already connected clients search SkillHub. Standalone machines search the local library (semantic index, falling back to BM25). search --download is the old rolling-slot path; prefer download <skill-id> to keep a Skill permanently.

Upgrading

bash
pip install -U xskill        # manual upgrade to the latest PyPI release
xskill update                # check PyPI now, upgrade + restart if newer exists

The daemon auto-checks PyPI every hour and upgrades itself when a newer version is out; disable with xskill connect --no-auto-update. Behind a corporate proxy, add --use-proxy (default is direct connection, bypassing the SWG proxy). Background hosting differs per platform — Windows uses a Scheduled Task, Linux/WSL uses a systemd user service. See references/platforms.md.

Debugging

bash
xskill connect --foreground          # run the daemon loop in the foreground, live logs
xskill connect --foreground --debug  # + verbose logging
SymptomCommandExpected
Is it running / connected?xskill statusprints background task + pid, or "not running"
My trajectories never reach the serverxskill privacy statusshows the effective mode and the decision per project; allow the project or switch mode
Skills not updatingxskill connect --foregroundwatch the reconcile loop; look for copy-mode / fell back to copy warnings
Stop itxskill stoptears down the Scheduled Task / systemd unit
Restart cleanxskill stop then xskill connectre-handshakes and re-daemonizes

Logs are at ~/.xskill/logs/xskill.*.log. See references/troubleshooting.md for the black-window, copy-mode, and can't-connect issues in detail.

Where skills land per tool

ToolInstall dirMount
Claude Code~/.claude/skills/<name>/symlink → junction (Win) → copy
Codex~/.agents/skills/<name>/ (shared)same
OpenCode~/.agents/skills/<name>/ (shared)same
Cursor~/.cursor/skills/<name>/same
TraeIDE workspace / ~/.trae-cn (auto-detected)same
DeepSeek Harness~/.dsh/skills/<name>/same

symlink/junction installs are live — server updates show up instantly and your edits round-trip back. A copy-mode install is a snapshot: it logs a warning, updates do not propagate live, and local edits do not round-trip. Copy mode only happens when neither symlink nor junction can be made (cross-drive, or non-NTFS). On Windows, enable Developer Mode so symlinks work — see references/platforms.md.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Xskill Helper làm được gì?

Dùng kỹ năng này cho xskill. Kích hoạt khi bạn muốn khởi tạo, kết nối hoặc tham gia máy chủ nhóm; tạo hoặc viết lại Skill nhóm từ các trajectory; tìm kiếm, tải xuống, tải lên hoặc nhập Skill nhóm; tra cứu các cuộc trò chuyện trước đây của bạn hoặc đồng đội trên Claude Code, Codex, Cursor, OpenCode, Trae, DeepSeek Harness và ngagent; nâng cấp client hoặc xử lý sự cố daemon bị treo. Tìm cuộc trò chuyện nhóm: xskill traj search rồi traj read. Chỉ trên máy này: thêm --local để đọc ~/.xskill/*_sessions. Gọi bằng /xskill-helper.

Vì sao nên dùng Xskill Helper trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Xskill Helper là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Xskill Helper trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/SkillNerds/xskill/tree/main/src/xskill/data/skill/xskill-helper. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Xskill Helper?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Xskill Helper với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Xskill Helper với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Xskill Helper có miễn phí không?

Có. Kỹ năng này được SkillNerds phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇