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.
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.
npx skills add LiPu-jpg/Openwrite --skill foreshadowgit clone --depth 1 https://github.com/LiPu-jpg/OpenwriteWrote 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.
[](https://agentmods.dev/skills/lipu-jpg/openwrite/foreshadow)<a href="https://agentmods.dev/skills/lipu-jpg/openwrite/foreshadow"><img src="https://agentmods.dev/badge/skills/lipu-jpg/openwrite/foreshadow/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.
<a href="https://agentmods.dev/skills/lipu-jpg/openwrite/foreshadow"><img src="https://agentmods.dev/badge/skills/lipu-jpg/openwrite/foreshadow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.00241 |
| Opus 5.5 | $0.00020 | $0.00096 |
| Sonnet 5.5 | $0.00010 | $0.00048 |
| Haiku 4.5 | $0.00005 | $0.00024 |
Grade A, and why
foreshadow 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.
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.
查伏笔
接到已有 novel_*。伏笔真源是 OpenWrite DAG 与章节工作简报。
novel_status看全书待办。- 当前章用
novel_chapter_work:到期must_resolve、超期overdue、待埋入to_plant。 - 全书未回收与漂移用
novel_continuity。
向作者报告分类清单,不要输出内部 JSON 当主界面。写入走 novel_change_plan(action="structured"(change_kind="foreshadowing");仅在作者本轮已授权精确变更时才用 novel_foreshadowing。
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.
- 25d ago Changed 954e67981411
- 1mo ago Changed · +2 lines 41cea7673b24
- 2mo ago First seen · 15 lines · 50 tokens per session scan A 42f5aca4c5cd
foreshadow is a skill published in the GitHub repository LiPu-jpg/Openwrite (1,048 stars, last pushed 4d ago), licensed Apache-2.0. It adds 50 tokens to every session and 241 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-09.
foreshadow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| foreshadowLiPu-jpg/Openwrite | Skill | 1.0k | 4d ago | Apache-2.0 | A | 50 | Claude Code, Codex |
| webnovel-initlingfengQAQ/webnovel-writer | Skill | 8.1k | 12d ago | GPL-3.0 | A | 41 | Claude Code |
| webnovel-planlingfengQAQ/webnovel-writer | Skill | 8.1k | 12d ago | GPL-3.0 | A | 33 | Claude Code |
| webnovel-writelingfengQAQ/webnovel-writer | Skill | 8.1k | 12d ago | GPL-3.0 | A | 30 | Claude Code |
| webnovel-reviewlingfengQAQ/webnovel-writer | Skill | 8.1k | 12d ago | GPL-3.0 | A | 24 | Claude Code |
| webnovel-querylingfengQAQ/webnovel-writer | Skill | 8.1k | 12d ago | GPL-3.0 | A | 35 | Claude Code |
| webnovel-learnlingfengQAQ/webnovel-writer | Skill | 8.1k | 12d ago | GPL-3.0 | A | 22 | Claude Code |