cthloveross/skill-creation/06efe451227355b0b1a4b6767da83a79ad5974321952c7e6230b9904b86f4c3a

Claude Code and agent skill by cthloveross/skill-creation

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Solve a Civilization VI Gathering Storm map scenario by reading a .Civ6Map SQLite file, choosing legal city centers and district placements, calculating post-placement adjacency bonuses, and writing the required scenario JSON. Use when a task supplies a scenario JSON with map_file, num_cities, and population.

Install

npx vskill@latest install cthloveross/skill-creation/06efe451227355b0b1a4b6767da83a79ad5974321952c7e6230b9904b86f4c3a

SKILL.md

The same SKILL.md was published earlier as cthloveross/skill-creation/06efe451227355b0b1a4b6767da83a79ad5974321952c7e6230b9904b86f4c3a.

Civilization VI adjacency optimizer

Use scripts/solve.py to produce a valid solution artifact. The solver reads the actual scenario and map at runtime; it does not contain instance-specific coordinates or answers.

Runtime interface

The script receives one JSON object on stdin:

json
{
"scenario_path": "/data/scenario_3/scenario.json",
"output_path": "/output/scenario_3.json"
}

Both fields are optional. Defaults are /data/scenario_3/scenario.json and /output/scenario_3.json. It writes the same solution object to output_path and emits that object as JSON on stdout. Only Python's standard library is required.

Example executor call:

bash
python3 scripts/solve.py <<'JSON'
{"scenario_path":"/data/scenario_3/scenario.json","output_path":"/output/scenario_3.json"}
JSON

Method

  1. Read the scenario, resolve its map_file relative to the scenario when necessary,

and inspect the Civ6Map SQLite tables dynamically.

  1. Decode row-major plot IDs, odd-r neighbors, terrain, features, resources, and river

edges. River detection includes complementary flags held by neighboring plots.

  1. Choose legal city centers using local terrain potential, respecting the requested

count. Candidate districts must be within three hexes of a center.

  1. Greedily add distinct district types when they improve, or safely support, total

map-only adjacency. Specialty choices obey the population specialty capacity; non-specialty infrastructure is treated as cap-free. Improvements and built wonders are intentionally not assumed to exist.

  1. Recompute all district bonuses from the finished layout. Forest, jungle, marsh, and

bonus-resource effects on non-city-center district tiles are removed before scoring. Minor bonuses use independent per-source floors. Every placed district, including a zero-adjacency district, is present in adjacency_bonuses.

  1. Validate coordinate uniqueness, city range, placement legality, specialty capacity,

and equality of the bonus sum and total_adjacency before writing output.

The search is a deterministic heuristic rather than exhaustive enumeration, which is appropriate for large Civ6 maps. If a malformed map or scenario makes the requested number of legal centers impossible, the script fails explicitly rather than emitting an invalid artifact.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cthloveross/skill-creation/06efe451227355b0b1a4b6767da83a79ad5974321952c7e6230b9904b86f4c3a/badge)](https://verified-skill.com/skills/cthloveross/skill-creation/06efe451227355b0b1a4b6767da83a79ad5974321952c7e6230b9904b86f4c3a)

Something wrong with this skill or its page? Tell us.