Esign Field Placement
affaan-m/ECC
Deterministic method for placing signature, date, and text fields in a web e-signature composer through a browser automation session, using a fixed signature page, numeric Location panel coordinates…
Civilization 6 district mechanics library. An agent skill from benchflow-ai/skillsbench.
$ npx skills add benchflow-ai/skillsbench --skill civ6lib -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install benchflow-ai/skillsbench civ6lib --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tasks/civ6-adjacency-optimizer/environment/skills/civ6lib .claude/skills/civ6lib && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "civ6lib" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks/civ6-adjacency-optimizer/environment/skills/civ6lib into .claude/skills/civ6lib/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "civ6lib", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/benchflow-ai/skillsbench/tree/main/tasks/civ6-adjacency-optimizer/environment/skills/civ6libType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add benchflow-ai/skillsbench --skill civ6lib -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install benchflow-ai/skillsbench civ6lib --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .agents/skills && cp -r skills-src/tasks/civ6-adjacency-optimizer/environment/skills/civ6lib .agents/skills/civ6lib && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "civ6lib" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks/civ6-adjacency-optimizer/environment/skills/civ6lib into .agents/skills/civ6lib/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "civ6lib", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add benchflow-ai/skillsbench --skill civ6lib -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install benchflow-ai/skillsbench civ6lib --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/tasks/civ6-adjacency-optimizer/environment/skills/civ6lib .cursor/skills/civ6lib && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "civ6lib" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks/civ6-adjacency-optimizer/environment/skills/civ6lib into .cursor/skills/civ6lib/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "civ6lib", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/benchflow-ai/skillsbench.git --path tasks/civ6-adjacency-optimizer/environment/skills/civ6lib--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add benchflow-ai/skillsbench --skill civ6lib -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install benchflow-ai/skillsbench civ6lib --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/tasks/civ6-adjacency-optimizer/environment/skills/civ6lib .gemini/skills/civ6lib && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "civ6lib" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks/civ6-adjacency-optimizer/environment/skills/civ6lib into .gemini/skills/civ6lib/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "civ6lib", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install benchflow-ai/skillsbench civ6libInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add benchflow-ai/skillsbench --skill civ6lib -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .github/skills && cp -r skills-src/tasks/civ6-adjacency-optimizer/environment/skills/civ6lib .github/skills/civ6lib && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "civ6lib" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks/civ6-adjacency-optimizer/environment/skills/civ6lib into .github/skills/civ6lib/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "civ6lib", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add benchflow-ai/skillsbench --skill civ6lib -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install benchflow-ai/skillsbench civ6lib --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/tasks/civ6-adjacency-optimizer/environment/skills/civ6lib .opencode/skills/civ6lib && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "civ6lib" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks/civ6-adjacency-optimizer/environment/skills/civ6lib into .opencode/skills/civ6lib/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "civ6lib", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
civ6libCivilization 6 district mechanics library. An agent skill from benchflow-ai/skillsbench.
Civ6lib is an agent skill from benchflow-ai/skillsbench. Civilization 6 district mechanics library. Use when working with district placement validation, adjacency bonus calculations, or understanding Civ6 game rules.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/adjacency_rules.py`, `scripts/hex_utils.py` and `scripts/placement_rules.py`).
The repository describes itself as: SkillsBench evaluates how well skills work and how effective agents are at using them. The licence is Apache-2.0.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 9a1f4dd. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 3 files in scripts/ (Python), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Civ6lib loads about 1.7k tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 684 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from benchflow-ai/skillsbench at commit 9a1f4dd, republished under its Apache-2.0 licence (© benchflow-ai). 684 words, ~1,729 tokens.
.claude/skills/civ6lib/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Complete reference for Civilization 6 district placement and adjacency bonus systems (Gathering Storm).
For hex grid utilities (neighbors, distance, etc.), use the hex-grid-spatial skill or import from src.hex_utils.
from civ6lib import (
# Placement
DistrictType, Tile, PlacementRules, get_placement_rules,
validate_district_count, validate_district_uniqueness,
# Adjacency
AdjacencyCalculator, get_adjacency_calculator,
)
# Validate a placement
rules = get_placement_rules(tiles, city_center=(21, 13), population=7)
result = rules.validate_placement(DistrictType.CAMPUS, 21, 14, {})
if result.valid:
print("Valid placement!")
# Calculate adjacency bonus
calculator = get_adjacency_calculator(tiles)
total, per_district = calculator.calculate_total_adjacency(placements)| Condition | Min Distance | Tiles Between |
|---|---|---|
| Same landmass | 4 tiles | 3 tiles |
| Different landmasses | 3 tiles | 2 tiles |
Settling a City Center on a tile with Geothermal Fissure or Luxury/Strategic Resources preserves them (they remain and provide adjacency bonuses to nearby districts). Districts cannot be placed on these tiles.
| Rule | Description |
|---|---|
| Distance | Within 3 tiles of City Center |
| Mountains | Cannot place |
| Natural Wonders | Cannot place |
| Strategic Resources | Cannot place (Iron, Horses, Niter, Coal, Oil, Aluminum, Uranium) |
| Luxury Resources | Cannot place |
| Existing District | Cannot place on occupied tile |
| Bonus Resources | CAN place (resource destroyed) |
| Woods/Rainforest/Marsh | CAN place (feature destroyed) |
| District | Special Requirement |
|---|---|
| Harbor | Must be on Coast/Lake, adjacent to land |
| Water Park | Must be on Coast/Lake, adjacent to land |
| Aerodrome | Must be on flat land |
| Spaceport | Must be on flat land |
| Encampment | NOT adjacent to City Center |
| Preserve | NOT adjacent to City Center |
| Aqueduct | Adjacent to City Center AND fresh water (Mountain, River, Lake, Oasis) |
| Dam | On Floodplains, river crosses 2+ edges |
max_specialty_districts = 1 + floor((population - 1) / 3)| Population | Max Districts |
|---|---|
| 1-3 | 1 |
| 4-6 | 2 |
| 7-9 | 3 |
| 10-12 | 4 |
These can be built regardless of population limit:
| Rule | Districts |
|---|---|
| ONE per city | Campus, Holy Site, Theater Square, Commercial Hub, Harbor, Industrial Zone, Entertainment Complex, Water Park, Encampment, Aerodrome, Preserve |
| Multiple per city | Neighborhood |
| ONE per civilization | Government Plaza, Diplomatic Quarter |
Each +0.5 type is floored SEPARATELY, then summed!
WRONG:
IZ with 1 Mine + 1 Lumber Mill + 1 District
= floor(3/2) = 1 ❌
CORRECT:
Mine: floor(1/2) = 0
Lumber Mill: floor(1/2) = 0
District: floor(1/2) = 0
TOTAL = 0 ✓| Bonus | Source |
|---|---|
| +2 each | Geothermal Fissure, Reef |
| +1 each | Mountain |
| +0.5 each | Rainforest (floor separately) |
| +0.5 each | District (floor separately) |
| Bonus | Source |
|---|---|
| +2 each | Natural Wonder |
| +1 each | Mountain |
| +0.5 each | Woods (floor separately) |
| +0.5 each | District (floor separately) |
| Bonus | Source |
|---|---|
| +2 each | Wonder (built wonder) |
| +2 each | Entertainment Complex, Water Park |
| +0.5 each | District (floor separately) |
| Bonus | Source |
|---|---|
| +2 | If tile is ON a river (binary!) |
| +2 each | Adjacent Harbor |
| +0.5 each | District (floor separately) |
| Bonus | Source |
|---|---|
| +2 each | Adjacent City Center |
| +1 each | Coastal Resource (Fish, Crabs, Whales, Pearls) |
| +0.5 each | District (floor separately) |
| Bonus | Source |
|---|---|
| +2 each | Aqueduct, Dam, Canal |
| +1 each | Quarry, Strategic Resource |
| +0.5 each | Mine (floor separately) |
| +0.5 each | Lumber Mill (floor separately) |
| +0.5 each | District (floor separately) |
Government Plaza gives +1 adjacency bonus to adjacent specialty districts.
Districts that benefit when adjacent to Government Plaza:
Note: Government Plaza also counts toward the +0.5 per district minor bonus.
Counts: Campus, Holy Site, Theater Square, Commercial Hub, Harbor, Industrial Zone, Entertainment Complex, Water Park, Encampment, Aerodrome, Spaceport, Government Plaza, Diplomatic Quarter, Preserve, City Center, Aqueduct, Dam, Canal, Neighborhood
Placing ANY district destroys:
This affects OTHER districts' adjacency!
All district types: CAMPUS, HOLY_SITE, THEATER_SQUARE, COMMERCIAL_HUB, HARBOR, INDUSTRIAL_ZONE, etc.
Represents a map tile with terrain, features, resources, rivers.
Validates district placements against all game rules.
Calculates adjacency bonuses based on surrounding tiles and districts.
© benchflow-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts) in tasks/civ6-adjacency-optimizer/environment/skills/civ6lib of benchflow-ai/skillsbench.
Open the folder on GitHubat commit 9a1f4dd
Civ6lib next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Civ6lib this skillbenchflow-ai/skillsbench | 1.8k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Esign Field Placementaffaan-m/ECC | 275k | — | ~2.6k | Automated safety check: Pass | MIT | |
| Mechanical Refactor Verifysgl-project/sglang | 37k | 2 repos | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Analyzing Persistence Mechanisms In Linuxmukul975/Anthropic-Cybersecurity-Skills | 34k | — | ~801 | Automated safety check: Notes | Apache-2.0 | |
| Hunting For Persistence Mechanisms In Windowsmukul975/Anthropic-Cybersecurity-Skills | 34k | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Ljg Mechanismlijigang/ljg-skills | 7.5k | — | ~498 | Automated safety check: Pass | MIT |
affaan-m/ECC
Deterministic method for placing signature, date, and text fields in a web e-signature composer through a browser automation session, using a fixed signature page, numeric Location panel coordinates…
sgl-project/sglang
Make mechanical refactoring (file splits, function moves, module extractions, renames) machine-checkable instead of eyeballed.
mukul975/Anthropic-Cybersecurity-Skills
Scan Linux systems for persistence mechanisms including crontab/systemd entries, LDPRELOAD injection, shell profile modifications (.bashrc, .profile), and SSH authorizedkeys backdoors, then…
mukul975/Anthropic-Cybersecurity-Skills
Systematically hunts for adversary persistence mechanisms across Windows endpoints, covering registry Run/RunOnce keys, services, startup folders, scheduled tasks, and WMI event subscriptions.
lijigang/ljg-skills
针对用户提供的现象,用「看反常—追过程—分解释—带条件迁移」生成机制猜想,并联网核对现象、检验关键因果与竞争解释,交付证据最能支撑的机制及其边界。USE WHEN 用户调用 ljg-mechanism、说「找机制」「机制研究」「用四步框架走一遍」「联网验证这个解释」,或希望研究一个现象怎样发生。NOT FOR 纯概念定义、普通摘要、已有唯一解的操作题或只画地图。
mukul975/Anthropic-Cybersecurity-Skills
Detect abuse of elevation control mechanisms (T1548), including Windows UAC bypass via auto-elevating binaries like fodhelper.exe and Linux sudo/setuid/setgid exploitation, by monitoring registry…
benchflow-ai/skillsbench
This skill should be used when working on Lean 4 formalization projects to maintain persistent memory of successful proof patterns, failed approaches, project conventions, and user preferences…
benchflow-ai/skillsbench
World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, real-time streaming, and data infrastructure.
benchflow-ai/skillsbench
AC branch pi-model power flow equations (P/Q and |S|) with transformer tap ratio and phase shift, matching acopf-math-model.md and MATPOWER branch fields.
benchflow-ai/skillsbench
Build deterministic, verifiable data visualizations with D3.js (v6).
benchflow-ai/skillsbench
DC power flow analysis for power systems. An agent skill from benchflow-ai/skillsbench.
benchflow-ai/skillsbench
Calculate per-second RMS energy from audio files. An agent skill from benchflow-ai/skillsbench.
Civilization 6 district mechanics library. An agent skill from benchflow-ai/skillsbench. Civ6lib is an agent skill from benchflow-ai/skillsbench. Civilization 6 district mechanics library.
Civ6lib fits situations like: working with district placement validation; adjacency bonus calculations; understanding Civ6 game rules.
Run `npx skills add benchflow-ai/skillsbench --skill civ6lib -a claude-code`. Or copy the skill folder (tasks/civ6-adjacency-optimizer/environment/skills/civ6lib in benchflow-ai/skillsbench) into .claude/skills/civ6lib in your project. Claude Code loads it when a task matches its description.
Run `npx skills add benchflow-ai/skillsbench --skill civ6lib -a codex`. Or copy the skill folder (tasks/civ6-adjacency-optimizer/environment/skills/civ6lib in benchflow-ai/skillsbench) into .agents/skills/civ6lib in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add benchflow-ai/skillsbench --skill civ6lib -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/civ6lib, .gemini/skills/civ6lib, .github/skills/civ6lib and .opencode/skills/civ6lib in your project.
Going by SKILL.md and its folder, Civ6lib needs Python for the scripts in its folder. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Civ6lib is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Civ6lib: Esign Field Placement (affaan-m/ECC, 275k stars), Mechanical Refactor Verify (sgl-project/sglang, 37k stars), Analyzing Persistence Mechanisms In Linux (mukul975/Anthropic-Cybersecurity-Skills, 34k stars) and Hunting For Persistence Mechanisms In Windows (mukul975/Anthropic-Cybersecurity-Skills, 34k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
benchflow-ai (a GitHub organization) maintains it in benchflow-ai/skillsbench, which has 1,832 GitHub stars. The repository holds 178 skills in this directory. The repository was last updated on July 23, 2026.
Source: benchflow-ai/skillsbench on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.