Token导航 LogoToken导航

Agent Skill · 研究检索

ogt-docs-define-tools(ogt 文档定义工具)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

ogt-docs-define-tools 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 69,087。

总安装 220周安装 9GitHub Stars 公开资料未说明下载 71核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/opendndapps/ogt-skills --skill ogt-docs-define-tools

这个 Skill 是做什么的

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

用于辅助文档、README 和内容稿件的整理与改写。适合提炼结构、补齐章节、统一术语或检查链接。应保留项目已有事实,避免把未确认信息写成确定结论。涉及对外文案时需控制语气,避免过度营销或夸大能力。ogt-docs-define-tools 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/ogt-docs-define-tools

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ogt-docs-define-tools 怎么安装?

在终端执行 npx skills add https://github.com/opendndapps/ogt-skills --skill ogt-docs-define-tools。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ogt-docs-define-tools 支持哪些 AI 工具?

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

ogt-docs-define-tools 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/opendndapps/ogt-skills --skill ogt-docs-define-tools 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

ogt-docs-define-tools 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

ogt-docs-define-tools 用的人多吗?

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

ogt-docs-define-tools 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
ogt-docs-define-tools

ogt 文档定义工具 · 本页

220—执行命令未明确通过

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

SKILL.md 原文

OGT Docs - Define Tools

Complete guide for documenting project tools, CLIs, and utilities.

Overview

Tools documentation ensures team members can effectively use CLIs, scripts, and integrations. Each tool is documented with usage examples, configuration options, and common workflows.

flowchart TB
    subgraph tools ["docs/define/tools/"]
        direction TB
        CLI["cli/"]
        SCRIPTS["scripts/"]
        DEV["dev/"]
        THIRD["third_party/"]
    end

    CLI --> OGT["ogt/"]
    CLI --> MAKE["make/"]

    SCRIPTS --> BUILD["build/"]
    SCRIPTS --> DATA["data/"]

    DEV --> DOCKER["docker/"]
    DEV --> DEBUG["debug/"]

    THIRD --> STRAPI["strapi/"]
    THIRD --> VITE["vite/"]

When to Use

  • Documenting a new CLI tool
  • Adding a development script
  • Integrating a third-party tool
  • Creating tool usage guides
  • Documenting configuration options

Folder Structure

docs/define/tools/
├── cli/                            # Command-line interfaces
│   └── {tool_name}/
│       ├── definition.md           # Tool overview and purpose
│       ├── commands.md             # Command reference
│       ├── examples.md             # Usage examples
│       ├── config.md               # Configuration options
│       ├── .version                # Tool version
│       └── .install                # Installation method
│
├── scripts/                        # Project scripts
│   └── {script_name}/
│       ├── definition.md           # Script purpose
│       ├── usage.md                # How to use
│       └── .location               # Script file path
│
├── dev/                            # Development tools
│   └── {tool_name}/
│       ├── definition.md
│       ├── setup.md                # Setup instructions
│       └── workflow.md             # Common workflows
│
└── third_party/                    # External tools
    └── {tool_name}/
        ├── definition.md
        ├── integration.md          # How it integrates
        ├── config.md               # Our configuration
        └── .version                # Version we use

Example: docs/define/tools/cli/ogt/

Documenting an internal CLI tool.

Folder Structure

docs/define/tools/cli/ogt/
├── definition.md
├── commands.md
├── examples.md
├── config.md
├── .version
└── .install

definition.md

# Tool: OGT CLI

## Summary

OpenGameTools CLI for managing ORC data collections, running audits, and automating content workflows.

## Purpose

The OGT CLI provides:

- Data collection management (scan, status, signal)
- Content auditing and validation
- Generation pipeline control
- Database operations

## Installation

Global install

npm install -g @orc/ogt-cli

Project install (recommended)

npm install --save-dev @orc/ogt-cli

Verify installation

ogt --version

Quick Start

# Scan a collection
ogt scan creatures

# Check entry status
ogt status front/data/app-creatures/dragon

# Run audit
ogt audit creatures --check-assets

Architecture

ogt
├── scan      # Scan collections for entries
├── status    # Get/set entry status
├── signal    # Manage skill signals
├── audit     # Run content audits
├── check     # Validate files/data
├── generate  # Content generation pipeline
├── db        # Database operations
└── report    # Generate reports

