# add-policy

> Claude/Codex skill by [@microsoft](https://omgskills.com/library/microsoft/index.md) · 188k stars · Updated 2026-08-07

Use when adding, modifying, or reviewing VS Code configuration policies. Covers the full policy lifecycle from registration to export to platform-specific artifacts. Run on ANY change that adds a \`policy:\` field to a configuration property.

Tags: editor, electron, microsoft, typescript, visual-studio-code

## Install

```sh
git clone https://github.com/microsoft/vscode /tmp/vscode && ln -s /tmp/vscode/.github/skills/add-policy ~/.claude/skills/add-policy
```

## From README

Adding a Configuration Policy Policies allow enterprise administrators to lock configuration settings via OS-level mechanisms (Windows Group Policy, macOS managed preferences, Linux config files) or via Copilot account-level policy data. This skill covers the complete procedure.

## Links

- HTML page: https://omgskills.com/skills/microsoft/vscode/add-policy/
- GitHub: https://github.com/microsoft/vscode
- Author: [@microsoft](https://omgskills.com/library/microsoft/index.md)

## More from this repo

- [update-codex-sdk](https://omgskills.com/skills/microsoft/vscode/dot-agents/skills/update-codex-sdk/index.md) — Used to update VS Code's bundled @openai/codex dependency to a version available from the private VS Code npm feed,...
   - [@microsoft](https://omgskills.com/library/microsoft/index.md) · 192k stars
- [agent-host-logs](https://omgskills.com/skills/microsoft/vscode/agent-host-logs/index.md) — Used to analyze Agent Host debug log exports.
   - [@microsoft](https://omgskills.com/library/microsoft/index.md) · 191k stars
- [accessibility](https://omgskills.com/skills/microsoft/vscode/accessibility/index.md) — Primary accessibility skill for VS Code.
   - [@microsoft](https://omgskills.com/library/microsoft/index.md) · 190k stars
