Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问clear审计未展示

random-encounter随机遭遇

Agent Skill

random-encounter 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

186

周安装

8

GitHub Stars

公开资料未说明

下载量

65
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:random-encounter(随机遭遇)
来源仓库:https://github.com/hopeoverture/worldbuilding-system
仓库路径:skills/random-encounter
安装命令:
npx skills add hopeoverture/worldbuilding-system --skill "random-encounter"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add hopeoverture/worldbuilding-system --skill "random-encounter"

简介

Random Encounter 技能生成随机事件或角色遭遇,用于游戏或故事创作。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中激发创意灵感或构建叙事背景。
  • 通过 GitHub 安装,使用 npx 命令添加 worldbuilding-system 仓库中的对应模块。
  • 输出内容为概率性结果,每次调用可能产生不同情节分支供选择参考。
  • random-encounter 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Random Encounter Generator

Generate encounter: $ARGUMENTS

Overview

Creates contextually appropriate random encounters by:

  1. Using existing world entities (creatures, NPCs, locations)
  2. Matching encounter difficulty to party level
  3. Generating varied encounter types (combat, social, exploration)
  4. Optionally creating encounter tables for locations

Instructions

Step 1: Parse Arguments

Extract from $ARGUMENTS:

  • Location: Where the encounter occurs (entity name, region, terrain type)
  • Party Level: Average party level (1-20) - ask if not provided
  • Encounter Type: combat, social, exploration, or random
  • World: Which world to pull entities from

If location is a world entity, read it for context. If location is a terrain type (forest, road, city), use as context.

Step 2: Gather World Context

If a specific world is identifiable:

  1. Scan Worlds/[World Name]/Creatures/ for available monsters
  2. Scan Worlds/[World Name]/Characters/ for NPCs
  3. Read location entity for specific inhabitants/dangers mentioned
  4. Note regional factions, tensions, environmental hazards

Step 3: Determine Encounter Parameters

Difficulty by Party Level

Party LevelEasy CRMedium CRHard CRDeadly CR
1-41/4-1/21-23-45+
5-81-34-67-910+
9-124-67-1011-1314+
13-167-1011-1415-1718+
17-2010-1415-1819-2122+

Encounter Types by Location

Location TypeCombat %Social %Exploration %
City/Town20%60%20%
Road/Trade Route40%40%20%
Wilderness60%15%25%
Dungeon70%10%20%
Frontier50%25%25%

Step 4: Generate Encounter

Combat Encounter Format

## Combat Encounter: [Evocative Name]

**Location:** [Specific setting within area]
**Difficulty:** [Easy/Medium/Hard/Deadly] for level [X] party

### Setup
[2-3 sentences describing the scene as players encounter it]

### Enemies
| Creature | Count | CR | Notes |
|----------|-------|----|----- |
| [[Creature 1]] | X | Y | Tactics/role |
| [[Creature 2]] | X | Y | Tactics/role |

**Total XP:** [calculated]

### Tactics
[How enemies behave - aggression, retreat conditions, special actions]

### Environment
- **Terrain:** [features that affect combat]
- **Hazards:** [environmental dangers]
- **Cover:** [defensive positions]

### Treasure
[Appropriate loot based on CR and creature type]

### Complications (Optional)
[d4 table of things that could make this more interesting]
1. [Complication 1]
2. [Complication 2]
3. [Complication 3]
4. [Complication 4]

### Aftermath
[What happens after combat - tracks to follow, clues found, etc.]

Social Encounter Format

## Social Encounter: [Evocative Name]

**Location:** [Where this occurs]
**Primary NPC:** [[NPC Name]] or [Generated NPC]

### Setup
[2-3 sentences describing the situation]

