import-artifact-query

import-artifact-query is a skill for Claude Code from LiPu-jpg/Openwrite. It costs 39 tokens per session (404 once invoked), scanned A, original, Apache-2.0.

A read-only report checker for a novel that has been split into chapters. It shows whether the import finished, whether its automated checks found errors, and what setup work is still pending.

In plain words
What is it for?
Use it to inspect import records, find failed or partial chapters, report automated check results, and identify the next novel-setup tasks.
Why use it?
It prevents an incomplete or failed import from being mistaken for a finished manuscript. It also keeps later outline and asset setup separate from the original import.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to inspect import records, find failed or partial chapters, report automated check results, and identify the next novel-setup tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lipu-jpg/openwrite/import-artifact-query
About the project

Openwrite is a local-first novel-writing studio for DeepSeek Harness, combining an AI agent with tools for planning stories, managing characters and settings, writing chapters, reviewing drafts, and exporting books. It is intended for long-form fiction writers who want their project files, creative notes, and credentials kept in local directories. The catalogue add-ons are Openwrite skills that extend this writing workflow.

LiPu-jpg/Openwrite · 1,048 stars · on GitHub

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 import-artifact-query
Clone the repo
git clone --depth 1 https://github.com/LiPu-jpg/Openwrite

Made for: Claude Code.

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 import-artifact-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/lipu-jpg/openwrite/import-artifact-query/github.svg)](https://agentmods.dev/skills/lipu-jpg/openwrite/import-artifact-query)
Your own site
<a href="https://agentmods.dev/skills/lipu-jpg/openwrite/import-artifact-query"><img src="https://agentmods.dev/badge/skills/lipu-jpg/openwrite/import-artifact-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 import-artifact-query

Your own site · 80×15
<a href="https://agentmods.dev/skills/lipu-jpg/openwrite/import-artifact-query"><img src="https://agentmods.dev/badge/skills/lipu-jpg/openwrite/import-artifact-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 404 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.00039 $0.00404
Opus 5.5 $0.00016 $0.00162
Sonnet 5.5 $0.00008 $0.00081
Haiku 4.5 $0.00004 $0.00040

Measured 25d ago against content hash 42d6b68d4de7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

import-artifact-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 25d 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/openwrite/skills/import-artifact-query/SKILL.md · 31 lines

What it actually says

Language: follow the author's current conversation language for responses and help; preserve the manuscript language. Translate these instructions when presenting them.

拆书导入结果查询

conductor/smart_import.py 完成导入后会写出记录: data/novels/{id}/data/dog/imports/{IMPORT_ID}/dog-graph.json, 以及同目录的 manifest。这份记录只描述导入结果,不负责写入章节、资产或大纲。

工作流

  1. 从导入输出找到 data/novels/{id}/data/dog/imports/{IMPORT_ID}/,读 manifest。
  2. 按 manifest 的 status 汇报导入完整性:partial|failed 表示导入中途出错, 先读 error 和已完成的章节,再修复或重试导入。
  3. 读 aiCheck.status:failed 要如实报告,不能当成“无问题”。
  4. 根节点通过后,读 manifest 的 construction.nextActions,再调用规划和资产工具 建立大纲、角色、世界观、进度和正典事件。
  5. 资产/大纲建立完成后重新调用 novel_review_chapter,再用 review-artifact-query 查询六域评审和 37 个 legacy leaf。

约束

  • 只读导入记录,不直接修改正文。
  • construction 中的 pending 是后续建模待办,不是导入失败。
  • 不要让任何验证步骤再调用 Studio 导入接口或重新读取原始整本小说。
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. 25d ago First seen · 31 lines · 39 tokens per session scan A 42d6b68d4de7

Subscribe to this mod's changes

import-artifact-query is a skill published in the GitHub repository LiPu-jpg/Openwrite (1,048 stars, last pushed 4d ago), licensed Apache-2.0. It adds 39 tokens to every session and 404 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-11-07.

Related

import-artifact-query compared with skills from other repositories

import-artifact-query next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
import-artifact-queryLiPu-jpg/OpenwriteSkill1.0k4d agoApache-2.0A39Claude Code
webnovel-initlingfengQAQ/webnovel-writerSkill8.1k12d agoGPL-3.0A41Claude Code
webnovel-planlingfengQAQ/webnovel-writerSkill8.1k12d agoGPL-3.0A33Claude Code
webnovel-writelingfengQAQ/webnovel-writerSkill8.1k12d agoGPL-3.0A30Claude Code
webnovel-reviewlingfengQAQ/webnovel-writerSkill8.1k12d agoGPL-3.0A24Claude Code
webnovel-querylingfengQAQ/webnovel-writerSkill8.1k12d agoGPL-3.0A35Claude Code
webnovel-learnlingfengQAQ/webnovel-writerSkill8.1k12d agoGPL-3.0A22Claude Code