
tldr-prompt
Create tldr summaries for GitHub Copilot files (prompts, agents, instructions, collections), MCP servers, or documentation from URLs and queries.
- Installs
- 8.8K
- Last 24h
- —
- Trending rank
- —
- Security
- Pass
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/github/awesome-copilot --skill tldr-prompt- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads tldr-prompt automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
Security audits
Independent scans of the skill's instructions and bundled files.
SKILL.md
The instructions your agent reads when the skill is triggered.
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:
- 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
- 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
- Extract key examples - You MUST identify the most common and useful patterns, commands, or use cases from the source
- Follow tldr format strictly - You MUST use the template structure with proper markdown formatting
- Provide actionable examples - You MUST include concrete usage examples with correct invocation syntax for the file type
- 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
tldrfor 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
- If one or more files are passed without
- 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
tldrfor each. If more than 5, you MUST create tldr summaries for the first 5 and list the remaining URLs
- If one or more URLs are passed without
- 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
- 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.
- If the user provides raw text without a specific file or URL, identify the topic:
URL Resolver
Ambiguous Queries
When no specific URL or file is provided, but instead raw data relevant to working with Copilot, resolve to:
-
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, orpromptsfolders 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)
- If NO relevant files found, or data in files from
- 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/
- Workspace files → Search ${workspaceFolder} for .prompt.md, .agent.md, .instructions.md,
.collections.md
-
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
-
Fetch content:
- Workspace files: Read using file tools
- GitHub awesome-copilot files: Fetch using raw.githubusercontent.com URLs
- Documentation URLs: Fetch using fetch tool
-
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
# 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
/tldr-prompt
Agent Response when NO Required Data
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
/tldr-prompt "Prompt files relevant to Java"
Agent Response when Relevant Workspace Files Found
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
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
/tldr-prompt #file:typescript-mcp-server-generator.prompt.md
Agent
I'll read the file typescript-mcp-server-generator.prompt.md and create a tldr summary.
Documentation Query
User
/tldr-prompt "How do MCP servers work?" #fetch https://code.visualstudio.com/docs/copilot/customization/mcp-servers
Agent
I'll fetch the MCP server documentation from https://code.visualstudio.com/docs/copilot/customization/mcp-servers
and create a tldr summary of how MCP servers work.
Workflow
You MUST follow these steps in order:
- Validate Input: Confirm at least one required parameter is provided. If not, output the error message from Error Handling section
- Identify Context:
- Determine file type (.prompt.md, .agent.md, .instructions.md, .collections.md)
- Recognize if query is about MCP servers, inline chat, chat view, or general Copilot features
- Note if you're in inline chat (Ctrl+I) or chat view context
- Fetch Content:
- For files: Read the file(s) using available file tools
- For URLs: Fetch content using
#tool:fetch - For queries: Apply URL Resolver strategy to find and fetch relevant content
- Analyze Content: Extract the file's/documentation's purpose, key parameters, and primary use cases
- Generate tldr: Create summary using the template format below with correct invocation syntax for file type
- Format Output:
- Ensure markdown formatting is correct with proper code blocks and placeholders
- Use appropriate invocation prefix:
/for prompts,@for agents, context-specific for instructions/collections - Adapt verbosity: inline chat = concise, chat view = detailed
Template
Use this template structure when creating tldr pages:
# command
> Short, snappy description.
> One to two sentences summarizing the prompt or prompt documentation.
> More information: <name.prompt.md> | <URL/prompt>.
- View documentation for creating something:
`/file command-subcommand1`
- View documentation for managing something:
`/file command-subcommand2`
Template Guidelines
You MUST follow these formatting rules:
- Title: You MUST use the exact filename without extension (e.g.,
typescript-mcp-expertfor .agent.md,tldr-pagefor .prompt.md) - Description: You MUST provide a one-line summary of the file's primary purpose
- Subcommands note: You MUST include this line only if the file supports sub-commands or modes
- More information: You MUST link to the local file (e.g.,
<name.prompt.md>,<name.agent.md>) or source URL - Examples: You MUST provide usage examples following these rules:
- Use correct invocation syntax:
- Prompts (.prompt.md):
/prompt-name {{parameters}} - Agents (.agent.md):
@agent-name {{request}} - Instructions (.instructions.md): Context-based (document how they apply)
- Collections (.collections.md): Document included files and usage
- Prompts (.prompt.md):
- For single file/URL: You MUST include 5-8 examples covering the most common use cases, ordered by frequency
- For 2-3 files/URLs: You MUST include 3-5 examples per file
- For 4-5 files/URLs: You MUST include 2-3 essential examples per file
- For 6+ files: You MUST create summaries for the first 5 with 2-3 examples each, then list remaining files
- For inline chat context: Limit to 3-5 most essential examples
- Use correct invocation syntax:
- Placeholders: You MUST use
{{placeholder}}syntax for all user-provided values (e.g.,{{filename}},{{url}},{{parameter}})
Success Criteria
Your output is complete when:
- ✓ All required sections are present (title, description, more information, examples)
- ✓ Markdown formatting is valid with proper code blocks
- ✓ Examples use correct invocation syntax for file type (/ for prompts, @ for agents)
- ✓ Examples use
{{placeholder}}syntax consistently for user-provided values - ✓ Output is rendered directly in chat, not as a file creation
- ✓ Content accurately reflects the source file's/documentation's purpose and usage
- ✓ Response verbosity is appropriate for chat context (inline chat vs chat view)
- ✓ MCP server content includes setup and tool usage examples when applicable
FAQ
What does the tldr-prompt skill do?
Create tldr summaries for GitHub Copilot files (prompts, agents, instructions, collections), MCP servers, or documentation from URLs and queries.
How do I install tldr-prompt?
Run npx skills add https://github.com/github/awesome-copilot --skill tldr-prompt in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/tldr-prompt/ (personal) or .claude/skills/tldr-prompt/ (project).
Which AI agents can use tldr-prompt?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is tldr-prompt safe to install?
Security partners have reviewed it: Gen Agent Trust Hub passed; Socket passed; Snyk passed; Runlayer passed; ZeroLeaks passed. As with any skill, read the SKILL.md and bundled scripts before installing.
Who maintains tldr-prompt?
It is published by github in github/awesome-copilot, and it is an official skill from the maker of the technology it covers. It has 8,772 recorded installs.
More from github/awesome-copilot
git-commit
github/awesome-copilot
Use this skill when the user wants to make a Git commit or split changes into more than one commit. Also use it when the user types "/commit" or asks for a conventional commit. The skill examines the diff, stages the related files, writes a Conventional Commits message, and runs git commit. Do not use it when the user wants only a commit message and no commit. Do not use it to push, open a pull request, rebase, or change the commit history.
excalidraw-diagram-generator
github/awesome-copilot
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.
multi-stage-dockerfile
github/awesome-copilot
Create optimized multi-stage Dockerfiles for any language or framework
documentation-writer
github/awesome-copilot
Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles and structure of the Diátaxis technical documentation authoring framework.
prd
github/awesome-copilot
Generate high-quality Product Requirements Documents (PRDs) for software systems and AI-powered features. Includes executive summaries, user stories, technical specifications, and risk analysis.
refactor
github/awesome-copilot
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Popular ai & agents skills
google-agents-cli-publish
google/agents-cli
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).
google-agents-cli-eval
google/agents-cli
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
codex-pet
prime-skills/runcomfy-agent-skills
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
full-output-enforcement
leonxlnx/taste-skill
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
executing-plans
obra/superpowers
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available