MDE AI-DLC Harness
Everything your team needs to work with AI coding agents, in one VS Code dashboard:
- Catalog: install the team's shared workflows, agents, tools and skills into your project
for Claude Code or GitHub Copilot.
- Token usage: see how many tokens Claude Code and GitHub Copilot use, and roughly what they
cost, per day and per project.
- DLP guardrails: stop secrets and personal data before they reach an AI agent.
Open it from the MDE AI-DLC icon in the Activity Bar, the status bar item, or
MDE: Open Dashboard. A Get started walkthrough opens the first time you install the
extension, and you can reopen it with MDE: Open Getting Started.
Catalog
- Search and filter by type (workflow, agent, tool, skill), category and author.
- Open Details to read what a resource does and see the exact files it will write into your
project, including any it would overwrite.
- Install one resource or select several and install them together. Badges show what is
Installed and what has an Update available.
- Choose the target project folder and the assistant (Claude Code or GitHub Copilot) to install for.
Needs a GitLab sign-in the first time. After that the catalog keeps working from a saved copy,
even offline.
Token usage
- Totals for tokens, estimated cost and requests, for Claude Code, GitHub Copilot or both.
- A daily chart over the last 7, 30 or 90 days, or all time. Hover a day for its numbers.
- A per-project breakdown of input, output and cache tokens.
- Export to CSV or Markdown, or publish to your team's usage server.
Usage is read from local log files and computed on your machine. No sign-in needed. Copilot cost
comes from the AI units Copilot records per request; Claude Code cost from list prices. Both are
estimates, not an invoice.
DLP guardrails
- Open the DLP guardrails tab. The guardrail service starts by itself.
- Under Agent hooks, press Init for Claude Code and/or GitHub Copilot, for all your
projects or only the open folder. New agent sessions are then checked.
- Press Add starter rules to cover common secrets (cloud keys, tokens, private keys) and
personal data (emails).
- Each rule can block, warn or redact a match. Findings shows what was caught,
Rules lets you add, test and group rules, and Publish shares findings with your team.
No sign-in needed. Only a masked preview of each match is stored. Hooks are a safety net against
mistakes, not a replacement for keeping secrets out of your code.
Guide
The Guide tab (MDE: Open Guide) walks through every feature, the settings and common
problems, in English, Vietnamese and Japanese.
Requirements
- VS Code 1.85 or newer
- Git on
PATH
- Python 3.10 or newer, for the Catalog. Nothing needs to be installed into it, and it is found
automatically. If none is found, the dashboard helps you install it.
- For the Catalog: a GitLab personal access token with the
read_user and read_repository
scopes. The dashboard opens the token page for you when you sign in.
- Copilot token counts need Copilot Chat's debug logging, which the Token usage tab can switch on.
Settings
| Setting |
What it does |
mdeAiaHarness.language |
Interface language: auto, en, vi (the Guide also offers ja). |
mdeAiaHarness.repositoryUrl, mdeAiaHarness.repositoryRef |
Catalog source repository and branch. |
mdeAiaHarness.pythonPath |
Use a specific Python interpreter. |
mdeAiaHarness.usage.serverUrl |
Team server that token usage is published to. |
mdeAiaHarness.usage.usdPerAiu |
USD per Copilot AI unit, used for the Copilot cost (default 0.01). |
mdeAiaHarness.dlp.port |
Port of the local guardrail service. |
mdeAiaHarness.dlp.autoStartService |
Start the guardrail service when VS Code opens. |
This extension collects no telemetry.
| |