ModsCode / Claude Code Mods / Ranking / maiyu
maiyu
Ai-chan, a pixel-art coding companion who celebrates wins, cheers you through losses, and shows the diffs
What it does
- Draws a pane, toasts
- Adds /frens
- Watches tool calls and can refuse them
- Hooks prompt.edit, prompt.submit, session.end, session.start and 4 more
- Keeps its own state between turns
Good points
- Written in TypeScript
- Has a desktop-specific branch
- Handles errors
- Writes no files
Code to start from
A starter ModsCode writes from the drawing it read, and the mod's own lines that draw, where there are any.
Starter (register.tsx)
import type { Register } from 'claude-code'
// Drawn like maiyu by Tristan Tsvetanov (pane, status, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/internet-frens-maiyu/
// Written by ModsCode from that reading, not copied from the mod: use it as you like.
// Each value below stands for one the mod works out at run time; put in your own.
export const register: Register = on => {
// the pane: open it with $.ui.open({ id: 'my-pane', title: "‹name›" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text, Button } = $.ui.resolve(e)
const name = '…'
const progressBar = '…'
const season = '…'
const PART_WORDS = '…'
const chip = '…'
const filter = '…'
const title = '…'
const line = '…'
const line2 = '…'
const line3 = '…'
const dated = '…'
const label = '…'
const tag = '…'
const tag2 = '…'
const tag3 = '…'
const label2 = '…'
const tag4 = '…'
const tag5 = '…'
const tag6 = '…'
const label3 = '…'
const tag7 = '…'
const tag8 = '…'
const tag9 = '…'
const label4 = '…'
const stamp = '…'
const count = '…'
const label5 = '…'
const seen = '…'
const value = '…'
const toMeet = '…'
const voice = '…'
return (
<Box flexDirection="column">
<Box justifyContent="center">
<Box flexDirection="column">
<Box justifyContent="space-between">
<Text bold wrap="truncate">
{name}
</Text>
<Text>
<Text color="#ffc83d">
{" ♥"}
</Text>
<Text color="#ffc83d">
{" ♥"}
</Text>
<Text color="#ffc83d">
{" ♥"}
</Text>
</Text>
</Box>
<Text dimColor wrap="truncate">
{`${progressBar} · ${season} ${PART_WORDS}`}
</Text>
</Box>
</Box>
<Box justifyContent="center">
<Button plain hotkey="s" label={`${chip}`} />
</Box>
<Box flexDirection="column" alignItems="center">
<Text>
▲
</Text>
<Box borderStyle="round" paddingX={1} width="100%">
<Text wrap="wrap">
{filter}
</Text>
</Box>
</Box>
<Box flexDirection="column" borderStyle="round" paddingX={1}>
<Text bold>
{title}
</Text>
<Text wrap="wrap">
{line}
</Text>
<Text wrap="wrap">
{line2}
</Text>
<Text wrap="wrap">
{line3}
</Text>
<Button plain hotkey="k" label="put away" dimColor />
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
<Box width={1} backgroundColor="#3f2611" />
<Box width={1} backgroundColor="#6b3f22" />
<Box width={1} backgroundColor="#e6d7b8" />
<Box flexDirection="column" flexGrow={1} backgroundColor="#ffeedd" paddingLeft={1} paddingRight={1}>
<Box flexDirection="row" justifyContent="space-between">
<Box flexDirection="column">
<Box>
<Box position="absolute" top={1} left={6}>
<Text color="#ffeedd" bold>
Our Journal
</Text>
</Box>
</Box>
<Text color="#a08f76" italic wrap="truncate">
{dated}
</Text>
</Box>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text color="#a08f76" italic>
{label}
</Text>
<Box flexDirection="row" flexWrap="wrap">
<Box flexDirection="column">
<Box flexDirection="row">
</Box>
<Text backgroundColor="#8b5a2b" color="#b07a42">
▀▀▀▀▀▀▀▀
<Text backgroundColor="#8b5a2b" color="#ffeedd" bold>
{tag}
</Text>
▀▀▀▀▀▀▀▀
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
</Box>
<Text backgroundColor="#8b5a2b" color="#b07a42">
▀▀▀▀▀▀▀▀
<Text backgroundColor="#8b5a2b" color="#ffeedd" bold>
{tag2}
</Text>
▀▀▀▀▀▀▀▀
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
</Box>
<Text backgroundColor="#8b5a2b" color="#b07a42">
▀▀▀▀▀▀▀▀
<Text backgroundColor="#8b5a2b" color="#ffeedd" bold>
{tag3}
</Text>
▀▀▀▀▀▀▀▀
</Text>
</Box>
</Box>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text color="#a08f76" italic>
{label2}
</Text>
<Box flexDirection="row" flexWrap="wrap">
<Box flexDirection="column">
<Box flexDirection="row">
</Box>
<Text backgroundColor="#8b5a2b" color="#b07a42">
▀▀▀▀▀▀▀▀
<Text backgroundColor="#8b5a2b" color="#ffeedd" bold>
{tag4}
</Text>
▀▀▀▀▀▀▀▀
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
</Box>
<Text backgroundColor="#8b5a2b" color="#b07a42">
▀▀▀▀▀▀▀▀
<Text backgroundColor="#8b5a2b" color="#ffeedd" bold>
{tag5}
</Text>
▀▀▀▀▀▀▀▀
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
</Box>
<Text backgroundColor="#8b5a2b" color="#b07a42">
▀▀▀▀▀▀▀▀
<Text backgroundColor="#8b5a2b" color="#ffeedd" bold>
{tag6}
</Text>
▀▀▀▀▀▀▀▀
</Text>
</Box>
</Box>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text color="#a08f76" italic>
{label3}
</Text>
<Box flexDirection="row" flexWrap="wrap">
<Box flexDirection="column">
<Box flexDirection="row">
</Box>
<Text backgroundColor="#8b5a2b" color="#b07a42">
▀▀▀▀▀▀▀▀
<Text backgroundColor="#8b5a2b" color="#ffeedd" bold>
{tag7}
</Text>
▀▀▀▀▀▀▀▀
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
</Box>
<Text backgroundColor="#8b5a2b" color="#b07a42">
▀▀▀▀▀▀▀▀
<Text backgroundColor="#8b5a2b" color="#ffeedd" bold>
{tag8}
</Text>
▀▀▀▀▀▀▀▀
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
</Box>
<Text backgroundColor="#8b5a2b" color="#b07a42">
▀▀▀▀▀▀▀▀
<Text backgroundColor="#8b5a2b" color="#ffeedd" bold>
{tag9}
</Text>
▀▀▀▀▀▀▀▀
</Text>
</Box>
</Box>
</Box>
<Text color="#ffeedd">
{" "}
</Text>
<Box flexDirection="row" alignItems="center">
<Box width={13}>
<Text color="#a08f76" italic>
{label4}
</Text>
</Box>
<Box flexDirection="row" flexWrap="wrap" columnGap={1} flexGrow={1} alignItems="center">
<Text color="#3d2f22">
<Text backgroundColor="#f1d98f" color="#7a4f00" bold>
{` ${stamp} `}
</Text>
{`×${count}`}
</Text>
<Text color="#3d2f22">
<Text backgroundColor="#f1d98f" color="#7a4f00" bold>
{` ${stamp} `}
</Text>
{`×${count}`}
</Text>
<Text color="#3d2f22">
<Text backgroundColor="#f1d98f" color="#7a4f00" bold>
{` ${stamp} `}
</Text>
{`×${count}`}
</Text>
</Box>
</Box>
<Box flexDirection="row" alignItems="center">
<Box width={13}>
<Text color="#a08f76" italic>
{label5}
</Text>
</Box>
<Box flexDirection="row" flexWrap="wrap" columnGap={1} flexGrow={1} alignItems="center">
<Text color="#3d2f22">
<Text backgroundColor="#f1d98f" color="#7a4f00" bold>
{` ${stamp} `}
</Text>
{`×${count}`}
</Text>
<Text color="#3d2f22">
<Text backgroundColor="#f1d98f" color="#7a4f00" bold>
{` ${stamp} `}
</Text>
{`×${count}`}
</Text>
<Text color="#3d2f22">
<Text backgroundColor="#f1d98f" color="#7a4f00" bold>
{` ${stamp} `}
</Text>
{`×${count}`}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box width={13}>
<Text color="#a08f76" italic>
moments
</Text>
</Box>
<Box flexDirection="column" flexGrow={1}>
<Text color="#3d2f22" wrap="truncate">
<Text bold>
{`♡ ${name}`}
</Text>
{` ${seen} of ${value} shared`}
</Text>
<Text color="#3d2f22" wrap="truncate">
<Text bold>
{`♡ ${name}`}
</Text>
{` ${seen} of ${value} shared`}
</Text>
<Text color="#3d2f22" wrap="truncate">
<Text bold>
{`♡ ${name}`}
</Text>
{` ${seen} of ${value} shared`}
</Text>
<Text color="#a08f76" italic>
{`${toMeet} still to meet`}
</Text>
</Box>
</Box>
<Text color="#ffeedd">
{" "}
</Text>
<Box flexDirection="row" alignItems="center" columnGap={2}>
<Box flexDirection="column" flexGrow={1}>
<Text color="#3d2f22" italic wrap="wrap">
{voice}
</Text>
<Box justifyContent="flex-end">
<Text italic>
{`— ${name} ♡`}
</Text>
</Box>
</Box>
</Box>
<Box justifyContent="flex-end">
<Text color="#c9a24a">
◢
</Text>
</Box>
</Box>
</Box>
<Box justifyContent="center">
<Button plain hotkey="x" label="close" role="dismiss" dimColor />
</Box>
</Box>
<Text>
{" "}
</Text>
</Box>
)
})
on('session.start', async ($, e, next) => {
const ONE_OF = '…'
const name = '…'
const words = '…'
await $.ui.toast(`✦ ${ONE_OF}! A rare find, in your journal now`)
await $.ui.toast(`${name}: ${name} unlocked, new things to say${words} ✧`)
return next(e)
})
}
The mod's own code
Shown under the mod's licence (MIT); its text is below. Keep the notice if you copy these lines.
hooks/register.tsx lines 2517–2676 · Pane
on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
const elements = $.ui.resolve(e)
const { Box, Button, Code, Text } = elements
// A text field everywhere but the phone, which gets the list alone
const Input = 'Input' in elements ? elements.Input : undefined
const b = await look$($)
const c = byId(await read($, who)) ?? DEFAULT
const worn = await wearingOf($)
const w = await worldOf($)
const sky = w.weather?.sky
const falling = sky === 'rain' || sky === 'drizzle' || sky === 'storm' ? 'rain' : sky === 'snow' ? 'snow' : undefined
// A special day dresses up over the season: its own piece and its own air
// A birthday brings a party hat and streamers; an anniversary, a heart clip and hearts
const isAnniversary = w.special?.id === 'anniversary'
const day = SPECIAL_DAYS.find(d => d.id === (isAnniversary ? 'valentines' : w.special?.id))
const dayLook = w.special?.id === 'birthday' ? BIRTHDAY_HAT : day && wornBy(day, c.id)
const dayAir = w.special?.id === 'birthday' ? 'streamers' : day?.air
// The season, worn and in the air: its piece on them, and petals, sparkles,
// fireflies or leaves around them when nothing's falling. Cold days bring rosy cheeks
const isNight = w.part === 'evening' || w.part === 'night' || w.part === 'lateNight'
const cold = w.weather !== undefined && isCold(w.weather.temperature, w.weather.unit)
// The season in the air: all the time, off, or by default just now and then,
// a few drifting in and out again
const moment = seasonShow === 'full' ? undefined : seasonShow === 'off' ? 0 : seasonMoment(b.frame - (b.stirred ?? NEVER))
const seasonAirNow: Pick<Pose, 'air' | 'airCount'> = moment === 0 ? {} : { air: seasonAir(w.season, isNight), airCount: moment }
// Between the season's moments, the time of day's: fireflies in the evening, stars at night
const daily = daytimeOn ? dayMoment(b.frame) : 0
const seasonal: Pick<Pose, 'air' | 'airCount'> =
seasonAirNow.air !== undefined || daily === 0 || timeAir(w.part) === undefined ? seasonAirNow : { air: timeAir(w.part), airCount: daily }
// Hot: heat rising, a bead of sweat, and fanning themselves when nothing else is going on
const hot = w.weather !== undefined && isHot(w.weather.temperature, w.weather.unit)
// At rest, the time of day shows in how they hold themselves
// Waking up shows over everything else for its few seconds
const wake = wakingNow(b)
const restPart = heldPart ?? (daytimeOn ? w.part : undefined)
const usual = restPart !== undefined && b.mood === 'idle' ? atRest(pose(b, c), restPart, b.frame) : pose(b, c)
const touched = touchingNow(b)
const posed = wake
? { ...usual, ...wakePose(wake.kind, b.frame - wake.at) }
: touched
? { ...usual, ...touchPose(touched.kind, b.frame - touched.at, b.frame) }
: usual
// Now and then, eyes on your pointer
const eyesOn = !wake && !touched ? followingNow(b) : undefined
if (eyesOn) posed.look = eyesOn.look
const isResting = (b.mood === 'idle' || b.mood === 'watching') && !wake
const scene: Pose = {
...posed,
blush: posed.blush || cold,
sweat: posed.sweat || hot,
...(hot && isResting ? { arms: b.frame % 4 < 2 ? 'fanA' : 'fanB' } : {}),
drift: b.frame % 8,
...(hiddenAt(b.frame).length > 0 ? { hidden: hiddenAt(b.frame) } : {}),
...(falling ? { weather: falling } : dayAir ? { air: dayAir } : hot ? { air: 'heat' } : seasonal),
wind: w.weather !== undefined && isWindy(w.weather),
storm: sky === 'storm',
fog: sky === 'fog',
}
// A special day's scene, from the ✦ celebrate button: the prop held up or
// floating beside them, and the scene's own air
const playingNow = await sceneNow($, b, w)
const sceneAt = (await read($, playing))?.at ?? b.frame
if (playingNow) {
scene.arms = playingNow.arms ?? (playingNow.prop ? 'hold' : scene.arms)
if (playingNow.air && !falling) scene.air = playingNow.air
if (playingNow.confetti) scene.confetti = b.frame - sceneAt + 1
}
// A season or what's in the air, previewed: all of it, whatever the weather
if (airPreview !== undefined) {
scene.weather = undefined
scene.airCount = undefined
scene.air = airPreview.air ?? seasonAir(airPreview.season ?? w.season, isNight) ?? 'snowflakes'
}
// A time of day, played: its air at its fullest, whatever the weather
if (heldPart !== undefined) {
scene.weather = undefined
scene.airCount = undefined
scene.air = timeAir(heldPart)
}
// The rare ones in the air come and go by the frame
if (scene.air !== undefined || scene.weather === 'snow') scene.frame = b.frame
if (airPreview?.rare) scene.rare = true
// Leaves fall slowly, on a longer loop of their own
if (scene.air === 'leaves') scene.fall = b.frame % LEAF_CYCLE
// Stars and fireflies twinkle slowly, on a loop of their own
if (scene.air === 'sparkles' || scene.air === 'fireflies') scene.fall = b.frame % TWINKLE
const dressed = dressFor(w.weather)
// Too hot for a scarf, whatever the season
const seasonPiece = airPreview?.season ? [SEASONAL[airPreview.season]] : seasonShow === 'off' ? [] : [SEASONAL[w.season]]
const prop = playingNow?.prop ? [propOn(playingNow.prop, b.frame - sceneAt)] : []
const pieces = [...seasonPiece, ...dressed.pieces, ...(dayLook ? [dayLook] : []), ...prop].filter(p => !(hot && p.slot === 'neck'))
const width = Math.max(13, e.props.bodyColumns)
// A gentle sway while idle
const swing = daytimeOn ? swayOf(w.part) : 16
const sway = b.mood === 'idle' && b.frame % swing >= swing / 2 ? 1 : 0
// Pixel art in a terminal pane: full size where there's room (32 columns,
// 22 rows and the rest of the pane), shrunk to fit where there isn't. An SVG
// of the same where pictures are drawn (the desktop app, the editor, the
// phone). Never text art: where neither can be drawn, they say so
// By the surface, not by what the table holds: every table names them all
const Raster = e.surface === 'terminal' && colorful ? $.ui.resolve(e).Raster : undefined
const Client = e.surface === 'terminal' && colorful && !portraitFailed ? $.ui.resolve(e).Client : undefined
const Svg = e.surface === 'terminal' ? undefined : $.ui.resolve(e).Svg
// The rows left for them: the pane's, less everything else it drew last
// time (8 before it has drawn), so nothing under them pushes their head off the top
const besides = rowsBesides
// As many columns as fit: the pane's width less a column for the sway, its rows less the rest
const fits = Math.min(e.props.bodyColumns - 1, Math.floor(((e.props.scroll.bodyRows - besides) * 2 * WIDTH) / HEIGHT))
const hasRoom = fits >= WIDTH
// Room for more: grown a whole number of times, so the pixels stay square
const scale = hasRoom ? Math.max(1, Math.floor(fits / WIDTH)) : 1
const columns = hasRoom ? WIDTH : Math.max(SMALLEST, fits)
const artRows = Raster !== undefined ? (shrunkHeight(columns) * scale) / 2 : 0
let art
if (Raster !== undefined && hasRoom) {
// The touchable portrait takes the pane's whole width, a column spare for
// the sway, so there's room around them to click and to catch things in
// Grown, the stage is drawn small and grown with them
const stage = Math.floor((width - 1) / scale)
art =
Client !== undefined ? (
<Box marginLeft={sway + Math.floor((width - 1 - stage * scale) / 2)}>
<Client key="portrait" module="./portrait.tsx" props={paintParts(scene, c, worn, pieces, dressed.palette, stage, scale)} width={stage * scale} height={artRows} />
</Box>
) : (
<Box marginLeft={Math.max(0, Math.floor((width - WIDTH * scale) / 2)) + sway}>
<Raster key="portrait" columns={WIDTH * scale} rows={artRows} cells={paint(scene, c, worn, pieces, dressed.palette, 'cells', WIDTH, scale)} />
</Box>
)
} else if (Raster !== undefined) {
art = (
<Box marginLeft={Math.max(0, Math.floor((width - columns) / 2)) + sway}>
<Raster key="portrait" columns={columns} rows={artRows} cells={paint(scene, c, worn, pieces, dressed.palette, 'cells', columns)} />
</Box>
)
} else if (Svg !== undefined) {
// Too much in the air for one picture: them without it
const still = { ...scene, weather: undefined, air: undefined, wind: undefined, storm: undefined, fog: undefined, confetti: 0 }
const source = [scene, still].map(s => paint(s, c, worn, pieces, dressed.palette, 'svg')).find(svg => svg.length <= 131_072)
art = source && (
<Box justifyContent="center">
<Svg key="portrait" source={source} alt={`${c.name}, ${b.mood === 'idle' ? 'relaxing' : b.mood}`} width={WIDTH * 4} />
</Box>
)
} else {
art = <Text wrap="wrap" dimColor>{NO_PICTURES}</Text>
}
const quiet = b.mood === 'idle' || b.mood === 'sleepy' || b.mood === 'break' || b.mood === 'snack' || b.mood === 'coffee'
// Their own color runs through the pane: name, bubble, headings
const theme = hex(c.look.theme)
// Their name, with your hearts and the way to the next one
const bondNow = (await read($, togetherAtom))[c.id]?.points ?? 0
// Five slots: past five hearts they turn gold, one by one
const slots = heartSlots(heartsFor(bondNow))
// Their name and your hearts, then how far to the next heart and the
// moment you're in. A space between hearts: many fonts draw ♥ wider than
// its cell, and side by side they crowd each other
const kinds = [...Array<'gold'>(slots.gold).fill('gold'), ...Array<'pink'>(slots.pink).fill('pink'), ...Array<'empty'>(slots.empty).fill('empty')]
// As wide as the portrait and a little more, centred over it: their name at
// the left, your hearts at the right, and under them how far to the nextLicence text (MIT)
MIT License Copyright (c) 2026 Tristan Tsvetanov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
How to build this: Pane (panel), Deny a tool call
What its code calls
networkruns programsenv varsdrives Claudetool callsremembers
What its code shows
Read from the source at commit 8226ff749082 on 2026-10-11. The first group decides whether a mod is listed; the rest is for you to weigh. A later commit is not read until the next crawl.
| Decides the listing: code you can check | |
|---|---|
| Entry read | Every module hooks/hooks.json names was read.hooks/register.tsx |
| Parses | Every file parses as TypeScript or JavaScript.33 files parsed |
| All its code is in the mod | Every import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod |
| Readable | No minified lines, no eval or new Function, no import of a computed path, no encoded blobs.no minified code, no eval, no encoded blobs |
| Calls in the open | Network and programs are reached as $.http.fetch and $.process.run in place, never passed around.every call outside goes through $ in the open |
| For you to weigh before installing | |
| Where it draws | The terminal, the desktop app, both, or nothing (hooks only: a guard or a prompt rewriter), as its code says. Shown, never a reason to leave a mod out.draws in the terminal and the desktop app, the same in both |
| Install line | Whether its repository's own .claude-plugin/marketplace.json lists it, so it installs from that marketplace with the lines on its page.listed in its repository's .claude-plugin/marketplace.json: installs from there |
| Programs on Windows | Whether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).hooks/register.tsx:1289 notify-send (not on Windows) |
| Network | Whether every fetch names its https host in the code.hooks/register.tsx:575 fetch(geocodeUrl(setting.city ?? '')); hooks/register.tsx:575 fetch(IP_LOOKUP_URL); hooks/register.tsx:599 fetch(forecastUrl(place)); hooks/register.tsx:1248 fetch(USAGE_URL); hooks/register.tsx:1258 fetch(PING_URL) |
| Programs | Whether every program it starts is named in the code and is not a shell, an interpreter or a network tool.hooks/register.tsx:1281 osascript (a shell or interpreter) |
| Reads and sends | Whether it both reads something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reads environment variables and reaches the network |
| Keys in the source | Whether the source holds what looks like an API key or a private key.no keys in the source |
| Licence | An open licence (MIT, Apache-2.0, BSD, ISC, Unlicense, 0BSD, CC0) with its text lets ModsCode show its code; otherwise the code is linked.MIT |
| Settings hooks | Hooks declared in hooks/hooks.json or plugin.json beside the module: a command (a shell when it has no args), an HTTP request, an MCP tool or a model prompt at an event. They run outside $.no settings hooks: its function hooks alone |
| Servers it ships | MCP servers (a program, or a URL; a headersHelper is a shell command; a .mcpb bundle is unpacked at run time), LSP servers, monitors (a shell command for the whole session) and bin/ (on the PATH of the Bash tool).ships no MCP or LSP server, no monitor, no bin/ |
| Skills, commands, agents | What its Markdown declares beyond text: allowed-tools granted for the turn, hooks added when a skill is invoked, a command run before Claude reads the skill.no skills, commands, agents or workflows |
| Tools and MCP | Whether every tool it calls through $.tool.call and $.mcp.call is named in the code, and none is a shell (Bash through the tool runs a shell without $.process).calls no tool, MCP server or command |
| Asks of the model | Completions it runs ($.model.complete, fork, classify), subagents it spawns, prompts it submits as you, and the tools, commands and agents it adds.adds command frens |
| Events it hooks | By what a hook there can do: gates (refuse a tool call, a prompt, a setting, another plugin), shapes (what the model reads: the system prompt, tool descriptions, each request), reads (your input, the events of the settings hooks, every event with *), and the rest.gates: command.run (frens), prompt.submit, tool.call · reads: ui.message, prompt.edit · also: session.start, ui.fault, session.end, ui.render (Spinner, Pane) (+2) · timers: clock.every |
| Reads, by name | The environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.env: TERM, NO_COLOR, COLORTERM |
| Writes, by name | The files and environment variables it names, and whether it changes settings, the prompt box, the clipboard, the conversation (a row the model reads) or another session.writes no files, environment variables, settings or conversation rows |
This is a reading of the code text, not a security review: it does not run the mod, and it cannot see what a program the mod starts does. The check before installing is yours. How mods are chosen
Install it
Check it yourself before you install it. Mods run unsandboxed, with your permissions, and ModsCode does not vouch for what this code does. Read its code (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.
From its marketplace
Its repository is its marketplace. Add that marketplace (in the terminal with these commands, or in the desktop app's plugin settings) and install the mod from it:
/plugin marketplace add internet-frens/maiyu/plugin install maiyu@maiyu/reload-pluginsThis installs the marketplace's latest commit, which may not be the one read here (8226ff749082). Compare them before you install. /reload-plugins loads it into a session that is already open.
Try the commit ModsCode read
No marketplace needed. In a terminal, clone the repository, check out the commit read, validate the mod, and load it for one session:
git clone https://github.com/internet-frens/maiyugit -C maiyu checkout 8226ff7490820b18ad53097df40c87fd38f0d23eclaude plugin validate maiyuclaude --plugin-dir maiyuThe validate line lists the events the mod hooks and what it asks Claude Code to do, without running it. The last line loads the mod for this session only and writes nothing to your settings. If the author has rewritten history, the commit may no longer exist.
Ask Claude about it
With the ModsCode connector added, Claude can read this mod's code and what it reaches, and build on them. Ask it like this:
Read the ModsCode mod "internet-frens-maiyu" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- usage-meterMichael Goldenberg★ 6
- file-explorerIT-BAER★ 1
- github-issuesMarco Carnevali★ 1
- cheap-workerIan Wilson★ 0
- secret-brokercesarroger★ 0
- code-modernizationAnthropic★ 37,653
Badge for your README
If this is your mod, paste this into your README. It links to this page.
[](https://modscode.com/claude-mods/mods/internet-frens-maiyu/)