Agent skill

Fumadocs Page Tree

by aidenlx in aidenlx/zotlit

Structure a Fumadocs page tree — content folders, meta.json, slugs, sidebar.

AGPL-3.0Auto-check passed

Install Fumadocs Page Tree

skills CLI
$ npx skills add aidenlx/zotlit --skill fumadocs-page-tree -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aidenlx/zotlit fumadocs-page-tree --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aidenlx/zotlit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/fumadocs-page-tree .claude/skills/fumadocs-page-tree && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fumadocs-page-tree
GitHub stars
1k
Token cost
~840 tokens
SKILL.md length
347 words
Files
1
Skills in repo
16
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Structure a Fumadocs page tree — content folders, meta.json, slugs, sidebar.

  • Reordering doc pages under a content directory
  • SKILL.md covers Slugs, meta.json, Clickable section header… and Sidebar expansion
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Editing a meta.json

What it does

Fumadocs Page Tree is an agent skill from aidenlx/zotlit. Structure a Fumadocs page tree — content folders, meta.json, slugs, sidebar. Use when adding, moving, or reordering doc pages under a content directory, editing a meta.json, creating sidebar sections (folder groups, clickable section headers), or controlling sidebar expansion.

Its SKILL.md is about 840 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Bring your Zotero library into Obsidian. Create literature notes, insert citations, and annotate PDFs without leaving your vault. The licence is AGPL-3.0.

When your agent uses it

  • Reordering doc pages under a content directory
  • Editing a meta.json
  • Creating sidebar sections (folder groups
  • Clickable section headers)

Example prompts

  • “/fumadocs-page-tree”

What it can do on your machine

Read from SKILL.md and the folder at commit 27f5752. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fumadocs Page Tree loads about 840 tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 347 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~74
When it runs · the whole SKILL.md, loaded when a task matches
~840

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aidenlx/zotlit at commit 27f5752, republished under its AGPL-3.0 licence (© aidenlx). 347 words, ~840 tokens.

