agentleFS
simple10simple10/agents-observe/skills/observe/SKILL.md

observe

Skill688 starsChanged 8 months agoMITView on GitHub

Agents Observe dashboard and server management

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    All commands are invoked via the wrapper at scripts/cli.sh, which resolves the path to observe_cli.mjs relative to this skill's install …

    line 28
  2. Distinctive:

    Run health to get the dashboard origin:

    line 36
  3. Distinctive:

    If exit code 0: show the dashboard URL from the output.

    line 64
  4. Very specific:

    If exit code 1: tell the user the server is not running and suggest /observe start or /observe status.

    line 65
  5. Very specific:

    If the output contains "Version mismatch", tell the user and offer /observe restart.

    line 74
  6. Very specific:

    If exit code 1, show the output and suggest /observe start.

    line 75
  7. Distinctive:

    Run these checks in sequence.

    line 127

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “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

/observe

Agents Observe dashboard and server management.

Usage

  • /observe view — Open the current session in the dashboard
  • /observe stats — Open the current session's stats modal in the dashboard
  • /observe — Open the dashboard URL
  • /observe status — Show server health and config details
  • /observe start — Start the server
  • /observe stop — Stop the server
  • /observe restart — Restart the server
  • /observe logs-server — Show recent Docker container logs
  • /observe logs-cli — Tail the local cli.log file
  • /observe logs-mcp — Tail the local mcp.log file
  • /observe debug — Diagnose server issues (health, docker logs, mcp.log, cli.log)

Instructions

All commands are invoked via the wrapper at scripts/cli.sh, which resolves the path to observe_cli.mjs relative to this skill's install location. Do not reach outside the skill dir with ../ paths — the agentskills spec disallows it and it breaks portability across agents.

The subcommand is in $ARGUMENTS. If empty, default to showing the dashboard URL.

/observe view

Opens the current session in the dashboard.

  1. Run health to get the dashboard origin:
    scripts/cli.sh health
  2. From the output, take the Dashboard: URL (e.g. http://localhost:4981). If exit code 1, the server isn't running — tell the user to run /observe start and stop here.
  3. Construct the session URL: <dashboard>/#/_/${CLAUDE_SESSION_ID} (the _ is the project placeholder; the dashboard resolves the real project from the session id).
  4. Open it in the user's default browser using the platform-appropriate command — open <url> on macOS, xdg-open <url> on Linux, start <url> on Windows. Pick based on the Platform: line in your environment context.
  5. Also print the URL in your response so the user can re-open it if needed.

/observe stats

Opens the current session's stats modal in the dashboard, using a deep-link URL.

  1. Run health to get the dashboard origin:
    scripts/cli.sh health
  2. From the output, take the Dashboard: URL (e.g. http://localhost:4981). If exit code 1, the server isn't running — tell the user to run /observe start and stop here.
  3. Construct the deep link: <dashboard>/#/_/${CLAUDE_SESSION_ID}:session.stats
  4. Open it in the user's default browser using the platform-appropriate command — open <url> on macOS, xdg-open <url> on Linux, start <url> on Windows. Pick based on the Platform: line in your environment context.
  5. Also print the URL in your response so the user can re-open it if needed.

/observe (no args)

  1. Run:
    scripts/cli.sh health
  2. If exit code 0: show the dashboard URL from the output.
  3. If exit code 1: tell the user the server is not running and suggest /observe start or /observe status.

/observe status

  1. Run:
    scripts/cli.sh health
  2. Show the full output to the user (includes version, runtime, ports, log paths).
  3. If the output contains "Version mismatch", tell the user and offer /observe restart.
  4. If exit code 1, show the output and suggest /observe start.

/observe start

  1. Run:
    scripts/cli.sh start
  2. Show the output to the user. If successful, include the dashboard URL.

/observe stop

  1. Run:
    scripts/cli.sh stop
  2. Confirm to the user that the server has been stopped.

/observe restart

  1. Run:
    scripts/cli.sh restart
  2. Show the output to the user. If successful, include the dashboard URL.

/observe logs-server

  1. Run:
    scripts/cli.sh logs-server -n 50
  2. Show the output to the user. Do NOT use -f (follow) — it would hang.

/observe logs-cli

  1. Run:
    scripts/cli.sh logs-cli -n 50
  2. Show the output to the user.

/observe logs-mcp

  1. Run:
    scripts/cli.sh logs-mcp -n 50
  2. Show the output to the user.

/observe debug

Run these checks in sequence. Read each output before running the next — use what you learn to diagnose the issue.

  1. Server health:
    scripts/cli.sh health
  2. Docker container logs (last 20 lines):
    scripts/cli.sh logs-server -n 20
  3. MCP log (last 20 lines):
    scripts/cli.sh logs-mcp -n 20
  4. CLI log (last 20 lines):
    scripts/cli.sh logs-cli -n 20
  5. Analyze the results and tell the user:
    • Is the server running? What version?
    • Are there errors in the docker logs? (look for crash loops, port conflicts, DB errors)
    • Are there errors in mcp.log? (look for startServer failures, image pull errors)
    • Are there errors in cli.log? (look for ECONNREFUSED, hook delivery failures)
    • Suggest specific fixes based on what you find.

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.