container

container is a command for Claude Code from jiushiwon/wg-skills. It costs 0 tokens per session (2,939 once invoked), scanned A, original, Apache-2.0.

A set of mobile interface building blocks for avatars, cards, forms, navigation bars, pop-ups, and bottom menus. They provide consistent layouts and behaviors such as sizing, borders, clicks, and overlays.

In plain words
What is it for?
Use it when building a UniApp mobile interface with reusable user images, cards, form rows, navigation, pop-ups, or tab menus.
Why use it?
It avoids rebuilding common interface containers and keeping their appearance consistent by hand. It also gives related components a shared structure.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it when building a UniApp mobile interface with reusable user images, cards, form rows, navigation, pop-ups, or tab menus.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jiushiwon/wg-skills/container
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.

Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills

Made for: Claude Code.

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 container

README.md
[![agentmods](https://agentmods.dev/badge/commands/jiushiwon/wg-skills/container/github.svg)](https://agentmods.dev/commands/jiushiwon/wg-skills/container)
Your own site
<a href="https://agentmods.dev/commands/jiushiwon/wg-skills/container"><img src="https://agentmods.dev/badge/commands/jiushiwon/wg-skills/container/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 container

Your own site · 80×15
<a href="https://agentmods.dev/commands/jiushiwon/wg-skills/container"><img src="https://agentmods.dev/badge/commands/jiushiwon/wg-skills/container.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,939 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.00000 $0.02939
Opus 5.5 $0.00000 $0.01176
Sonnet 5.5 $0.00000 $0.00588
Haiku 4.5 $0.00000 $0.00294

Measured yesterday against content hash fe65cbada514, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

container 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 yesterday.

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.

vibeCoding/frontend/uniapp/uniapp-base-skill/commands/container.md · 225 lines

How it starts

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

根容器组件(container)

实现真源:vibeCoding/frontend/uniapp/uniapp-base-skill/(本模块即实现层) 本文件由 components/_registry.json + 各组件 props.json 同步生成,改实现必须重新生成本文件。 重新生成:node scripts/gen-commands.js

总览

组件 说明 别名 类型
base-avatar 根容器:统一头像渲染(图片 / 文字兜底 / 4 档尺寸 / 圆形或圆角 / 点击事件) 头像 / avatar / 用户头像 / 圆形头像 容器
base-card 根容器:统一卡片外壳(圆角 / 背景 / 描边 / 阴影 / 头尾插槽 / 左侧图片)。所有内容型组件都必须基于它扩展 卡片 / card / base-card / 卡片容器 / 面板外壳 / 面板 / 列表项外壳 容器
base-form-item 根容器:表单行外壳(标签列 + 必填星号 + 控件插槽 + 错误提示) 表单项 / form-item / base-form-item / 表单行 / 输入行 容器
base-navbar 根容器:状态栏占位 + 单行导航(返回 + 居中标题 + 右侧插槽 / 胶囊) 导航栏 / navbar / 顶部导航 / 自定义导航 容器
base-popup 根容器:5 方向弹窗 / 抽屉(top / bottom / left / right / center)+ 遮罩 + 安全区,内容内置 base-card 弹窗 / popup / base-popup / 弹层 / 抽屉外壳 容器
base-tabbar 根容器:2~5 个菜单项(图标 + 文字 + 角标),激活项主题色高亮 底部导航 / tabbar / 底部菜单 / 自定义 tabbar 容器

base-avatar 头像容器

说明:根容器:统一头像渲染(图片 / 文字兜底 / 4 档尺寸 / 圆形或圆角 / 点击事件)

别名:头像、avatar、用户头像、圆形头像

路径:vibeCoding/frontend/uniapp/uniapp-base-skill/containers/base-avatar/

属性:

名称 类型 默认值 说明
src string 图片地址
name string 昵称,优先取末两字
size 'sm' | 'md' | 'lg' | 'xl' md 尺寸档
round boolean true 是否圆形(false 时用圆角矩形)
mode 'aspectFill' | 'aspectFit' | 'widthFix' | 'scaleToFill' aspectFill 图片裁剪模式
fallback string 兜底文字,不传则由 name 推导

事件:

  • click

base-card 卡片容器

说明:根容器:统一卡片外壳(圆角 / 背景 / 描边 / 阴影 / 头尾插槽 / 左侧图片)。所有内容型组件都必须基于它扩展

别名:卡片、card、base-card、卡片容器、面板外壳、面板、列表项外壳

路径:vibeCoding/frontend/uniapp/uniapp-base-skill/containers/base-card/

属性:

名称 类型 默认值 说明
title string 卡片标题(也可用 header 插槽完全自定义)
radius string var(--radius-card, 24rpx) 圆角
padding string var(--space-4, 16rpx) 内边距
background string var(--bg-card, #ffffff) 背景色
margin string 0 外边距
width string 100% 宽度
height string auto 高度
minHeight string 最小高度,为空不生效
border boolean | string false 描边:true 用主题 --border,也可直接传 CSS 边框值
shadow boolean | string false 阴影:true 用主题 --shadow-sm,也可直接传 CSS 阴影值
clickable boolean false 是否可点击(触发 click 并带按压反馈)
gap string var(--space-3, 12rpx) header / body / footer 之间的垂直间距
image string 左侧图片地址
imageSize string var(--height-avatar-md, 80rpx) 左侧图片尺寸
imageRadius string var(--radius-image, 16rpx) 左侧图片圆角

Read the full file on GitHub · 225 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. yesterday Changed · +5 lines fe65cbada514
  2. 3d ago First seen · 220 lines · 0 tokens per session scan A 2f38c088693b

Subscribe to this mod's changes

container is a command published in the GitHub repository jiushiwon/wg-skills (121 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,939 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-10-23.