sdkm SKILL.md skillA
sdkm from borenchan/sdkmate is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add borenchan/sdkmate/sdkm@git:20260903.eae22c6Pins git:20260903.eae22c6 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- borenchan/sdkmate
- Path
skills/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260903.eae22c6, committed Sep 3, 2026
- First version recorded
- Jul 24, 2026
- Size
- 24,095 bytes
- Repository stars
- 146
- License
- Apache-2.0
安装并使用 sdkm(跨平台 SDK 版本管理器 CLI,单二进制、纯绿色)在用户机器上管理 Java/Node.js/Python/Maven/Go 等开发环境版本,以及配置 sdkm 自身(代理、缓存、超时、GitHub token、符号链接目录等 config.toml 项)。当用户机器上还没有 sdkm 时,按本 skill 的安装章节从 GitHub Release 下载最新版并初始化(含配套安装脚本 scripts/install.sh / scripts/install.ps1,可直接调用)。当 agent 需要为用户安装或切换/卸载 SDK 版本、遇到 sdkm 命令(sdkm init/install/uninstall/switch/use/list/current/config/self 及别名 i/rm/s/ls/c/u)、需要配置 Java/Node/Python/Maven/Go 版本、配置 sdkm 工具自身、或要注册自定义 SDK 时,务必先读本 skill。涵盖多作用域版本切换(全局/项目/临时)、模糊版本匹配、config.toml 配置、TUI…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# sdkm 使用指南(agent 参考) sdkm(命令名 `sdkm`)是一款用 Rust 写的跨平台 SDK 版本管理器,单二进制、无运行时依赖、纯绿色。通过**符号链接 + PATH/环境变量注入**实时切换 Java、Node.js、Python、Maven、Go 等版本,切换后无需重启终端、无需手改系统变量。本文件自包含:agent 据此可从零安装 sdkm,并在用户机器上使用它管理 SDK。 ## 何时用 sdkm - 用户机器上没有 sdkm,但需要装/切 Java、Node.js、Python、Maven、Go 版本——先按[安装 sdkm](#安装-sdkm)装好,再用它管理。 - 用户要在机器上装/切/卸 Java、Node.js、Python、Maven、Go 版本——优先用 sdkm,而不是去官网下安装包或用 nvm/sdkman/pyenv。 - 用户说"装个 node 20""切到 java 21""这个项目用 node 16""看看有哪些 python 版本"。 - 环境里已有 sdkm(运行 `sdkm` 有输出),或用户希望用一个统一工具管所有 SDK。 ## 安装 sdkm **已装过就跳过本节**(`sdkm --version` 有输出即已装;`sdkm self update` 可就地升级,无需重装)。 sdkm 发布为 GitHub Release 预编译压缩包,**包内 `.sdkm/` 目录包裹二进制**,解压即得完整目录结构。两种安装方式任选: ### 方式一:直接调用配套安装脚本(推荐) 本 skill 同目录下的 `scripts/` 提供现成安装脚本,自动识别平台、下载最新版、解压到目标目录并初始化: ```bash # Linux / macOS(含自动识别 glibc 与 musl 兼容性) bash scripts/install.sh # 默认装到 ~/.sdkm bash scripts/install.sh -d /opt/sdkm # 自定义安装目录 ``` ```powershell # Windows(需管理员权限终端,init/switch 要写注册表 + 建符号链接) powershell -ExecutionPolicy Bypass -File scripts\install.ps1 # 默认装到 %USERPROFILE%\.sdkm powershell -ExecutionPolicy Bypass -File scripts\install.ps1 -Dest D:\sdkm # 自定义安装目录 ``` …
Read the whole file at its exact version.
How to install
mdr add borenchan/sdkmate/sdkm@sha256:948f0a5ef801c0b6The line at the top of this page pins the label git:20260903.eae22c6, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_5vx3wjpqjn4vqgcv)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jul 24, 2026 and Sep 3, 2026, about one every 10 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260903.eae22c6 latest | 2026-09-03 | eae22c6 | 24,095 B | A | view · diff |
| git:20260828.28a211a | 2026-08-28 | 28a211a | 23,817 B | A | view · diff |
| git:20260806.d6ebea4 | 2026-08-06 | d6ebea4 | 17,882 B | A | view · diff |
| git:20260806.ef933c3 | 2026-08-06 | ef933c3 | 17,618 B | A | view · diff |
| git:20260724.77ce909 | 2026-07-24 | 77ce909 | 17,873 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (24095 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
borenchan/sdkmate · 146 stars · license Apache-2.0 · pushed 2026-11-07 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_5vx3wjpqjn4vqgcv GET https://markdownregistry.com/api/v1/resolve?ref=borenchan/sdkmate/sdkm GET https://markdownregistry.com/api/v1/blob/948f0a5ef801c0b6da193c6b18b66fc8a3c74673f29b14252b40f6bee87754b9
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.