outline

Parse main.tex to extract sections and verify structural markers.

58|10|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/Alexander-M-Dickerson/ai-asset-pricing --skill outline-alexander-m-dickerson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: outline
Source: https://github.com/Alexander-M-Dickerson/ai-asset-pricing/tree/main/.claude/skills/outline
Command: npx skills add https://github.com/Alexander-M-Dickerson/ai-asset-pricing --skill outline-alexander-m-dickerson

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze and verify the structure of a manuscript by scanning main.tex for sections, subsections, and markers to ensure balance, coherence, and compliance with project guidelines.

Core Features & Use Cases

  • Read and parse main.tex to extract all \section{}, \subsection{}, and \subsubsection{} entries.
  • Compute section lengths by lines and estimate word counts, then verify the presence and pairing of %% BEGIN/END markers.
  • Validate the structure against a registered key registry (from CLAUDE.md or guidance/paper-context.md) or discover keys by scanning main.tex.

Quick Start

Run the outline command against your main.tex to generate a full structural analysis.

Frequently Asked Questions about outline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze paper structure and section lengths in a LaTeX manuscript?

Analyze paper structure by parsing main.tex to extract all \section{}, \subsection{}, and \subsubsection{} commands. It computes section lengths by line counts and estimates word counts between %% BEGIN/END markers to verify manuscript balance.

How do I check if BEGIN and END markers are paired correctly in main.tex?

Verify marker pairs by scanning main.tex for all %% BEGIN and %% END markers. The structural analysis checks that every opening marker has a corresponding closing marker to ensure section boundaries are properly delimited.

Can I validate LaTeX section completeness against project guidance files?

Validate section completeness by coordinating extracted sections against a registered structural key registry from CLAUDE.md or guidance/paper-context.md. If no registry exists, it discovers keys by scanning main.tex directly.

What is the best way to get a structural outline of a LaTeX document with word count estimates?

Get a structural outline by running analysis on main.tex to extract the full section hierarchy. It estimates word counts and measures line counts for each section, providing a complete structural overview of the manuscript.

Does outline work with Cochrane review paper structures?

Yes, outline supports Cochrane review structures by validating extracted LaTeX sections against registered structural keys. It ensures your manuscript complies with project-specific guidelines and structural requirements.

Why are my LaTeX section markers not being detected during structural analysis?

Section markers may go undetected if %% BEGIN/END pairs are incomplete or malformed. The analysis verifies marker pairing and reports any mismatches, ensuring all structural boundaries in main.tex are correctly registered.