AgentSkillsCN

marimo-serve

当启动带有热重载的marimo开发服务器时,应使用此技能。 触发器包括: - 启动marimo服务器 - 在本地运行marimo笔记本 - 启动marimo开发环境 - 为笔记本设置热重载

SKILL.md
--- frontmatter
name: marimo-serve
description: |
  This skill should be used when starting a marimo development server with hot reload.

  Triggers include:
  - Starting marimo server
  - Running marimo notebooks locally
  - Launching marimo development environment
  - Setting up hot reload for notebooks

Marimo Development Server

Start a marimo development server with hot reload for interactive notebook development.

Server Command

To start the server in background:

bash
uv run marimo run --watch {filename} --port 2818

Use the Bash tool with run_in_background: true parameter to keep the server running.

Configuration

  • Default port: 2818
  • Access URL: http://localhost:2818
  • Hot reload: Enabled with --watch flag

Verification

After starting the server:

  1. Check running tasks with /tasks command
  2. Verify server is accessible via WebFetch to http://localhost:2818
  3. Use lsof -i :2818 to confirm port is in use

Workflow

  1. Ensure the target notebook file exists
  2. Start server with run_in_background: true
  3. Edit notebook files with the Edit tool
  4. Server automatically reloads on file changes
  5. Fetch results via WebFetch when needed