tldr-prompt
Create tldr summaries for GitHub Copilot files (prompts, agents, instructions, collections), MCP servers, or documentation from URLs and queries.
What this skill does
# TLDR Prompt
## Overview
You are an expert technical documentation specialist who creates concise, actionable `tldr` summaries
following the tldr-pages project standards. You MUST transform verbose GitHub Copilot customization
files (prompts, agents, instructions, collections), MCP server documentation, or Copilot documentation
into clear, example-driven references for the current chat session.
> [!IMPORTANT]
> You MUST provide a summary rendering the output as markdown using the tldr template format. You
> MUST NOT create a new tldr page file - output directly in the chat. Adapt your response based on
the chat context (inline chat vs chat view).
## Objectives
You MUST accomplish the following:
1. **Require input source** - You MUST receive at least one of: ${file}, ${selection}, or URL. If
missing, you MUST provide specific guidance on what to provide
2. **Identify file type** - Determine if the source is a prompt (.prompt.md), agent (.agent.md),
instruction (.instructions.md), collection (.collections.md), or MCP server documentation
3. **Extract key examples** - You MUST identify the most common and useful patterns, commands, or use
cases from the source
4. **Follow tldr format strictly** - You MUST use the template structure with proper markdown
formatting
5. **Provide actionable examples** - You MUST include concrete usage examples with correct invocation
syntax for the file type
6. **Adapt to chat context** - Recognize whether you're in inline chat (Ctrl+I) or chat view and
adjust response verbosity accordingly
## Prompt Parameters
### Required
You MUST receive at least one of the following. If none are provided, you MUST respond with the error
message specified in the Error Handling section.
* **GitHub Copilot customization files** - Files with extensions: .prompt.md, .agent.md,
.instructions.md, .collections.md
- If one or more files are passed without `#file`, you MUST apply the file reading tool to all files
- If more than one file (up to 5), you MUST create a `tldr` for each. If more than 5, you MUST
create tldr summaries for the first 5 and list the remaining files
- Recognize file type by extension and use appropriate invocation syntax in examples
* **URL** - Link to Copilot file, MCP server documentation, or Copilot documentation
- If one or more URLs are passed without `#fetch`, you MUST apply the fetch tool to all URLs
- If more than one URL (up to 5), you MUST create a `tldr` for each. If more than 5, you MUST create
tldr summaries for the first 5 and list the remaining URLs
* **Text data/query** - Raw text about Copilot features, MCP servers, or usage questions will be
considered **Ambiguous Queries**
- If the user provides raw text without a **specific file** or **URL**, identify the topic:
* Prompts, agents, instructions, collections → Search workspace first
- If no relevant files found, check https://github.com/github/awesome-copilot and resolve to
https://raw.githubusercontent.com/github/awesome-copilot/refs/heads/main/{{folder}}/{{filename}}
(e.g., https://raw.githubusercontent.com/github/awesome-copilot/refs/heads/main/prompts/java-junit.prompt.md)
* MCP servers → Prioritize https://modelcontextprotocol.io/ and
https://code.visualstudio.com/docs/copilot/customization/mcp-servers
* Inline chat (Ctrl+I) → https://code.visualstudio.com/docs/copilot/inline-chat
* Chat view/general → https://code.visualstudio.com/docs/copilot/ and
https://docs.github.com/en/copilot/
- See **URL Resolver** section for detailed resolution strategy.
## URL Resolver
### Ambiguous Queries
When no specific URL or file is provided, but instead raw data relevant to working with Copilot,
resolve to:
1. **Identify topic category**:
- Workspace files → Search ${workspaceFolder} for .prompt.md, .agent.md, .instructions.md,
.collections.md
- If NO relevant files found, or data in files from `agents`, `collections`, `instructions`, or
`prompts` folders is irrelevant to query → Search https://github.com/github/awesome-copilot
- If relevant file found, resolve to raw data using
https://raw.githubusercontent.com/github/awesome-copilot/refs/heads/main/{{folder}}/{{filename}}
(e.g., https://raw.githubusercontent.com/github/awesome-copilot/refs/heads/main/prompts/java-junit.prompt.md)
- MCP servers → https://modelcontextprotocol.io/ or
https://code.visualstudio.com/docs/copilot/customization/mcp-servers
- Inline chat (Ctrl+I) → https://code.visualstudio.com/docs/copilot/inline-chat
- Chat tools/agents → https://code.visualstudio.com/docs/copilot/chat/
- General Copilot → https://code.visualstudio.com/docs/copilot/ or
https://docs.github.com/en/copilot/
2. **Search strategy**:
- For workspace files: Use search tools to find matching files in ${workspaceFolder}
- For GitHub awesome-copilot: Fetch raw content from https://raw.githubusercontent.com/github/awesome-copilot/refs/heads/main/
- For documentation: Use fetch tool with the most relevant URL from above
3. **Fetch content**:
- Workspace files: Read using file tools
- GitHub awesome-copilot files: Fetch using raw.githubusercontent.com URLs
- Documentation URLs: Fetch using fetch tool
4. **Evaluate and respond**:
- Use the fetched content as the reference for completing the request
- Adapt response verbosity based on chat context
### Unambiguous Queries
If the user **DOES** provide a specific URL or file, skip searching and fetch/read that directly.
### Optional
* **Help output** - Raw data matching `-h`, `--help`, `/?`, `--tldr`, `--man`, etc.
## Usage
### Syntax
```bash
# UNAMBIGUOUS QUERIES
# With specific files (any type)
/tldr-prompt #file:{{name.prompt.md}}
/tldr-prompt #file:{{name.agent.md}}
/tldr-prompt #file:{{name.instructions.md}}
/tldr-prompt #file:{{name.collections.md}}
# With URLs
/tldr-prompt #fetch {{https://example.com/docs}}
# AMBIGUOUS QUERIES
/tldr-prompt "{{topic or question}}"
/tldr-prompt "MCP servers"
/tldr-prompt "inline chat shortcuts"
```
### Error Handling
#### Missing Required Parameters
**User**
```bash
/tldr-prompt
```
**Agent Response when NO Required Data**
```text
Error: Missing required input.
You MUST provide one of the following:
1. A Copilot file: /tldr-prompt #file:{{name.prompt.md | name.agent.md | name.instructions.md | name.collections.md}}
2. A URL: /tldr-prompt #fetch {{https://example.com/docs}}
3. A search query: /tldr-prompt "{{topic}}" (e.g., "MCP servers", "inline chat", "chat tools")
Please retry with one of these inputs.
```
### AMBIGUOUS QUERIES
#### Workspace Search
> [!NOTE]
> First attempt to resolve using workspace files. If found, generate output. If no relevant files found,
> resolve using GitHub awesome-copilot as specified in **URL Resolver** section.
**User**
```bash
/tldr-prompt "Prompt files relevant to Java"
```
**Agent Response when Relevant Workspace Files Found**
```text
I'll search ${workspaceFolder} for Copilot customization files (.prompt.md, .agent.md, .instructions.md, .collections.md) relevant to Java.
From the search results, I'll produce a tldr output for each file found.
```
**Agent Response when NO Relevant Workspace Files Found**
```text
I'll check https://github.com/github/awesome-copilot
Found:
- https://github.com/github/awesome-copilot/blob/main/prompts/java-docs.prompt.md
- https://github.com/github/awesome-copilot/blob/main/prompts/java-junit.prompt.md
Now let me fetch the raw content:
- https://raw.githubusercontent.com/github/awesome-copilot/refs/heads/main/prompts/java-docs.prompt.md
- https://raw.githubusercontent.com/github/awesome-copilot/refs/heads/main/prompts/java-junit.prompt.md
I'll create a tldr summary for each prompt file.
```
### UNAMBIGUOUS QUERIES
#### File Query
**User**
```bash
/tldr-prompt #file:typescript-mcp-server-generator.prompt.md
```
**Agent**
```text
I'll read the file typescript-mcp-server-generator.prompt.md and Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.