DESIGN.md@examples/agent-hook-plugin/hosts/kimicode designA
DESIGN.md@examples/agent-hook-plugin/hosts/kimicode is agent-read markdown (design) from volcengine/openviking.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Kimi Code host contract Verified against Kimi Code CLI 0.43.1 and Node.js 18+. - Kimi loads a native plugin from its managed plugin directory. The installer assembles that directory; this source directory is not itself a complete runnable plugin. - Hook stdin is snake-case JSON. The adapter consumes the verified `session_id`, `cwd`, `prompt`, `tool_name`, and `tool_input` fields only; `UserPromptSubmit.prompt` may be a string or an array of content parts. - `UserPromptSubmit` accepts raw text on stdout. Other lifecycle hooks are silent; `PreToolUse` returns Kimi's `permissionDecision` JSON shape. - The stable transcript is the session's `agents/main/wire.jsonl`, located via `session_index.jsonl`. `turn.ended` closes interrupted or tool-only turns. If log rotation removes the acknowledged cursor, capture restarts from the current file and the bounded acknowledgement set suppresses duplicates. - Stop, PreCompact, and SessionEnd capture may detach. Interrupt stays synchronous and all of its OpenViking requests share a two-second budget. - The native plugin manifest owns hooks and MCP. Installation does not edit legacy `config.toml` or `mcp.json` files. …
Read the whole file at its exact version.
How to install
mdr add volcengine/openviking/examples/agent-hook-plugin/hosts/kimicode/DESIGN.md@git:20260923.03391bamdr add volcengine/openviking/examples/agent-hook-plugin/hosts/kimicode/DESIGN.md@sha256:c1b5470d7791b832Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_5hnzqzdf3oq3tp2o)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (1759 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 · 38,500 stars · license AGPL-3.0 · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_5hnzqzdf3oq3tp2o GET https://markdownregistry.com/api/v1/resolve?ref=volcengine/openviking/examples/agent-hook-plugin/hosts/kimicode/DESIGN.md GET https://markdownregistry.com/api/v1/blob/c1b5470d7791b8326b5e5c10fcc872ba06e3e55f5d5799672364f5558eb40af1
Your agent 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.