msvc-build

msvc-build is a skill for Claude Code, Codex from Dqz00116/skill-lib. It costs 23 tokens per session (1,671 once invoked), scanned A, original, MIT.

A build guide for Microsoft Visual C++ projects, using Visual Studio project or solution files and MSBuild, Microsoft's build tool.

In plain words
What is it for?
Use it to build Visual Studio solutions or individual projects, run clean or incremental builds, and compile Debug or Release versions for Win32 or x64.
Why use it?
It helps compile projects, choose build settings, and investigate compiler errors without having to remember the required commands and project details.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build Visual Studio solutions or individual projects, run clean or incremental builds, and compile Debug or Release versions for Win32 or x64.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dqz00116/skill-lib/msvc-build
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Dqz00116/skill-lib --skill msvc-build
Clone the repo
git clone --depth 1 https://github.com/Dqz00116/skill-lib

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for msvc-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/dqz00116/skill-lib/msvc-build.svg)](https://agentmods.dev/skills/dqz00116/skill-lib/msvc-build)
Your own site
<a href="https://agentmods.dev/skills/dqz00116/skill-lib/msvc-build"><img src="https://agentmods.dev/badge/skills/dqz00116/skill-lib/msvc-build.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,671 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.01671
Opus 5 $0.00012 $0.00835
Sonnet 5 $0.00005 $0.00334
Haiku 4.5 $0.00002 $0.00167

Measured 8d ago against content hash b60975e244e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

msvc-build scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

msvc-build/SKILL.md · 257 lines

How it starts

The opening of the file, as written. The whole thing — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MSVC Build Skill

Overview

This skill provides guidance for compiling and building Microsoft Visual C++ projects using MSBuild, with intelligent error detection and resolution suggestions.

When to Use

Use this skill when you need to:

  • Compile C++ projects in Visual Studio solutions (.sln)
  • Build individual project files (.vcxproj)
  • Debug compilation errors
  • Perform incremental or clean builds
  • Compile with specific configurations (Debug/Release, Win32/x64)

Prerequisites

  • Visual Studio 2019/2022 installed
  • MSBuild available in PATH or at standard location
  • Project solution (.sln) or project file (.vcxproj)

Workflow

Step 1: Detect Build Environment

Automatically locate MSBuild:

  1. Check PATH for msbuild.exe
  2. Search standard VS2019/2022 installation paths
  3. Report MSBuild version and location

Step 2: Analyze Project Structure

Identify:

  • Solution file (.sln) location
  • Project dependencies
  • Available configurations (Debug/Release)
  • Available platforms (Win32/x64)

Step 3: Execute Build

Full Solution Build:

MSBuild Solution.sln /p:Configuration=Debug /p:Platform=Win32 /m

Single Project Build:

MSBuild Solution.sln /t:ProjectName /p:Configuration=Debug /p:Platform=Win32 /m

Incremental Build (faster):

MSBuild Project.vcxproj /p:Configuration=Debug /p:Platform=Win32

Clean Build:

MSBuild Solution.sln /t:Clean
MSBuild Solution.sln /p:Configuration=Debug /p:Platform=Win32 /m

Step 4: Error Analysis

Parse MSBuild output and categorize errors:

Error Type Pattern Suggestion
Missing include C1083: Cannot open include file Check include paths, verify file exists
Undeclared identifier C2065: 'X': undeclared identifier Check header includes, verify declaration
Syntax error C2143, C2061 Check syntax, missing semicolons
Type undefined C2027: use of undefined type Forward declaration or missing include
Link error LNK2019, LNK2001 Check library dependencies, export macros
Precompiled header C2857, C1853 Ensure #include "StableHeaders.h" first

Read the full file on GitHub · 257 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 257 lines · 23 tokens per session scan A b60975e244e7

Subscribe to this mod's changes

msvc-build is a skill published in the GitHub repository Dqz00116/skill-lib (22 stars, last pushed 3mo ago), licensed MIT. It adds 23 tokens to every session and 1,671 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.