Mediawiki Page Navigation 标志

Mediawiki Page Navigation

社区
fuzheado
mediawiki-page-navigation

Build navigation systems in MediaWiki — menu bars, subpage hierarchies, breadcrumbs, tabs, and the template logic that powers them. Covers

概览

发布者fuzheado
代码仓库Wikipedia-AI-Skills
技能名称mediawiki-page-navigation
星标数
27
复刻数
10
附带文件
5
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 fuzheado 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Mediawiki Page Navigation AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/mediawiki-page-navigation
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fuzheado/Wikipedia-AI-Skills.git /tmp/Wikipedia-AI-Skills
mkdir -p .claude/skills
cp -r /tmp/Wikipedia-AI-Skills/.claude/skills/mediawiki-page-navigation .claude/skills/mediawiki-page-navigation
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Mediawiki Page Navigation,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Mediawiki Page Navigation。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Mediawiki Page Navigation 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

⚠️ User-Agent required: The API examples below hit Wikimedia endpoints. All requests must include a descriptive User-Agent header. See the wikimedia-api-access skill for the correct format.

📖 Prerequisites: For general template syntax, parser functions, and magic words, see wikipedia-templates. For styling navigation elements (menus, tabs, buttons), see wikimedia-page-styling. For language-aware navigation links, see mediawiki-translate-extension.


Table of Contents

  1. Navigation Patterns Overview
  2. Page Hierarchy with Subpages
  3. The /Sub Template Pattern
  4. Menu Bars
  5. Dynamic Sub-Navigation with #titleparts
  6. Temporal Navigation (This Year / Next Year)
  7. Breadcrumbs
  8. Tab Navigation
  9. Highlighting the Current Page
  10. Table of Contents Control
  11. Combined Navigation + Hero Banner Pattern
  12. Testing and Debugging Navigation
  13. Reference Links

Navigation Patterns Overview

MediaWiki's subpage feature (/ in page titles) enables powerful hierarchical navigation patterns. Combined with template logic and parser functions, you can build:

