Borrowing it
Nothing to install: this file belongs to zhinjs/zhin. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/zhinjs/zhin/main/.github/prompts/zhin-create-plugin.prompt.mdgit clone --depth 1 https://github.com/zhinjs/zhinWrote 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/commands/zhinjs/zhin/zhin-create-plugin)<a href="https://agentmods.dev/commands/zhinjs/zhin/zhin-create-plugin"><img src="https://agentmods.dev/badge/commands/zhinjs/zhin/zhin-create-plugin/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/commands/zhinjs/zhin/zhin-create-plugin"><img src="https://agentmods.dev/badge/commands/zhinjs/zhin/zhin-create-plugin.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.00396 |
| Opus 5.5 | $0.00020 | $0.00158 |
| Sonnet 5.5 | $0.00010 | $0.00079 |
| Haiku 4.5 | $0.00005 | $0.00040 |
Grade A, and why
Zhin Create Plugin 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 1mo 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
Load and follow the zhin-plugin-standard-development skill.
Implement the requested Zhin.js plugin work using the repository's standard plugin workflow.
Requirements
- First classify the plugin capability type (commands, middleware, events, cron, components, AI tools, services, database, web) and choose an appropriate structure
- Use the skill assets and references when needed instead of inventing ad hoc layouts
- Prefer minimal viable structure before expanding directories
- Keep implementation aligned with repository conventions, especially
.jsimport extensions anddeclareConfig()usage - When relevant, include commands, middleware, events, components, cron jobs, Contexts, database, router, web console integration, or AI tools
- Validate the critical path after changes
Output Format
输出必须包含以下段落,不能省略:
- 任务类型:属于哪类插件能力(命令/中间件/事件/定时/组件/AI 工具/服务/数据/Web),为什么
- 结构选择:选了哪种目录骨架,判断依据是什么
- 实现内容:创建或修改了哪些文件,核心逻辑说明
- 约定检查:
.js导入、declareConfig()、usePlugin()作用域、生命周期清理是否合规 - 验证结果:已执行的检查(类型/构建/测试/关键路径)及结果
- 残余风险:仅与当前改动直接相关的风险
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.
- 1mo ago First seen · 29 lines · 50 tokens per session scan A 8648fb4d3504
Zhin Create Plugin is a command published in the GitHub repository zhinjs/zhin (136 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 396 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-07.
Other commands, from other repositories
validate-template
Validate CloudFormation template for syntax, security, and best practices.
optimize-nginx
Analyze and optimize nginx configuration for performance, security, and best practices.
coverage-report
Generate and display test coverage report with analysis and recommendations.
smart-commit
Generate and create a commit with a conventional commit message based on staged changes.
create-page
Create a new Next.js page with appropriate rendering strategy and boilerplate.
estimate-azure-cost
Estimate Azure resource costs and provide optimization recommendations.