Skip to content
Back to skills

Sw Index

ASecurity

Use when the user wants the task list in docs/index.md refreshed, updated or rebuilt, says the index is out of date after editing tasks by hand, or invokes sw-index.

  • 30 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
ai-agentsbashnode

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add mhmtsrfglu/superwiki --skill sw-index --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sw Index?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sw Index
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mhmtsrfglu-sw-index/badge)](https://www.skillsdirectory.com/skills/mhmtsrfglu-sw-index)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sw-index
description: Use when the user wants the task list in docs/index.md refreshed, updated or rebuilt, says the index is out of date after editing tasks by hand, or invokes sw-index.
---

# sw-index

Rewrites the task list at the top of `docs/index.md` from the task files. One command; do not read the task files or write the list yourself.

Run from the project root:

```bash
node docs/.sw/sw.mjs index
```

It prints whether the list changed and the counts. Tell the user that, in one line. Only its own section of `index.md` is rewritten; what the user wrote around it stays.

The list is a view. A task's status lives in the frontmatter of `docs/tasks/<ID>.md`: to change what the list shows, change the task file and run the command again. Never edit the list by hand.

## If it fails

| Output | Do |
| --- | --- |
| `unknown command index` | the project's `docs/.sw/sw.mjs` is older than this skill; offer to run sw-init, which updates it and writes the list |
| `this vault has no task module` | say so; sw-init with `--tasks` adds it |
| `docs/index.md is missing` | offer to run sw-init |

If the user asks what is ready, what blocks a task or how many are done, answer with `node docs/.sw/sw.mjs ready|check <ID>|status` instead of reading the list.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.