Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
github avatar

Update Markdown File Index

  • 8.8k installs
  • 37.1k repo stars
  • Updated July 28, 2026
  • github/awesome-copilot

update-markdown-file-index is an agent skill that Update a markdown file section with an index/table of files from a specified folder.

About

Update a markdown file section with an index table of files from a specified folder name update-markdown-file-index description Update a markdown file section with an index table of files from a specified folder Update Markdown File Index Update markdown file file with an index table of files from folder input folder Scan Read the target markdown file file to understand existing structure 2 Discover List all files in the specified folder input folder matching pattern input pattern 3 Analyze Identify if an existing table index section exists to update or create new structure 4 Structure Generate appropriate table list format based on file types and existing content 5 Update Replace existing section or add new section with file index 6 Validate Ensure markdown syntax is valid and formatting is consistent File Analysis For each discovered file extract Name Filename with or without extension based on context Type File extension and category e g md js py Description First line comment header or inferred purpose Size File size for reference optional

  • Update Markdown File Index
  • **Scan**: Read the target markdown file `${file}` to understand existing structure
  • **Discover**: List all files in the specified folder `${input:folder}` matching pattern `${input:pattern}`
  • **Analyze**: Identify if an existing table/index section exists to update, or create new structure
  • **Structure**: Generate appropriate table/list format based on file types and existing content

Update Markdown File Index by the numbers

  • 8,808 all-time installs (skills.sh)
  • +30 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #51 of 1,901 Documentation skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

update-markdown-file-index capabilities & compatibility

Capabilities
update markdown file index · **scan**: read the target markdown file `${file} · **discover**: list all files in the specified fo · **analyze**: identify if an existing table/index · **structure**: generate appropriate table/list f
Use cases
documentation
From the docs

What update-markdown-file-index says it does

**Scan**: Read the target markdown file `${file}` to understand existing structure 2.
SKILL.md
**Discover**: List all files in the specified folder `${input:folder}` matching pattern `${input:pattern}` 3.
SKILL.md
**Analyze**: Identify if an existing table/index section exists to update, or create new structure 4.
SKILL.md
**Structure**: Generate appropriate table/list format based on file types and existing content 5.
SKILL.md
npx skills add https://github.com/github/awesome-copilot --skill update-markdown-file-index

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs8.8k
repo stars37.1k
Security audit3 / 3 scanners passed
Last updatedJuly 28, 2026
Repositorygithub/awesome-copilot

What problem does update-markdown-file-index solve for developers using this skill?

Update a markdown file section with an index/table of files from a specified folder.

Who is it for?

Developers who need update-markdown-file-index patterns described in the cached skill documentation.

Skip if: Skip when docs are empty or the task is outside the skill's documented scope.

When should I use this skill?

Update a markdown file section with an index/table of files from a specified folder.

What you get

Actionable workflows and conventions from SKILL.md for update-markdown-file-index.

  • Updated markdown index section
  • File listing table or list

By the numbers

  • Runs a five-step process: scan, discover, analyze, structure, update

Files

SKILL.mdMarkdownGitHub ↗

Update Markdown File Index

Update markdown file ${file} with an index/table of files from folder ${input:folder}.

Process

1. Scan: Read the target markdown file ${file} to understand existing structure 2. Discover: List all files in the specified folder ${input:folder} matching pattern ${input:pattern} 3. Analyze: Identify if an existing table/index section exists to update, or create new structure 4. Structure: Generate appropriate table/list format based on file types and existing content 5. Update: Replace existing section or add new section with file index 6. Validate: Ensure markdown syntax is valid and formatting is consistent

File Analysis

For each discovered file, extract:

  • Name: Filename with or without extension based on context
  • Type: File extension and category (e.g., .md, .js, .py)
  • Description: First line comment, header, or inferred purpose
  • Size: File size for reference (optional)
  • Modified: Last modified date (optional)

Table Structure Options

Choose format based on file types and existing content:

Option 1: Simple List

## Files in ${folder}

- [filename.ext](path/to/filename.ext) - Description
- [filename2.ext](path/to/filename2.ext) - Description

Option 2: Detailed Table

FileTypeDescription
filename.extExtensionDescription
filename2.extExtensionDescription

Option 3: Categorized Sections

Group files by type/category with separate sections or sub-tables.

Update Strategy

  • 🔄 Update existing: If table/index section exists, replace content while preserving structure
  • Add new: If no existing section, create new section using best-fit format
  • 📋 Preserve: Maintain existing markdown formatting, heading levels, and document flow
  • 🔗 Links: Use relative paths for file links within the repository

Section Identification

Look for existing sections with these patterns:

  • Headings containing: "index", "files", "contents", "directory", "list"
  • Tables with file-related columns
  • Lists with file links
  • HTML comments marking file index sections

Requirements

  • Preserve existing markdown structure and formatting
  • Use relative paths for file links
  • Include file descriptions when available
  • Sort files alphabetically by default
  • Handle special characters in filenames
  • Validate all generated markdown syntax

Related skills

FAQ

What does update-markdown-file-index do?

Update a markdown file section with an index/table of files from a specified folder.

When should I use update-markdown-file-index?

Update a markdown file section with an index/table of files from a specified folder.

Is update-markdown-file-index safe to install?

Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.