### The NPC
- **Appearance:** [Brief description]
- **Demeanor:** [How they come across]
- **Want:** [What they're trying to achieve]
- **Secret:** [What they're hiding]

### The Situation
[What's happening, what the NPC needs or offers]

### Conversation Hooks
- [Opening line or action]
- [Topic they'll bring up]
- [Question they might ask]

### Possible Outcomes
| Approach | DC | Result |
|----------|----|----- |
| Persuasion | [X] | [Outcome] |
| Intimidation | [X] | [Outcome] |
| Deception | [X] | [Outcome] |
| Insight | [X] | [What they learn] |

### Complications
[What could go wrong or make this interesting]

### Connections
[How this ties to larger world events/entities]

Exploration Encounter Format

## Exploration Encounter: [Evocative Name]

**Location:** [Specific area]
**Type:** [Discovery/Hazard/Mystery/Resource]

### Discovery
[What the party finds - describe for players]

### Investigation
| Check | DC | Reveals |
|-------|----|----- |
| Perception | [X] | [Detail] |
| Investigation | [X] | [Detail] |
| History/Arcana/Nature | [X] | [Context] |
| Survival | [X] | [Practical info] |

### Interaction Options
1. **[Option A]:** [What happens]
2. **[Option B]:** [What happens]
3. **[Option C]:** [What happens]

### Hidden Elements
[Things not immediately obvious]

### Treasure/Rewards
[What can be gained]

### Connections
[Links to world lore, plot hooks]

Step 5: Use World Entities

When possible, incorporate existing entities:

  1. Creatures: Use monsters from Creatures/ folder
  2. NPCs: Reference characters from Characters/ folder
  3. Organizations: Tie to factions from Organizations/
  4. Locations: Reference specific places from Geography/ or Settlements/
  5. Items: Include items from Items/ as treasure
  6. History: Connect to events from History/

Add [[wikilinks]] to all referenced entities.

Step 6: Offer Encounter Table

After generating one encounter, offer:

"Would you like me to create a full d6 or d12 encounter table for this location?"

Encounter Table Format

## Encounter Table: [Location Name]

**Terrain:** [Type]
**Recommended Level:** [Range]
**Check Frequency:** [How often to roll]

### d12 Encounters

| Roll | Type | Encounter | Difficulty |
|------|------|-----------|------------|
| 1 | Combat | [Brief description] | Deadly |
| 2 | Combat | [Brief description] | Hard |
| 3-4 | Combat | [Brief description] | Medium |
| 5 | Social | [Brief description] | - |
| 6 | Social | [Brief description] | - |
| 7 | Exploration | [Brief description] | - |
| 8 | Exploration | [Brief description] | - |
| 9 | Environmental | [Brief description] | Varies |
| 10 | Plot Hook | [Brief description] | - |
| 11 | Resource | [Brief description] | - |
| 12 | Special | [Unique event] | Varies |

### Encounter Details
[Expanded details for each entry]

Step 7: Offer to Save

"Would you like me to save this encounter to the world?"

If yes:

  1. Determine appropriate template (Combat, Social, Exploration, Trap)
  2. Read template from Templates/Encounters/
  3. Fill template with generated content
  4. Save to Worlds/[World Name]/Encounters/[Encounter Name].md
  5. Update location entity's Connections if applicable

Examples

# Generate for specific location
/random-encounter "The Blackwood Forest" level 5

# Combat encounter on a road
/random-encounter road combat level 3

# Social encounter in city
/random-encounter "Ironhold City" social level 8

# Let system choose type
/random-encounter wilderness level 6 random

# Create encounter table
/random-encounter "Shadowfell Border" table level 10

Integration Notes

  • Reference Connection Matrix for encounter-to-location linking
  • Use CR and XP tables from D&D 5e 2024 Rules
  • Match creature behavior to stat blocks if using world creatures
  • Consider party composition if mentioned in conversation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

mcpjam

24.37%
按下载量换算16

Claude Code

21.77%
按下载量换算14

windsurf

18.31%
按下载量换算12

zencoder

12.72%
按下载量换算8

crush

8.17%
按下载量换算5

cline

3.39%
按下载量换算2

安全审计

暂无安全审计结果可展示。

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills