TRPG Data & Context Hooks Organizer for Openclaw

Organizes TRPG briefing_package files so Openclaw Skills keeps always-on data lean and loads large lore only when keywords fire.

ice26985850
v1.0.0
Jul 19, 2026
0
455
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install trpg-data-context-hooks

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install trpg-data-context-hooks using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is TRPG Data & Context Hooks Organizer?

In Openclaw Skills, this skill restructures a TRPG briefing_package so AI GM context stays lean, deterministic, and token-efficient. It separates small, always-needed facts into data/*.yaml and moves larger, reference-style content into rules_sections/*.md, where config.yaml can expose it through context_hooks.

Because the AI GM is the only GM, every piece of game knowledge needed during play must remain inside the briefing_package, but not every piece should be injected every round. By routing only the right content at the right time, the skill prevents token waste, reduces context bloat, and keeps large compendiums usable without overwhelming the prompt.

TRPG Data & Context Hooks Organizer Use Cases

  • When data/*.yaml grows past about 50 lines and starts getting injected every turn.
  • When you need to move equipment, magic, monster, or world-lore references into rules_sections/*.md.
  • When you want natural-language context_hooks in config.yaml that trigger on player speech instead of command syntax.
  • When you are validating whether a file is transitional/imported content or the authoritative source.
  • When you are batch-refactoring multiple files and want to update hooks and file placement in one pass.

How TRPG Data & Context Hooks Organizer Works

  1. Scan the briefing_package and classify each file by how often the AI GM needs it.
  2. Keep content in data/ only if it must be visible every round; move the rest into rules_sections/.
  3. Enforce the size heuristic: keep data/*.yaml small and let rules_sections/*.md hold the longer reference material.
  4. Add or update context_hooks in config.yaml using natural player-facing keywords, not command syntax.
  5. Verify that every hook target exists in rules_sections/ and is the single authoritative copy.
  6. Remove stale duplicates after migration and batch-update related files together to avoid drift.

TRPG Data & Context Hooks Organizer Setup

No dependency install is required; apply the skill to an existing briefing_package.

  1. Confirm the expected folder layout exists.
mkdir -p briefing_package/data briefing_package/rules_sections
  1. Audit the current data files and identify anything oversized.
wc -l briefing_package/data/*.yaml briefing_package/data/*.yml
  1. Move large or rarely used content out of data/ and into rules_sections/.
mv briefing_package/data/equipment.yaml briefing_package/rules_sections/equipment.md
  1. Add keyword triggers to config.yaml so the right section loads on demand.
context_hooks:
  "equipment": "rules_sections/equipment"
  "magic": "rules_sections/spellbook"
  "monster": "rules_sections/monster-index"
  1. Remove the original duplicate after migration so only one authoritative copy remains.

TRPG Data & Context Hooks Organizer Data Schema & Taxonomy

This skill organizes the briefing_package into three layers: core data, on-demand rules, and hook routing.

Path Taxonomy Injection behavior Size guideline Typical contents
data/*.yaml Core, always-on facts Injected every round Prefer < 50 lines Core attributes, short skill lists, currencies, small resource systems
rules_sections/*.md Topic modules / reference docs Injected only when a keyword matches Prefer < 200 lines Equipment manuals, spellbooks, monster indexes, world lore
config.yaml -> context_hooks Trigger map Maps natural-language terms to files N/A equipment → rules_sections/equipment

Metadata taxonomy rules

  • Keep stable, low-volume, frequently queried data in data/.
  • Put long-form, occasional, or encyclopedic information in rules_sections/.
  • Use player-facing trigger words that naturally appear in conversation.
  • Treat migrated content as single-source-of-truth; remove the old copy after verification.
  • If a legacy supplement has already been fully split into the briefing_package, treat it as transitional and do not duplicate it.

TRPG Data & Context Hooks Organizer Advanced Features

  • Token-budget optimization that minimizes always-on context and avoids repeated injection.
  • Natural-language hook triggers that align with player speech instead of brittle command syntax.
  • Batch migration flow for moving multiple oversized data files and updating all matching hooks together.
  • Authoritative-source enforcement to prevent duplicated or out-of-sync lore after refactors.
  • Scales to large compendiums such as armor guides, spellbooks, monster atlases, and world-setting encyclopedias.
  • Openclaw Skills-friendly structure for AI GM briefing packages.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*