dog-delivery-query

dog-delivery-query is a skill for Claude Code, Codex from LiPu-jpg/Openwrite. It costs 51 tokens per session (533 once invoked), scanned A, original, Apache-2.0.

A query tool for a DoG chapter-delivery graph covering a manuscript chapter’s review, revisions, and final re-review. It checks whether the chapter is actually ready to deliver.

In plain words
What is it for?
Use it after writing or reviewing a chapter, after making revisions, or when checking delivery readiness.
Why use it?
A chapter can look finished while review findings or revision work remain open. This query helps inspect the delivery state without relying on memory or a simple draft-status label.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after writing or reviewing a chapter, after making revisions, or when checking delivery readiness.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lipu-jpg/openwrite/dog-delivery-query
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LiPu-jpg/Openwrite --skill dog-delivery-query
Clone the repo
git clone --depth 1 https://github.com/LiPu-jpg/Openwrite

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dog-delivery-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/lipu-jpg/openwrite/dog-delivery-query/github.svg)](https://agentmods.dev/skills/lipu-jpg/openwrite/dog-delivery-query)
Your own site
<a href="https://agentmods.dev/skills/lipu-jpg/openwrite/dog-delivery-query"><img src="https://agentmods.dev/badge/skills/lipu-jpg/openwrite/dog-delivery-query/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dog-delivery-query

Your own site · 80×15
<a href="https://agentmods.dev/skills/lipu-jpg/openwrite/dog-delivery-query"><img src="https://agentmods.dev/badge/skills/lipu-jpg/openwrite/dog-delivery-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 533 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00533
Opus 5.5 $0.00020 $0.00213
Sonnet 5.5 $0.00010 $0.00107
Haiku 4.5 $0.00005 $0.00053

Measured 1mo ago against content hash abbebc85257b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dog-delivery-query scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

presets/dante/skills/dog-delivery-query/SKILL.md · 40 lines

What it actually says

章节交付 DoG 查询

章节写作、评审和修订工具会生成:

data/novels/{id}/data/dog/deliveries/{chapter}/dog-graph.json

这张图查询六个阶段:writing → review → revision → application → rereview → closure。 它不替代 OpenWrite 的写章、六域累加评审或修订服务。

查询流程

  1. 从最近一次 novel_write_chapter、novel_review_chapter、novel_revision_* 或 novel_task_get 结果的 dog_delivery.graphPath 找到图;conductor 输出使用 dog_delivery_graph_path。
  2. 依次调用 dog_validate、dog_create、dog_run、dog_wait,等待终态。
  3. 用 dog_status 读取 review、revision 和 closure evidence,再决定领域动作。
  4. 修订应用后必须重新调用 novel_review_chapter;只有复评对应当前正文 SHA 且门禁通过, closure 才能成为 closed。

状态解释

  • review.missing:正文存在但尚未评审。
  • closure.review_failed:当前正文已评审但未通过门禁,进入修订闭环。
  • revision.proposal_pending:提案已生成,等待作者确认应用或驳回。
  • revision.applied_requires_rereview:修订已写入正文,但不能视为问题已解决。
  • closure.rereview_required:必须对修订后的正文重新跑六域评审。
  • closure.closed:当前正文的最新评审通过,可以交付。

约束

  • DoG 只查询 canonical manuscript/review/revision 文件,不直接修改它们。
  • 不因提案状态为 applied 就宣称问题关闭;必须以当前正文 SHA 对应的复评为准。
  • needs_human 是等待评审、确认或复评,不得描述成成功。
  • 应用或驳回修订仍遵守 Dante 的用户确认边界。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 40 lines · 51 tokens per session scan A abbebc85257b

Subscribe to this mod's changes

dog-delivery-query is a skill published in the GitHub repository LiPu-jpg/Openwrite (835 stars, last pushed today), licensed Apache-2.0. It adds 51 tokens to every session and 533 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.