Logo Reskill Usage

Reskill Usage

Tổ chức
kanyun-inc
reskill-usage

Teaches AI agents how to use reskill — a Git-based package manager for AI agent skills. Covers CLI commands, install formats, configuration, publishing, and common workflows.

Tổng quan

Nhà phát hànhkanyun-inc
Kho mãreskill
Tên kỹ năngreskill-usage
Sao
60
Bản fork
2
Tệp đi kèm
Chỉ có hướng dẫn
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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được kanyun-inc 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 Reskill Usage 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/kanyun-inc/reskill/tree/main/skills/reskill-usage
  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/kanyun-inc/reskill.git /tmp/reskill
mkdir -p .claude/skills
cp -r /tmp/reskill/skills/reskill-usage .claude/skills/reskill-usage
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 Reskill Usage 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 Reskill Usage 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 Reskill Usage 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.

reskill Usage Guide

reskill is a Git-based package manager for AI agent skills. It provides declarative configuration (skills.json + skills.lock), flexible versioning, and multi-agent support for installing, managing, and sharing skills across projects and teams.

Requirements: Node.js >= 18.0.0

CLI usage: If reskill is installed globally, use it directly. Otherwise use npx reskill@latest:

bash
npm install -g reskill        # Global install
npx reskill@latest <command>  # Or use npx directly (no install needed)

When to Use This Skill

Use this skill when the user:

  • Wants to install, update, or manage AI agent skills
  • Mentions skills.json, skills.lock, or reskill-related concepts
  • Wants to publish a skill to a registry
  • Asks about supported install formats (GitHub, GitLab, HTTP, OSS, registry, etc.)
  • Encounters reskill-related errors or needs troubleshooting
  • Wants to set up a project for skill management
  • Asks about multi-agent skill installation (Cursor, Claude Code, Codex, etc.)

AI Agent Execution Rules

AI agents cannot respond to interactive prompts mid-command. Always add -y to commands that support confirmation prompts (install, uninstall, publish) to prevent the command from hanging.

bash
# Correct — will not hang
reskill install github:user/skill -y
reskill uninstall skill-name -y
reskill publish -y

# Wrong — will hang waiting for confirmation
reskill install github:user/skill
reskill uninstall skill-name

Quick Start

bash
# Initialize a new project
npx reskill@latest init

# Install a skill
npx reskill@latest install github:anthropics/skills/skills/frontend-design@latest

# List installed skills
npx reskill@latest list

Commands

CommandAliasDescription
init-Initialize skills.json
find <query>searchSearch for skills in the registry
install [skills...]iInstall one or more skills
listlsList installed skills
info <skill>-Show skill details
update [skill]upUpdate skills
outdated-Check for outdated skills
uninstall <skill>un, rm, removeRemove a skill
group-Manage skill groups ¹
publish [path]pubPublish a skill to the registry ¹
login-Authenticate with the registry ¹
logout-Remove stored authentication ¹
whoami-Display current logged in user ¹
doctor-Diagnose environment and check for issues
completion [action]-Setup or remove shell tab completion

¹ Registry commands (group, publish, login, logout, whoami) require a private registry deployment. Not available for public use yet.

Run reskill <command> --help for complete options and detailed usage.

Common Options

OptionCommandsDescription
--no-saveinstallInstall without saving to skills.json (for personal skills)
-g, --globalinstall, uninstall, listInstall/manage skills globally (user directory)
-a, --agent <agents...>installSpecify target agents (e.g., cursor, claude-code)
-a, --agent <agent>listList skills installed to a specific agent
--mode <mode>installInstallation mode: symlink (default) or copy
--allinstallInstall to all agents
-y, --yesinstall, uninstall, publishSkip confirmation prompts
-f, --forceinstallForce reinstall even if already installed
-s, --skill <names...>installSelect specific skill(s) by name from a multi-skill repo
--listinstallList available skills in the repository without installing
--skip-manifestinstallSkip all skills.json and skills.lock writes (for platform integration)
-t, --token <token>install, find, group, publish, loginAuth token for registry API requests (for CI/CD)
-r, --registry <url>install, find, group, publish, login, logout, whoamiRegistry URL override for registry-enabled commands
--tag <tag>publishGit tag to publish
--access <level>publishAccess level: public (default) or restricted
-n, --dry-runpublishValidate without publishing
-g, --group <path>publishPublish skill into a group (e.g., kanyun/frontend)
-j, --jsonlist, info, outdated, doctor, group, findOutput as JSON
-l, --limit <n>findMaximum number of search results
--skip-networkdoctorSkip network connectivity checks

