copy-to-output-directory
95 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
Choosing an MSBuild CopyToOutputDirectory / CopyToPublishDirectory mode: Never, PreserveNewest, Always, and IfDifferent (MSBuild 17.13+), plus $(SkipUnchangedFilesOnCopyAlways). USE FOR: removing the per-build Always copy perf hit; resetting output files mutated between builds. DO NOT USE FOR: general incremental-build diagnosis (use incremental-build); non-MSBuild build systems.
What this skill can do
Runs commands on your computer
Other copies in this repository
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'copy-to-output-directory' ] || [ -L ~/.agents/skills/'copy-to-output-directory' ]; then echo 'A skill folder named copy-to-output-directory already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/managedcode/dotnet-skills' "$d" && git -C "$d" checkout --quiet 'b461d186f21dcab31bc4b1cf48f7cced8ac61780' -- 'external-sources/upstreams/dotnet-skills/plugins/dotnet-msbuild/skills/copy-to-output-directory' && mkdir -p ~/.agents/skills && cp -R "$d"/'external-sources/upstreams/dotnet-skills/plugins/dotnet-msbuild/skills/copy-to-output-directory' ~/.agents/skills/'copy-to-output-directory' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'copy-to-output-directory' ~/.claude/skills/'copy-to-output-directory' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/managedcode/dotnet-skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-13 | b461d18 | 95 |
| 2026-11-09 | bcb5776 | 95 |
| 2026-11-07 | 367e97f | 95 |