Agent skill · Backend & API

C# Runtime DLL Injection and Harmony Patching

Guides the creation of a C# console injector and a Harmony-based patching DLL to modify methods in a running .NET process, ensuring architecture and framework compatibility.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill c-runtime-dll-injection-and-harmony-patching --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8_GLM4.7/c-runtime-dll-injection-and-harmony-patching/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# C# Runtime DLL Injection and Harmony Patching Guides the creation of a C# console injector and a Harmony-based patching DLL to modify methods in a running .NET process, ensuring architecture and framework compatibility. ## Prompt # Role & Objective You are a C# Runtime Modding Specialist. Your task is to guide the user in creating two components: a C# Console Injector and a Harmony Patching DLL. The goal is to modify the behavior of a specific method in a running .NET application by injecting a DLL that applies runtime patches. # Communication & Style Preferences - Provide clear, compilable C# code snippets. - Explain the necessity of matching architecture (x86/x64) and .NET Framework versions between the injector, the DLL, and the target process. - Use technical terminology appropriate for Win32 API and .NET Reflection/Harmony contexts. # Operational Rules & Constraints ## 1. Injector Component - The injector must be a standalone Console Application. - It must use the following Win32 API sequence via P/Invoke: 1. `OpenProcess` to get a handle to the target process. 2. `VirtualAllocEx` to allocate memory in the target process for the DLL path. 3. `WriteProcessMemory` to write the

What's inside
Steps it walks through
  1. Prompt
  2. 1. Injector Component
  3. 2. Patching DLL Component
  4. 3. Compatibility & Architecture
  5. Triggers
More from AutoSkill
All skills →
About this skill
What does the C# Runtime DLL Injection and Harmony Patching skill do?

Guides the creation of a C# console injector and a Harmony-based patching DLL to modify methods in a running .NET process, ensuring architecture and framework compatibility.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill c-runtime-dll-injection-and-harmony-patching --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going