Token导航 LogoToken导航

Agent Skill · 研究检索

dnd5e-srd(dnd5e SRD 搜索)

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

dnd5e-srd 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证为 MIT,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 41,842。

总安装 1,129周安装 48GitHub Stars 195下载 396核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/microck/ordinary-claude-skills --skill dnd5e-srd

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

dnd5e-srd 提供 D&D 5e 系统参考文档(SRD)的检索式问答支持,按页面组织知识库。适用于游戏规则查询、怪物属性或法术效果确认,可在 Codex、Claude、Cursor、Gemini CLI 中调用。通过 npx skills add 命令安装,采用向量检索匹配用户问题至对应 SRD 页面片段。

使用前应限定问题范围在 SRD 授权内容内,避免引用非公开或第三方扩展材料。dnd5e-srd 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/dnd5e-srd

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/microck/ordinary-claude-skills --skill dnd5e-s…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

dnd5e-srd 怎么安装?

在终端执行 npx skills add https://github.com/microck/ordinary-claude-skills --skill dnd5e-srd。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

dnd5e-srd 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

dnd5e-srd 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

dnd5e-srd 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

dnd5e-srd 用的人多吗?

公开数据是累计安装 1,129 次,近一周安装 48 次,下载 396 次,GitHub 195 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

dnd5e-srd 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
dnd5e-srd

dnd5e SRD 搜索 · 本页

1,129195只读MIT未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

D&D 5e SRD RAG

This skill provides search-based retrieval access to the Dungeons & Dragons 5th Edition System Reference Document (SRD), organized by page ranges as markdown files in the references/ directory.

When to Use This Skill

Use this skill whenever answering questions about D&D 5e SRD content, including:

  • Core rules and gameplay procedures
  • Ability checks, saving throws, and skill use
  • Combat, actions, conditions, and movement
  • Classes, backgrounds, equipment, and magic items
  • Spells and spellcasting
  • Creatures and stat blocks included in the SRD

Search Strategy

Follow this agentic search process for D&D 5e SRD queries:

1. Identify Relevant Page Ranges

The SRD is organized by page ranges. Use this file index to locate content:

Important: Always use the Python search tool (scripts/search_with_positions.py) to get exact character positions for source citations.

File Index (by page range)

Note: Topics below follow your provided outline and are aligned to the actual file splits; where a topic spans multiple files, it's marked as continued.

  • DND5eSRD_001-018.md: Intro through Character Creation
  • DND5eSRD_019-035.md: Barbarian, Bard, Cleric (start)
  • DND5eSRD_036-046.md: Cleric/Druid, Fighter, Monk (start)
  • DND5eSRD_047-063.md: Monk, Paladin, Ranger, Rogue
  • DND5eSRD_064-076.md: Sorcerer, Warlock, Wizard (start)
  • DND5eSRD_077-086.md: Wizard, Origins, Feats
  • DND5eSRD_087-103.md: Equipment
  • DND5eSRD_104-120.md: Spells
  • DND5eSRD_121-137.md: Spells
  • DND5eSRD_138-154.md: Spells
  • DND5eSRD_155-175.md: Spells
  • DND5eSRD_176-191.md: Rules Glossary (part)
  • DND5eSRD_192-203.md: Gameplay Toolbox, Magic Items (start, part 1)
  • DND5eSRD_204-229.md: Gameplay Toolbox, Magic Items (continued)
  • DND5eSRD_230-252.md: Magic Items (continued)
  • DND5eSRD_253-272.md: Monsters intro + early entries
  • DND5eSRD_273-292.md: Monsters
  • DND5eSRD_293-312.md: Monsters
  • DND5eSRD_313-332.md: Monsters
  • DND5eSRD_333-364.md: Monsters / Animals (continued)

2. Search Using the Python Tools

Primary method: use the search + expand workflow for accurate positions and structured context.

# Step 1: Search to find content with exact character positions
python /skills/dnd5e-srd/scripts/search_with_positions.py "search term" --all

# Step 2: If you need more context, expand specific result(s)
python /skills/dnd5e-srd/scripts/expand_context.py "search term" --result 3 --mode section --all

# Examples
# Search combat-related terms
python /skills/dnd5e-srd/scripts/search_with_positions.py "grapple" --all

