openwebui-extensions copilot-instructions.md

openwebui-extensions copilot-instructions.md is an instructions file for GitHub Copilot from Fu-Jie/openwebui-extensions. It costs 11,860 tokens per session, scanned A, original, MIT.

Coding and documentation rules for OpenWebUI extensions, including plugin folders, built-in translation support, naming, and required README files.

In plain words
What is it for?
Use it when creating or reviewing an OpenWebUI plugin, its user messages, documentation, folder layout, or versioned release changes.
Why use it?
It keeps plugins consistent and prevents missing language support, documentation, or required code structure.

Instructions file for GitHub Copilot

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 instructions/fu-jie/openwebui-extensions/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/Fu-Jie/openwebui-extensions

Made for: GitHub Copilot.

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 openwebui-extensions copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/fu-jie/openwebui-extensions/copilot-instructions.svg)](https://agentmods.dev/instructions/fu-jie/openwebui-extensions/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/fu-jie/openwebui-extensions/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/fu-jie/openwebui-extensions/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 11,860 This file is loaded in full into every session.
When invoked 11,860 The same file — it is already loaded in full.
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.11860 $0.11860
Opus 5 $0.05930 $0.05930
Sonnet 5 $0.02372 $0.02372
Haiku 4.5 $0.01186 $0.01186

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

Security

Grade A, and why

openwebui-extensions copilot-instructions.md 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/copilot-instructions.md · 1,256 lines

How it starts

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

Copilot Instructions for openwebui-extensions

本文档定义了 OpenWebUI 插件开发的标准规范和最佳实践。Copilot 在生成代码或文档时应遵循这些准则。

This document defines the standard conventions and best practices for OpenWebUI plugin development. Copilot should follow these guidelines when generating code or documentation.


🏗️ 项目结构与命名 (Project Structure & Naming)

1. 语言与代码规范 (Language & Code Requirements)

插件代码 (Plugin Code)

每个插件必须采用单文件国际化 (i18n) 设计。严禁为不同语言创建独立的源代码文件(如 _cn.py)。

  1. 单代码文件: plugins/{type}/{name}/{name}.py
  2. 内置 i18n: 必须在代码中根据前端传来的用户语言(如 __user__ 中的 language 或通过 get_user_language 脚本读取)动态切换界面显示、提示词和状态日志。

示例目录结构:

plugins/actions/export_to_docx/
├── export_to_word.py      # 单个代码文件,内置多语言支持
├── README.md               # 英文文档 (English documentation)
└── README_CN.md            # 中文文档
文档 (Documentation)

尽管代码是合一的,但为了市场展示和 SEO,每个插件目录仍必须包含双语 README 文件:

  • README.md - English documentation
  • README_CN.md - 中文文档
文档交付与审阅 (Documentation Delivery for Review)

当任务涉及文档类内容时,例如 README、Guide、Post、Release Notes、Announcement、Development Docs:

  • 必须同时提供英文版与中文版,方便审阅与校对。
  • 若仓库最终只提交英文文件,也必须在对话中额外提供中文版草稿给维护者 review。
  • 若用户未明确指定只保留单语文件,默认按双语交付处理。
  • 中文版的目标是便于审阅,应忠实对应英文原意,可在表达上自然调整,但不得遗漏风险、限制、步骤或结论。
README 结构规范 (README Structure Standard)

所有插件 README 必须遵循以下统一结构顺序:

  1. 标题 (Title): 插件名称,带 Emoji 图标
  2. 元数据 (Metadata): 作者、版本、项目链接 (一行显示)
    • 格式: **Author:** [Fu-Jie](https://github.com/Fu-Jie) | **Version:** x.x.x | **Project:** [OpenWebUI Extensions](https://github.com/Fu-Jie/openwebui-extensions)
    • 注意: Author 和 Project 为固定值,仅需更新 Version 版本号
  3. 描述 (Description): 一句话功能介绍
  4. 最新更新 (What's New): 必须放在描述之后,仅展示最近 1 次更新
  5. 核心特性 (Key Features): 使用 Emoji + 粗体标题 + 描述格式
  6. 使用方法 (How to Use): 按步骤说明
  7. 配置参数 (Configuration/Valves): 使用表格格式,包含参数名、默认值、描述
  8. 支持 (Support): 必须包含,放在配置参数之后、故障排除之前
    • English: If this plugin has been useful, a star on [OpenWebUI Extensions](https://github.com/Fu-Jie/openwebui-extensions) is a big motivation for me. Thank you for the support.
    • 中文: 如果这个插件对你有帮助,欢迎到 [OpenWebUI Extensions](https://github.com/Fu-Jie/openwebui-extensions) 点个 Star,这将是我持续改进的动力,感谢支持。
  9. 其他 (Others): 支持的模板类型、语法示例、故障排除等
    • Changelog: 统一指向 GitHub 项目历史,不在 README 中列出具体变更

Read the full file on GitHub · 1,256 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 · 1,256 lines · 11,860 tokens per session scan A c8b522ae4a98

Subscribe to this mod's changes

openwebui-extensions copilot-instructions.md is an instructions file published in the GitHub repository Fu-Jie/openwebui-extensions (302 stars, last pushed 1mo ago), licensed MIT. It adds 11,860 tokens to every session, about $0.0593 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.