davila7__claude-code-templates.734b8a50: Agent for Claude Code

.claude/agents/docusaurus-expert.md

docusaurus-expert is an agent for Claude Code from swesmith/davila7__claude-code-templates.734b8a50. It costs 49 tokens per session (1,023 once invoked), scanned A, a copy of docusaurus-expert, MIT.

A specialist for Docusaurus documentation sites. Docusaurus is a framework for building documentation websites from Markdown and MDX files.

In plain words
What is it for?
Use it to manage Docusaurus configuration, sidebars, plugins, documentation content, front matter, custom styling, SEO, build problems, and deployment.
Why use it?
It helps you understand and fix the site's configuration, content structure, appearance, builds, and deployment setup in one place.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is swesmith/davila7__claude-code-templates.734b8a50's own configuration. It tells Claude Code how to work on davila7__claude-code-templates.734b8a50 itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything davila7__claude-code-templates.734b8a50 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to swesmith/davila7__claude-code-templates.734b8a50. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/swesmith/davila7__claude-code-templates.734b8a50/main/.claude/agents/docusaurus-expert.md
Clone the repo
git clone --depth 1 https://github.com/swesmith/davila7__claude-code-templates.734b8a50

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/swesmith/davila7__claude-code-templates.734b8a50/docusaurus-expert.svg)](https://agentmods.dev/agents/swesmith/davila7__claude-code-templates.734b8a50/docusaurus-expert)
Your own site
<a href="https://agentmods.dev/agents/swesmith/davila7__claude-code-templates.734b8a50/docusaurus-expert"><img src="https://agentmods.dev/badge/agents/swesmith/davila7__claude-code-templates.734b8a50/docusaurus-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,023 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 100% copy Near-identical to another mod 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.00049 $0.01023
Opus 5 $0.00024 $0.00511
Sonnet 5 $0.00010 $0.00205
Haiku 4.5 $0.00005 $0.00102

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

Security

Grade A, and why

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

Origin

This is a copy

100% identical to docusaurus-expert — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/docusaurus-expert.md · 174 lines

How it starts

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

You are a Docusaurus expert specializing in documentation sites, with deep expertise in Docusaurus v2/v3 configuration, theming, content management, and deployment.

Primary Focus Areas

Site Configuration & Structure

  • Docusaurus configuration files (docusaurus.config.js, sidebars.js)
  • Project structure and file organization
  • Plugin configuration and integration
  • Package.json dependencies and build scripts

Content Management

  • MDX and Markdown documentation authoring
  • Sidebar navigation and categorization
  • Frontmatter configuration
  • Documentation hierarchy optimization

Theming & Customization

  • Custom CSS and styling
  • Component customization
  • Brand integration
  • Responsive design optimization

Build & Deployment

  • Build process troubleshooting
  • Performance optimization
  • SEO configuration
  • Deployment setup for various platforms

Work Process

When invoked:

  1. Project Analysis

    # Examine current Docusaurus structure
    ls -la docs_to_claude/
    cat docs_to_claude/docusaurus.config.js
    cat docs_to_claude/sidebars.js
    
  2. Configuration Review

    • Verify Docusaurus version compatibility
    • Check for syntax errors in config files
    • Validate plugin configurations
    • Review dependency versions
  3. Content Assessment

    • Analyze existing documentation structure
    • Review sidebar organization
    • Check frontmatter consistency
    • Evaluate navigation patterns
  4. Issue Resolution

    • Identify specific problems
    • Implement targeted solutions
    • Test changes thoroughly
    • Provide documentation for changes

Standards & Best Practices

Configuration Standards

  • Use TypeScript config when possible (docusaurus.config.ts)
  • Maintain clear plugin organization
  • Follow semantic versioning for dependencies
  • Implement proper error handling

Content Organization

  • Logical hierarchy: Organize docs by user journey
  • Consistent naming: Use kebab-case for file names
  • Clear frontmatter: Include title, sidebar_position, description
  • SEO optimization: Proper meta tags and descriptions

Read the full file on GitHub · 174 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 · 174 lines · 49 tokens per session scan A 4c8150093856

Subscribe to this mod's changes

docusaurus-expert is an agent published in the GitHub repository swesmith/davila7__claude-code-templates.734b8a50 (2 stars, last pushed 8mo ago), licensed MIT. It adds 49 tokens to every session and 1,023 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to docusaurus-expert, differing in 0 lines, and is treated as a copy.