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.00239 |
| 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 5d 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_structured_change_plan(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.
- 5d ago Changed · +2 lines 41cea7673b24
- 1mo ago First seen · 15 lines · 50 tokens per session scan A 42f5aca4c5cd
foreshadow is a skill published in the GitHub repository LiPu-jpg/Openwrite (835 stars, last pushed today), licensed Apache-2.0. It adds 50 tokens to every session and 239 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.
Other skills, from other repositories
webnovel-init
A guided setup process for a web-novel project that collects creative requirements and creates the project’s initial structure and rules.
webnovel-write
A workflow for producing publishable web-novel chapters, from understanding the context through drafting, review, polishing, submission, and backup.
webnovel-plan
A planning tool for turning a web-novel outline into volume plans, timelines, and chapter outlines. It also writes new story settings back into the existing setting collection.
webnovel-review
A review agent for assessing the quality of fiction chapters. It produces a review report and writes review measurements back to the project.
webnovel-query
A Chinese-language skill for querying a web novel project's setting and story information, including characters, power systems, factions, and foreshadowing.
webnovel-learn
A project skill for learning from a web novel-writing project through the `/webnovel-learn` command. The provided details do not explain what learning tasks or outputs it performs.