# Search spells and expand result #1 by section
python /skills/dnd5e-srd/scripts/expand_context.py "fireball" --result 1 --mode section --all

# Search specific page ranges
python /skills/dnd5e-srd/scripts/search_with_positions.py "longsword" --pages 200-300

# Batch expand multiple results
python /skills/dnd5e-srd/scripts/expand_context.py "Attack" --results 1,3,5 --mode paragraph --all

The search tool returns:

  • Filename
  • Character range (start-end positions)
  • Matched text with context
  • Ready-to-use citation format: [filename, chars START-END]

The expand tool returns:

  • Expanded text (paragraph, section, or entire document)
  • Heading breadcrumb trail
  • Original match position within the expansion
  • Expansion bounds and metadata

3. Expand Context When Needed

After searching, expand results that need deeper context:

  • Use --mode paragraph for surrounding text
  • Use --mode section to get the full rule section with headings
  • Use --results 1,3,5 to batch expand multiple results

4. Multi-hop Queries

For questions requiring multiple pieces of information:

  1. Break down the query into components
  2. Search for each component separately
  3. Synthesize the information from multiple sources

5. Provide Accurate Answers with Source Citations

After retrieving information:

  • Quote or paraphrase the exact rules as needed
  • Always cite sources using the character position format: [filename, chars START-END]
  • Include multiple sources when relevant
  • Cite at the end of the relevant information, not inline

Citation examples:

The spell Fireball deals 8d6 fire damage on a failed save. [DND5eSRD_293-312.md, chars 12000-12100]

A grapple check uses Athletics vs. the target's escape DC (see Conditions). [DND5eSRD_087-103.md, chars 5400-5600]

References Directory Structure

The references/ directory contains the SRD split into page-range files. Files are named DND5eSRD_XXX-YYY.md where XXX-YYY is the page range.

To list all files:

ls -lh /skills/dnd5e-srd/references/

To find which file contains specific content:

grep -l "search term" /skills/dnd5e-srd/references/*.md

Python Tools

1. Search Tool (search_with_positions.py)

Features:

  • Searches SRD reference files with regex-based term matching
  • Returns precise character ranges for each match
  • Includes contextual text around matches
  • Supports filtering by page ranges or specific files

Usage:

# Basic search across all files
python scripts/search_with_positions.py "term" --all

# Search specific page range
python scripts/search_with_positions.py "term" --pages 200-300

# Control output
python scripts/search_with_positions.py "term" --all --max-results 10 --context 200

# Case-sensitive search
python scripts/search_with_positions.py "Attack" --all --case-sensitive

2. Context Expansion Tool (expand_context.py)

Features:

  • Expands specific search results with boundary-aware modes
  • Modes: paragraph (default), section, section-only, char, document
  • Provides heading breadcrumb trails for context
  • Supports batch expansion and JSON output

Usage:

# Expand a specific search result by section
python scripts/expand_context.py "fireball" --result 3 --mode section --all-search

# Expand multiple results at once
python scripts/expand_context.py "Attack" --results 1,3,5 --mode paragraph --all-search

# Direct expansion from known file position
python scripts/expand_context.py --file "DND5eSRD_121-137.md" --position 1234 --mode section

# JSON output for machine processing
python scripts/expand_context.py "wizard" --result 1 --all-search --format json

Best Practices

  • Use the Python tools: search first, then expand for deeper context
  • Always cite sources with [filename, chars START-END]
  • Leverage structure: use --mode section to get full rules and headings
  • Be specific: search for exact SRD terminology
  • Check multiple files: related rules may span multiple ranges
  • Handle ambiguity: present possible interpretations with citations

Notes

  • Files are organized by page ranges (e.g., 001-018, 019-035)
  • Some files are large (up to 120K+); prefer targeted searches
  • This skill includes SRD content only; not supplements or non-SRD material

平台分布

trae

26.63%
按下载量换算105

Codex

23.39%
按下载量换算93

Gemini CLI

16.61%
按下载量换算66

Antigravity

12.16%
按下载量换算48

windsurf

8.36%
按下载量换算33

Claude Code

3.75%
按下载量换算15

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills