Skip to content
Agent use cases

Build a Valheim city-building mod with Claude

The author used Claude to write C# code and remote command files to control the game, transforming Valheim into a city-building simulator. The mod features Viking residents, taxes, NPC needs, boss fights, and performance optimizations, and is available for free on Nexus and Thunderstore.

Reddit r/ClaudeAI/u/Any-Explanation3814
ClaudeBepInExHarmonyNexusThunderstore

Added 2026-10-31 · originally published 2026-10-26


Steps

  1. 1Design the core gameplay of the mod, such as Viking residents, tax collection, dietary needs, and boss fight mechanics.
  2. 2Use Claude to write C# code, integrating with the BepInEx framework and Harmony patches to hook into the game systems for resident AI, economic systems, and automated building construction.
  3. 3Have the AI control the game via remote command files to automatically build towns, take screenshots, inspect visuals, and fix issues independently.
  4. 4Handle bug fixing by feeding tester feedback—such as boss pursuit issues and NPCs getting stuck—to Claude to diagnose and fix all at once.
  5. 5Perform performance optimization by writing in-game benchmarks to measure frame rates under varying building counts, using techniques like mesh merging to boost FPS.
Copy-ready prompt
Please help me write a C# script that integrates with the [BepInEx framework] and [Harmony patches] to implement the following game mod features: [describe the AI, economic, or building systems you want to add to the game]. Also, write a remote control mechanism that allows the program to control the game for testing, taking screenshots, and fixing code issues.
#Claude#AI Programming#Game Mod#C#
Write an Aseprite plugin with Claude to automate isometric world building

To avoid manually drawing hundreds of grass map tiles, a game artist had Claude write a Lua script to develop an Aseprite plugin. The plugin supports drawing hills, trees, and other terrain by dragging like SimCity, and implements localized real-time redrawing.

Build a real-time file tree panel for Claude Code

Developers built a free, open-source real-time file tree panel for Claude Code that displays files read and edited by Claude, along with current operation status, right beside the chat window. It supports desktop, VS Code extensions, and terminals, running entirely locally.

Automating two years of overdue taxes with Claude

The user built an automated accounting system around Claude to clear two years of transaction records across three banks, matching receipts and invoices while generating reports in the format required by the Dutch tax authorities. This approach cleared a two-year backlog in a single afternoon and compiled a list of edge cases for the accountant.

Found this useful? Get daily updates on Telegram or X.

Summarized by AI from the original source - refer to the original post for details. Copyright belongs to the original author.

nebu.lifeNebula AI Playbook · Daily AI use cases, prompts and prices

Content is collected daily from public sources and summarized with AI. Every entry links to the original, and copyright stays with the original authors. Spotted an error or a rights issue? Let us know via the contact page.

Last updated 2026-11-02 12:11 (Beijing time)