agentleFS
GoodRelaxGoodRelax/gr-whiteboard/skills/debug-board-server/SKILL.md

debug-board-server

Skill1 starsChanged 6 days agoApache-2.0View on GitHub

Check Node.js for the whiteboard, and debug the local Board Server (start, status, stop, logs) with its command-line tools. For normal use (open the board, talk, draw, stop), use the talk-on-board skill and its tools instead. Use when the user asks to check Node.js for the whiteboard, or to debug the Board Server.

  • Installs packages

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If node is not found, or the result has "nodeOk": false: Node.js 20 or later is needed.

    line 20
  2. Very specific:

    After the install, node may still not be found, because Windows gives the new PATH only to programs started later.

    line 23

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 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

Whiteboard Server (checks and debugging)

Normal use goes through the tools of the MCP server board-control and the skill talk-on-board: open_board starts the board (also for the LAN, with lan: true), and close_board stops it. Do not give the user the commands below for normal use (R-033).

SKILL_DIR below means the folder of this file. Claude Code shows it as the base directory of the skill. Replace it with the full path and keep the double quotes, because the path may contain spaces. Every command is a plain node command and prints one JSON line.

Spec: docs/spec-en.md in the repository.

Check Node.js

node "SKILL_DIR/scripts/setup.js" --check

If node is not found, or the result has "nodeOk": false: Node.js 20 or later is needed. Show the user the official install command for their OS (Windows: winget install OpenJS.NodeJS.LTS, macOS: brew install node, Linux: see https://nodejs.org/). Run it only after the user says yes in this chat.

  • Before you run it, tell the user: "Windows will ask for administrator approval (a window with a blue and yellow shield). It may open behind other windows. If nothing happens, look for a flashing icon on the taskbar and click Yes." On macOS, brew may ask for the user's password in the terminal.
  • After the install, node may still not be found, because Windows gives the new PATH only to programs started later. Then ask the user to restart Claude Code.

Debug

These commands are for developers and for tests. With the plugin, the board data is in the folder board of the plugin data folder, so pass it with --data DIR.

CommandWhat it does
node "SKILL_DIR/scripts/board.js" statusThe state of the running Server (pageCount, logPath, dataDir).
node "SKILL_DIR/scripts/board.js" start --data DIRStarts the Server in the background. Add --lan for the LAN (after setup.js --lan --data DIR).
node "SKILL_DIR/scripts/board.js" stopSaves the board and stops the Server.
node "SKILL_DIR/scripts/setup.js" --lan --data DIR --forge-dir DIR2Installs node-forge into DIR2 and makes the LAN certificate in DIR.

The results of start and status have the board link with its Token. Never paste it into the chat or onto the board.

Errors

errorWhat to do
PortInUseAnother program uses port 47830 or 47831. Tell the user.
RunningInOtherModeStop the Server, then start it again in the mode the user wants.
CertMissingRun setup.js --lan first.
StartTimeoutRead the log (logPath) and tell the user.

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.