Source Formats

reskill supports installing skills from multiple sources:

bash
# GitHub shorthand
npx reskill@latest install github:user/skill@v1.0.0

# GitLab shorthand
npx reskill@latest install gitlab:group/skill@latest

# Full Git URL (HTTPS)
npx reskill@latest install https://github.com/user/skill.git

# Full Git URL (SSH)
npx reskill@latest install git@github.com:user/skill.git

# GitHub/GitLab web URL (with branch and subpath)
npx reskill@latest install https://github.com/vercel-labs/agent-skills/tree/main/skills/web-design-guidelines

# Custom registry (self-hosted GitLab, etc.)
npx reskill@latest install gitlab.company.com:team/skill@v1.0.0

# HTTP/OSS archives
npx reskill@latest install https://example.com/skills/my-skill-v1.0.0.tar.gz
npx reskill@latest install oss://bucket/path/skill.tar.gz
npx reskill@latest install s3://bucket/path/skill.zip

# Registry-based (requires registry deployment)
npx reskill@latest install @scope/skill-name@1.0.0
npx reskill@latest install skill-name

# Install multiple skills at once
npx reskill@latest install github:user/skill1 github:user/skill2@v1.0.0

Monorepo Support

For repositories containing multiple skills, you can install a specific skill by path or install all skills from a parent directory:

bash
# Shorthand format with subpath
npx reskill@latest install github:org/monorepo/skills/planning@v1.0.0
npx reskill@latest install gitlab:company/skills/frontend/components@latest

# URL format with subpath
npx reskill@latest install https://github.com/org/monorepo.git/skills/planning@v1.0.0
npx reskill@latest install git@gitlab.company.com:team/skills.git/backend/apis@v2.0.0

# GitHub web URL automatically extracts subpath
npx reskill@latest install https://github.com/org/monorepo/tree/main/skills/planning

# Point to a parent directory — auto-detects and installs all child skills
npx reskill@latest install https://github.com/org/monorepo/tree/main/skills

When the target directory has no root SKILL.md but contains subdirectories with SKILL.md files, reskill automatically discovers and installs all child skills. Each skill is saved separately in skills.json.

HTTP/OSS URL Support

Skills can be installed directly from HTTP/HTTPS URLs pointing to archive files:

FormatExampleDescription
HTTPS URLhttps://example.com/skill.tar.gzDirect download URL
Aliyun OSShttps://bucket.oss-cn-hangzhou.aliyuncs.com/skill.tar.gzAliyun OSS URL
AWS S3https://bucket.s3.amazonaws.com/skill.tar.gzAWS S3 URL
OSS Protocoloss://bucket/path/skill.tar.gzShorthand for Aliyun OSS
S3 Protocols3://bucket/path/skill.tar.gzShorthand for AWS S3

Supported archive formats: .tar.gz, .tgz, .zip, .tar

Version Formats

FormatExampleDescription
Exact@v1.0.0Lock to specific tag
Latest@latestGet the latest tag
Range@^2.0.0Semver compatible (>=2.0.0 <3.0.0)
Branch@branch:developSpecific branch
Commit@commit:abc1234Specific commit hash
(none)-Default branch (main)

Configuration

skills.json

The project configuration file, created by reskill init:

json
{
  "skills": {
    "planning": "github:user/planning-skill@v1.0.0",
    "internal-tool": "internal:team/tool@latest"
  },
  "registries": {
    "internal": "https://gitlab.company.com"
  },
  "defaults": {
    "installDir": ".skills",
    "targetAgents": ["cursor", "claude-code"],
    "installMode": "symlink"
  }
}
  • skills — Installed skill references (name → source ref)
  • registries — Custom Git registry aliases
  • defaults.installDir — Where skills are stored (default: .skills)
  • defaults.targetAgents — Default agents to install to
  • defaults.installMode — symlink (default, recommended) or copy

Environment Variables

VariableDescriptionDefault
RESKILL_CACHE_DIRGlobal cache directory~/.reskill-cache
RESKILL_TOKENAuth token (takes precedence over ~/.reskillrc)-
RESKILL_REGISTRYDefault registry URLhttps://registry.reskill.dev
RESKILL_NO_MANIFESTSkip skills.json and skills.lock writes (set to 1 to enable)-
DEBUGEnable debug logging-
VERBOSEEnable debug logging (same effect as DEBUG)-
NO_COLORDisable colored output-

Multi-Agent Support

Skills are installed to .skills/ by default and can be integrated with any agent:

