Extract Section Skill

SkillDev tools

Extract a section from main.tex by key name

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Extract Section Skill skill

What this skill tells your AI

The instructions your AI receives, as published by alexander-m-dickerson/ai-asset-pricing in .claude/skills/extract-section/SKILL.md and read by ahel’s review.

Extract a specific section from main.tex for reading or editing.

Examples

  • /extract-section introduction -- extract the introduction
  • /extract-section data -- extract the data section
  • /extract-section results -- extract the results section
  • /extract-section internet-appendix -- extract the full Internet Appendix

Section Keys

Look up the project's section keys in its CLAUDE.md (under "LaTeX Section Keys"). The boilerplate template ships with these default keys:

KeySection
introductionIntroduction
dataData
methodologyMethodology
resultsResults
conclusionConclusion
appendix-aAppendix A
internet-appendixInternet Appendix

Projects may register additional keys in their CLAUDE.md.

Workflow

  1. Read main.tex
  2. Find %% BEGIN:<key> and %% END:<key> markers
  3. Extract all content between the markers (inclusive)
  4. Return clean LaTeX with line numbers relative to main.tex

Marker format: Each section is delimited by %% BEGIN:<key> and %% END:<key> comment lines in main.tex. Use Grep to locate the markers, then Read to extract the content between them.

Output

The raw LaTeX content of the requested section, with line numbers relative to main.tex.

Signals

GitHub stars
59
Forks
10
Last commit
Apr 2026
Advanced
Catalog kind
skill
Gateway key
extract-section
Source
github.com/alexander-m-dickerson/ai-asset-pricing