Configuration

See config.md for configuration options.

Related

  • docs/define/tools/scripts/data/ - Data scripts
  • docs/rules/code/ - Coding standards
### commands.md

OGT CLI Commands

ogt scan

Scan collections for entries and their status.

Usage

ogt scan <collection> [options]

Options

OptionDescriptionDefault
--status <status>Filter by statusall
--missing <signal>Find entries missing signal-
--format <format>Output format (table, json, csv)table
--limit <n>Limit results-

Examples

# Scan all creatures
ogt scan creatures

# Find creatures missing portraits
ogt scan creatures --missing portrait

# Get JSON output
ogt scan creatures --format json

# Filter by status
ogt scan creatures --status draft

ogt status

Get or set entry status.

Usage

# Get status
ogt status <path>

# Set status
ogt status <path> <new_status>

Status Values

  • stub - Minimal placeholder
  • draft - Work in progress
  • review - Ready for review
  • approved - Reviewed and approved
  • published - Live in production

Examples

# Get status
ogt status front/data/app-creatures/dragon
# Output: draft

# Set status
ogt status front/data/app-creatures/dragon approved
# Output: Status changed: draft -> approved

ogt signal

Manage skill processing signals.

Usage

# Check signal
ogt signal <path> <signal_name>

# Set signal
ogt signal <path> <signal_name> --set

# Clear signal
ogt signal <path> <signal_name> --clear

Common Signals

SignalMeaning
portraitHas portrait image
descriptionHas description
statsHas stat block
loreHas lore/background
ai_generatedGenerated by AI
human_reviewedReviewed by human

Examples

# Check if entry has portrait
ogt signal front/data/app-creatures/dragon portrait
# Output: portrait: false

# Mark as having portrait
ogt signal front/data/app-creatures/dragon portrait --set

# Clear signal
ogt signal front/data/app-creatures/dragon ai_generated --clear

ogt audit

Run content audits on collections.

Usage

ogt audit <collection> [options]

Options

OptionDescription
--check-assetsVerify asset files exist
--check-schemaValidate against schema
--check-linksVerify internal links
--fixAuto-fix issues where possible
--reportGenerate audit report

Examples

# Full audit
ogt audit creatures --check-assets --check-schema

# Generate report
ogt audit creatures --report > audit-report.md

# Auto-fix issues
ogt audit creatures --fix

ogt check

Validate files and data.

Subcommands

ogt check assets <path> <asset_name>   # Check for missing assets
ogt check slugs <path>                  # Validate slug conventions
ogt check indexed <collection>          # Verify index exports
ogt check data <path>                   # Validate against schema

Examples

# Check for missing portraits
ogt check assets static/public/creatures portrait.png -r

# Validate slugs
ogt check slugs front/data/app-creatures -r

# Check index exports
ogt check indexed creatures

ogt generate

Content generation pipeline.

Usage

ogt generate <collection> <entry> [options]

Options

OptionDescription
--prompt <type>Generate prompt only
--applyApply generated content
--model <model>AI model to use
--dry-runPreview without changes

Examples

# Generate description for creature
ogt generate creatures dragon --prompt description

# Apply generated content
ogt generate creatures dragon --apply

# Preview changes
ogt generate creatures dragon --dry-run
### examples.md

OGT CLI Examples

Common Workflows

New Entry Workflow

# 1. Create entry folder
mkdir -p front/data/app-creatures/phoenix

# 2. Create minimal data.ts
cat > front/data/app-creatures/phoenix/data.ts << 'EOF'
export const phoenix = {
  slug: 'phoenix',
  name: 'Phoenix',
  type: 'creature',
};
EOF

# 3. Set initial status
ogt status front/data/app-creatures/phoenix stub

# 4. Generate content
ogt generate creatures phoenix --prompt description
ogt generate creatures phoenix --apply

# 5. Update status
ogt status front/data/app-creatures/phoenix draft

Audit Before Release

# 1. Run full audit
ogt audit creatures --check-assets --check-schema --check-links

# 2. Review issues
ogt audit creatures --report | less

# 3. Fix auto-fixable issues
ogt audit creatures --fix

# 4. Verify fixes
ogt audit creatures --check-assets

