Skip to main content

ChatSkill

ChatSkill 是从 ChatTool 的 chattool skill / chatskill 能力拆出的独立 ChatArch CLI,用于从外部 skills source 安装 Agent skills 到 Codex、Claude 或 OpenCode 等目标平台。

ChatSkill 不自带技能内容;技能事实源应来自 workspace / ChatMemory / 其他外部目录,并通过 --source 或 CHATSKILL_SKILLS_DIR / ChatEnv 指定。

快速开始

pip install ChatSkill
chatskill --help
chatskill --version
chatskill --tree
chatskill --tree-brief

使用示例

# 列出外部 source 中的 skills
chatskill list --source ~/Playground/skills/chatarch

# 安装单个 skill 到 Codex skills 目录
chatskill install chatarch-package-dev --source ~/Playground/skills/chatarch --platform codex

# 安装所有 skills 到显式目标目录
chatskill install --all --source ~/Playground/skills/chatarch --dest ~/.codex/skills --force

也可以通过环境变量或 ChatEnv 配置默认 source:

export CHATSKILL_SKILLS_DIR=~/Playground/skills/chatarch
chatskill list

CLI 树

chatskill
├── --help  # Show this message and exit.
├── --version  # Show the version and exit.
├── --tree  # Print the registered CLI tree and exit.
├── --tree-brief  # Print the registered CLI tree without parameter signatures and exit.
├── install [NAME] [--all] [--platform PLATFORM-NAME] [--source SOURCE-DIR] [--dest DEST-DIR] [--prefix] [--force]  # Validate and copy skills to a target directory; writes or overwrites files.
└── list [--source SOURCE-DIR]  # List available skills from an external source directory; read-only.

chatskill --tree-brief 显示相同的真实命令节点和用途,但省略参数与选项签名。

CLI

  • chatskill list [--source DIR]
  • chatskill install [NAME] [--all] [--source DIR] [--dest DIR] [--platform codex|claude|opencode] [--prefix] [--force]

安装前会校验每个 skill 的 SKILL.md:必须有 YAML frontmatter,且至少包含 name 和 description。

开发

pip install -e ".[dev,docs]"
python -m pytest -q
mkdocs build --strict
python -m build
python -m twine check dist/*

Metadata

Release files for ChatSkill 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ChatSkill 0.1.1
File Size Uploaded
chatskill-0.1.1.tar.gz 10.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ChatSkill 0.1.1
File Interpreter ABI Platform
chatskill-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 20.4 kB

Release files / chatskill-0.1.1.tar.gz

Download URL chatskill-0.1.1.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c00f280048107e05e53caedb3cdec7e71aaa5128c5b257e5fc9d9076f3ee2ddc
BLAKE2b-256 checksum
How to use checksums
55661dac6ea079ce885aef541fd7fdbc46e0e3c0cdf07a53ab9dba5cdf9df6ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / chatskill-0.1.1-py3-none-any.whl

Download URL chatskill-0.1.1-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
655f4307a3cf6263027d82947503cbdc81db3adc081f6ed39a02218825cb6f12
BLAKE2b-256 checksum
How to use checksums
df430f57d545f35596cad8a136abcdb9157bda4548f96fe9174dd25556104c08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page