PatternDescriptionExample
Horizontal menu barTop-of-page navigation linksAvoinGLAM/Main navigation
Subpage navigationAuto-generated links to parent/sibling/child pages`{{#titleparts: {{FULLPAGENAME}}
Dynamic sub-navConditionally loaded sub-menus per page/Sub template pattern
Temporal navYear-based navigation that auto-advances{{CURRENTYEAR}} + #ifexist
BreadcrumbsHierarchical "You are here" trailAvoinGLAM > Past activities
Tab navigationHorizontal tab bar for sub-pagesCommon on Commons
Inline TOC controlShow/hide table of contents__TOC__ / __NOTOC__

How Navigation Templates Work

A navigation template is typically a single template that every page in a project transcludes at the top. It:

  1. Generates a consistent navigation bar across all project pages
  2. Knows what page it's on via {{FULLPAGENAME}}, {{SUBPAGENAME}}, etc.
  3. Highlights the current active page in the menu
  4. Can load additional sub-navigation specific to each page or section
  5. Optionally includes a hero banner behind the navigation

Page Hierarchy with Subpages

MediaWiki allows hierarchical page organization using the subpage feature (forward slash in titles):

AvoinGLAM                         ← Parent page
AvoinGLAM/Past activities         ← Child page (subpage)
AvoinGLAM/Past activities/2023    ← Grandchild page (sub-subpage)

Magic Words for Subpage Hierarchy

Magic WordReturnsExample
{{FULLPAGENAME}}Full page title with namespaceAvoinGLAM/Past activities
{{FULLPAGENAMEE}}URL-encoded full titleAvoinGLAM/Past_activities
{{PAGENAME}}Page title without namespaceAvoinGLAM/Past activities
{{PAGENAMEE}}URL-encoded page nameAvoinGLAM/Past_activities
{{SUBPAGENAME}}Last segment after /Past activities
{{NAMESPACE}}Namespace name(Main) or Template
{{NAMESPACENUMBER}}Namespace number0 for main

Parsing the Hierarchy with #titleparts

The #titleparts parser function splits a title by / and returns specific segments:

{{#titleparts: AvoinGLAM/Past activities | 1 }}    → AvoinGLAM
{{#titleparts: AvoinGLAM/Past activities | 2 }}    → AvoinGLAM/Past activities
{{#titleparts: AvoinGLAM/Past activities | -1 }}   → AvoinGLAM  (last segment removed)
{{#titleparts: AvoinGLAM/Past activities | 2 | 2 }} → Past activities

Common pattern — get the project root:

wikitext
{{#titleparts: {{FULLPAGENAME}} | 1 }}

This extracts the top-level project name from any subpage.

Pattern — get the parent of the current page:

wikitext
{{#titleparts: {{FULLPAGENAME}} | -1 }}

This strips the last segment, giving you the parent page.


The /Sub Template Pattern

The /Sub pattern is a powerful extensibility mechanism. It lets sub-pages of a project inject additional navigation items without modifying the main navigation template.

How It Works

The main navigation template checks if a template named Project/Sub exists and transcludes it if so:

wikitext
{{#ifexist: Template:{{#titleparts: {{FULLPAGENAME}} | 2 }}/Sub
| {{ Template:{{#titleparts: {{FULLPAGENAME}} | 2 }}/Sub }}
}}

For a page at AvoinGLAM/Past activities, this evaluates to:

wikitext
{{#ifexist: Template:AvoinGLAM/Sub
| {{ Template:AvoinGLAM/Sub }}
}}

Example /Sub Template

wikitext
<!-- Template:AvoinGLAM/Past_activities/Sub -->
* [[Special:MyLanguage/AvoinGLAM/Past activities/2023|2023]]
* [[Special:MyLanguage/AvoinGLAM/Past activities/2022|2022]]
* [[Special:MyLanguage/AvoinGLAM/Past activities/2021|2021]]

This would add year-specific links to the navigation bar only when viewing pages under AvoinGLAM/Past activities/.

Context-Aware Sub Navigation

You can also check for a sub-navigation specific to the current menu section:

wikitext
{{#ifexist: Template:Wiki Loves Living Heritage/{{{1}}}/Sub
| {{Template:Wiki Loves Living Heritage/{{{1}}}/Sub}}
}}

Where {{{1}}} is a parameter passed to the navigation template indicating which menu section is active.

Full Pattern from AvoinGLAM

wikitext
{{#ifexist: Template:{{#titleparts: {{FULLPAGENAME}} | 2 }}/Sub
| {{ Template:{{#titleparts: {{FULLPAGENAME}} | 2 }}/Sub}}
}}{{#ifexist: Template:Wiki Loves Living Heritage/{{{1}}}/Sub
| {{Template:Wiki Loves Living Heritage/{{{1}}}/Sub}}
}}

This loads two levels of sub-navigation:

  1. Project-level sub-nav (AvoinGLAM/Sub, AvoinGLAM/Past activities/Sub, etc.)
  2. Section-level sub-nav (Wiki Loves Living Heritage sub-menus)

Menu Bars

Basic Menu Bar Structure (Wikitext)

A horizontal menu is simply a list with a CSS class:

wikitext
<div class="menu">
* [[Special:MyLanguage/Project|Home]]
* [[Special:MyLanguage/Project/This year|This year]]
* [[Special:MyLanguage/Project/Past activities|Past activities]]
* [[Special:MyLanguage/Project/Community|Community]]
</div>

The CSS (loaded via TemplateStyles) converts the bullet list into a horizontal flexbox (see wikimedia-page-styling skill).

Menu with Dynamic Items

wikitext
<div class="menu">
* [[Special:MyLanguage/AvoinGLAM|AvoinGLAM]]
* [[Special:MyLanguage/AvoinGLAM/{{CURRENTYEAR}}|This year]]
{{#ifexist: AvoinGLAM/{{#expr: {{CURRENTYEAR}} + 1 }}
| * [[Special:MyLanguage/AvoinGLAM/{{#expr: {{CURRENTYEAR}} + 1 }}|Next year]]
}}
* [[Special:MyLanguage/AvoinGLAM/Past activities|Past activities]]
</div>

Menu with Active Page Highlighting

MediaWiki automatically adds the mw-selflink class to links pointing to the current page:

css
.menu a.mw-selflink {
    color: #0E65C0;  /* Highlight color for active page */
}

Using Special:MyLanguage/ for i18n Menus

Special:MyLanguage/ is a redirect that follows the user's interface language preference:

wikitext
* [[Special:MyLanguage/AvoinGLAM|AvoinGLAM]]
* [[Special:MyLanguage/AvoinGLAM/Past activities|Past activities]]

This ensures users are directed to the translated version of the page if it exists.

Nested Menu Items (Sub-Menus)

Sub-menus can be handled via the /Sub template pattern or by nesting lists in the menu itself:

wikitext
<div class="menu">
* Main section
** [[Project/Subpage 1|Item 1]]
** [[Project/Subpage 2|Item 2]]
</div>

The CSS can style nested lists as dropdowns or expandable sub-menus.

Menu Parameters in Templates

A navigation template can accept parameters to customize the menu:

wikitext
{{Project/Navigation
  |menu     = activities    ← Which menu section is active
  |image    = File:hero.jpg
  |subtitle = Past events
}}

Dynamic Sub-Navigation with #titleparts

How #titleparts Works on the Current Page

wikitext
{{FULLPAGENAME}}                              → "AvoinGLAM/Past activities"
{{#titleparts: {{FULLPAGENAME}} | 1 }}         → "AvoinGLAM"           (root)
{{#titleparts: {{FULLPAGENAME}} | -1 }}        → "AvoinGLAM"           (parent, stripped last segment)
{{#titleparts: {{FULLPAGENAME}} | 2 | 2 }}     → "Past activities"     (second segment)

Pattern: Build a Link to the Parent Page

wikitext
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}|Up to parent]]

Pattern: Build Links to Sibling Pages

wikitext
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Page1|Page 1]]
[[{{#titleparts: {{FULLPAGENAME}} | -1 }}/Page2|Page 2]]

Pattern: Detect and Link to Sub-Pages

wikitext
{{#ifexist: {{FULLPAGENAME}}/Detail
| [[{{FULLPAGENAME}}/Detail|Detailed view]]
}}

Pattern: Recursive Parent Link Chain (Breadcrumbs)

wikitext
{{#if: {{#titleparts: {{FULLPAGENAME}} | -1 }}  ← Only show if there IS a parent
| [[{{#titleparts: {{FULLPAGENAME}} | -1 }}|← Back to {{#titleparts: {{FULLPAGENAME}} | -1 }}]]
}}

Temporal Navigation (This Year / Next Year)

A common pattern on Meta project pages is auto-advancing year-based navigation.

This Year Link

wikitext
[[Special:MyLanguage/AvoinGLAM/{{CURRENTYEAR}}|This year]]

This always points to the current year's subpage.

Next Year Link (Conditional)

wikitext
{{#ifexist: AvoinGLAM/{{#expr: {{CURRENTYEAR}} + 1 }}
| * [[Special:MyLanguage/AvoinGLAM/{{#expr: {{CURRENTYEAR}} + 1 }}|Next year]]
}}

This only shows a "Next year" link if that page already exists (planning ahead).

Year Range Pattern

For activity indexes spanning multiple years:

wikitext
{{#ifexist: AvoinGLAM/{{CURRENTYEAR}}
| [[AvoinGLAM/{{CURRENTYEAR}}|{{CURRENTYEAR}}]]
}}{{#ifexist: AvoinGLAM/{{#expr: {{CURRENTYEAR}} - 1 }}
| · [[AvoinGLAM/{{#expr: {{CURRENTYEAR}} - 1 }}|{{#expr: {{CURRENTYEAR}} - 1 }}]]
}}

Breadcrumbs

Breadcrumbs show the user's place in the page hierarchy.

Simple Breadcrumb Template

wikitext
<!-- Template:Project/Breadcrumb -->
<div class="breadcrumb">
[[{{#titleparts: {{FULLPAGENAME}} | 1 }}|{{#titleparts: {{FULLPAGENAME}} | 1 }}]]
{{#if:{{#titleparts: {{FULLPAGENAME}} | 2 | 2 }}|
  › [[{{#titleparts: {{FULLPAGENAME}} | 2 }}|{{#titleparts: {{FULLPAGENAME}} | 2 | 2 }}]]
}}
{{#if:{{#titleparts: {{FULLPAGENAME}} | 3 | 3 }}|
  › {{#titleparts: {{FULLPAGENAME}} | 3 | 3 }}
}}
</div>

For AvoinGLAM/Past activities/2023, this renders:

AvoinGLAM › Past activities › 2023

CSS for Breadcrumbs

css
.breadcrumb {
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin: 0.5em 0;
    padding: 0;
}
.breadcrumb a {
    color: #0E65C0;
    text-decoration: none;
}

Tab Navigation

Tab navigation creates a horizontal bar of tabs for switching between sub-pages.

Wikitext Structure

wikitext
<div class="tabs">
{{#ifeq: {{SUBPAGENAME}} | Overview
  | <span class="tab active">Overview</span>
  | [[Project/{{BASEPAGENAME}}/Overview|<span class="tab">Overview</span>]]
}}
{{#ifeq: {{SUBPAGENAME}} | Details
  | <span class="tab active">Details</span>
  | [[Project/{{BASEPAGENAME}}/Details|<span class="tab">Details</span>]]
}}
{{#ifeq: {{SUBPAGENAME}} | History
  | <span class="tab active">History</span>
  | [[Project/{{BASEPAGENAME}}/History|<span class="tab">History</span>]]
}}
</div>

CSS for Tabs

css
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #0E65C0;
    margin: 1rem 0;
}

.tab {
    padding: 0.5rem 1.5rem;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    color: #666;
    text-decoration: none;
    border-radius: 8px 8px 0 0;
    transition: 0.2s;
}

.tab.active {
    background: #0E65C0;
    color: white;
}

.tab:hover:not(.active) {
    background: #f1f4f6;
}

Highlighting the Current Page

MediaWiki automatically adds mw-selflink to the link pointing to the current page. This can be styled:

css
.menu a.mw-selflink {
    color: #0E65C0;
    font-weight: bold;
}

For custom navigation not using wiki links, use #ifeq to check the page name:

wikitext
{{#ifeq: {{FULLPAGENAME}} | AvoinGLAM/Past activities
  | <strong>Past activities</strong>
  | [[AvoinGLAM/Past activities|Past activities]]
}}

Or check the subpage name:

wikitext
{{#ifeq: {{SUBPAGENAME}} | Past activities
  | <span class="active">Past activities</span>
  | [[Project/Past activities|Past activities]]
}}

Table of Contents Control

TOC Magic Words

WordEffect
__TOC__Insert TOC at this exact position
__NOTOC__Hide the TOC entirely
__FORCETOC__Force TOC to appear before first heading

Toggle TOC via Template Parameter

The AvoinGLAM navigation template lets pages decide whether to show the TOC:

wikitext
{{#ifeq: {{{TOC|}}}|Show|__TOC__|__NOTOC__}}

Usage on the page:

wikitext
{{Project/Navigation|TOC=Show}}

This defaults to hiding the TOC (cleaner look for visually rich pages) but allows individual pages to opt-in.


Combined Navigation + Hero Banner Pattern

The most advanced pattern combines a hero banner (full-width image with overlaid text) with a navigation menu bar below it. This is what {{AvoinGLAM/Main navigation}} does.

Template Structure

wikitext
<templatestyles src="Project/style.css" />

{{#tag:div
|<!-- Full-width hero image -->
{{#tag:div
|[[{{{image|File:default.jpg}}}|1500px]]
|class=mainimage
}}
<!-- Title and metadata overlaid on the image -->
<div class="header">
  <div class="bannertitle">{{{title|}}}</div>
  <div class="bannerbody">{{{subtitle|}}}</div>
  <div class="bannertime">{{{startdate|}}} {{{location|}}}</div>
</div>
<!-- Invisible clickable link over the whole banner -->
{{#tag:span|[[File:Pix.gif|link={{{eventpage|}}}]]|class=emptylink}}
|class=banner
}}

<!-- Navigation menu below the banner -->
<div class="menu">
* [[Special:MyLanguage/Project|Home]]
* [[Special:MyLanguage/Project/Past activities|Past activities]]
{{#ifexist: Template:{{#titleparts: {{FULLPAGENAME}} | 2 }}/Sub
| {{Template:{{#titleparts: {{FULLPAGENAME}} | 2 }}/Sub}}
}}
</div>

Parameters for the Combined Template

ParameterPurposeExample
imageHero background imageFile:banner.jpg
titleLarge overlay titleAvoinGLAM
subtitleSmaller subtitlePast activities
startdate / enddateDate badge display2024-05-06
locationEvent locationHelsinki
eventpageLink target of the bannerProject/Event
classImage position classtop, person
TOCShow TOC toggleShow
1 (positional)Active menu section nameactivities

Testing and Debugging Navigation

Manual Tests

TestWhat to Check
Root pageDoes the menu show all top-level items? Is the current page highlighted?
SubpageDoes the subpage inherit the same menu? Is /Sub template loaded if it exists?
Non-existent pageDoes #ifexist correctly hide conditional links?
Year rolloverDoes {{CURRENTYEAR}} + 1 link only show when the page exists?
Language variantDo Special:MyLanguage/ links resolve correctly?

Debugging with Parse API

bash
# See what the fully expanded navigation template produces
curl -s "https://meta.wikimedia.org/w/api.php?action=expandtemplates&text={{:AvoinGLAM/Past_activities}}&prop=wikitext&format=json" \
  -H "User-Agent: MyTool/1.0"

Checking Template Transclusion

bash
# Verify all templates used on the page (including sub-nav templates)
curl -s "https://meta.wikimedia.org/w/api.php?action=query&prop=templates&titles=AvoinGLAM/Past%20activities&format=json" \
  -H "User-Agent: MyTool/1.0"

Reference Links

ResourceURL
MediaWiki subpagesmediawiki.org/wiki/Help:Subpages
#titleparts parser functionmediawiki.org/wiki/Help:Magic_words#titleparts
Special:MyLanguagemediawiki.org/wiki/Help:Special_MyLanguage
{{CURRENTYEAR}} and other variablesmediawiki.org/wiki/Help:Magic_words#Date_and_time
Template transclusion APImediawiki.org/wiki/API:Properties#templates
Skill: Templateswikipedia-templates
Skill: Page stylingwikimedia-page-styling
Skill: Translate extensionmediawiki-translate-extension
Skill: API accesswikimedia-api-access
Skill: Codex componentswikimedia-codex

Tooling

This skill includes helper scripts, reference docs, and template code.

🔧 Navigation Inspector (scripts/navigation-inspector.sh)

Analyze the navigation structure of a page — menu templates, subpage hierarchy, /Sub templates, link tree:

bash
# Show navigation structure for a page
./scripts/navigation-inspector.sh "AvoinGLAM/Past activities" --wiki meta

# Show full link tree (all linked pages)
./scripts/navigation-inspector.sh "Project/Page" --links

# Show subpage hierarchy
./scripts/navigation-inspector.sh "Project/Page/Subpage" --hierarchy

🔧 Expand Navigation Template (scripts/expand-navigation.sh)

Expand a navigation template call to see the fully rendered wikitext output:

bash
# Expand with parameters
./scripts/expand-navigation.sh "Project/Navigation" "image=File:hero.jpg|title=My Project"

# Expand with the current page context
./scripts/expand-navigation.sh "Project/Navigation" --page "Project/Subpage"

📚 Navigation Pattern Catalog (references/navigation-patterns.md)

Complete catalog of navigation patterns with ready-to-use wikitext:

  • Horizontal menu bar (with active state)
  • Vertical sidebar menu
  • Tab navigation
  • Dropdown sub-menus
  • Breadcrumb trails
  • Year-based temporal navigation
  • Language-switching menu
  • Pagination (page numbers)
  • Search + filter navigation
  • Multi-level accordion

🐍 Navigation Analyzer (assets/navigation_analyzer.py)

Given a page, trace its navigation template hierarchy, subpage structure, and link tree:

bash
# Full analysis of a page's navigation
python3 assets/navigation_analyzer.py "AvoinGLAM/Past activities" --wiki meta

# Visualize the page hierarchy tree
python3 assets/navigation_analyzer.py "Project" --tree

# Show conditional navigation (what #ifexist would match)
python3 assets/navigation_analyzer.py "Project/Subpage" --conditionals

🧪 Test Suite (tests/)

Test scripts for verifying navigation template logic:

bash
# Run all navigation tests
python3 -m pytest tests/

# Test #titleparts parsing patterns
python3 -m pytest tests/test_titleparts.py

# Test temporal navigation patterns
python3 -m pytest tests/test_temporal_nav.py

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Mediawiki Page Navigation AI 技能有什么作用?

Build navigation systems in MediaWiki — menu bars, subpage hierarchies, breadcrumbs, tabs, and the template logic that powers them. Covers

为什么在 TypingMind 中使用 Mediawiki Page Navigation?

因为您只需安装一次,就能搭配任何模型使用。Mediawiki Page Navigation 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Mediawiki Page Navigation?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/mediawiki-page-navigation。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Mediawiki Page Navigation?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Mediawiki Page Navigation 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Mediawiki Page Navigation 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Mediawiki Page Navigation AI 技能免费吗?

是的。fuzheado 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