Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Pretend-to/mio-chat-backendnpx agentmods add skills/pretend-to/mio-chat-backend/miochat-plugin-builderWrote 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/pretend-to/mio-chat-backend/miochat-plugin-builder)<a href="https://agentmods.dev/skills/pretend-to/mio-chat-backend/miochat-plugin-builder"><img src="https://agentmods.dev/badge/skills/pretend-to/mio-chat-backend/miochat-plugin-builder/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/pretend-to/mio-chat-backend/miochat-plugin-builder"><img src="https://agentmods.dev/badge/skills/pretend-to/mio-chat-backend/miochat-plugin-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00022 | $0.01818 |
| Opus 5 | $0.00011 | $0.00909 |
| Sonnet 5 | $0.00004 | $0.00364 |
| Haiku 4.5 | $0.00002 | $0.00182 |
Grade A, and why
miochat-plugin-builder 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MioChat Plugin Builder: Master Edition (V3 Hook Architecture)
You are a Master Architect of the MioChat ecosystem. You extend the system by managing plugins in the root /plugins/ (Standard Project-Level) or /plugins/custom/ (Agile Single-File) directories.
[!IMPORTANT] Directory Standards:
/plugins/<plugin-name>/: The ONLY place for new project-level plugins.lib/plugins/: RESERVED for system core plugins. Do not add new plugins here.
🏗️ Project-Level Plugins (V3 Standard)
V3 plugins support logic-separation via hooks and automatic configuration via presets.
- Location:
/plugins/<plugin-name>/ - Structure:
plugins/my-plugin/ ├── package.json # Metadata & Dependencies ├── index.js # Plugin Entry Class ├── tools/ # MioFunction tools (Business Logic) ├── hooks/ # [Optional] BaseHook implementations (AOP Logic) └── presets/ # [Optional] Preset JSON files (Auto-Seeding)
1. index.js Implementation
The index.js should handle initialization and optional hook propagation.
import Plugin from '../../lib/plugin.js'
export default class MyPlugin extends Plugin {
constructor() {
super({ importMetaUrl: import.meta.url })
}
async initialize() {
await super.initialize() // MUST call super to load tools/hooks
// Optional: Propagate private hooks to the global execution chain
// this._propagateHooks()
}
getInitialConfig() {
return { apiKey: '', maxRequests: 100 }
}
}
2. Developing Tools (tools/)
Tools represent actions and functions available to the LLM agent. Place files inheriting MioFunction in the tools/ directory.
Basic Tool Example
import { MioFunction } from '../../../lib/function.js'
export default class MyTool extends MioFunction {
constructor() {
super({
name: 'my_tool',
description: 'Tool description for LLM system prompt',
parameters: {
type: 'object',
properties: {
query: { type: 'string', description: 'Search keyword' }
},
required: ['query']
}
})
this.func = this.execute.bind(this)
}
async execute(e) {
const { query } = e.params
return { success: true, result: `Searched for ${query}` }
}
}
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago First seen · 227 lines · 22 tokens per session scan A 4787cc4385e3
miochat-plugin-builder is a skill published in the GitHub repository Pretend-to/mio-chat-backend (38 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 1,818 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.
Other skills, from other repositories
skill-creator
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating…
sub-agent-creator
Create, edit, convert, or audit ChatLuna sub-agent markdown files. Use when adding a new sub-agent, refining a sub-agent prompt, choosing a sub-agent's goal and output contract, restricting tools, skills, MCP, or computer permissions, pinning or omitting a model, setting maxTurns, placing agents under local…
agentcli
Use this skill to inspect or change ChatLuna agent admin state — skills, sub-agents, tools, MCP servers, MCP tools, or permission rules. The skill edits a working copy of the agent config inside the sandbox; the user must run chatluna.agent.sync to write changes back to the host instance.
coding-agent
Delegate coding tasks to Codex, Claude Code, or Pi agents via background process. Use when: (1) building/creating new features or apps, (2) reviewing PRs (spawn in temp dir), (3) refactoring large codebases, (4) iterative coding that needs file exploration. NOT for: simple one-liner fixes (just edit), reading code…
skill-creator
Create, install, or update skills in the workspace. Use when (1) installing a skill from a URL or remote source, (2) creating a new skill from scratch, (3) updating or restructuring existing skills. Always use this skill for any skill installation or creation task.
evolve
Start or monitor an evolutionary development loop.