Update Markdown File Index
Automatically updates a Markdown file index listing files within a GitHub repository.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add update-markdown-file-index npx -- -y @trustedskills/update-markdown-file-index
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"update-markdown-file-index": {
"command": "npx",
"args": [
"-y",
"@trustedskills/update-markdown-file-index"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automates the process of updating a markdown file index, such as a table of contents or list of files in a documentation project. It can add, remove, or reorder entries based on user input and ensure proper formatting is maintained.
When to use it
- You need to update a README.md or documentation index with new files or sections.
- You want to reorganize the order of items in a markdown file without manually editing the list.
- Your project has multiple markdown files, and you need an automated way to keep their index up-to-date.
Key capabilities
- Adds or removes entries from a markdown file's index.
- Maintains consistent formatting (e.g., bullet points, headers).
- Supports reordering of items based on user-specified logic.
Example prompts
- "Add 'Getting Started' as the first section in the README.md."
- "Remove the 'Legacy Features' entry from the documentation index."
- "Reorder the markdown file list alphabetically."
Tips & gotchas
- Ensure that your markdown file is properly formatted before using this skill to avoid unexpected results.
- This skill may not handle complex nested lists or custom formatting beyond basic bullet points and headers.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🏢 Official
Published by the company or team that built the technology.