update-markdown-file-index
Update a markdown file section with an index/table of files from a specified folder.
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Process
- File Analysis
- Table Structure Options
- Option 1: Simple List
- Option 2: Detailed Table
- Option 3: Categorized Sections
- Update Strategy
- Section Identification
- Requirements
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.