Download SKILL.mdSave it as .claude/skills/fumadocs-page-tree/SKILL.md (or your agent's skills folder).
name
fumadocs-page-tree
description
Structure a Fumadocs page tree — content folders, meta.json, slugs, sidebar. Use when adding, moving, or reordering doc pages under a content directory, editing a meta.json, creating sidebar sections (folder groups, clickable section headers), or controlling sidebar expansion.

Fumadocs page tree

Page URLs and the sidebar both derive from the content directory layout plus per-folder meta.json. This file covers the load-bearing rules and the traps; verify anything beyond it against the local checkout ~/repo/fumadocs — conventions in apps/docs/content/docs/headless/page-conventions.mdx, ground truth in packages/core/src/source/plugins/slugs.ts (slugs) and packages/core/src/source/page-tree/builder.ts (tree). In this repo fumadocs-ui is aliased to @fumadocs/base-ui (packages/base-ui in the checkout); the layout API is identical.

Slugs

  • dir/page.mdx → /docs/dir/page; dir/index.mdx → /docs/dir.
  • A parenthesized folder (name)/ is slug-transparent: stripped from slugs, so children keep parent-level URLs. Use it for sidebar-only grouping.
  • Each URL may appear once in the entire tree — duplicates are an error by design.

meta.json

Folder fields: title, icon, description, defaultOpen, collapsible, root, pages, pagesIndex.

pages entry syntax:

EntryMeaning
"page" / "dir"path to a page or folder (relative paths allowed)
"(group)"folder group, referenced by its literal name
"---Label---"separator (icon form: ---[Icon]Label---)
"[Text](url)"link; external:[Text](url) marks it external
"..." / "z...a"remaining items, alphabetical / reversed
"...dir"inline a folder's items into this level
"!item"exclude from ...
  • pages is exhaustive: once present, unlisted items are dropped unless ... appears. Use an explicit array to pin sidebar order.
  • "root": true makes a root folder: rendered as layout tabs, and only the active root's items are visible.

Clickable section header (folder index)

A folder containing an index page attaches it as the folder's own link: the header becomes clickable and the index leaves the child list.

  • Keep pages free of "index" — the index auto-resolves. Listing it demotes the folder to a plain label with the index as an ordinary child row (builder.ts deletes node.index when pages claims it).
  • pagesIndex overrides which page (or [Text](url) link) serves as the folder's index.
  • Slug-transparent group + index composes into "section header linking to a parent-level URL": (intro)/index.mdx gives a clickable Intro header → /docs, with siblings like (intro)/install.mdx → /docs/install.

Sidebar expansion

  • <DocsLayout sidebar={{ defaultOpenLevel: n }}> — a folder starts open when defaultOpenLevel >= depth (top-level folders are depth 1) or when it contains the active page. Default 0: everything starts collapsed.
  • Per-folder overrides in its meta.json: defaultOpen: true opens one folder; collapsible: false pins it open with no toggle.

© aidenlx, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/fumadocs-page-tree of aidenlx/zotlit.

Open the folder on GitHubat commit 27f5752

Compare with similar skills

Fumadocs Page Tree next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fumadocs Page Tree compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fumadocs Page Tree this skillaidenlx/zotlit1k—~840Automated safety check: PassAGPL-3.0
More Trees AutomationComposioHQ/awesome-claude-skills77k3 repos~742Automated safety check: PassNone
Pierre Trees File Treepierrecomputer/pierre6.3k—~473Automated safety check: PassApache-2.0
Fumadocscompozy/compozy2.8k—~2.4kAutomated safety check: PassMIT
Tree Ring Memorysickn33/agentic-awesome-skills47k1 repos~2.2kAutomated safety check: PassMIT
Attack Tree Constructionwshobson/agents40k8 repos~623Automated safety check: PassMIT

Similar skills

  • More Trees Automation

    ComposioHQ/awesome-claude-skills

    Automate More Trees tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.

    77k GitHub starsUsed in 3 repos~742 tokens
    Productivity & AutomationAuto-check passed
  • Pierre Trees File Tree

    pierrecomputer/pierre

    Use when an app uses @pierre/trees to render or control a file tree, including React, vanilla JavaScript, SSR, web components, selection, search, rename, drag…

    6.3k GitHub stars~473 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Fumadocs

    compozy/compozy

    Set up, customize, or troubleshoot Fumadocs Core/MDX/UI: adapters, loaders, navigation/layouts, search, MDX components, OpenAPI, OG images, exports, and i18n.

    2.8k GitHub stars~2.4k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Tree Ring Memory

    sickn33/agentic-awesome-skills

    Use Tree Ring Memory for local-first AI-agent memory lifecycle work: recall, evidence, audit, forgetting, and consolidation without transcript dumping.

    47k GitHub starsUsed in 1 repo~2.2k tokens
    Agent WorkflowsAuto-check passed
  • Builds attack trees that map how an attacker could reach a goal, with AND and OR nodes and cost, time, skill and detection ratings, to find defense gaps.

    40k GitHub starsUsed in 8 repos~623 tokens
    SecurityAuto-check passed
  • Use this plugin when the user wants a "Decision Tree" HyperFrames motion video — Animated flowchart with branching paths

    100k GitHub stars~320 tokensUpdated today
    Media & CreativeAuto-check passed

More from aidenlx/zotlit

All 16 skills in this repo
  • I18n UI Text

    aidenlx/zotlit

    Obsidian house style for the wording of user-facing UI strings — command names, setting labels, button text, notices, modal copy.

    1k GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed
  • Obsidian CSS

    aidenlx/zotlit

    Style Obsidian plugin UI with Tailwind + native components. An agent skill from aidenlx/zotlit.

    1k GitHub stars~4.8k tokensUpdated yesterday
    Auto-check passed
  • Arkregex

    aidenlx/zotlit

    Typed regex authoring with arkregex in this repo. An agent skill from aidenlx/zotlit.

    1k GitHub stars~952 tokensUpdated yesterday
    Auto-check passed
  • Changelog Entry

    aidenlx/zotlit

    Write a user-facing changelog entry under apps/docs/content/changelog/.

    1k GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Discord Announcement

    aidenlx/zotlit

    Draft a Discord announcement from a changelog entry. An agent skill from aidenlx/zotlit.

    1k GitHub stars~604 tokensUpdated yesterday
    Auto-check passed
  • Inlang I18n

    aidenlx/zotlit

    Define ZotLit UI messages in the Inlang Message Format and consume them through the generated JSON Language Pack facade.

    1k GitHub stars~1k tokensUpdated yesterday
    Auto-check passed

Questions about Fumadocs Page Tree

What does Fumadocs Page Tree do?

Structure a Fumadocs page tree — content folders, meta.json, slugs, sidebar. Fumadocs Page Tree is an agent skill from aidenlx/zotlit.json, slugs, sidebar.

When should I use Fumadocs Page Tree?

Fumadocs Page Tree fits situations like: reordering doc pages under a content directory; editing a meta.json; creating sidebar sections (folder groups; clickable section headers).

How do I install Fumadocs Page Tree in Claude Code?

Run `npx skills add aidenlx/zotlit --skill fumadocs-page-tree -a claude-code`. Or copy the skill folder (.agents/skills/fumadocs-page-tree in aidenlx/zotlit) into .claude/skills/fumadocs-page-tree in your project. Claude Code loads it when a task matches its description.

How do I install Fumadocs Page Tree in Codex?

Run `npx skills add aidenlx/zotlit --skill fumadocs-page-tree -a codex`. Or copy the skill folder (.agents/skills/fumadocs-page-tree in aidenlx/zotlit) into .agents/skills/fumadocs-page-tree in your project. Codex loads it when a task matches its description.

Can I use Fumadocs Page Tree in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aidenlx/zotlit --skill fumadocs-page-tree -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fumadocs-page-tree, .gemini/skills/fumadocs-page-tree, .github/skills/fumadocs-page-tree and .opencode/skills/fumadocs-page-tree in your project.

What does Fumadocs Page Tree need to run?

SKILL.md names no scripts, command-line tools or credentials: Fumadocs Page Tree is instructions for the agent only.

Does Fumadocs Page Tree access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Fumadocs Page Tree safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Fumadocs Page Tree use?

Fumadocs Page Tree is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fumadocs Page Tree use?

About 840 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fumadocs Page Tree?

Skills that share tags, products or a category with Fumadocs Page Tree: More Trees Automation (ComposioHQ/awesome-claude-skills, 77k stars), Pierre Trees File Tree (pierrecomputer/pierre, 6.3k stars), Fumadocs (compozy/compozy, 2.8k stars) and Tree Ring Memory (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fumadocs Page Tree?

aidenlx (a GitHub user) maintains it in aidenlx/zotlit, which has 1,029 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 10, 2026.

Source: aidenlx/zotlit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.