agentleFS
mhmtsrfglumhmtsrfglu/superwiki/skills/sw-visualize/SKILL.md

sw-visualize

Skill4 starsChanged 57 days agoMITView on GitHub

Use when the user wants to see, open, browse or visualize the Superwiki vault, task board, dependency waves or wiki in a browser, or invokes sw-visualize or sw:visualize.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run from the project root:

    line 10
  2. Very specific:

    If the user asks a question the viewer answers (counts, what is ready, what blocks a task), answer it with node docs/.sw/sw.mjs …

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

sw-visualize

Opens the viewer on this project's vault. One command; the user picks nothing. Do not read vault files or generate HTML yourself.

Run from the project root:

node docs/.sw/sw.mjs serve --open

It starts a small local server for this project (or reuses the one already running), prints its address, and opens it in the default browser. The page reads the files as they are: after the vault changes, Refresh in the page shows the new state. The server answers only on this machine and stops by itself after two hours without use.

Tell the user the address it printed and that Refresh re-reads the files. Nothing else.

If it fails

ProblemDo
docs/.sw/sw.mjs or docs/viewer.html missingsay so; offer to run sw-init, which installs them
"could not start the viewer server"node docs/.sw/sw.mjs snapshot, then open docs/viewer.html as a file (open, xdg-open or start). Tell the user this view is frozen at the moment of the snapshot; running sw-visualize again refreshes it
No browser on this machine (remote session)give the user the snapshot path instead: docs/viewer.html opens on any machine that has the docs/ folder

If the user asks a question the viewer answers (counts, what is ready, what blocks a task), answer it with node docs/.sw/sw.mjs status|ready|check <ID> instead of opening the browser.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.