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 skills add Sun-sunshine06/miniprogram-skills --skill miniapp-official-scaffold-alignmentgit clone --depth 1 https://github.com/Sun-sunshine06/miniprogram-skillsWrote 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/sun-sunshine06/miniprogram-skills/miniapp-official-scaffold-alignment)<a href="https://agentmods.dev/skills/sun-sunshine06/miniprogram-skills/miniapp-official-scaffold-alignment"><img src="https://agentmods.dev/badge/skills/sun-sunshine06/miniprogram-skills/miniapp-official-scaffold-alignment/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/sun-sunshine06/miniprogram-skills/miniapp-official-scaffold-alignment"><img src="https://agentmods.dev/badge/skills/sun-sunshine06/miniprogram-skills/miniapp-official-scaffold-alignment.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.00069 | $0.00473 |
| Opus 5.5 | $0.00028 | $0.00189 |
| Sonnet 5.5 | $0.00014 | $0.00095 |
| Haiku 4.5 | $0.00007 | $0.00047 |
Grade A, and why
miniapp-official-scaffold-alignment 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 3mo 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
Miniapp Official Scaffold Alignment
Overview
Use this skill when scaffold correctness is the blocker. Validate the repository shape before changing pages, components, or build settings.
Quick Start
- Read
references/official-scaffold-baseline.md. - Identify the repository root and the miniapp code root.
- Check
project.config.json,app.json, page paths, component file sets, and TypeScript assumptions. - Report what is already valid, what is incomplete or risky, and the smallest next scaffold decision.
Core Rules
- Use only official WeChat documentation for normative claims.
- Prefer the smallest runnable scaffold that matches the project shape.
- Distinguish repository root from miniapp code root.
- If the repo authors in TypeScript, make the compiler-plugin path explicit.
- Require matching path-and-name file quartets for pages and components.
- Write "not yet specified" instead of inventing missing spec details.
Review Checklist
- Does
project.config.jsonpoint at the intended miniapp code root? - Does
app.json.pagesmatch real page folders? - Does every page have matching logic, structure, style, and config files?
- Do custom components declare
component: trueand have matching file sets? - Is TypeScript support explicit rather than implied?
- Does the repo layout leave room for sibling folders such as
docs/, backend code, or tooling?
Output Format
When answering, keep the result short and action-oriented:
- officially valid parts
- missing or risky parts
- recommended scaffold decision
- first edit to make
Resources
references/official-scaffold-baseline.md: official rule summary and practical implicationsreferences/example-prompts.md: reusable trigger examples and evaluation notes
What ships with it
3 files 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.
- 3mo ago First seen · 56 lines · 69 tokens per session scan A ac0d15442de2
miniapp-official-scaffold-alignment is a skill published in the GitHub repository Sun-sunshine06/miniprogram-skills (30 stars, last pushed 1mo ago), licensed MIT. It adds 69 tokens to every session and 473 once invoked, about $0.0003 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-08-30.
miniapp-official-scaffold-alignment compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| miniapp-official-scaffold-alignmentSun-sunshine06/miniprogram-skills | Skill | 30 | 1mo ago | MIT | A | 69 | Codex |
| push-notificationsget-bb/bb | Skill | 6.2k | today | MIT | A | 42 | Claude Code, Codex |
| taro-ui-guidejd-opensource/taro-ui | Skill | 4.7k | 2mo ago | MIT | A | 66 | Claude Code, Codex |
| ios-developmentAnastasiyaW/codex-claude-code-config | Skill | 218 | 3d ago | MIT | A | 188 | Claude Code |
| rozenitecallstackincubator/rozenite | Skill | 682 | 2d ago | MIT | A | 72 | Claude Code, Codex |
| higroedyrustam/vibes-plug | Skill | 130 | 4d ago | MIT | A | 57 | Cursor |
| apple-ecosystem-expertroedyrustam/vibes-plug | Skill | 130 | 4d ago | MIT | A | 42 | Cursor |