Find Incomplete Entries

# Find entries without portraits
ogt scan creatures --missing portrait

# Find entries without descriptions
ogt scan creatures --missing description

# Find stubs that need work
ogt scan creatures --status stub

Batch Status Update

# Move all draft to review
for entry in $(ogt scan creatures --status draft --format csv | tail -n +2); do
  ogt status "$entry" review
done

Export Report

# Generate CSV of all entries with status
ogt scan creatures --format csv > creatures-status.csv

# Generate full audit report
ogt audit creatures --report > audit-$(date +%Y%m%d).md
### config.md

OGT CLI Configuration

Configuration File

OGT looks for configuration in:

  1. ogt.config.js in project root
  2. ogt key in package.json
  3. Command-line arguments (highest priority)

Configuration Options

ogt.config.js

module.exports = {
  // Data directories
  dataDir: 'front/data',
  staticDir: 'static/public',

  // Collections
  collections: {
    creatures: {
      dataPath: 'app-creatures',
      staticPath: 'creatures',
      schema: 'schemas/creature.json',
    },
    items: {
      dataPath: 'app-items',
      staticPath: 'items',
      schema: 'schemas/item.json',
    },
  },

  // Asset requirements
  assets: {
    portrait: {
      filename: 'portrait.png',
      required: true,
      dimensions: { width: 512, height: 512 },
    },
    thumbnail: {
      filename: 'thumbnail.png',
      required: false,
      dimensions: { width: 128, height: 128 },
    },
  },

  // Generation settings
  generate: {
    model: 'claude-3-opus',
    temperature: 0.7,
    maxTokens: 2000,
  },

  // Output settings
  output: {
    format: 'table',
    colors: true,
    verbose: false,
  },
};

Environment Variables

VariableDescriptionDefault
OGT_DATA_DIRData directoryfront/data
OGT_STATIC_DIRStatic assetsstatic/public
OGT_MODELDefault AI modelclaude-3-opus
OGT_VERBOSEVerbose outputfalse

Command-Line Overrides

# Override data directory
ogt scan creatures --data-dir ./custom/data

# Override output format
ogt scan creatures --format json

# Enable verbose mode
ogt scan creatures -v
### .version

1.2.0

### .install

npm install -g @orc/ogt-cli

---

## Example: docs/define/tools/scripts/build/

Documenting build scripts.

### Folder Structure

docs/define/tools/scripts/build/ ├── definition.md ├── usage.md └──.location

### definition.md

Script: Build Scripts

Summary

Collection of build scripts for frontend and backend builds.

Scripts

ScriptLocationPurpose
build:frontpackage.jsonBuild frontend
build:backpackage.jsonBuild backend
build:allpackage.jsonBuild everything
build:dockerMakefileBuild Docker images

Quick Reference

# Frontend build
yarn build:front

# Backend build
yarn build:back

# Full build
yarn build:all

# Docker build
make build
### usage.md

Build Scripts Usage

Frontend Build

Development Build

yarn build:front

Outputs to front/dist/.

Production Build

NODE_ENV=production yarn build:front

Enables minification and tree-shaking.

Build Options

# Analyze bundle size
yarn build:front --analyze

# Generate sourcemaps
yarn build:front --sourcemap

# Specify output directory
yarn build:front --outDir ./custom-dist

Backend Build

Standard Build

yarn build:back

Builds Strapi admin panel.

Production Build

NODE_ENV=production yarn build:back

Docker Build

Build All Images

make build

Build Specific Service

docker-compose build orc-front
docker-compose build orc-back

Build with No Cache

make build-no-cache

CI/CD

Build is triggered automatically:

  • On push to main: Full build
  • On PR: Frontend only
  • On release tag: Production build + deploy
### .location

package.json scripts Makefile

---

## Example: docs/define/tools/dev/docker/

Documenting development tools.

### Folder Structure

docs/define/tools/dev/docker/ ├── definition.md ├── setup.md └── workflow.md

### definition.md

Tool: Docker Development

Summary

Docker Compose setup for local development of all ORC services.

Services

ServicePortImage
orc-front23001node:20-alpine
orc-back23050node:20-alpine
orc-back-postgres23030postgres:16
orc-n8n23020n8nio/n8n
orc-static23010nginx:alpine

