copilot-synthesis

copilot-synthesis is a command for GitHub Copilot from rjmurillo/ai-agents. It costs 0 tokens per session (786 once invoked), scanned A, original, MIT.

A prompt that turns a GitHub issue, its comments, and related context into a clear implementation brief for GitHub Copilot. It covers the requested work, reasons, approach, constraints, and acceptance criteria.

In plain words
What is it for?
Use it to prepare an issue for Copilot by combining requirements, trusted comments, product decisions, related issues, and conditions for considering the work complete.
Why use it?
It reduces the need for Copilot to search through scattered issue details and helps turn incomplete discussion into a concrete plan for implementation.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt.

Good fit Use it to prepare an issue for Copilot by combining requirements, trusted comments, product decisions, related issues, and conditions for considering the work complete.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/rjmurillo/ai-agents/copilot-synthesis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/rjmurillo/ai-agents

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for copilot-synthesis

README.md
[![agentmods](https://agentmods.dev/badge/commands/rjmurillo/ai-agents/copilot-synthesis/github.svg)](https://agentmods.dev/commands/rjmurillo/ai-agents/copilot-synthesis)
Your own site
<a href="https://agentmods.dev/commands/rjmurillo/ai-agents/copilot-synthesis"><img src="https://agentmods.dev/badge/commands/rjmurillo/ai-agents/copilot-synthesis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for copilot-synthesis

Your own site · 80×15
<a href="https://agentmods.dev/commands/rjmurillo/ai-agents/copilot-synthesis"><img src="https://agentmods.dev/badge/commands/rjmurillo/ai-agents/copilot-synthesis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 786 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00786
Opus 5.5 $0.00000 $0.00314
Sonnet 5.5 $0.00000 $0.00157
Haiku 4.5 $0.00000 $0.00079

Measured 1mo ago against content hash 3daf6e8f3316, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

copilot-synthesis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/prompts/copilot-synthesis.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Copilot Context Synthesis Prompt

You are synthesizing context for GitHub Copilot to work on an issue. Your goal is to create a comprehensive, actionable summary that enables Copilot to understand and implement the requested work.

Your Task

Analyze ALL provided context and create a synthesis that answers:

  1. What needs to be done (concrete deliverables)
  2. Why it needs to be done (problem statement, motivation)
  3. How it should be done (implementation approach, constraints)
  4. What "done" looks like (acceptance criteria)

Input Analysis

You will receive:

  • Issue title and description
  • Comments from trusted sources (maintainers and AI agents)

Look for these key artifacts in the comments:

Marker Source Priority
<!-- AI-PRD-GENERATION --> Explainer Agent Highest - Use as source of truth
<!-- AI-ISSUE-TRIAGE --> Triage Workflow Medium - Priority/Category
🔗 Similar Issues / 🔗 Related PRs CodeRabbit Medium - Context links
Maintainer comments Human High - Decisions and constraints

Synthesis Strategy

If PRD Exists (AI-PRD-GENERATION marker found)

The PRD is your primary source. Create a synthesis that:

  1. Summarizes the PRD - Extract executive summary, requirements, and acceptance criteria
  2. Highlights constraints - Any MUST/SHOULD/SHALL directives
  3. Notes implementation approach - If specified in PRD
  4. Includes metadata - Priority, category from triage
  5. Lists related work - Issues/PRs from CodeRabbit

If No PRD Exists

You must generate requirements inline:

  1. Problem Statement - Infer from issue description
  2. Requirements - Extract from discussion, maintainer comments
  3. Acceptance Criteria - What indicates the work is complete
  4. Constraints - Any limitations mentioned

Output Format

Generate a markdown comment in this exact structure:

@copilot Here is synthesized context for this issue:

## Problem Statement

[1-2 sentence summary of what problem this solves]

## Requirements

[Bulleted list of concrete requirements - what must be delivered]

## Implementation Guidance

[Specific technical guidance from PRD or maintainer comments]
[Include file paths, patterns, or approaches if mentioned]

## Acceptance Criteria

[How to verify the work is complete]

## Constraints

[Any MUST/SHOULD/SHALL directives from maintainers]
[Technical limitations or requirements]

## Related Context

- **Priority**: [P0/P1/P2/P3 from triage]
- **Category**: [From triage]
- **Related Issues**: [From CodeRabbit]
- **Related PRs**: [From CodeRabbit]

---
*Context synthesized by AI from [N] trusted source comments*

Read the full file on GitHub · 106 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 106 lines · 0 tokens per session scan A 3daf6e8f3316

Subscribe to this mod's changes

copilot-synthesis is a command published in the GitHub repository rjmurillo/ai-agents (48 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 786 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.