miniapp-center-hub-refactor

miniapp-center-hub-refactor is a skill for Codex from Sun-sunshine06/miniprogram-skills. It costs 83 tokens per session (535 once invoked), scanned A, original, MIT.

A restructuring guide for WeChat Mini Programs whose main tabs have become hard to navigate. It groups related work into a clearer central hub while keeping detailed flows on their own pages.

In plain words
What is it for?
It helps reorganize top-level navigation, separate frequent actions from less-used settings, and define sections such as inbox, settings, and status.
Why use it?
It addresses confusion about where to handle pending work, settings, integrations, and personal information.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit It helps reorganize top-level navigation, separate frequent actions from less-used settings, and define sections such as inbox, settings, and status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sun-sunshine06/miniprogram-skills/miniapp-center-hub-refactor
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.

Any agent
npx skills add Sun-sunshine06/miniprogram-skills --skill miniapp-center-hub-refactor
Clone the repo
git clone --depth 1 https://github.com/Sun-sunshine06/miniprogram-skills

Made for: Codex.

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 miniapp-center-hub-refactor

README.md
[![agentmods](https://agentmods.dev/badge/skills/sun-sunshine06/miniprogram-skills/miniapp-center-hub-refactor/github.svg)](https://agentmods.dev/skills/sun-sunshine06/miniprogram-skills/miniapp-center-hub-refactor)
Your own site
<a href="https://agentmods.dev/skills/sun-sunshine06/miniprogram-skills/miniapp-center-hub-refactor"><img src="https://agentmods.dev/badge/skills/sun-sunshine06/miniprogram-skills/miniapp-center-hub-refactor/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.

agentmods 80×15 button for miniapp-center-hub-refactor

Your own site · 80×15
<a href="https://agentmods.dev/skills/sun-sunshine06/miniprogram-skills/miniapp-center-hub-refactor"><img src="https://agentmods.dev/badge/skills/sun-sunshine06/miniprogram-skills/miniapp-center-hub-refactor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 535 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00083 $0.00535
Opus 5 $0.00042 $0.00267
Sonnet 5 $0.00017 $0.00107
Haiku 4.5 $0.00008 $0.00053

Measured 11d ago against content hash 9467b8bbc894, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

miniapp-center-hub-refactor 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 11d 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.

skills/miniapp-center-hub-refactor/SKILL.md · 52 lines

What it actually says

Miniapp Center Hub Refactor

Overview

Use this skill when the real problem is information architecture, not just styling or labels. Reach for it when users no longer know where to handle pending work, where to manage settings, or which tab owns integrations and personal state.

Quick Start

  1. Read references/center-hub-playbook.md.
  2. Audit the current top-level tabs, repeated entry points, and detailed pages before moving any routes.
  3. Separate high-frequency action flow from low-frequency settings flow.
  4. Keep the hub as an aggregator and keep detailed pages for flows that still need their own state, forms, or validation.
  5. If the request is only about shortening page text, use miniapp-user-facing-copy-trim instead.

Core Rules

  • Start from user questions, not from the current file tree:
    • what do I need to handle now
    • where do I manage settings or integrations
  • Reduce top-level tabs only when the replacement entry remains obvious.
  • Give the hub internal sections with stable ownership, such as inbox, settings, or status, instead of turning the hub into one unstructured long page.
  • Promote summaries and next actions on the hub; demote long explanation and rarely used detail.
  • Keep detailed pages when the flow has its own form state, validation, filters, or multi-step interaction.
  • Move pages by ownership, not by which old page linked to them.
  • Define a migration map from old entry point to new hub location before deleting or hiding old navigation.
  • Update top-level navigation, route docs, and smoke checks together so structure changes stay reviewable.

Output Format

  1. current navigation problem
  2. proposed hub structure
  3. page ownership and migration map
  4. migration order

Resources

  • references/center-hub-playbook.md: audit checklist, section design rules, and migration guidance
  • references/example-prompts.md: reusable trigger and non-trigger prompts
Files

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.

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. 11d ago First seen · 52 lines · 83 tokens per session scan A 9467b8bbc894

Subscribe to this mod's changes

miniapp-center-hub-refactor is a skill published in the GitHub repository Sun-sunshine06/miniprogram-skills (22 stars, last pushed 1mo ago), licensed MIT. It adds 83 tokens to every session and 535 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

swiftui-expert-skill

Use when writing, reviewing, or refactoring SwiftUI code — state management, view composition, performance, macOS-specific APIs, or iOS 26+ Liquid Glass adoption. Also triggers whenever an Xcode Instruments .trace file is referenced (to analyse it) or the user asks to record a new trace — attach to a running app…

patrickserrano/lacquer · 98 tokens

swiftui-liquid-glass

Implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API. Use when asked to adopt Liquid Glass in SwiftUI UI, refactor to Liquid Glass, or review Liquid Glass usage.

patrickserrano/lacquer · 50 tokens

macos-development

Use when building or debugging a macOS app and the request involves — (1) AppKit/SwiftUI interop or modernizing AppKit code, (2) App Sandbox / file-access entitlement errors, especially "works in Xcode, fails in TestFlight", (3) menu bar commands, keyboard shortcuts, or a menu item stuck disabled, (4) multi-window…

patrickserrano/lacquer · 154 tokens

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

bish-x/bx-dev-skill · 57 tokens

flutter-dev

Flutter cross-platform development guide covering widget patterns, Riverpod/Bloc state management, GoRouter navigation, performance optimization, and platform-specific implementations. Includes const optimization, responsive layouts, testing strategies, and DevTools profiling. Use when: building Flutter apps…

bighardperson/computer-science-skills-collection · 83 tokens

phone-harness

Control the user's phone — iPhone through the Mac's iPhone Mirroring window, or an Android over adb: open apps, tap, type, swipe, read the screen.

ShawnPana/phone-harness · 40 tokens