Agent skill

update-markdown-file-index

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

GitHub68,948★ · +463/wk · 2 repos on radarProfile →
copilotMIT
Install
npx skills add github/awesome-copilot --skill update-markdown-file-index --agent copilot

Same command for any agent — swap --agent for claude-code, codex, cursor.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Path: skills/update-markdown-file-index/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 37,432 · +281 this week
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 ```markdown ## Files in ${folder} - [filename.ext](path/to/filename

What's inside
Steps it walks through
  1. Process
  2. File Analysis
  3. Table Structure Options
  4. Option 1: Simple List
  5. Option 2: Detailed Table
  6. Option 3: Categorized Sections
  7. Update Strategy
  8. Section Identification
  9. Requirements
More from awesome-copilot
All skills →
About this skill
What does the update-markdown-file-index skill do?

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

How do I install it?

Run `npx skills add github/awesome-copilot --skill update-markdown-file-index --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going