Rechercher

PythonReactSEOPDF
GitHub Skill

md-section

Extract a specific section from a Markdown file by heading name. Use this to efficiently read targeted documentation sections instead of loading entire files.

gioe☆ 0 Étoiles du dépôt0 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

Markdown Section Extractor

Extracts a section from a Markdown file by heading name. Returns only the content between the specified heading and the next heading of equal or higher level.

Usage

python3 /Users/mattgioe/aiq/scripts/md_section.py "<file_path>" "<heading_name>"

Arguments

Parse the skill arguments as: <file_path> <heading_name>

Examples:

  • /md-section backend/README.md Installation → extracts the "Installation" section
  • /md-section CLAUDE.md "Quick Reference" → extracts the "Quick Reference" section
  • /md-section docs/architecture/OVERVIEW.md "Data Flow" → extracts nested section

If the file path is relative, resolve it from /Users/mattgioe/aiq.

Behavior

  • Case-insensitive heading match
  • Returns content from heading to next same/higher level heading
  • Returns empty string if heading not found
  • No metadata, just the section content

When to Use

Use this skill when you need to:

  • Read a specific section of documentation without loading the entire file
  • Look up a particular topic in a large Markdown file
  • Reduce token usage by fetching only relevant content

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-01-20
Mise à jour de l’index
2026-01-26
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!