workflows

Configure, restart, and remove long-running Replit workflow processes.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/AmirEmad11/instabot --skill workflows-amiremad11
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflows
Source: https://github.com/AmirEmad11/instabot/tree/main/.local/skills/workflows
Command: npx skills add https://github.com/AmirEmad11/instabot --skill workflows-amiremad11

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing persistent background processes like web servers, APIs, and desktop apps requires manual setup and monitoring. This Skill provides a unified interface to configure, monitor, restart, and remove long-running workflows on Replit without separate configuration files. ## Core Features & Use Cases - Workflow Configuration: Create workflows binding shell commands to persistent processes with port detection and output type selection (webview, console, or vnc). - Status Monitoring: List all workflows and inspect detailed status including console output, open ports, and current state. - Lifecycle Management: Restart workflows after code changes and remove unused workflows automatically. - Use Case: After modifying your Express server code, restart the "Start application" workflow to apply changes, then check its status to verify it is listening on port 3000 without errors. ## Quick Start Configure a workflow named "Start application" that runs "npm run dev" on port 3000 and restart it after my code changes.

Frequently Asked Questions about workflows

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a workflow to run a web server on Replit?

Use configureWorkflow with a name, the shell command, and a waitForPort matching your server's port. Set outputType to "webview" for web applications, and the workflow auto-starts after configuration by default.

How do I restart an application after making code changes?

Call restartWorkflow with the workflow name, such as "Start application". You can pass a custom timeout in seconds for applications with slow startup, and the result includes restart status and an optional screenshot URL.

Which ports are supported for Replit workflows?

Supported ports are 3000, 3001, 3002, 3003, 4200, 5000, 5173, 6000, 6800, 8000, 8008, 8080, 8099, and 9000. The waitForPort parameter must match the port your application actually listens on.

Why did my workflow fail to start or restart?

Common causes include the application not listening on the expected port, the endpoint not returning HTTP 200, or startup errors in your code. Check the workflow logs via getWorkflowStatus and verify your port configuration.

When should I use bash instead of a workflow?

Use bash for one-off commands like build scripts, tests, or package installs that do not need to keep running. Workflows are only for persistent processes such as servers, TUIs, and background services.

Is there a limit on how many workflows I can create?

Yes, the maximum is 10 workflows. Keep workflows minimal by using one primary workflow per project and removing unused ones with removeWorkflow, which also stops them if running.