Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Quocn AI WorkspaceNew to Visual Studio Code? Get it now.
Quocn AI Workspace

Quocn AI Workspace

quocn

|
3 installs
| (0) | Free
Manage daily prompt tasks in .prompts/ with status tracking, AI action launch, and agent write-back
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI Workspace

A VSCode extension for the prompt tasks you keep in .prompts/.

It creates today's folder for you, makes a task in two keystrokes, shows what is done and what is stuck, launches a plan, brainstorm, implement or fix action — or any slash command you have installed — against the task you are looking at, and lets the AI report back when it finishes — including how long it took, how many tokens it used, which commits came out of it, and the files it produced.

How it works

.prompts/                        (git-ignored)
├── 2026-09-17/refactor-auth/
│   ├── task.md                  what you wrote — the only file treated as a task
│   └── plan.md, report.md …     what the AI produced — listed as artifacts
└── .aiws/
    ├── index.json               status, history, sessions, git links
    ├── bin/aiws                 stable CLI path, regenerated on every startup
    └── AGENTS.md                the contract, generated for agents to read

The extension and the aiws CLI are two separate processes writing one file, so every change goes through a cross-process lock. Nothing else writes index.json.

Using it

  1. Open a project. Today's folder appears; if you leave the editor open past midnight, tomorrow's appears too.
  2. New task in the view title bar. Type a title, press Enter. Esc leaves nothing behind.
  3. Write what you want in task.md. A one-liner is fine: ✨ Refine prompt has an agent read the code and your earlier tasks, then rewrite it in more detail — in your style, without adding scope. Your original wording is kept under ## Original prompt.
  4. Press one of the action buttons in the editor title bar. The prompt goes straight to your AI assistant.
  5. The AI runs aiws ack to claim the task, then aiws status … done when it finishes. The tree updates, and a notification tells you.
  6. Open the task details to see duration, tokens, estimated cost, commits, the PR, and the files the AI produced.
  7. When you are happy with the work, commit it: Commit, Commit & Push, or Commit, Push & Create PR on the task. The AI never commits on its own.

Open the browser dashboard

