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.
mdr add volcengine/openviking/examples/agent-hook-plugin/DESIGN.md@git:20260917.6fb370cPins 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
mdr add volcengine/openviking/examples/agent-hook-plugin/DESIGN.md@sha256:0184e8542d3c4370The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260917.6fb370c latest | 2026-09-17 | 6fb370c | 6,282 B | A | view · diff |
| git:20260915.aa3ee2f | 2026-09-15 | aa3ee2f | 5,825 B | A | view |
Audit of the latest version
- 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
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.