casual-gomoku

Play a chat-based 6x6 gomoku game. Render the board in text, accept coordinates like B3, alternate turns, and declare the winner when either side connects five in a row.

157 stars

Best use case

casual-gomoku is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Play a chat-based 6x6 gomoku game. Render the board in text, accept coordinates like B3, alternate turns, and declare the winner when either side connects five in a row.

Teams using casual-gomoku should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/casual-gomoku/SKILL.md --create-dirs "https://raw.githubusercontent.com/InternScience/DrClaw/main/drclaw/agent_hub/templates/xiamo/skills/casual-gomoku/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/casual-gomoku/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How casual-gomoku Compares

Feature / Agentcasual-gomokuStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Play a chat-based 6x6 gomoku game. Render the board in text, accept coordinates like B3, alternate turns, and declare the winner when either side connects five in a row.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 聊天五子棋主持器

用于在对话里玩一个 **6x6 棋盘** 的轻量五子棋。

## 什么时候使用

- 用户说想玩五子棋、下棋、棋盘小游戏
- 用户想在聊天里玩一个有明确坐标的对战游戏
- 用户想边摸鱼边和 agent 下棋

## 基本规则

- 棋盘大小:`6 x 6`
- 行坐标:`A-F`
- 列坐标:`1-6`
- 胜利条件:任意方向先连成 **5 子**
  - 横向
  - 纵向
  - 斜向
- 棋盘下满仍无人连成 5 子则平局

## 开局设置

默认设置:

- 用户执 `○`
- 你执 `●`
- 用户先手

如果用户明确要改:

- 可以切换先后手
- 可以切换棋子颜色

## 用户输入格式

用户每回合输入一个坐标,例如:

- `A1`
- `C4`
- `F6`

如果输入不合法:

- 明确指出无效
- 请用户重新下
- **不切换回合**

非法情况包括:

- 坐标不存在
- 格子已被占用
- 不是单个合法落子指令

## 你的下棋策略

按下面优先级落子:

1. 自己能直接赢就先赢
2. 用户下一手能赢就先堵
3. 优先占中间和关键连接位
4. 尽量延长自己的连续子
5. 避免明显送出双向必胜点

不需要假装完美 AI,但要做到:

- 合理
- 看得懂
- 有点对抗性

## 每回合输出格式

在你落子后,用这个格式输出:

```markdown
当前棋盘:
   1 2 3 4 5 6
A|·|·|·|·|·|·|
B|·|·|·|·|·|·|
C|·|·|·|·|·|·|
D|·|·|·|·|·|·|
E|·|·|·|·|·|·|
F|·|·|·|·|·|·|

你的棋子:○
我的棋子:●
轮到你落子,请输入坐标,例如 `B3`
```

符号约定:

- `·` 空位
- `○` 用户
- `●` 你

## 开局输出

第一条回复应包含:

- 简短规则
- 坐标说明
- 初始空棋盘
- 告诉用户先手是谁

## 胜负判断

每次落子后立刻检查:

- 横向五连
- 纵向五连
- 左上到右下斜线五连
- 右上到左下斜线五连

如果有人获胜,输出:

```markdown
当前棋盘:
[完整棋盘]

[你赢了 / 我赢了 / 平局]
```

不要在胜负已定后继续催促落子。

## 风格要求

- 轻松、清楚、别太啰嗦
- 棋盘必须始终整齐可读
- 不要漏报自己刚刚下在哪
- 如果你刚落子,可以顺手说一句:
  - `我下在 D4`
  - `我先堵你这手`
  - `这格我拿了`

Related Skills

casual-tarot-reading

157
from InternScience/DrClaw

Run a light, conversational tarot-style reading for fun. Offer one-card or three-card spreads, draw symbolic cards, interpret them in a playful but gentle way, and avoid deterministic or high-stakes claims.

acpx

157
from InternScience/DrClaw

Use the ACPX CLI through DrClaw's existing exec/long_exec tools to run Codex in the current project workspace.

ui-ux-pro-max

157
from InternScience/DrClaw

[Frontend] Frontend UI/UX design intelligence - activate FIRST when user requests beautiful, stunning, gorgeous, or aesthetic interfaces. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks. Triggers on ui design, ux design, design system, color palette, typography, glassmorphism, claymorphism, neumorphism, bento grid, font pairing, ui-ux-pro-max, stunning interface, beautiful ui.

fetch

157
from InternScience/DrClaw

Fetch metadata and links from arXiv for a given query.

web_literature_mining

157
from InternScience/DrClaw

Scientific Literature Mining - Mine scientific literature: PubMed search, arXiv search, web search, and Tavily deep search. Use this skill for scientific informatics tasks involving pubmed search search literature search web tavily search. Combines 4 tools from 2 SCP server(s).

uniprot_deep_analysis

157
from InternScience/DrClaw

UniProt Deep Protein Analysis - Deep UniProt analysis: entry data, UniRef clusters, UniParc cross-references, and gene-centric view. Use this skill for protein science tasks involving get uniprotkb entry by accession get uniref cluster by id get uniparc entry by upi get gene centric by accession. Combines 4 tools from 1 SCP server(s).

synthetic_biology_design

157
from InternScience/DrClaw

Synthetic Biology Design - Design synthetic biology construct: gene lookup, codon optimization, protein property prediction, and structure prediction. Use this skill for synthetic biology tasks involving get sequence id DegenerateCodonCalculatorbyAminoAcid calculate protein sequence properties pred protein structure esmfold. Combines 4 tools from 4 SCP server(s).

structural_homology_modeling

157
from InternScience/DrClaw

Structural Homology & Evolution Analysis - Analyze protein evolution: get gene tree from Ensembl, find homologs, compare sequences, and predict structure. Use this skill for evolutionary biology tasks involving get homology symbol get genetree member symbol calculate protein sequence properties pred protein structure esmfold. Combines 4 tools from 3 SCP server(s).

proteome_analysis

157
from InternScience/DrClaw

Proteome-Level Analysis - Analyze at proteome level: get proteome from UniProt, gene-centric view, functional annotation from STRING. Use this skill for proteomics tasks involving get proteome by id get gene centric by proteome get functional annotation. Combines 3 tools from 2 SCP server(s).

protein_structure_analysis

157
from InternScience/DrClaw

Protein Structure Comprehensive Analysis - Comprehensive structure analysis: download PDB, extract chains, calculate geometry, quality metrics, and composition. Use this skill for structural biology tasks involving retrieve protein data by pdbcode extract pdb chains calculate pdb structural geometry calculate pdb quality metrics calculate pdb composition info. Combines 5 tools from 1 SCP server(s).

protein_solubility_optimization

157
from InternScience/DrClaw

Protein Solubility Optimization - Optimize protein solubility: calculate properties, predict solubility, predict hydrophilicity, and suggest mutations. Use this skill for protein engineering tasks involving calculate protein sequence properties predict protein function ComputeHydrophilicity zero shot sequence prediction. Combines 4 tools from 3 SCP server(s).

protein_similarity_search

157
from InternScience/DrClaw

Protein Similarity Search - Search for similar proteins: extract sequence from PDB, search structures with FoldSeek, find homologs with STRING, and check UniProt. Use this skill for bioinformatics tasks involving extract pdb sequence foldseek search get best similarity hits between species search uniprotkb entries. Combines 4 tools from 3 SCP server(s).