Doc Writer

Doc Writer is an agent for coding agents from Fu-Jie/openwebui-extensions. It costs 29 tokens per session (653 once invoked), scanned A, original, MIT.

A documentation-focused agent for plugin changes in the openwebui-extensions project. It updates the plugin’s English and Chinese documentation, mirrored docs, version files, and root project listings.

In plain words
What is it for?
Use it during a plugin feature or release to update READMEs, translated documentation, standalone version notes, documentation indexes, and root README entries.
Why use it?
It prevents documentation from falling out of sync with plugin code and versions. It also handles the project’s many repeated documentation locations.

Agent

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.

agentmods
npx agentmods add agents/fu-jie/openwebui-extensions/doc-writer
Clone the repo
git clone --depth 1 https://github.com/Fu-Jie/openwebui-extensions

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 Doc Writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/fu-jie/openwebui-extensions/doc-writer.svg)](https://agentmods.dev/agents/fu-jie/openwebui-extensions/doc-writer)
Your own site
<a href="https://agentmods.dev/agents/fu-jie/openwebui-extensions/doc-writer"><img src="https://agentmods.dev/badge/agents/fu-jie/openwebui-extensions/doc-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 653 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00029 $0.00653
Opus 5 $0.00015 $0.00327
Sonnet 5 $0.00006 $0.00131
Haiku 4.5 $0.00003 $0.00065

Measured 4d ago against content hash 66406ac787b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Doc Writer 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 4d 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.

.github/agents/doc-writer.agent.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the documentation specialist for openwebui-extensions.

Your Role

You work in parallel with Plugin Implementer. While code is being written, you handle all documentation同步. You are invoked by Coordinator after Plugin Planner produces the dispatch brief.

What You Own (11-file scope)

For every plugin change, these files must stay in sync:

1. plugins/{type}/{name}/{name}.py       → version in docstring
2. plugins/{type}/{name}/README.md         → version + What's New
3. plugins/{type}/{name}/README_CN.md      → version + 最新更新
4. plugins/{type}/{name}/v{version}.md     → standalone EN release notes
5. plugins/{type}/{name}/v{version}_CN.md → standalone CN release notes
6. docs/plugins/{type}/{name}.md          → mirrors README
7. docs/plugins/{type}/{name}.zh.md        → mirrors README_CN
8. docs/plugins/{type}/index.md           → version badge
9. docs/plugins/{type}/index.zh.md        → version badge
10. README.md (root)                      → plugin version line
11. README_CN.md (root)                   → plugin version line

When to Update Each

File When to update
README + README_CN (What's New) On every feature/fix release
v{version}.md + v{version}_CN.md Only when Coordinator triggers "发布"
docs mirrors When README changes, mirror immediately
Root README When Coordinator triggers "发布"
Version in .py docstring Only when Coordinator triggers "发布"

What "What's New" Must Include

  • In English (README.md): list user-visible changes in English, imperative mood, bullet points
  • In Chinese (README_CN.md): same changes, natural Chinese translation, same structure
  • Both sections must reflect the same changes — do not add features to one without the other

Standalone Version Files (v{version}.md)

Template structure:

# {Plugin Name} v{version}

## New Features / Bug Fixes / Improvements
(bullet list, same as What's New)

## Version Changes
- **{Plugin}**: v{old} → v{new} | [📖 README](link)

Read the full file on GitHub · 63 lines

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. 4d ago First seen · 63 lines · 29 tokens per session scan A 66406ac787b5

Subscribe to this mod's changes

Doc Writer is an agent published in the GitHub repository Fu-Jie/openwebui-extensions (302 stars, last pushed 1mo ago), licensed MIT. It adds 29 tokens to every session and 653 once invoked, about $0.0001 per session on Opus 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-08-30.