bot-protocol SKILL.md skillA

bot-protocol 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/bot-protocol@git:20261105.c4f1b61

Pins git:20261105.c4f1b61 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
suink/diana
Path
skills/bot-protocol/SKILL.md
Versions recorded
5
Latest version
git:20261105.c4f1b61, committed Nov 5, 2026
First version recorded
Oct 5, 2026
Size
9,796 bytes
Repository stars
34
License
a license file GitHub does not identify

Choose the current platform's supported protocol tools for group information and moderation, or Diana's configuration tool for reply behavior, member welcome and redacted diagnostics.

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

# Bot Protocol

Use the current event's platform and bot identity. Never substitute another bot, guess an account ID from a nickname, or emulate successful actions in prose.

## Platform Operations

- Group information, members and moderation go through `platform` (see the `platform` skill): `group_info`, `member_list` and `member_info` read; `mute`, `unmute` and `kick` are owner-only. A group administrator is not automatically the bot owner.
- Only when `platform` is not registered (a non-OneBot platform with the platform interface disabled), the read-only `group_directory` tool provides `info`, `members` and `member`. Respect `member_list_complete`, `member_source` and warnings. Do not treat partial results as a full group list or invent unsupported moderation actions.
- Image-to-avatar matching is a local operation: use the `match_avatar` tool, or `group_directory` with operation `match_avatar` where that tool is registered instead. Do not guess identity from an image.
- Do not bypass a denied action with shell, raw network requests, an alias or another tool.

## Diana Configuration
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add suink/diana/bot-protocol@sha256:c0ed5e6eb8064358

The line at the top of this page pins the label git:20261105.c4f1b61, 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_4bnb2vmgkqn2qbto.svg)](https://markdownregistry.com/a/art_4bnb2vmgkqn2qbto)

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

Versions

The registry has recorded 5 versions of this file, between Oct 5, 2026 and Nov 5, 2026, about one every 8 days.

versioncommittedcommitsizeaudit
git:20261105.c4f1b61 latest2026-11-05 c4f1b61 9,796 BA view · diff
git:20261103.ae24e542026-11-03 ae24e54 9,467 BA view · diff
git:20261102.761eeda2026-11-02 761eeda 9,084 BA view · diff
git:20261024.ebafd2d2026-10-24 ebafd2d 8,082 BA view · diff
git:20261005.aa52c4e2026-10-05 aa52c4e 6,239 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 (9796 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_4bnb2vmgkqn2qbto
GET https://markdownregistry.com/api/v1/resolve?ref=suink/diana/bot-protocol
GET https://markdownregistry.com/api/v1/blob/c0ed5e6eb806435878be574278eabf80aef1a9e22284237fd9591c290c2adf7d

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
diana-install SKILL.md skill
suink/diana · skills/diana-install/SKILL.md · 安装或升级 Diana 服务端,支持 Linux、macOS、Windows、安卓 Termux 和 Docker。用于用户要求在目标机器部署 Diana 的场景,不用于配置机器人业务或发布 Diana 版本。
git:20261101.0873d0d · 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.