Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>InstructorNew to Visual Studio Code? Get it now.
Instructor

Instructor

Jules ROGUE

|
2 installs
| (0) | Free
Run, preview, install and publish Instructor AI tasks (INSTRUCTOR.md) from VS Code, powered by the instructor CLI.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Instructor

Instructor for VS Code

VS Code Marketplace instructor-cli on npm GitHub

Install: search Instructor in the Extensions view, or code --install-extension JulesROGUE.instructor-vscode.

Run, preview, install and publish Instructor AI tasks without leaving VS Code.

An Instructor task is a small form + a prompt, written in Markdown (INSTRUCTOR.md). This extension is a front-end for the instructor CLI: every action goes through the CLI, so tasks behave exactly as they do in the terminal (same agents, same AI answers, same gists).

Requirements

The instructor CLI 0.2.1 or later:

npm i -g instructor-cli

If it is missing or outdated, the extension offers to install it.

Features

  • Tasks view (activity bar): project, installed and global tasks, with their form in the tooltip (questions answered by AI are marked). Invalid tasks are listed under Problems.
  • Run a task: answer the form with native VS Code pickers and input boxes; the task then starts your AI agent (Claude Code, Codex, Gemini CLI…) in an integrated terminal. Questions marked answer: ai are answered by the agent, not shown.
  • Preview prompt: answer the form and see the final prompt in an editor, without starting any agent.
  • CodeLens above each task in Markdown files: ▶ Run, Preview prompt, Publish.
  • Diagnostics: format errors (unknown question type, invalid YAML…) are underlined on the right line; unknown template variables and shadowed tasks are warnings.
  • Install tasks from a gist or a .md URL, publish tasks to a GitHub gist, generate a task with AI, create one with the wizard, create INSTRUCTOR.md, delete a task (right-click → Delete Task).
  • Syntax highlighting of {{variables}} and {{#if}}…{{/if}} blocks in Markdown, and snippets (task, q-select, q-ai, if…).

Settings

Setting Default
instructor.cliPath instructor command or path of the CLI
instructor.formStyle vscode vscode: native pickers · terminal: the CLI asks the questions (supports Save these answers for next time)
instructor.codeLens true Run / Preview / Publish above each task

Development

npm install
npm test                                   # unit tests
INSTRUCTOR_CLI=instructor npm run test:integration   # runs a downloaded VS Code with the extension
npm run package                            # builds the .vsix

Press F5 in VS Code to start an Extension Development Host.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft