Xskill Helper 标志

Xskill Helper

组织
SkillNerds
xskill-helper

将此技能用于 xskill。当用户想要初始化、连接或加入 team server;根据 trajectory 生成或改写 team Skill;搜索、下载、上传或导入 team Skills;查询自己或队友在 Claude Code、Codex、Cursor、OpenCode、Trae、DeepSeek、Harness 和 ngagent 中的历史聊天;升级客户端;或排查卡住的守护进程时触发。查询团队聊天:使用 xskill traj search,然后使用 traj read。仅查询本机内容:添加 --local 以读取 ~/.xskill/*_sessions。调用方式:/xskill-helper。

Add to TypingMind

概览

发布者SkillNerds
代码仓库xskill
技能名称xskill-helper
星标数
128
复刻数
26
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 SkillNerds 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Xskill Helper AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/SkillNerds/xskill/tree/main/src/xskill/data/skill/xskill-helper
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Xskill Helper,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Xskill Helper。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Xskill Helper 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Xskill Helper AI 技能有什么作用?

将此技能用于 xskill。当用户想要初始化、连接或加入 team server;根据 trajectory 生成或改写 team Skill;搜索、下载、上传或导入 team Skills;查询自己或队友在 Claude Code、Codex、Cursor、OpenCode、Trae、DeepSeek、Harness 和 ngagent 中的历史聊天;升级客户端;或排查卡住的守护进程时触发。查询团队聊天:使用 xskill traj search,然后使用 traj read。仅查询本机内容:添加 --local 以读取 ~/.xskill/*_sessions。调用方式:/xskill-helper。

为什么在 TypingMind 中使用 Xskill Helper?

因为您只需安装一次,就能搭配任何模型使用。Xskill Helper 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Xskill Helper?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/SkillNerds/xskill/tree/main/src/xskill/data/skill/xskill-helper。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Xskill Helper?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Xskill Helper 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Xskill Helper 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Xskill Helper AI 技能免费吗?

是的。SkillNerds 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