DESIGN.md@examples/agent-hook-pluginA

DESIGN.md@examples/agent-hook-plugin from volcengine/openviking is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add volcengine/openviking/examples/agent-hook-plugin/DESIGN.md@git:20260917.6fb370c

Pins git:20260917.6fb370c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
volcengine/openviking
Path
examples/agent-hook-plugin/DESIGN.md
Versions recorded
2
Latest version
git:20260917.6fb370c, committed Sep 17, 2026
First version recorded
Sep 15, 2026
Size
6,282 bytes
Repository stars
41,589
License
AGPL-3.0

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

# DESIGN: the ZCode host

The ZCode adapter is the one host in this plugin whose extension surface had to be established by inspection rather than from documentation. What was verified, and what the adapter decided because of it, is recorded here.

## Verified ZCode extension surface

These facts were verified against a live ZCode installation (built-in `zcode-guide` plugin docs + actual `~/.zcode/cli/config.json` + real installed plugins with hooks).

| Aspect | Verified fact |
|--------|--------------|
| Supported hook events | `SessionStart`, `UserPromptSubmit`, `PreToolUse`, `PermissionRequest`, `PostToolUse`, `PostToolUseFailure`, `Stop` (exactly 7) |
| Unsupported events | `PreCompact`, `SessionEnd`, `Notification`, `SubagentStart`, `SubagentStop` |
| Manifest probe order | `.zcode-plugin/plugin.json` → `.claude-plugin/plugin.json` → `.codex-plugin/plugin.json` |
| Template vars (plugin hooks) | `${CLAUDE_PLUGIN_ROOT}`, `${ZCODE_PLUGIN_ROOT}`, `${CLAUDE_PROJECT_DIR}`, `${ZCODE_PROJECT_DIR}`, `${CLAUDE_SESSION_ID}` |
| Template vars (config hooks) | None — config-file hooks do NOT expand templates |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add volcengine/openviking/examples/agent-hook-plugin/DESIGN.md@sha256:0184e8542d3c4370

The line at the top of this page pins the label git:20260917.6fb370c, 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_loypuj6nluv7evqj.svg)](https://markdownregistry.com/a/art_loypuj6nluv7evqj)

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

Versions

The registry has recorded 2 versions of this file, between Sep 15, 2026 and Sep 17, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20260917.6fb370c latest2026-09-17 6fb370c 6,282 BA view · diff
git:20260915.aa3ee2f2026-09-15 aa3ee2f 5,825 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (6282 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

volcengine/openviking · 41,589 stars · license AGPL-3.0 · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_loypuj6nluv7evqj
GET https://markdownregistry.com/api/v1/resolve?ref=volcengine/openviking/examples/agent-hook-plugin/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/0184e8542d3c43708e2ecbde853505b81918efc448c8b96e0bc423812e6ef9a8

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: what DESIGN.md is and how agents use it · which agent file does what.

More from volcengine/openviking

openviking-memory SKILL.md skill
volcengine/openviking · agent-plugins/skills/openviking-memory/SKILL.md · Recall and persist long-term memory through the OpenViking MCP tools. Use at the start of any substantive task (coding…
git:20261014.46e15a2 · audit A · 41,589 stars
openviking-skills SKILL.md skill
volcengine/openviking · agent-plugins/skills/openviking-skills/SKILL.md · Find, use, create, install, share, update, and migrate agent skills stored in OpenViking (viking://~/skills and…
git:20261102.88c72b9 · audit A · 41,589 stars
ov-experience-memory SKILL.md skill
volcengine/openviking · agent-plugins/skills/ov-experience-memory/SKILL.md · Retrieve and apply OpenViking Experience memories through the Agent runtime's generic OpenViking search and read tools…
git:20261001.0fabc5e · audit A · 41,589 stars
ov-kanban SKILL.md skill
volcengine/openviking · agent-plugins/skills/ov-kanban/SKILL.md · Work through tasks on a kanban board stored in OpenViking (viking://agent/kanban/<board>/, one markdown file per task)…
git:20260929.5b23459 · audit A · 41,589 stars
ov-memory-troubleshoot SKILL.md skill
volcengine/openviking · agent-plugins/skills/ov-memory-troubleshoot/SKILL.md · Diagnose OpenViking memory issues by tracing backward from a memory file to its archive memory_diff.json and, when…
git:20260910.e03ce0a · audit A · 41,589 stars
ov-resources SKILL.md skill
volcengine/openviking · agent-plugins/skills/ov-resources/SKILL.md · Search and read documents, repos, URLs, and other resources stored in OpenViking under viking://resources/. Use…
git:20261102.88c72b9 · audit A · 41,589 stars
experience_loader SKILL.md skill
volcengine/openviking · benchmark/tau2/train/experience_loader_template/SKILL.md · Load relevant OpenViking experience memories via case-linked experience candidates before solving a task.
git:20260703.fd73dcf · audit A · 41,589 stars
cron SKILL.md skill
volcengine/openviking · bot/workspace/skills/cron/SKILL.md · Schedule reminders and recurring tasks.
git:20260228.006a06f · audit A · 41,589 stars
github-proxy SKILL.md skill
volcengine/openviking · bot/workspace/skills/github-proxy/SKILL.md · GitHub 国内访问加速 skill,使用 githubproxy.cc 代理加速 GitHub 仓库克隆、文件下载、Raw 文件访问等操作。使用场景:(1) 需要 git clone GitHub 仓库时加速,(2) 下载…
git:20260228.006a06f · audit A · 41,589 stars
github SKILL.md skill
volcengine/openviking · bot/workspace/skills/github/SKILL.md · Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and…
git:20260228.006a06f · audit A · 41,589 stars
opencode SKILL.md skill
volcengine/openviking · bot/workspace/skills/opencode/SKILL.md · Monitor and manage your OpenCode tasks using helper scripts.
git:20260309.c4cdb5f · audit A · 41,589 stars
skill-creator SKILL.md skill
volcengine/openviking · bot/workspace/skills/skill-creator/SKILL.md · Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
git:20260228.006a06f · audit A · 41,589 stars

Every file in volcengine/openviking

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