Run AI Workspace: Open Task Dashboard in Browser from the Command Palette. The extension starts an authenticated local dashboard on 127.0.0.1:43123 by default and opens it in your browser. The page lists tasks and progress, displays a GitHub-style activity grid based on task creation and status changes, and lets you read task Markdown and start a configured action. In the selected task's details, auto tasks also show their pipeline steps and the available Start, Continue, Retry, or Stop controls; these actions ask for confirmation. Markdown task-list checkboxes can be toggled in task.md and indexed Markdown artifacts. The dashboard changes only the checkbox marker. If a file changed after it was loaded, the dashboard reloads the latest version instead of applying the stale toggle. An Edit button above task.md and the task's own Markdown artifacts opens the editor in place of the reader, with Write, Split (live preview) and Preview modes, a formatting toolbar and ⌘S / Ctrl+S to save. Saving is refused when the file changed after the editor opened; the editor keeps your text and offers to copy it or load the latest version. task.md must keep its <!-- aiws:… --> marker comment. Plan files and plan snapshots stay read-only. Font family and size controls apply to the interface and Markdown reader and persist across workspaces. Besides the system, serif and monospace fonts, Settings offers Inter, Be Vietnam Pro, Roboto, Noto Sans, Lora, Merriweather, Source Serif 4 and JetBrains Mono. They ship with the extension (Latin and Vietnamese), so the dashboard never loads fonts from Google. Fenced code blocks use local syntax highlighting for common languages, with a Copy button and plain-text fallback for unknown languages. A ```mermaid block is drawn as a diagram, with a button to show its source; a diagram that cannot be drawn falls back to its source with the error. Mermaid loads only when a document has a diagram. Task details show a VS Code-style file explorer: the task's own Markdown, plan snapshots and linked plans as folders, a file filter (⌘P / Ctrl+P), tabs for open files and an outline of the open file's headings. Pipeline, Git, AI information and Activity open in a panel beside the reader from the Information button, which the browser remembers; on phones they move to Information and Activity tabs, files open from a bottom sheet and the main actions stay in a bottom bar. Linked plans are the plans under <project>/plans/ that belong to the task: a plan directory whose name contains the task ID as whole dash-separated parts (for example 261115-0706-261115-668k-dashboard-v3 for task 261115-668k), or whose plan.md links to the task's task.md. Its plan.md and phase-NN-*.md files are read live and shown read-only; symlinked plans are skipped. Git shows the recorded branch, commits since the recorded baseline, and a recorded pull request when available. Commits in that range can include other work; branch changes and missing baselines make the range unavailable. AI information shows token metrics, a Model row with each agent's logo (Claude Code, Codex) and the models it used, and session IDs; unavailable measurements are identified. Models come from Claude Code's session logs, so a task run only by Codex shows "Model unknown". Activity shows the task's status history as a timeline with relative times. Timestamps use the viewer's local time in DD-MM-YYYY HH:mm:ss format.

The task actions in the dashboard are the same ones the task.md CodeLens offers: outside Moto, the AI Workspace actions (/aiws-plan and so on), which hand over to the kit selected in aiWorkspace.kit. Every action shows a spinner and stays disabled while it runs. After an action launches, a toast says where it went: a VS Code terminal, the agent's VS Code panel, the desktop app, the clipboard, Orca or herdr. On macOS, and in WSL Remote windows, the VS Code window is brought to the front when the work landed in its terminal, panel or clipboard.

Use the project selector to switch between registered projects. The current project is registered when its VS Code window connects; use AI Workspace: Add Project to Dashboard to register another local project. Registered projects remain readable after their windows close. To change a closed project, open it from the dashboard and repeat the action once its VS Code window connects; actions are not queued for later. Projects that have moved or are unavailable cannot be opened until they are registered at their new location. Remote workspaces are not supported by the local dashboard. The dashboard loads its data when the page opens and after your own actions in it; it does not poll. Reload the page (F5), or use the header's refresh button, to see changes made elsewhere. Task status changes still arrive live, as described in the notifications section below.

The address bar follows what you open: the view, the project, the task and the file inside it (#/p/<project>/t/<task>/d/<file>). Reloading reopens the same screen, back and forward move between the files and views you opened, and a copied address opens the same place for anyone who can open the dashboard. A file that no longer exists falls back to the task itself.

For an open project, New task creates a task from a title and optional description in that project. It does not start an AI action. The task table has search, status and a calendar filter for the local Updated date, and sorting. Status badges show an icon and a label. Each row has a … menu with View, the same task actions as the detail view, and Delete task; read-only viewers see only View. Select rows to delete up to 100 tasks at once; each deletion asks whether to remove only the list entries (files stay and are adopted again as new tasks on the next scan) or to delete the task folders too, which cannot be undone. The detail view has a back control.

The Overview shows the project's total recorded tokens and a stacked daily chart of input, output and cache tokens for the last 30 days. Totals come from the local AI session logs of the project's tasks, so they are available while the project's VS Code window is closed; they are not shown to read-only viewers.

The dashboard stays running after VS Code windows close, until you use AI Workspace: Stop Task Dashboard or the dashboard's Stop control. It is not available to other devices unless you start a read-only share as described below. Dashboard settings include language (English, the default, or Vietnamese), font, size, theme and colors, with reset; existing reader preferences are retained. Theme, colors and language preview as you change them; font sizes apply when you save. The header also has quick language and theme (light, dark, system) switches that save the same preferences; on a read-only share they change only that browser tab. The sidebar footer shows the extension version. When a project is open, Settings also lists every declared extension setting in a collapsed section that loads only when expanded. Each setting has its own value, user or project target and Save button. Each change asks for confirmation; absolute values in path settings and detected local paths in other values are hidden, and Notion credentials remain in VS Code secret storage. The browser link carries an access token, so treat it as private. If the port is already in use, choose another port in settings or stop the process that owns it; the extension does not terminate unrelated processes. The companion requires a local Node.js 18 or newer. Its private runtime data is under ~/.config/ai-workspace/dashboard/.

Review Code

Task details have a Review Code button (a Git icon with the number of changed files). It opens a panel, styled like GitHub Desktop, with every uncommitted change in the project's working tree: staged, unstaged and untracked files, whatever task made them. The left column lists the files with the language's logo (PHP, Vue, React, JavaScript, TypeScript, CSS, Sass, HTML, Blade, JSON, Markdown, or ··· for anything else), and the main column shows one collapsible diff per file, unified or split. Ticking Viewed collapses a file. The tick is remembered in this browser until the file changes again. Binary files, very large diffs (over 5,000 lines) and repositories without a commit show a note instead of a diff. Diffs are read with git in the project folder and load as you scroll; the panel reloads each time it opens.

Run AI review sends a prompt to your agent by the same route as the Commit actions (aiWorkspace.providers.<id>.launchMode: the Claude Code panel, a terminal, and so on), so it needs the project's VS Code window. The prompt points the agent at task.md, the task's plans and artifacts, its status history, the commits since its baseline and the list of changed files. The agent changes no code and no task status; it writes two files into the task folder: reviews/<yyMMdd-HHmmss>.vi.md and reviews/<yyMMdd-HHmmss>.en.md. Once both exist, each file in the panel gets a Business description · AI section, collapsed until you open it, with any risk the agent flagged. Switch between Tiếng Việt and English at the top, open the overall summary, or run the review again. A file edited after the review was written is marked May be outdated.

A project share never serves diffs or review files. To show one finished review, share it on its own: see Share one plan or code review.

Status-change notifications in the browser

When a task changes status, every open dashboard tab is told at once. This covers changes made by agents, by the aiws status command, in VS Code, and in the dashboard itself. A tab you are looking at shows a toast. A tab in the background shows a system notification instead, if you allowed browser notifications; otherwise, the change waits in the bell. Several changes to one task within three seconds share one toast or notification.

The bell in the top-right corner lists recent changes from every registered project, newest first, with an unread count. Opening the bell marks them as read. To get system notifications, open the bell and choose Enable browser notifications. Clicking a toast, a notification, or a bell entry opens the task, switching project if needed.

Changes are announced only while the project is open in a VS Code window; changes made while it is closed appear after a reload without a notification. The dashboard keeps the last 50 changes per project in memory, so the list empties when the dashboard stops. Nothing is announced while no dashboard tab is open.

Share a read-only dashboard

On the computer running the dashboard, install cloudflared from the official Cloudflare downloads. Select a project, choose Share, and start sharing. Copy the temporary link or scan its QR code. Anyone with the link can view the shared project, so send it only to people you trust. No email sign-in is required.

Choose whether the link lasts one hour or 24 hours; the owner may stop it earlier. Only one share runs at a time. The selected project remains readable if its VS Code window closes. Viewers can read task documents, AI information, and activity but cannot change tasks or run actions. Viewers also get status-change notifications and a bell for the shared project only. The bell lists only changes made after the share started. The local owner retains the normal dashboard controls.

The link is a private credential. Data passes through Cloudflare while sharing, and the host computer must stay online. The HTTPS hostname changes when sharing restarts. Quick Tunnels are intended for testing and development and have no uptime guarantee. See Cloudflare Quick Tunnel limits.

Share one plan or code review

A plan or a finished code review can be shared on its own, like a published page. In task details, hover a plan folder in the file explorer and choose its Share button, or open Review Code and choose Share next to the review. Pick one hour or 24 hours and start sharing.

The link opens a single read-only page: the plan's plan.md and phase files as tabs, or the review's summary, each changed file with its description and its diff. The page is a snapshot taken when sharing started, so later edits do not reach it. Anyone with this link sees only that item: no task list, other documents or notifications. A review share includes the code changes in its diffs, so share it only with people who may read that code. It uses the same cloudflared tunnel as a project share, so the same limits apply: one share at a time, and the computer must stay on. The page tells viewers when the link has expired.

Settings

The ... menu on the Tasks view has two entry points: Open Settings goes to this extension's settings page, and Set Launch Target switches where actions open without leaving the sidebar. Both are in the command palette too.

Setting What it does
aiWorkspace.promptsDir Where tasks live. Machine-scoped, so a repository cannot redirect it.
aiWorkspace.dashboard.port Application-wide dashboard port, 1024–65535; defaults to 43123. A port change keeps the existing port if the new one cannot be bound.
aiWorkspace.taskTemplate Your own template for new tasks. Machine-scoped for the same reason.
aiWorkspace.actions Which slash commands or ak- skills appear as task buttons. Empty by default, which gives four slots — Plan, Brainstorm, Implement, Fix — that send an installed command when one is found and a plain instruction otherwise.
aiWorkspace.kit all (default), ak, qk, ecc or moto. Moto becomes active only after Configure Moto Developer stores its folder choices locally for this workspace. See Kits and auto tasks.
aiWorkspace.pipeline Your own step chain per kit, replacing the built-in one, e.g. { "ak": ["/aiws-plan", "/aiws-implement"] }. Outside Moto, only AI Workspace actions. Machine-scoped.
aiWorkspace.agent.reportLanguage Language each auto-task step writes its report in. Empty uses agent.questionLanguage, then English. Machine-scoped.
aiWorkspace.discoverCommands Find commands and skills installed for the selected provider and list them in the action picker. On by default. Machine-scoped.
aiWorkspace.defaultProvider claude or codex.
aiWorkspace.providers.*.launchMode Where an action opens: auto, terminal (CLI), orca (a new Orca worktree), herdr (a new tab in herdr) or clipboard, plus extension (in-editor) and app (the Claude desktop app, prompt on the clipboard) for Claude.
aiWorkspace.orca.cliPath Path to the orca executable, when the orca target cannot find it by itself.
aiWorkspace.herdr.cliPath Path to the herdr executable, when the herdr target cannot find it by itself.
aiWorkspace.launch.ackTimeoutSeconds How long to wait for the AI to pick up a task before telling you it did not.
aiWorkspace.agent.questionLanguage Language the AI asks you questions in during a task, e.g. Vietnamese. Also the language Refine prompt rewrites the task in; empty keeps the task's own language. Machine-scoped, since it goes into the prompt.
aiWorkspace.agent.readmePath A file of standing instructions every prompt tells the AI to read first — actions and Commit commands alike. Empty means .prompts/README.md (inside your prompts folder). Only mentioned when the file exists. Machine-scoped.
aiWorkspace.commit.* Commit conventions, included in the prompt for the Commit commands so the AI commits your way.
aiWorkspace.git.instructions.* The cleanup rule and steps for Commit, Commit & Push and Commit, Push & Create PR, one setting each, prefilled with the built-in text. Machine-scoped.
aiWorkspace.notion.rootPageId Notion page (URL or id) that holds your projects' docs. Set by Connect Notion. Machine-scoped.
aiWorkspace.notion.docsLanguage Language task docs are written in before they go to Notion. Defaults to Vietnamese. Machine-scoped.
aiWorkspace.notifications.* Master switch, per-event switches, and toast / statusBar / silent.
aiWorkspace.pricing Per-million-token rates used to estimate cost.
aiWorkspace.viewMode list or grid.

Committing

The AI is told, in every action prompt, not to commit, push or open a pull request. It leaves its work in the working tree. Three commands on a task — right-click it in the tree, or use the command palette — take it from there:

Command Does
Commit Cleans the change, then commits it.
Commit & Push …then pushes the branch.
Commit, Push & Create PR …then opens a pull request with gh.

Each one sends a prompt to your AI the same way an action does, so the commit message is written with the context of what actually changed, and your aiWorkspace.commit.* conventions travel with it.

Before committing, the AI cleans the files in scope — everything changed since the task was launched, plus new untracked files. The rule is deliberately narrow: delete code that was commented out and abandoned, and debug or scratch comments left behind; keep every comment that explains why the code is the way it is, and change no behaviour while cleaning.

That cleanup rule and the steps after it are yours to change, per command, in aiWorkspace.git.instructions.commit, .commitPush and .commitPushPr. Each starts as the built-in text; clearing one brings the default back. What is always sent around them, whatever you write: the branch check, which files are in scope, the secrets guard, and the rule against rewriting history. If you allowed the Claude skills below, your text is written into them too, under .claude/skills/ in the repository — keep that in mind before committing them.

The AI is also told to stop rather than improvise: if HEAD is no longer on the branch the task was launched on, if an untracked file looks like a secret or machine-local config, or if there is simply nothing to commit, it says so instead of committing.

If your launch target is orca or app, these commands use the default route instead and say so. Both put the AI somewhere your uncommitted work is not — an Orca worktree is a fresh checkout, and the desktop app cannot reach the repository at all. The herdr target runs them as usual: its tab opens in this folder.

The commit commands sit behind a ✨ button wherever you work:

  • on each task in the Tasks tree, and in the title bar of an open task.md: commits that task's changes;
  • in the Tasks view title bar: asks whether to commit Current changes or a task's changes;
  • in the Source Control title bar: commits everything uncommitted, no task involved.

The task details page has a button bar too: Run AI Action, Mark Done, Commit, Commit & Push and Commit, Push & Create PR, all for that task.

If you allow AI Workspace to add Claude skills, you can also commit from inside Claude with slash commands. They carry the same cleanup rule and limits:

Command Does
/aiws-commit clean up, commit
/aiws-commit-push clean up, commit, push
/aiws-create-pr clean up, commit, push, gh pr create

Anything you type after the command is passed on, for example /aiws-commit only the api folder. Claude never runs these on its own. The skills are rewritten when the extension starts and when you change aiWorkspace.commit.*, aiWorkspace.git.instructions.* or aiWorkspace.agent.readmePath.

A README for every prompt

Put instructions you want the AI to follow on every task — project conventions, where things live, what never to touch — in .prompts/README.md. Every action and Commit command then tells the AI to read it first. The prompt's own rules still win a conflict, so the README cannot, for example, make an action commit. It is pointed at, not pasted in, and only when it exists; point aiWorkspace.agent.readmePath elsewhere in the workspace to use another file.

A source overview for newcomers

AI Workspace: Write Source Overview (command palette, or the views' ••• menu) has the AI read the code and write an onboarding overview, in Vietnamese, to .prompts/source/: overview.md (what the project is, how to run it), structure.md (folders and modules), domain.md (concepts, rules, workflows) and routes.md (routes, commands and other entry points). Run it again to Update — check it against the code and keep what is still right — or Rebuild from scratch. Once overview.md exists, task actions, Refine Prompt and task docs tell the AI to read it, as they do the README. The AI only writes those four files and never commits.

Task docs in Notion

When a task is done or in review, 📝 Docs → Notion (CodeLens, or the task's context menu) has the AI write docs.md beside the task — overview, changes, files, how to test, and the pull request link when the task has one — then the extension uploads it to Notion. The AI never sees your token.

In Notion, the root page holds one page per workspace folder, and each of those holds one page per task, titled with the docs' own heading — a clean title the AI writes, not the raw task name — followed by · <task id>. Running it again updates that page rather than adding another. Push Docs to Notion uploads the docs.md already on disk without asking the AI to rewrite it — useful after editing it by hand, or if the editor reloaded before the upload.

To connect:

  1. Create an internal integration at notion.so/my-integrations and copy its token.
  2. In Notion, open the page that should hold your docs, choose ••• → Connections, and add the integration.
  3. Run AI Workspace: Connect Notion and paste the token, then the page's URL.

The token is kept in the editor's secret storage, not in settings; Disconnect Notion removes it. Until both are set, the docs commands send nothing and say why.

Google Sheets from an agent task

An agent can use the workspace's .prompts/.aiws/bin/aiws shim to read a Sheet referenced by URL or ID in task.md, then write values or append a report. The same commands can create spreadsheets, manage tabs, format cells, merge or unmerge ranges, and permanently delete a spreadsheet after a separate preview and your explicit approval. Sheet cell contents are data, not instructions for the agent.

To connect for local or test use:

  1. In a Google Cloud project, enable the Google Sheets API and Google Drive API, configure the OAuth consent screen, and create an OAuth client of type Desktop app. Add your account as a test user if the app is in Testing.
  2. Download the Desktop client JSON outside this repository. In VS Code, run AI Workspace: Connect Google Sheets from the Command Palette, select that JSON file, and grant Sheets and Drive access in the browser. Use AI Workspace: Google Sheets Connection Status to check the connection or AI Workspace: Disconnect Google Sheets to remove it and attempt revocation. The CLI alternative is <workspace>/.prompts/.aiws/bin/aiws sheets auth login --client-config /absolute/path/to/client.json.
  3. Put the Sheet URL and the exact range or report destination in task.md. The agent can call, for example, aiws sheets read --spreadsheet <url-or-id> --range 'Sheet1!A1:C20'. Write, append and format take one JSON document on stdin; no cell data or report text belongs in command arguments.

The extension and CLI share a private refresh credential under your home configuration directory, not in the repository or task prompt. The drive permission is broad because deleting a spreadsheet named only by URL/ID needs Drive API access; public distribution with this restricted scope requires Google's OAuth verification. A Google app still in Testing may require users to reconnect when its test authorization expires. See agent integration for the command and retry contract.

Moto Developer

Open Moto Settings in the AI Workspace sidebar to enter the native Google Sheets EST template folder, native Google Sheets Test PCL template folder, and Drive task root folder by URL or ID. Verify folders and enable Moto checks the folders and asks before creating eight Claude commands in .claude/commands/moto/ and eight Codex skills in .agents/skills/moto-*/. Those generated files may be tracked by Git; an existing user-owned file is never replaced. Moto activation, folder choices, Q/A approval and mutation receipts stay in private local state outside the repository. Use the same sidebar panel in another VS Code workspace to configure Moto there. The Configure Moto Developer command remains available as an input-box setup flow. Moto creates .agents/skills/moto/README.md as the shared workspace rules file when it is missing. Every generated Moto command and skill reads it first. You can edit that README for team-specific rules; setup preserves it.

Moto offers Manual actions and a seven-step Auto pipeline: intake, overview, estimate, plan, coding, review and Test PCL. The Manual-only questions command is also available. Claude uses /moto:<step> and Codex uses moto-<step>. Intake translates only the Google Sheets, tabs and tables you explicitly identify. The translated table goes below its Japanese source. The estimate uses the selected EST folder. If it creates questions.md, review the answers and run AI Workspace: Approve Moto Questions in VS Code before the plan step. Editing the file invalidates that approval.

Each Auto step must link a fresh local report before Continue can advance. The PCL step copies a native Google Sheet template to <Drive task root>/<task name>/pcls/test; its URL is recorded in the local report. If a Drive create or copy returns an unknown outcome, Moto checks for a matching file before reuse and stops when the result remains ambiguous. It does not delete the source or template. The generated commands remain when you disable Moto. See agent integration for CLI details.

Running a task in Orca

Set the launch target to orca and an action hands the task to the Orca app instead of running it here: Orca creates a worktree for this project, starts the agent on the task prompt, selects it, and comes to the front. Each action gets its own worktree, so two tasks never share a checkout.

The task file itself stays in this workspace. The prompt names it by absolute path, and the agent writes back through this workspace's aiws shim, so status, duration, cost and artifacts land on the task you launched — from the other checkout.

The prompt also names this workspace as the main checkout and tells the agent to apply its diff there once the code changes are done, because the worktree is thrown away and anything left in it would go with it.

Orca is reached through its CLI, because orca:// has no deep link for a project or a task. The target finds the CLI in this order: aiWorkspace.orca.cliPath, then orca on your PATH, then the CLI inside Orca.app. The last one matters: Orca's PATH shim is a root-owned symlink, and where it cannot be read it fails with "Unable to determine Orca.app path" — so the target checks that a candidate actually answers before using it.

Running a task in herdr

Set the launch target to herdr and an action opens a tab in the running herdr session instead of the editor terminal. The tab goes into the herdr workspace that already has a pane in this folder, or into a new workspace for the project when none does, and herdr switches to it. The agent is started there and given the task prompt, and herdr tracks whether it is working, blocked or done like any other agent.

The tab opens in this folder, so the agent works on the same checkout and git actions run there too. Each agent is named after its task (aiws-<task id>, with -2, -3, … for a second launch), which is how herdr agent list tells them apart.

herdr has to be running already — start it with herdr in a terminal. The target finds the CLI in this order: aiWorkspace.herdr.cliPath, then herdr on your PATH, then /opt/homebrew/bin, /usr/local/bin and ~/.local/bin, since the editor may not inherit your shell's PATH.

Live conversation activity

By default a task only knows what the agent chose to report. Install the Claude Code hooks — AI Workspace: Install Claude Hooks — and each task also shows whether the AI is working right now, whether it is waiting on you, and how many turns the conversation has run.

This appends three hooks to ~/.claude/settings.json, backs the file up first, and leaves every hook already there untouched. AI Workspace: Remove Claude Hooks takes them back out. Everything else works without them; only the live indicator needs them.

Activity is shown, never acted on. Nothing can tell "waiting for your reply" from "finished", so the extension does not guess — a task's status still only changes when the agent says so or when you do.

Clearing up

The index only ever grew: a task whose file you deleted was flagged as missing and stayed in the list forever. Two commands fix that.

Clear Tasks… removes a group — everything done, everything archived, everything whose file is gone, or the whole index — and asks whether the task folders should go with it.

Rebuild Index From Disk scans the tree and rebuilds, keeping every id, title, status, history, session and git link of a task whose file is still there, and dropping the entries whose file is not. It asks before dropping, because status and metrics live only in the index and disk cannot give them back. A rebuild that changes nothing says so and writes nothing.

Right-click a task for Delete Task to do one at a time.

Worth knowing: removing a task from the index while leaving its task.md in place is not permanent. The watcher notices an unindexed task file and adopts it again within seconds — as a new task, named after its folder, with no history. That is the reconciler working as intended, so the dialogs say it plainly. Choose to delete the files when you want the task actually gone.

Things worth knowing

Costs are estimates. Token counts are read from the AI tool's own logs and are exact. The money figure is those counts multiplied by rates you configure. A model with no configured rate shows —, never $0.00, because a confident zero reads as "this was free".

Metrics need a provider that writes session logs. Claude Code does. Whether Codex does is currently unknown — it has not been run on the development machine, so the honest answer is "unverified", not "no". Tasks without logs show why instead of showing zeros.

POSIX only. The aiws shim is a /bin/sh script. On Windows the extension reports that the CLI is unavailable rather than writing something that cannot run.

Single-root workspaces only. A multi-root workspace is rejected with a clear message rather than a guess about which root owns .prompts/.

Restricted Mode disables it. The extension writes an executable into your workspace, so it declares that it does not support untrusted workspaces.

.prompts/ must be git-ignored. The extension checks with git check-ignore — which sees your global excludes file, not just the repository's .gitignore — and offers to add it before creating anything.

For agents

See docs/agent-integration.md, or read the AGENTS.md the extension generates inside .prompts/.aiws/.

Installing locally

./scripts/install-local.sh

Checks the toolchain, installs dependencies, typechecks, runs the tests, builds, packages, verifies the archive, and only then installs. Any failing step stops it — a broken extension that installs is worse than one that does not, because it disables itself quietly.

Flag
--pull git pull --ff-only first; refuses if you have uncommitted work
--skip-tests faster, and you accept the risk
--dry-run build and verify, install nothing
--uninstall remove it

Reload the window afterwards: Cmd+Shift+P → Developer: Reload Window.

Actions and installed commands

Out of the box the task buttons are four slots: Plan, Brainstorm, Implement and Fix. Each sends an installed command it recognises: Claude uses /ak:plan, /ak:brainstorm (or /superpowers:brainstorming), /ak:cook, /ak:fix; Codex uses ak-plan, ak-brainstorm, ak-cook, ak-fix. A missing command falls back to a plain instruction.

The action picker (Run AI Action) also lists every action found installed, grouped as:

Group Where it is found
Project commands .claude/commands/**/*.md, .claude/skills/*/SKILL.md in the workspace
Global commands ~/.claude/commands, ~/.claude/skills
Plugin commands skills and commands of Claude Code plugins enabled in ~/.claude/settings.json

With codex as the provider, skills in the project's .agents/skills, ~/.agents/skills, and ~/.codex/skills appear by name, such as ak-cook. ~/.codex/prompts/*.md still appears as /prompts:<name>. Only file names and frontmatter (name, description, user-invocable) are read. Set aiWorkspace.discoverCommands to false to turn this off.

Custom actions

To pin your own buttons, set aiWorkspace.actions — in your user settings, or per project in .vscode/settings.json when a repository uses its own commands:

"aiWorkspace.actions": [
  "/ak:plan",
  "/ak:fix",
  { "command": "/ak:ship", "label": "Ship" }
]

A plain string labels itself; an object gives a shorter button. Slash commands and safe ak- or qk- skill names are accepted; spaces or shell characters are ignored with a warning, because these strings end up in a prompt that the terminal route types into your shell. One bad entry never empties the toolbar.

Kits and auto tasks

A project that works with one command kit can say so in .vscode/settings.json:

"aiWorkspace.kit": "ak"   // or "qk" or "ecc"; "all" (default) uses no kit

AI Workspace actions

Outside Moto, every action the editor and the dashboard launch is an AI Workspace action: a skill the extension writes itself, aiws-<action>, under .claude/skills/ for Claude Code and .agents/skills/ for Codex. Claude runs it as /aiws-plan, Codex as aiws-plan. Each one applies AI Workspace's own context first (acknowledge the task, read it, report status, link files), then hands over to the selected kit's command:

Action ak qk ecc
aiws-brainstorm /ak:brainstorm /qk:brainstorm built-in
aiws-plan /ak:plan /qk:plan /ecc:plan
aiws-implement /ak:cook /qk:implement /ecc:tdd-workflow
aiws-review /ak:code-review /qk:review /ecc:code-review
aiws-fix /ak:fix /qk:fix /ecc:build-fix
aiws-search /ak:scout built-in built-in
aiws-debug /ak:debug built-in built-in

Codex uses the ak- and qk- skill names. "Built-in" means the skill follows its own steps, as it does for every action when the kit is all; it never borrows another kit's command. The launch prompt names the kit on a Kit: line under the command. When you type /aiws-plan yourself, the skill asks aiws kit, which prints the kit selected for this workspace.

aiws-plan decides the shape of every plan, whichever kit writes it: a folder plans/{yymmdd-hhmm}-{task-id}-{slug}/ holding plan.md (frontmatter title, description, status, priority, effort, branch, tags, task, kit, created) and one phase-NN-<name>.md per phase. It checks the kit's output against that layout and copies the plan into the task with aiws plan-sync.

The task buttons are the first four actions (Brainstorm, Plan, Implement, Review) followed by anything in aiWorkspace.actions. The action picker lists all seven, then your actions, then All installed commands… to send any other command by hand. The dashboard's Run review in Review Code goes through aiws-review too. The skills are written once you allow AI Workspace to add skills to the repository; without them the buttons fall back to the plain instructions they used before. They hold the table for every kit, so switching kit does not rewrite them.

Install qk separately for Claude Code or Codex. Its stack skills (qk:react, qk:nodejs, qk:databases and so on) are loaded by qk:implement itself, so they are not separate actions.

Auto chains

Kit Built-in auto chain
ak, qk, ecc aiws-brainstorm → aiws-plan → aiws-implement → aiws-review
moto Claude /moto:intake → /moto:overview → /moto:ba → /moto:est → /moto:plan → /moto:coding → /moto:risk → /moto:review → /moto:pcl; Codex uses moto- skill names

To change a chain, set aiWorkspace.pipeline.<kit> in machine settings. Outside Moto every step must be an AI Workspace action, for example {"qk": ["/aiws-plan", "/aiws-implement", "/aiws-review", "/aiws-fix"]}; either provider's spelling works.

AI Workspace: Install Command Kit… shows whether the ECC and Superpowers Claude Code plugins are installed, and installs (or re-enables) a missing one. It shows the exact claude plugin commands first, then runs them in a terminal; it never edits ~/.claude itself. With "aiWorkspace.kit": "ecc" and ECC missing, the action picker offers Install ECC… too. Start a new Claude session afterwards.

With a kit that has a step chain, New Task asks Manual or Auto. A manual task works as always. An auto task walks the chain one step at a time:

  1. Press ▶ Start pipeline in the task's CodeLens (or the toast offered after creating it) once the task is written.
  2. Each step runs in a new Claude Code or Codex session in a terminal of its own — or a new herdr tab when herdr is your launch target. ECC auto tasks require Claude Code. Other launch targets are used for manual actions only, because they cannot give each step a fresh session.
  3. The step writes a report beside the task, report-<nn>-<step>.md, in aiWorkspace.agent.reportLanguage, then reports review.
  4. You get one prompt: Continue, Rerun or Stop, with Open report. The next step is told to read the earlier reports, and steps after a plan step are told to take the plan path from them. Outside Moto, a step that reports without a fresh report gets a warning. Moto waits for a fresh, linked report and its required local output before it can advance.
  5. After the last step, Mark done finishes the task.

A step that reports blocked pauses the pipeline; Rerun or Resume from the CodeLens or the task's context menu. Marking the task blocked or done by hand pauses or stops it. Progress shows as ⟳ 2/4 · /aiws-plan in the list and grid and as a Pipeline section in the detail view. Every step launch, reruns included, opens a new terminal; close old ones when you are done reading them.

The commands a step runs always come from the built-in chain or your machine-scoped aiWorkspace.pipeline. AI Workspace and Moto steps accept either provider's syntax in the setting and use the selected provider's form at launch. Commands never come from the task index, so a repository cannot choose them. Avoid running manual actions on an auto task while a step is running: without a session id their status reports look the same as the step's.

Marking a task done by hand

Not everything gets finished by an agent. The ✓ button on a task row, in the editor title bar of a task.md, and in the CodeLens marks it done in one click, with an Undo. Manual changes are attributed to you, which is why they do not trigger a notification.

Development

npm install
npm run build      # both bundles plus webview assets
npm test           # typecheck + unit tests, no VSCode needed
npm run package    # build a .vsix and verify what it contains
./scripts/build-vsix.sh # equivalent script; works from any directory

npm run package fails if the archive is missing the CLI bundle, or if it contains .prompts/, .claude/, sources or tests.

Release

Copy .env.example to .env and set VSCE_PAT to your Marketplace personal access token. The real .env is ignored by Git and excluded from the VSIX. Use Node.js 22 or newer.

After committing all changes and syncing the branch with origin, run one of:

npm run release -- patch
npm run release -- minor
npm run release -- major

The command increases the version in package.json and package-lock.json, adds commit subjects since the previous v* tag to CHANGELOG.md, runs tests, builds and verifies the VSIX, commits the release, pushes its tag and branch, then publishes the verified VSIX to VS Code Marketplace. On the first release, the changelog includes all existing non-merge commits.

If Marketplace publishing fails after the push, the release commit and tag already exist. Resolve the publishing problem, then retry the existing VSIX:

npm run release -- publish
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft