Agent skill

Diplomacy Skill

by HkingAuditore in HkingAuditore/civ-game

Diplomacy system work for civ-game (foreign economy/development/military simulation, treaties, alliances/organizations, relations like colony or subject, diplomatic actions, and diplomacy UI or…

No licenceAuto-check passed

Install Diplomacy Skill

skills CLI
$ npx skills add HkingAuditore/civ-game --skill diplomacy-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HkingAuditore/civ-game diplomacy-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HkingAuditore/civ-game.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/diplomacy-skill .claude/skills/diplomacy-skill && rm -rf skills-src

Use ~/.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/

Facts

Skill name
diplomacy-skill
GitHub stars
113
Token cost
~626 tokens
SKILL.md length
260 words
Files
2 (incl. references)
Skills in repo
4
Repo updated
First seen
Licence
None found

At a glance

Diplomacy system work for civ-game (foreign economy/development/military simulation, treaties, alliances/organizations, relations like colony or subject, diplomatic actions, and diplomacy UI or…

  • Works in 7 steps: Clarify the feature scope: treaties,… → Review existing diplomacy logic and… → Define or adjust the data model for… → …
  • Modifying diplomacy logic
  • SKILL.md covers Overview, Workflow, Design Rules and Core Capabilities, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Diplomacy Skill is an agent skill from HkingAuditore/civ-game. Diplomacy system work for civ-game (foreign economy/development/military simulation, treaties, alliances/organizations, relations like colony or subject, diplomatic actions, and diplomacy UI or events). Use when implementing or modifying diplomacy logic, diplomatic AI, treaties or agreements, nation relations/organization systems, foreign market calculations, or DiplomacyTab UX in this repo.

Its SKILL.md is about 630 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/diplomacy-files.md`).

When your agent uses it

  • Modifying diplomacy logic
  • Nation relations/organization systems
  • Foreign market calculations
  • DiplomacyTab UX in this repo

Example prompts

  • “/diplomacy-skill”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Clarify the feature scope: treaties, relations, organizations, foreign market simulation, or AI behavior.
  2. Review existing diplomacy logic and configs; load references/diplomacy-files.md.
  3. Define or adjust the data model for relations, treaties, organizations, and foreign markets.
  4. Implement logic in src/logic/diplomacy and related economy or military modules.
  5. Update configs, events, and UI to surface new actions and effects.
  6. Ensure exports are wired through src/logic/index.js or src/components/index.js when needed.
  7. Validate with lint or build when feasible.

What it can do on your machine

Read from SKILL.md and the folder at commit 1bb4a00. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Diplomacy Skill loads about 626 tokens when it runs, and up to ~1k if it reads all its reference files. Until then it costs about 103 tokens; SKILL.md has 260 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~103
When it runs · the whole SKILL.md, loaded when a task matches
~626
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1k

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.

Safety

Auto-check passed

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); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 260 words (~626 tokens).

“Implement and extend the game's diplomacy system: nation relations, treaties, alliances or organizations, foreign economy development and military simulation, plus diplomacy UI and events.”

— opening of SKILL.md by HkingAuditore
name
diplomacy-skill

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in skills/diplomacy-skill of HkingAuditore/civ-game.

  • SKILL.md
  • references/diplomacy-files.md

Open the folder on GitHubat commit 1bb4a00

Compare with similar skills

Diplomacy Skill 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.

Diplomacy Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Diplomacy Skill this skillHkingAuditore/civ-game113—~626Automated safety check: PassNone
Forage EconomyBitterbot-AI/bitterbot-desktop2.5k—~633Automated safety check: PassMIT
Game Balance Economyhashgraph-online/awesome-codex-plugins1.3k—~618Automated safety check: PassMIT
Nick Sleep Scale Economiesquestflowai/investorskills1.9k—~420Automated safety check: PassMIT
Godot Economy Systemthedivergentai/GD-Agentic-Skills821—~3kAutomated safety check: PassLGPL-3.0
Snr Emphasis Economyhashgraph-online/awesome-codex-plugins1.3k—~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • Forage Economy

    Bitterbot-AI/bitterbot-desktop

    A skill your agent uses when anyone asks about bounties (or "forge"), agent earnings, the agent economy, marketplace skills, A2A activity or your network reputation.

    2.5k GitHub stars~633 tokensUpdated today
    Auto-check passed
  • Game Balance Economy

    hashgraph-online/awesome-codex-plugins

    Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.

    1.3k GitHub stars~618 tokensUpdated today
    Game DevelopmentAuto-check passed
  • Nick Sleep Scale Economies

    questflowai/investorskills

    A skill your agent uses when evaluating Nick Sleep-style long-term compounders: scale economies shared, customer obsession, low turnover, long runway, owner culture, and value creation through lower…

    1.9k GitHub stars~420 tokensUpdated 1 mo ago
    Auto-check passed
  • Godot Economy System

    thedivergentai/GD-Agentic-Skills

    Expert patterns for game economies including currency management (multi-currency, wallet system), shop systems (buy/sell prices, stock limits), dynamic pricing (supply/demand), loot tables (weighted…

    821 GitHub stars~3k tokensUpdated 1 mo ago
    Game DevelopmentAuto-check passed
  • Snr Emphasis Economy

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when deciding how to spend emphasis — color, weight, size, motion — across a design so that each instance lands.

    1.3k GitHub stars~2.1k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Rural Economy

    franklee16/academic-research-skills

    A skill your agent uses when targeting 《农村经济》(Rural Economy — 四川省社会科学院主办的农村经济综合月刊, 1983 年创刊, CN51-1029/F, ncjj.alljournal.cn 在线投稿, 摘要≤150字+顺序编码参考文献) or deciding whether a Chinese 三农/农村经济 manuscript…

    223 GitHub starsUsed in 1 repo~679 tokens
    Auto-check passed

More from HkingAuditore/civ-game

  • Version Update Workflow

    HkingAuditore/civ-game

    Summarize and execute civ-game version update workflow, including change classification, changelog entry authoring, release highlights, and verification steps.

    113 GitHub stars~742 tokensUpdated 18 days ago
    Auto-check passed
  • Civ Grounded Development

    HkingAuditore/civ-game

    Systematic grounding workflow for this civ-game repository. An agent skill from HkingAuditore/civ-game.

    113 GitHub stars~785 tokensUpdated 18 days ago
    Auto-check passed
  • Civ Code Grounded QA

    HkingAuditore/civ-game

    Answer civ-game mechanic questions by strictly grounding every claim in the current repository code and config.

    113 GitHub stars~296 tokensUpdated 18 days ago
    Auto-check passed

Questions about Diplomacy Skill

What does Diplomacy Skill do?

Diplomacy system work for civ-game (foreign economy/development/military simulation, treaties, alliances/organizations, relations like colony or subject, diplomatic actions, and diplomacy UI or…. Diplomacy Skill is an agent skill from HkingAuditore/civ-game. Diplomacy system work for civ-game (foreign economy/development/military simulation, treaties, alliances/organizations, relations like colony or subject, diplomatic actions, and diplomacy UI or events).

When should I use Diplomacy Skill?

Diplomacy Skill fits situations like: modifying diplomacy logic; nation relations/organization systems; foreign market calculations; diplomacyTab UX in this repo.

How do I install Diplomacy Skill in Claude Code?

Run `npx skills add HkingAuditore/civ-game --skill diplomacy-skill -a claude-code`. Or copy the skill folder (skills/diplomacy-skill in HkingAuditore/civ-game) into .claude/skills/diplomacy-skill in your project. Claude Code loads it when a task matches its description.

How do I install Diplomacy Skill in Codex?

Run `npx skills add HkingAuditore/civ-game --skill diplomacy-skill -a codex`. Or copy the skill folder (skills/diplomacy-skill in HkingAuditore/civ-game) into .agents/skills/diplomacy-skill in your project. Codex loads it when a task matches its description.

Can I use Diplomacy Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HkingAuditore/civ-game --skill diplomacy-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/diplomacy-skill, .gemini/skills/diplomacy-skill, .github/skills/diplomacy-skill and .opencode/skills/diplomacy-skill in your project.

What does Diplomacy Skill need to run?

SKILL.md names no scripts, command-line tools or credentials: Diplomacy Skill is instructions for the agent only.

Does Diplomacy Skill access the network?

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.

Is Diplomacy Skill safe to install?

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. Review the folder before installing.

What licence does Diplomacy Skill use?

No licence was found for Diplomacy Skill or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Diplomacy Skill use?

About 626 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 375 tokens, read only when the agent opens those files.

What are the alternatives to Diplomacy Skill?

Skills that share tags, products or a category with Diplomacy Skill: Forage Economy (Bitterbot-AI/bitterbot-desktop, 2.5k stars), Game Balance Economy (hashgraph-online/awesome-codex-plugins, 1.3k stars), Nick Sleep Scale Economies (questflowai/investorskills, 1.9k stars) and Godot Economy System (thedivergentai/GD-Agentic-Skills, 821 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Diplomacy Skill?

HkingAuditore (a GitHub user) maintains it in HkingAuditore/civ-game, which has 113 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 23, 2026.

Source: HkingAuditore/civ-game on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.