docusaurus

A reference for Docusaurus 3, a tool for building documentation websites from Markdown and MDX files. It covers page metadata, reusable components, and navigation sidebar configuration.

In plain words
What is it for?
Use it when adding or editing documentation pages, configuring sidebars, setting page titles and descriptions, or embedding Docusaurus components and videos.
Why use it?
It gives project-specific patterns for creating searchable pages and connecting them to the documentation site’s navigation. This reduces uncertainty when changing the Sumo Logic documentation repository.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/sumologic/sumologic-documentation/docusaurus
Any agent
npx skills add SumoLogic/sumologic-documentation --skill docusaurus
Clone the repo
git clone --depth 1 https://github.com/SumoLogic/sumologic-documentation

Made for: Claude Code, Codex.

Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,964 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00053 $0.01964
Opus 5 $0.00026 $0.00982
Sonnet 5 $0.00011 $0.00393
Haiku 4.5 $0.00005 $0.00196

Measured yesterday against content hash 1e86818aa416, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

docusaurus 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.

.claude/skills/docusaurus/SKILL.md · 309 lines

How it starts

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

Docusaurus 3 Reference — sumologic-documentation

Frontmatter Templates

Regular content page

---
id: my-page-name
title: My Page Title          # under 60 chars, include target keywords
sidebar_label: Sidebar Label  # short nav label
description: One or two sentences describing this page for search engines.
---

Index / hub page (custom URL)

---
slug: /section/subsection
title: Section Title
sidebar_label: Section Title
description: Description of this section.
keywords:
  - keyword1
  - keyword2
tags:
  - tag1
  - tag2
---

Standard Imports

import useBaseUrl from '@docusaurus/useBaseUrl';

For hub/card pages:

import useBaseUrl from '@docusaurus/useBaseUrl';
import DocCardList from '@theme/DocCardList';
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';

For embedded videos:

import Iframe from 'react-iframe';

Hub/Index Page Layouts

Card grid (sumologic-documentation custom layout)

import useBaseUrl from '@docusaurus/useBaseUrl';

<div className="box-wrapper">
  <div className="box smallbox card">
    <div className="container">
      <a href={useBaseUrl('docs/section/page')}>
        <img src={useBaseUrl('img/icons/icon.png')} alt="icon description" width="40"/>
        <h4>Card Title</h4>
      </a>
      <p>Brief description of this section.</p>
    </div>
  </div>
</div>

DocCardList (auto-generated from sidebar)

import DocCardList from '@theme/DocCardList';
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';

<DocCardList items={useCurrentSidebarCategory().items}/>

Admonitions

:::note
Informational note.
:::

:::tip
Helpful tip about a feature.
:::

:::important
Vital information.
:::

:::warning
Important and potentially problematic information.
:::

:::danger
Dangerous action that could result in data loss.
:::

:::sumo Best Practice
Sumo Logic-specific best practice. Title is customizable.
:::

:::training
Links to training courses or certifications.
:::

Read the full file on GitHub · 309 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 First seen · 309 lines · 53 tokens per session scan A 1e86818aa416

Subscribe to this mod's changes

docusaurus is a skill published in the GitHub repository SumoLogic/sumologic-documentation (42 stars, last pushed 3d ago), licensed MIT. It adds 53 tokens to every session and 1,964 once invoked, about $0.0003 per session on Opus 5. 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-08-30.

Related

Other skills, from other repositories

qa-cli-mcp-api

Select and run explicitly requested, risk-based QA for Anarlog's CLI, webhooks, stdio MCP, hosted Cloud API, and remote MCP. Test only affected lanes unless comprehensive coverage is requested.

fastrepl/anarlog · 47 tokens

product-update-newsletter

Draft, update, or audit a crisp, changelog-grounded Anarlog product-update newsletter in Loops (app.loops.so) for a desktop release. Use after the changelog is merged, when asked to draft, revise, or pre-send check the release announcement email.

fastrepl/anarlog · 62 tokens

sqlite-schema-design

Design or review schemas for crates/cloudsync using SQLite Sync constraints, not generic SQLite advice. Use when adding synced tables, changing synced columns, or planning CloudSync-safe migrations.

fastrepl/anarlog · 42 tokens

release-new-version

Release a new desktop stable version for Anarlog. Use when asked to cut, publish, or prepare a new stable desktop release after checking and merging the changelog.

fastrepl/anarlog · 38 tokens

fix-ready-prs

Inspect every open non-draft PR for CI failures and unresolved Cursor Bugbot findings, then fix them on the existing PR branches. Use when asked to check active PRs, triage ready PRs, fix CI, or address Bugbot comments.

fastrepl/anarlog · 55 tokens

reactive-sqlite-ui

Build SQLite-backed reactive UI in apps/desktop using stable patterns for reads, selection, forms, writes, and loading states. Use when implementing or reviewing screens built on useDrizzleLiveQuery and SQLite mutations.

fastrepl/anarlog · 53 tokens