Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Prompt file imported from masterthepixel/maybridgepublishing (.windsurf/workflows/bmad/core/tasks/index-docs.md). Copyright stays with the author.
MANDATORY: Execute ALL steps in the flow section IN EXACT ORDER
DO NOT skip steps or change the sequence
HALT immediately when halt-conditions are met
Each action xml tag within step xml tag is a REQUIRED action to complete that step
Sections outside flow (validation, output, critical-context) provide essential context - review and apply throughout execution
<step n="2" title="Group Content">
<i>Organize files by type, purpose, or subdirectory</i>
</step>
<step n="3" title="Generate Descriptions">
<i>Read each file to understand its actual purpose and create brief (3-10 word) descriptions based on the content, not just the
filename</i>
</step>
<step n="4" title="Create/Update Index">
<i>Write or update index.md with organized file listings</i>
</step>
Copy one of these into your project. Installing also returns the manifest and these snippets.
<task id=".bmad/core/tasks/index-docs" name="Index Docs"
description="Generates or updates an index.md of all documents in the specified directory" webskip="true" standalone="true">
<llm critical="true">
<i>MANDATORY: Execute ALL steps in the flow section IN EXACT ORDER</i>
<i>DO NOT skip steps or change the sequence</i>
<i>HALT immediately when halt-conditions are met</i>
<i>Each action xml tag within step xml tag is a REQUIRED action to complete that step</i>
<i>Sections outside flow (validation, output, critical-context) provide essential context - review and apply throughout execution</i>
</llm>
<flow>
<step n="1" title="Scan Directory">
<i>List all files and subdirectories in the target location</i>
</step>
<step n="2" title="Group Content">
<i>Organize files by type, purpose, or subdirectory</i>
</step>
<step n="3" title="Generate Descriptions">
<i>Read each file to understand its actual purpose and create brief (3-10 word) descriptions based on the content, not just the
filename</i>
</step>
<step n="4" title="Create/Update Index">
<i>Write or update index.md with organized file listings</i>
</step>
</flow>
<output-format>
<example>
# Directory Index## Files
- **[filename.ext](./filename.ext)** - Brief description
- **[another-file.ext](./another-file.ext)** - Brief description
## Subdirectories### subfolder/
- **[file1.ext](./subfolder/file1.ext)** - Brief description
- **[file2.ext](./subfolder/file2.ext)** - Brief description
### another-folder/
- **[file3.ext](./another-folder/file3.ext)** - Brief description
</example>
</output-format>
<halt-conditions critical="true">
<i>HALT if target directory does not exist or is inaccessible</i>
<i>HALT if user does not have write permissions to create index.md</i>
</halt-conditions>
<validation>
<i>Use relative paths starting with ./</i>
<i>Group similar files together</i>
<i>Read file contents to generate accurate descriptions - don't guess from filenames</i>
<i>Keep descriptions concise but informative (3-10 words)</i>
<i>Sort alphabetically within groups</i>
<i>Skip hidden files (starting with .) unless specified</i>
</validation>
</task>
Installed into a catalogue, chosen by a router
Install index-docs and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
{
"prompt": "<task id=\".bmad/core/tasks/index-docs\" name=\"Index Docs\"\n description=\"Generates or updates an index.md of all documents in the specified directory\" webskip=\"true\" standalone=\"true\">\n <llm critical=\"true\">\n <i>MANDATORY: Execute ALL steps in the flow section IN EXACT ORDER</i>\n <i>DO NOT skip steps or change the sequence</i>\n <i>HALT immediately when halt-conditions are met</i>\n <i>Each action xml tag within step xml tag is a REQUIRED action to complete that step</i>\n <i>Sections outside flow (validation, output, critical-context) provide essential context - review and apply throughout execution</i>\n </llm>\n\n <flow>\n <step n=\"1\" title=\"Scan Directory\">\n <i>List all files and subdirectories in the target location</i>\n </step>\n\n <step n=\"2\" title=\"Group Content\">\n <i>Organize files by type, purpose, or subdirectory</i>\n </step>\n\n <step n=\"3\" title=\"Generate Descriptions\">\n <i>Read each file to understand its actual purpose and create brief (3-10 word) descriptions based on the content, not just the\n filename</i>\n </step>\n\n <step n=\"4\" title=\"Create/Update Index\">\n <i>Write or update index.md with organized file listings</i>\n </step>\n </flow>\n\n <output-format>\n <example>\n # Directory Index\n\n ## Files\n\n - **[filename.ext](./filename.ext)** - Brief description\n - **[another-file.ext](./another-file.ext)** - Brief description\n\n ## Subdirectories\n\n ### subfolder/\n\n - **[file1.ext](./subfolder/file1.ext)** - Brief description\n - **[file2.ext](./subfolder/file2.ext)** - Brief description\n\n ### another-folder/\n\n - **[file3.ext](./another-folder/file3.ext)** - Brief description\n </example>\n </output-format>\n\n <halt-conditions critical=\"true\">\n <i>HALT if target directory does not exist or is inaccessible</i>\n <i>HALT if user does not have write permissions to create index.md</i>\n </halt-conditions>\n\n <validation>\n <i>Use relative paths starting with ./</i>\n <i>Group similar files together</i>\n <i>Read file contents to generate accurate descriptions - don't guess from filenames</i>\n <i>Keep descriptions concise but informative (3-10 words)</i>\n <i>Sort alphabetically within groups</i>\n <i>Skip hidden files (starting with .) unless specified</i>\n </validation>\n</task>",
"variables": [],
"notes": "task-index-docs",
"metadata": {
"source": {
"provider": "github-windsurf-workflows",
"repository": "https://github.com/masterthepixel/maybridgepublishing",
"path": ".windsurf/workflows/bmad/core/tasks/index-docs.md",
"ref": "b2a98783149d2f08bcc7abacd8a025493270ad1b",
"url": "https://github.com/masterthepixel/maybridgepublishing/blob/b2a98783149d2f08bcc7abacd8a025493270ad1b/.windsurf/workflows/bmad/core/tasks/index-docs.md",
"key": "masterthepixel/maybridgepublishing/.windsurf/workflows/bmad/core/tasks/index-docs.md"
}
}
}
Fetch it by URL: GET /api/v1/registry/masterthepixel-maybridgepublishing-index-docs-workflow/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.