Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

scalar-docs

Skill by scalar

Writes and updates scalar.config.json, the central configuration file for Scalar Docs. Useful for developers and LLMs setting up navigation, branding, domains and API reference pages.

  • Score 86
  • 16k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install scalar-docs

Built from the published package, never by AI.

git clone --depth 1 https://github.com/scalar/scalar /tmp/scalar && mkdir -p ~/.claude/skills && cp -r /tmp/scalar/.agents/skills/scalar-docs ~/.claude/skills/scalar-docs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install scalar-docs in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a reference for writing and updating scalar.config.json, the central configuration file for Scalar Docs. It covers root properties, navigation routes for pages, OpenAPI references, groups and links, and siteConfig options such as branding, domain, head tags, footer, RSS feeds and routing. It also lists the Scalar CLI commands for creating, validating, previewing and publishing a config.

The skill explains the file location, the schema URL that enables editor autocomplete, and how to migrate from the Docs 1.0 guides and references arrays to navigation.routes. It is aimed at developers and LLMs working on Scalar Docs projects who need accurate config structure. The source notes that some options depend on plan, such as custom domains, which require the Pro plan.

Written from the project's SKILL.md and checked against it.

What it can do

  • Write scalar.config.jsonCreates a minimal config with info and navigation, using the 2.0.0 format.
  • Configure navigation routesSets up page, OpenAPI, group and link routes, plus header, sidebar and tabs.
  • Set up OpenAPI referencesAdds API reference pages from a file, Registry entry or URL, with single page mode.
  • Configure site brandingSets logo, theme, and a custom social card template for the site.
  • Configure domains and layoutSets subdomain, custom domain, subpath, layout and head tags.
  • Publish RSS feedsAdds changelog or blog feeds built from dated headings or page dates.
  • Migrate from Docs 1.0Explains how to move guides and references arrays to navigation.routes.
  • Run CLI checksUses Scalar CLI commands to initialize, validate, preview and publish a project.

What you need

  • Scalar CLI, run with npx @scalar/cli
  • Scalar Pro plan for a custom domain

Try asking

  • Create a scalar.config.json with a home page and an OpenAPI reference
  • Add a changelog RSS feed at /changelog to my Scalar Docs config
  • Migrate my Docs 1.0 config with guides and references to Docs 2.0

Good to know

  • Custom domains require the Pro plan, according to the source.
  • The social card template is drawn with Satori, so it supports flexbox and inline styles only.
  • Migration from Docs 1.0 is covered, but the source focuses on version 2.0 format.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/scalar-docs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md14 KB

Alternatives to scalar-docs

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

scalar-docs: common questions

What is scalar.config.json used for?

It is the central configuration file for Scalar Docs. It sets navigation, site settings, branding and API references for a docs project.

Can I use a JSON5 config file?

The source says the file can be scalar.config.json or scalar.config.json5. Both names are listed as valid.

How do I check that my config is valid?

Run npx @scalar/cli project check-config to validate the config. The source lists this command for that purpose.

How do I install scalar-docs?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is scalar-docs free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is scalar-docs safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to scalar-docs?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

scalar-docs Install

Add to stack

Loading.