openwebui-extensions: Instructions file for Kiro

.kiro/steering/doc-mirror-sync.md

doc-mirror-sync is an instructions file for Kiro from Fu-Jie/openwebui-extensions. It costs 377 tokens per session, scanned A, original, MIT.

A documentation synchronizer that copies plugin README files into the documentation folder used by the MkDocs site. MkDocs is a tool that builds a documentation website from files such as Markdown.

In plain words
What is it for?
Use it after editing a plugin README to update one or all documentation mirrors, in English or in English and Chinese. It can also update version badges in documentation index files.
Why use it?
It prevents the local plugin documentation and the published documentation copy from drifting apart. It also keeps documentation-only updates separate from code and release changes.

Instructions file for Kiro

Written for Kiro: installed under .kiro/.

This is Fu-Jie/openwebui-extensions's own configuration. It tells Kiro how to work on openwebui-extensions itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything openwebui-extensions configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python .github/skills/doc-mirror-sync/scripts/sync.py.

Reuse

Borrowing it

Nothing to install: this file belongs to Fu-Jie/openwebui-extensions. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Fu-Jie/openwebui-extensions/main/.kiro/steering/doc-mirror-sync.md
Clone the repo
git clone --depth 1 https://github.com/Fu-Jie/openwebui-extensions

Made for: Kiro.

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-mirror-sync

README.md
[![agentmods](https://agentmods.dev/badge/instructions/fu-jie/openwebui-extensions/doc-mirror-sync/github.svg)](https://agentmods.dev/instructions/fu-jie/openwebui-extensions/doc-mirror-sync)
Your own site
<a href="https://agentmods.dev/instructions/fu-jie/openwebui-extensions/doc-mirror-sync"><img src="https://agentmods.dev/badge/instructions/fu-jie/openwebui-extensions/doc-mirror-sync/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 doc-mirror-sync

Your own site · 80×15
<a href="https://agentmods.dev/instructions/fu-jie/openwebui-extensions/doc-mirror-sync"><img src="https://agentmods.dev/badge/instructions/fu-jie/openwebui-extensions/doc-mirror-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 377 This file is loaded in full into every session.
When invoked 377 The same file — it is already loaded in full.
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.00377 $0.00377
Opus 5.5 $0.00151 $0.00151
Sonnet 5.5 $0.00075 $0.00075
Haiku 4.5 $0.00038 $0.00038

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

Security

Grade A, and why

doc-mirror-sync 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 26d 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.

.kiro/steering/doc-mirror-sync.md · 52 lines

What it actually says

Doc Mirror Sync

Overview

Automates the mirroring of plugins/{type}/{name}/README.md to docs/plugins/{type}/{name}.md.

Docs-Only Mode (No Release Changes)

Use this mode when the request is "only sync docs".

  • Only update documentation mirror files under docs/plugins/**.
  • Do not bump plugin version.
  • Do not modify plugin code (plugins/**.py) unless explicitly requested.
  • Do not update root badges/dates for release.
  • Do not run release preparation steps.

Workflow

  1. Identify changed READMEs.
  2. Copy content to corresponding mirror paths.
  3. Update version badges in docs/plugins/{type}/index.md.

Commands

Sync all mirrors (EN + ZH)

python .github/skills/doc-mirror-sync/scripts/sync.py

Sync only one plugin (EN only)

cp plugins/<type>/<name>/README.md docs/plugins/<type>/<name>.md

Sync only one plugin (EN + ZH)

cp plugins/<type>/<name>/README.md docs/plugins/<type>/<name>.md
cp plugins/<type>/<name>/README_CN.md docs/plugins/<type>/<name>.zh.md

Notes

  • If asked for English-only update, sync only README.md -> .md mirror.
  • If both languages are requested, sync both README.md and README_CN.md.
  • After syncing, verify git diff only contains docs file changes.
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. 26d ago First seen · 52 lines · 377 tokens per session scan A 74e1635fd74c

Subscribe to this mod's changes

doc-mirror-sync is an instructions file published in the GitHub repository Fu-Jie/openwebui-extensions (333 stars, last pushed 27d ago), licensed MIT. It adds 377 tokens to every session, about $0.0015 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-10-11.

Related

doc-mirror-sync compared with instructions from other repositories

doc-mirror-sync next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doc-mirror-syncFu-Jie/openwebui-extensionsInstructions file33327d agoMITA377Kiro
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode