navigation

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

A set of navigation components for app screens, including top bars, bottom tabs, top tabs, and side menus.

In plain words
What is it for?
Use it to add page headers, back buttons, tab navigation, fixed menus, and sidebar navigation.
Why use it?
It avoids rebuilding common ways for users to move between pages and sections.

Command for Claude Code

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

Good fit Use it to add page headers, back buttons, tab navigation, fixed menus, and sidebar navigation.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/jiushiwon/wg-skills/navigation"><img src="https://agentmods.dev/badge/commands/jiushiwon/wg-skills/navigation.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 860 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.00860
Opus 5 $0.00000 $0.00430
Sonnet 5 $0.00000 $0.00172
Haiku 4.5 $0.00000 $0.00086

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

Security

Grade A, and why

navigation 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 7d 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.

vibeCoding/frontend/uniapp/uniapp-ui-component-commands-skill/commands/navigation.md · 130 lines

How it starts

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

导航类组件

说明:自定义顶部导航栏,支持返回按钮、标题、右侧操作、胶囊按钮

别名:导航栏、header、头部、顶部菜单

属性

名称 类型 默认值 说明
title string '' 标题文字
showBack boolean true 显示返回按钮
fixed boolean false 固定顶部
background string #fff 背景色
titleColor string #1C1C1E 标题颜色
capsuleRight array [] 右侧胶囊按钮配置

事件

  • back:点击返回按钮
  • rightClick:点击右侧区域

插槽

  • default:默认内容(标题)
  • left:左侧区域
  • right:右侧区域

用法

<nav-bar title="首页" :show-back="false" fixed />
<nav-bar title="详情">
  <template #right>
    <view class="share-btn">分享</view>
  </template>
</nav-bar>

tab-bar 底部Tab栏

说明:底部Tab切换,支持图标+文字、选中态

别名:底部导航、tab切换、底部菜单

属性

名称 类型 默认值 说明
tabs array [] Tab配置 [{name, icon, activeIcon}]
current number 0 当前选中索引
fixed boolean false 固定底部
background string #fff 背景色

事件

  • change:切换Tab时触发

用法

<tab-bar :tabs="[
  { name: '首页', icon: 'home', activeIcon: 'home-fill' },
  { name: '我的', icon: 'user', activeIcon: 'user-fill' }
]" @change="onTabChange" />

top-tab 顶部Tab切换

说明:顶部Tab横向滚动切换

别名:顶部tab、分类切换

属性

名称 类型 默认值 说明
tabs array [] Tab配置 [{name, id}]
current number 0 当前选中
scroll boolean true 超出滚动

用法

<top-tab :tabs="['推荐', '热门', '最新']" v-model="current" />

side-menu 侧边栏菜单

说明:侧边栏抽屉菜单

别名:侧边导航、抽屉

属性

名称 类型 默认值 说明
show boolean false 显示状态
width string 80% 抽屉宽度

事件

  • close:关闭时触发

用法

<side-menu :show.sync="showDrawer">
  <view class="menu-list">菜单内容</view>
</side-menu>

说明:路径导航

别名:路径导航

属性

名称 类型 默认值 说明
items array [] 路径项 [{name, path}]

用法

<breadcrumb :items="[
  { name: '首页', path: '/' },
  { name: '分类', path: '/category' },
  { name: '详情' }
]" />

Read the full file on GitHub · 130 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. 7d ago First seen · 130 lines · 0 tokens per session scan A 938a8d3e436a

Subscribe to this mod's changes

navigation is a command published in the GitHub repository jiushiwon/wg-skills (99 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 860 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-09-03.