AgentPath
Amp.agents/skills
Antigravity.agent/skills
Claude Code.claude/skills
Claude Cowork 3PApp-managed global directory
Clawdbotskills
Codex.codex/skills
Cursor.cursor/skills
Droid.factory/skills
Gemini CLI.gemini/skills
GitHub Copilot.github/skills
Goose.goose/skills
Kilo Code.kilocode/skills
Kiro CLI.kiro/skills
Neovate.neovate/skills
OpenCode.opencode/skills
Roo Code.roo/skills
Trae.trae/skills
Windsurf.windsurf/skills

Use --agent to target specific agents, or --all to install to all detected agents:

bash
# Install to specific agents
reskill install github:user/skill -a cursor claude-code

# Install to all detected agents
reskill install github:user/skill --all

# List skills installed to a specific agent
reskill list -a cursor
reskill list -a claude-cowork-3p

Publishing

Note: Publishing requires a private registry deployment.

Authentication

bash
# Login with a token (obtain from the registry web UI)
reskill login --registry <url> --token <token>

# Check current login status
reskill whoami

# Logout
reskill logout

Tokens are stored in ~/.reskillrc. You can also use the RESKILL_TOKEN environment variable (takes precedence, useful for CI/CD).

Registry URL resolution priority:

  1. --registry CLI option
  2. RESKILL_REGISTRY environment variable
  3. defaults.publishRegistry in skills.json

Publishing a Skill

bash
# Validate without publishing (recommended first step)
reskill publish --dry-run

# Publish the skill
reskill publish

# Publish from a specific directory
reskill publish ./path/to/skill

# Skip confirmation
reskill publish -y

The skill directory must contain a valid SKILL.md with name, version, and description in its frontmatter.

Common Workflows

First-Time Project Setup

bash
# 1. Initialize the project
reskill init -y

# 2. Install skills your project needs
reskill install github:user/skill1@v1.0.0 github:user/skill2@latest -y

# 3. Verify installation
reskill list

# 4. Commit skills.json and skills.lock to version control
# (These files ensure team members get the same skill versions)

Team Collaboration

When a teammate clones the project, they run:

bash
# Reinstall all skills from skills.json (like npm install)
reskill install

This reads skills.json + skills.lock and installs the exact same versions.

Checking and Updating Skills

bash
# Check which skills have newer versions
reskill outdated

# Update all skills
reskill update

# Update a specific skill
reskill update skill-name

Global vs Project-Level Installation

ScopeFlagDirectoryUse Case
Project-.skills/ (in project)Team-shared skills, committed to git
Global-g~/.agents/skills/Personal skills, available in all projects
Claude Cowork 3P-a claude-cowork-3pApp-managed global directoryAlways global, no skills.json writes
bash
# Project-level (default)
reskill install github:user/skill

# Global (personal, all projects)
reskill install github:user/skill -g

# Install to Claude Cowork 3P (always global)
reskill install github:user/skill -a claude-cowork-3p

# Personal project-level (not saved to skills.json)
reskill install github:user/skill --no-save

Diagnosing Issues

bash
# Run environment diagnostics
reskill doctor

# JSON output for programmatic use
reskill doctor --json

The doctor command checks: reskill version, Node.js version, Git availability, cache directory, skills.json validity, skills.lock sync, installed skills integrity, and network connectivity.

Troubleshooting

Error MessageCauseSolution
skills.json not foundProject not initializedRun reskill init
Unknown scope @xyzNo registry configured for this scopeCheck registries in skills.json or use full Git URL
Skill not foundSkill name doesn't exist in registryVerify skill name; check reskill find <query>
Version not foundRequested version doesn't existRun reskill info <skill> to see available versions
Permission deniedAuth issue when publishingRun reskill login; check token scope
Token is invalid or expiredStale authenticationRe-authenticate with reskill login --token <new-token>
Network errorCannot reach Git host or registryCheck network; run reskill doctor for diagnostics
Conflict: directory already existsSkill already installedUse --force to reinstall

Private Repositories

reskill uses your existing git credentials (SSH keys or credential helper). For CI/CD environments:

bash
# GitLab CI
git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.company.com/".insteadOf "https://gitlab.company.com/"

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

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

Teaches AI agents how to use reskill — a Git-based package manager for AI agent skills. Covers CLI commands, install formats, configuration, publishing, and common workflows.

Vì sao nên dùng Reskill Usage 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. Reskill Usage 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 Reskill Usage trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/kanyun-inc/reskill/tree/main/skills/reskill-usage. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Reskill Usage?

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 Reskill Usage 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 Reskill Usage 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 Reskill Usage có miễn phí không?

Có. Kỹ năng này được kanyun-inc 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 👇