.github/skills/generate-agent-docs/SKILL.md
Generates documentation and usage guides for agents, skills, prompts, and instructions. Works with GitHub Copilot, Claude Code, Codex, OpenCode, and other providers. Use when onboarding team members, creating README files for your customizations, or generating usage examples for existing agents.
npx skillsauth add jburlison/metaprompts generate-agent-docsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Creates user-friendly documentation for AI coding assistant customization files.
This skill works across multiple AI coding assistant providers:
| Provider | Base Folder |
|----------|-------------|
| GitHub Copilot | .github/ |
| Claude Code | .claude/ |
| Codex | .codex/ |
| OpenCode | .config/opencode/ |
Throughout this document, <provider>/ represents your chosen provider's base folder.
Generate detailed docs for a single agent, skill, prompt, or instruction.
Generate a comprehensive overview of all customization files.
# Agent: [Agent Name]
## Overview
[What this agent does and why it exists]
## When to Use This Agent
Use `@[agent-name]` when:
- [Scenario 1]
- [Scenario 2]
- [Scenario 3]
**Don't use** when:
- [Anti-pattern 1]
- [Anti-pattern 2]
## How It Behaves
This agent will:
- [Behavior 1]
- [Behavior 2]
- [Behavior 3]
## Example Conversations
### Example 1: [Scenario Title]
**You:** [Example user message]
**Agent:** [How agent responds - summarized]
### Example 2: [Scenario Title]
**You:** [Example user message]
**Agent:** [How agent responds - summarized]
## Tips for Best Results
- [Tip 1 for effective usage]
- [Tip 2 for effective usage]
- [Common mistake to avoid]
## Related
- **[Related Agent]**: Use for [distinction]
- **[Related Skill]**: This agent uses this for [purpose]
# Skill: [Skill Name]
## Purpose
[What this skill accomplishes]
## Triggers
This skill activates when:
- [Trigger keyword/scenario 1]
- [Trigger keyword/scenario 2]
## What It Does
[Step-by-step of what the skill does]
## Used By
- [Agent 1] - for [purpose]
- [Agent 2] - for [purpose]
## Example
**Scenario:** [Description]
**Input:** [What's provided]
**Output:** [What's produced]
# Prompt: [Prompt Name]
## Purpose
[What task this prompt accomplishes]
## Mode
`[mode]` - [explanation of what this mode does]
## Variables
| Variable | Description | Example |
|----------|-------------|---------|
| `{{var1}}` | [what it's for] | [example value] |
## How to Use
1. [Step 1]
2. [Step 2]
## Example
**With these values:**
- `{{var1}}` = [value]
**Produces:**
[Example output]
# Instructions: [Name]
## Applies To
Files matching: `[glob pattern]`
## Purpose
[What guidance these instructions provide]
## Key Rules
1. [Rule 1]
2. [Rule 2]
3. [Rule 3]
## When Active
These instructions automatically apply when you're working with files that match the pattern above.
## Examples of Affected Files
- `[example path 1]`
- `[example path 2]`
# AI Coding Assistant Customizations
This document catalogs all custom agents, skills, prompts, and instructions configured for this project.
## Provider
[Specify which provider folder is used: `.github/`, `.claude/`, `.codex/`, `.config/opencode/`]
## Quick Reference
### Agents (User-Invokable)
| Agent | Purpose | Invoke With |
|-------|---------|-------------|
| [name] | [brief purpose] | `@[name]` |
### Sub-Agents (Workflow Components)
| Sub-Agent | Purpose | Used By |
|-----------|---------|---------|
| [name] | [brief purpose] | [parent workflow agent] |
### Skills
| Skill | Purpose | Triggers |
|-------|---------|----------|
| [name] | [brief purpose] | [keywords] |
### Prompts
| Prompt | Mode | Purpose |
|--------|------|---------|
| [name] | [mode] | [brief purpose] |
### Instructions
| Instructions | Applies To | Purpose |
|--------------|------------|---------|
| [name] | [pattern] | [brief purpose] |
## Detailed Documentation
[Full documentation for each item]
## Usage Guidelines
[General guidance on how to use these customizations effectively]
Load the agent/skill/prompt/instruction file.
Apply appropriate template based on item type.
Generated documentation should be:
When generating examples beyond those in the source:
development
Validates AI coding assistant customization files (agents, skills, prompts, instructions) for correct format and structure. Works with GitHub Copilot, Claude Code, Codex, OpenCode, and other providers. Use when checking if agent files are properly configured, troubleshooting agent issues, or before committing new customization files.
development
Analyzes existing agents, skills, prompts, and instructions to identify overlaps, redundancies, and conflicts. Works with GitHub Copilot, Claude Code, Codex, OpenCode, and other providers. Use before creating new customization files to avoid duplication, when consolidating agents, or when troubleshooting conflicting behaviors.
development
Contains the complete specifications for AI coding assistant customization files including agents, skills, prompts, and instructions. Works with GitHub Copilot, Claude Code, Codex, OpenCode, and other providers. Use this skill when you need to reference the correct file format, required fields, supported attributes, file locations, or VS Code settings for any customization file. Follows the Agent Skills open standard (agentskills.io).
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.