setup-toolchain SKILL.md skillA

setup-toolchain from wncfht/agent-basic-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add wncfht/agent-basic-skill/setup-toolchain@git:20261013.8b84045

Pins git:20261013.8b84045 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
wncfht/agent-basic-skill
Path
skills/setup-toolchain/SKILL.md
Versions recorded
1
Latest version
git:20261013.8b84045, committed Oct 13, 2026
Size
9,583 bytes
Repository stars
28
License
none declared

为仓库搭建 format/lint/pre-commit/CI 工具链(含 yaml 注释宽度检查)、agent 入口(AGENTS.md + .agents/skills 为入库唯一事实源,.claude/skills 为 gitignore 的本机软链)与 MPE 预览环境(.crossnote,gitignore 本机层)。当用户要加 pre-commit hooks、接 formatter/linter、配置 agent 文件、统一各仓工具链、装 markdown 预览/pseudocode 渲染环境、或复刻这套布局时使用。.

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

# 搭建仓库工具链

镜像 devin-2api / mihomo-macos 布局的脚手架。流程驱动:普查仓库 → 用通用 base 加各语言配方拼装配置集 → 确认分叉决策 → 先修后挂 → 全量格式化 → 提交。

## 这套东西包含什么

- **Agent 入口**:`AGENTS.md` + `.agents/skills/` 入库为唯一事实源(每个 skill 目录带 `agents/openai.yaml` 供跨 harness 使用;Claude Code 原生读 `AGENTS.md`);`.claude/skills`(目录级软链 → `../.agents/skills`,与全局 `~/.claude/skills` 同一约定)是 gitignore 的本机软链,由 `scripts/agent-links.sh` 重建。
- **Format 链**(版本以 `package.json` 为唯一事实源):每个仓库都有 markdown + yaml + gitleaks;yaml 侧除 prettier 结构格式外还带 `scripts/check-yaml-comments.py` 注释宽度机检(散文注释折行约定见 [references/mechanics.md](references/mechanics.md)「散文注释折行约定」节);其余文件类型按配方追加各自的 format/check hook。
- **pre-commit**:`local` hooks 走 git-format-staged——formatter 改写暂存内容并同步工作区文件使两侧一致,commit 不被格式化阻断,未暂存编辑不受污染;check 类 hook 失败才拦。gitleaks 是 secret 门。
- **Dotfiles**:.editorconfig、.gitattributes、.prettierrc/.prettierignore、.markdownlint.jsonc(规则)+ .markdownlint-cli2.jsonc(忽略)、.gitleaks.toml、.git-blame-ignore-revs、.vscode/*。
- **MPE 预览环境**:`assets/.crossnote/` 是唯一事实源,各仓 `/.crossnote/` 由 `scripts/crossnote-links.sh` 建链接农场(软链 + 两个硬链)并 gitignore——parser.js(QuickJS 沙箱)+ style.less 主题 + pseudocode 渲染链,机制与硬约束见 [references/crossnote.md](references/crossnote.md)。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add wncfht/agent-basic-skill/setup-toolchain@sha256:3bcc99eb27307ed6

The line at the top of this page pins the label git:20261013.8b84045, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_xnarz5zqhp5aiskz.svg)](https://markdownregistry.com/a/art_xnarz5zqhp5aiskz)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 13, 2026.

versioncommittedcommitsizeaudit
git:20261013.8b84045 latest2026-10-13 8b84045 9,583 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9583 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

GitHub

wncfht/agent-basic-skill · 28 stars · license none declared · pushed 2026-10-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xnarz5zqhp5aiskz
GET https://markdownregistry.com/api/v1/resolve?ref=wncfht/agent-basic-skill/setup-toolchain
GET https://markdownregistry.com/api/v1/blob/3bcc99eb27307ed612f2ba2e234320c80904d100920cc5b2c35ca9e7cc59e216

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.

More from wncfht/agent-basic-skill

asr SKILL.md skill
wncfht/agent-basic-skill · skills/asr/SKILL.md · 把音频或视频文件转录成 SRT 字幕或带时间戳的 TXT,词级时间戳。当用户想要语音转文字、转录、字幕、SRT 生成时使用——尤其是中文或英文音频 (transcription, subtitles…
git:20261018.e07a830 · audit A · 28 stars
conventional-commits SKILL.md skill
wncfht/agent-basic-skill · skills/conventional-commits/SKILL.md · 统一 Git 提交信息的 Conventional Commits 规范,帮助编写简洁、可审查且可自动化处理的提交。
git:20261018.f5dfb71 · audit A · 28 stars
document-writing SKILL.md skill
wncfht/agent-basic-skill · skills/document-writing/SKILL.md · 统一技术文档、调研笔记和仓库交付物的中文表达、证据论证、Markdown 格式与伪代码规范;编写或修改正式文档时使用。
git:20261018.4f1e812 · audit A · 28 stars
figure-viz SKILL.md skill
wncfht/agent-basic-skill · skills/figure-viz/SKILL.md · 渲染可审计的研究图,双引擎一套调色板:符号/结构/机制图走 TikZ 轨(张量块图、流水线泳道、通信并行、注意力掩码、时间线谱系、分类板设计空间、pgfplots 混合示意、伪 3D 立体块),真实数据图表走 matplotlib…
git:20261018.c0ddc34 · audit A · 28 stars
link-get SKILL.md skill
wncfht/agent-basic-skill · skills/link-get/SKILL.md · 任意链接或裸 ID → 文本内容(Markdown / SRT / TeX 源)的统一入口。当用户粘贴 YouTube、Bilibili(视频/动态 opus)、知乎、微信公众号、SJTU Canvas、arXiv abs…
git:20261013.8b84045 · audit A · 28 stars
paper-search SKILL.md skill
wncfht/agent-basic-skill · skills/paper-search/SKILL.md · 在 arXiv、DBLP、OpenAlex、OpenReview、Semantic Scholar、Crossref 检索论文。找论文、related work、prior…
git:20261018.9aeed53 · audit A · 28 stars
peer-sessions SKILL.md skill
wncfht/agent-basic-skill · skills/peer-sessions/SKILL.md · 感知、通知与编排本机其他 Claude Code 会话。当用户要看别的会话在做什么、盯进度、发消息 push 方向,或要搭 overseer→leader→subagent…
git:20261018.f3b0b4f · audit A · 28 stars
skill-management SKILL.md skill
wncfht/agent-basic-skill · skills/skill-management/SKILL.md · 维护本机三 CLI(Claude Code / Codex / Kimi Code)共用的 skills + AGENTS.md 体系:~/.agents 唯一事实源、软链布局、全局与仓库两级 skill…
git:20261018.e07a830 · audit A · 28 stars
video-render-pdf SKILL.md skill
wncfht/agent-basic-skill · skills/video-render-pdf/SKILL.md · 从 YouTube、Bilibili 或 SJTU Canvas 课堂实录的讲座、教程或技术分享视频生成专业、详尽、配图丰富的 LaTeX 课程笔记与最终 PDF。当用户提供 YouTube…
git:20261018.c0ddc34 · audit A · 28 stars

Every file in wncfht/agent-basic-skill

Browse by kind, by grade A, or by owner.