mandu-performance

mandu-performance is a skill for Claude Code, Codex from konamgil/mandu. It costs 49 tokens per session (958 once invoked), scanned A, original, MPL-2.0.

A set of performance-improvement guidelines for Mandu applications, covering request handling, page components, package size, and the Bun JavaScript runtime.

In plain words
What is it for?
Use it when planning or checking changes involving asynchronous code, parallel tasks, lazy loading, caching, routes, or client-side components.
Why use it?
It helps developers find and fix common causes of slow pages or runtimes, such as waiting tasks in sequence, unnecessary code sent to users, and repeated work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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.

agentmods
npx agentmods add skills/konamgil/mandu/mandu-performance
Any agent
npx skills add konamgil/mandu --skill mandu-performance
Clone the repo
git clone --depth 1 https://github.com/konamgil/mandu

Made for: Claude Code, 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 mandu-performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/konamgil/mandu/mandu-performance.svg)](https://agentmods.dev/skills/konamgil/mandu/mandu-performance)
Your own site
<a href="https://agentmods.dev/skills/konamgil/mandu/mandu-performance"><img src="https://agentmods.dev/badge/skills/konamgil/mandu/mandu-performance.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 958 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00049 $0.00958
Opus 5 $0.00024 $0.00479
Sonnet 5 $0.00010 $0.00192
Haiku 4.5 $0.00005 $0.00096

Measured 6d ago against content hash 3691b76a0943, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

mandu-performance 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 6d 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.

docs/archive/skills/mcp-v0/mandu-performance/SKILL.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mandu Performance

Mandu 애플리케이션의 성능 최적화 가이드. 워터폴 제거, 번들 최적화, 캐싱 패턴, Bun 런타임 활용법을 다룹니다. Vercel의 React Best Practices를 Mandu 컨텍스트로 변환하여 적용합니다.

Agent Workflow Contract

This skill is a Domain addendum. It must not replace mandu-agent-workflow. Use it only after mandu.agent.plan selects performance, hydration, route, API, or runtime domains.

Canonical workflow step: plan -> verify -> repair.

Preferred MCP tools:

Step Tools
plan mandu.agent.plan, mandu.agent.context
apply mandu.agent.apply
verify mandu.agent.verify, mandu.build, mandu.run.tests
repair mandu.agent.repair

Allowed file edits:

  • Route, slot, island, or cache code named in the plan
  • Import boundaries that reduce bundle/runtime cost
  • Benchmark/test files scoped to the performance claim

Verification command:

mandu agent verify --changed --json --write

Common failures:

  • Optimizing without a measurable route, bundle, or runtime target
  • Moving server-only code into client islands for convenience
  • Skipping typecheck or targeted tests after cache/import rewrites

Repair path:

mandu agent repair --from .mandu/agent-verify.json --json

When to Apply

Reference these guidelines when:

  • Optimizing slot handler response times
  • Reducing Island component bundle size
  • Implementing caching strategies
  • Working with async/await patterns
  • Leveraging Bun runtime features

Rule Categories by Priority

Priority Category Impact Prefix
1 Async Optimization CRITICAL perf-async-
2 Bundle Optimization CRITICAL perf-bundle-
3 Caching Strategies HIGH perf-cache-
4 Bun Runtime HIGH perf-bun-
5 Rendering MEDIUM perf-render-

Quick Reference

1. Async Optimization (CRITICAL)

  • perf-async-parallel - Use Promise.all() for independent operations
  • perf-async-defer-await - Move await into branches where actually used
  • perf-async-early-start - Start promises early, await late

Read the full file on GitHub · 126 lines

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. 6d ago First seen · 126 lines · 49 tokens per session scan A 3691b76a0943

Subscribe to this mod's changes

mandu-performance is a skill published in the GitHub repository konamgil/mandu (46 stars, last pushed 10d ago), licensed MPL-2.0. It adds 49 tokens to every session and 958 once invoked, about $0.0002 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.