diana-install SKILL.md skillA

diana-install from suink/diana is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add suink/diana/diana-install@git:20261101.0873d0d

Pins git:20261101.0873d0d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
suink/diana
Path
skills/diana-install/SKILL.md
Versions recorded
1
Latest version
git:20261101.0873d0d, committed Nov 1, 2026
Size
3,797 bytes
Repository stars
34
License
a license file GitHub does not identify

安装或升级 Diana 服务端,支持 Linux、macOS、Windows、安卓 Termux 和 Docker。用于用户要求在目标机器部署 Diana 的场景,不用于配置机器人业务或发布 Diana 版本。.

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

# Diana 安装与升级

在用户指定的目标机器安装 Diana;未指定版本时使用最新稳定版,不自行切换到 Canary、Beta 或源码构建。

## 每次执行前读取当前指引

- [README](https://raw.githubusercontent.com/SuInk/Diana/main/README.md):安装命令、权限和支持平台的依据。
- 按部署方式阅读官方脚本:[Linux / macOS / Termux](https://raw.githubusercontent.com/SuInk/Diana/main/scripts/install.sh)、[Windows PowerShell](https://raw.githubusercontent.com/SuInk/Diana/main/scripts/install.ps1)、[Docker](https://raw.githubusercontent.com/SuInk/Diana/main/scripts/docker.sh)。只读本次需要的脚本。
- 指定历史版本时,核对该 Release 及对应标签中的文档和脚本,不把当前安装方式直接套用于旧版本。无法获取文档或脚本时说明阻碍,不凭记忆拼接下载地址。

本 Skill 随仓库维护,不固定版本号、资产清单或重复保存安装脚本。执行前重新读取官方资料,避免使用已安装 Skill 的旧缓存指引。

## 安装流程

1. 确认目标机器、系统、架构和现有 Diana 安装方式。保留用户选择的 Docker 或原生部署方式;已有安装沿用原目录、配置和数据,不另起一套实例。
2. 默认以当前用户权限安装,新安装仅监听 `127.0.0.1`;升级保留已有监听配置。不要擅自使用 sudo、开放公网端口、覆盖数据或重置密码。旧系统级安装按脚本指引处理权限,需提权时向用户说明。
3. 使用 README 对应的官方一键命令,让脚本选择版本、校验 SHA-256、备份并处理升级回滚。不要跳过校验;下载、校验或启动失败时检查输出并报告,不把失败当作安装成功,也不反复重装或删除数据。
4. 原生安装完成后运行 `diana doctor` 检查健康状态;若命令尚未进入 PATH,使用安装脚本报告的实际命令路径。Docker 按部署文档检查容器状态和日志,不假定宿主机有 `diana` 命令。确认控制台可访问后再报告完成。

## 安卓 Termux

- 在原生 Termux 终端中识别 `TERMUX_VERSION` / `PREFIX` 和 CPU 架构;当前仅发布 ARM64 的 Android 构建。不要把它当作普通 Linux 下载 Linux 包,也不擅自改为 proot 部署。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add suink/diana/diana-install@sha256:c5411f426ef1f625

The line at the top of this page pins the label git:20261101.0873d0d, 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_ilz3rk6e24dzqhqx.svg)](https://markdownregistry.com/a/art_ilz3rk6e24dzqhqx)

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

Versions

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

versioncommittedcommitsizeaudit
git:20261101.0873d0d latest2026-11-01 0873d0d 3,797 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 (3797 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

suink/diana · 34 stars · license a license file GitHub does not identify · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ilz3rk6e24dzqhqx
GET https://markdownregistry.com/api/v1/resolve?ref=suink/diana/diana-install
GET https://markdownregistry.com/api/v1/blob/c5411f426ef1f6250f09186d26d4b5d30d7585cdb85b35b69e2d6130916070f0

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 suink/diana

AGENTS.md AGENTS.md file
suink/diana · AGENTS.md
git:20261101.0873d0d · audit A · 34 stars
hello-plugin SKILL.md skill
suink/diana · examples/plugin-template/SKILL.md · 示例插件的 Skill 定义,说明插件在对话中如何工作。
git:20260919.1f904ce · audit A · 34 stars
skill-bundle SKILL.md skill
suink/diana · examples/skill-bundle-plugin/SKILL.md · 演示通过插件包使用 Skills 和固定脚本入口。
git:20261003.17c4bef · audit A · 34 stars
hello SKILL.md skill
suink/diana · examples/skill-bundle-plugin/skills/hello/SKILL.md · 用户要测试插件脚本、或要求用示例脚本问候某人时使用。
git:20261003.17c4bef · audit A · 34 stars
bot-protocol SKILL.md skill
suink/diana · skills/bot-protocol/SKILL.md · Choose the current platform's supported protocol tools for group information and moderation, or Diana's configuration…
git:20261105.c4f1b61 · audit A · 34 stars
platform SKILL.md skill
suink/diana · skills/platform/SKILL.md · Read group information and members across platforms, recall the bot's own recently sent messages, and perform…
git:20261028.d0401be · audit A · 34 stars

Every file in suink/diana

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