Quick Start

# Start all services
docker-compose up -d

# View logs
docker-compose logs -f

# Stop services
docker-compose down

Files

  • docker-compose.yml - Service definitions
  • .env - Environment variables
  • Makefile - Common commands
### setup.md

Docker Setup

Prerequisites

  • Docker Engine 24+
  • Docker Compose 2.0+
  • 8GB RAM minimum

Initial Setup

1. Clone and Configure

# Clone repository
git clone https://github.com/org/orc.git
cd orc

# Copy environment template
cp .env.example .env

# Edit .env with your values
vim .env

2. Build Images

# Build all images
docker-compose build

# Or use make
make build

3. Start Services

# Start in background
docker-compose up -d

# Verify services
docker-compose ps

4. Initialize Database

# Run migrations
docker-compose exec orc-back yarn strapi db:migrate

# Seed data (optional)
docker-compose exec orc-back yarn seed

5. Access Services

Troubleshooting

Port Conflicts

# Check what's using a port
lsof -i :23001

# Change port in .env
PORT_FRONT=23101

Container Won't Start

# View container logs
docker-compose logs orc-back

# Rebuild from scratch
docker-compose down -v
docker-compose build --no-cache
docker-compose up -d

Database Connection Issues

# Verify postgres is running
docker-compose ps orc-back-postgres

# Check connection
docker-compose exec orc-back-postgres psql -U postgres
### workflow.md

Docker Workflows

Daily Development

Start Day

# Start services
docker-compose up -d

# Verify all running
docker-compose ps

# Tail logs
docker-compose logs -f orc-front orc-back

During Development

# Restart after code change (hot reload usually works)
docker-compose restart orc-front

# View specific service logs
docker-compose logs -f orc-back --tail 100

# Run command in container
docker-compose exec orc-front yarn test

End Day

# Stop services
docker-compose stop

# Or remove containers (preserves data)
docker-compose down

Common Tasks

Rebuild After Dependency Change

# Rebuild specific service
docker-compose build orc-front
docker-compose up -d orc-front

Reset Database

# Stop and remove volumes
docker-compose down -v

# Start fresh
docker-compose up -d

# Re-seed
docker-compose exec orc-back yarn seed

Run Tests

# Frontend tests
docker-compose exec orc-front yarn test

# Backend tests
docker-compose exec orc-back yarn test

Debug Container

# Shell into container
docker-compose exec orc-front sh

# View container details
docker-compose inspect orc-front

Make Commands

CommandDescription
make upStart all services
make downStop all services
make logsTail all logs
make recreateForce recreate containers
make buildBuild all images
make cleanRemove containers and volumes
---

## Creating New Tool Documentation

flowchart TD A[New Tool] --> B{Type?}

B -->|CLI| C[cli/{name}/] B -->|Script| D[scripts/{name}/] B -->|Dev Tool| E[dev/{name}/] B -->|External| F[third_party/{name}/]

C --> G[Create Folder] D --> G E --> G F --> G

G --> H[Write definition.md] H --> I{Has Commands?}

I -->|Yes| J[Add commands.md] I -->|No| K[Add usage.md]

J --> L[Add examples.md] K --> L

L --> M{Configurable?} M -->|Yes| N[Add config.md] M -->|No| O[Add signals] N --> O

O --> P[.version, .install, etc.]


---

## Signal Files Reference

| Signal | Type | Content | Purpose |
| --- | --- | --- | --- |
| `.version` | Content | Version string | Track tool version |
| `.install` | Content | Install command | How to install |
| `.location` | Content | File path | Where script lives |
| `.deprecated` | Empty | - | Tool is deprecated |
| `.replaced_by` | Content | New tool path | Point to replacement |

---

## Documentation Quality Checklist

Before finalizing tool documentation:

- Purpose is clearly explained
- Installation/setup documented
- All commands documented
- Options/flags listed
- Examples for common use cases
- Configuration options explained
- Troubleshooting section included
- Version documented
- Related tools cross-referenced

平台分布

Codex

35.65%
按下载量换算25

Claude

28.19%
按下载量换算20

Cursor

17.76%
按下载量换算13

Gemini CLI

9.26%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/opendndapps/ogt-skills --skill ogt-docs-define-tools 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills