Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>cline-auto-workflowNew to Visual Studio Code? Get it now.
cline-auto-workflow

cline-auto-workflow

AkatonboX

|
13 installs
| (0) | Free
A Visual Studio Code extension that triggers a Cline workflow automatically when the vscode starts
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

cline-auto-workflow Documentation (README)

This extension is designed to automatically execute Cline workflows when VSCode starts. Cline itself does not provide a way to run workflows automatically. This extension enables that functionality. Supported only on Windows.

Usage

1. Prepare a file as shown below. Replace <workflow file name> with the name of the workflow you want to execute.

cline-auto-workflow=<workflow file name>

Please note the following:

  • This must be written on the first line.
  • You do not need to specify a directory for <workflow file name>. Just specify the file name of the .md file in .clinerules\workflows\.
  • The file extension must be included in <workflow file name>.
  • <workflow file name> must be 25 characters or less, including the extension.

2. Launch VSCode using the code command.

code -n <folder path> -- <file path>
  • -n: An option for code to open a new window.
  • <folder path>: Specify the folder path, which is the folder that contains the workflow you want to run.
  • <file path>: The path to the file you created earlier. This will open at startup. This extension will execute the text opened in the active editor with Cline at startup.

Features

When VSCode starts, the activate() function of this extension is executed and performs the following:

  1. Searches for the active editor. If not found, the process ends here. (Therefore, as described above, specify <file path> when launching.)
  2. If the content of the active editor matches the usage described above, it creates a command from that content and sends it to Cline's chat using the cline.addToChat command.
  3. Uses the included Windows command-line application (EmulateEnter) to emulate the Enter key, causing Cline to execute the task.

Requirements

  • This extension is for Windows only.
  • Requires .Net Framework 4.7.2.
  • It has been confirmed to work with Cline ver.3.19.7.

Extension Settings

None.

Known Issues

  • A timer (5 second delay) is used to coordinate with the startup of the client. Depending on the state, it may not be executed.

Release Notes

1.0.0

Initial release.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft