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.
npx agentmods add commands/hoshikitsunoda/figma-plugins-vibe-coding-template/explain-plugingit clone --depth 1 https://github.com/hoshikitsunoda/figma-plugins-vibe-coding-templateWrote 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/hoshikitsunoda/figma-plugins-vibe-coding-template/explain-plugin)<a href="https://agentmods.dev/commands/hoshikitsunoda/figma-plugins-vibe-coding-template/explain-plugin"><img src="https://agentmods.dev/badge/commands/hoshikitsunoda/figma-plugins-vibe-coding-template/explain-plugin.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.00401 |
| Opus 5 | $0.00000 | $0.00200 |
| Sonnet 5 | $0.00000 | $0.00080 |
| Haiku 4.5 | $0.00000 | $0.00040 |
Grade A, and why
explain-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 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.
What it actually says
Explains how the current plugin works in plain English.
What it does:
- Reads the codebase and generates a beginner-friendly explanation
- Describes what the plugin does from a user's perspective
- Explains the internal flow: plugin → UI → plugin messaging
- Lists key files and their roles
Usage: /explain_plugin
Output: Generates a markdown report at .cursor/reports/explain-plugin.md
Report format:
- What this plugin does — 1-2 sentence summary from user's perspective
- How it works — Plain-English explanation of the flow
- Key files — What each important file does
- Message flow — How plugin and UI communicate
- UI components — What the user sees and interacts with
Steps
-
Read key files
manifest.json— plugin name and configurationsrc/shared/messages.ts— message types between threadssrc/plugin/main.ts— plugin logic and handlerssrc/ui/App.tsx— UI components and interactions
-
Analyze the plugin
- What triggers actions? (button clicks, selection changes)
- What messages are sent between plugin and UI?
- What does the UI display?
- What Figma API operations does it perform?
-
Generate explanation
- Write in plain English, avoid jargon
- Use analogies if helpful
- Focus on "what" and "why", not implementation details
-
Save report
- Create
.cursor/reports/directory if it doesn't exist - Save to
.cursor/reports/explain-plugin.md - Tell user where to find the report
- Create
Approach: Explain as if to someone who has never seen the code. Focus on user-facing behavior first, then internal mechanics. Keep it concise but complete enough to understand the full picture.
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.
- 4d ago First seen · 47 lines · 0 tokens per session scan A b9f45f2b2879
explain-plugin is a command published in the GitHub repository hoshikitsunoda/figma-plugins-vibe-coding-template (21 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 401 tokens. 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 commands, from other repositories
review
Cold re-quiz on code that already shipped — your own session commits, not the change in front of you.
learn-story-flow
Learn story-flow concepts with interactive guidance for junior developers.
no-vibe
Enter no-vibe mode in OpenCode (tutor mode, no direct project file writes).
setup-content
Lesson command — 教材コンテンツの初回セットアップ.
learn
LEARN MODE - Explains concepts with a gentle, Socratic, and human-like coaching persona.
OPSX: Onboard
Guided onboarding - walk through a complete OpenSpec workflow cycle with narration.