github-copilot-cli

github-copilot-cli is a skill for Claude Code, Codex from neverinfamous/memory-journal-mcp. It costs 102 tokens per session (654 once invoked), scanned A, original, MIT.

Instructions for using GitHub Copilot CLI, an AI assistant that runs through the GitHub command-line tool.

In plain words
What is it for?
Use it for second-opinion codebase reviews, pre-push pull-request checks, and shell command suggestions. Automated use requires the CLI to be installed, authenticated, and run with a prompt.
Why use it?
It provides a separate AI review of code or pull requests and can suggest shell commands, reducing reliance on one reviewer's judgment.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for second-opinion codebase reviews, pre-push pull-request checks, and shell command suggestions. Automated use requires the CLI to be installed, authenticated, and run with a prompt.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/neverinfamous/memory-journal-mcp/github-copilot-cli
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.

Any agent
npx skills add neverinfamous/memory-journal-mcp --skill github-copilot-cli
Clone the repo
git clone --depth 1 https://github.com/neverinfamous/memory-journal-mcp

Made for: Claude Code, Codex.

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 github-copilot-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/neverinfamous/memory-journal-mcp/github-copilot-cli/github.svg)](https://agentmods.dev/skills/neverinfamous/memory-journal-mcp/github-copilot-cli)
Your own site
<a href="https://agentmods.dev/skills/neverinfamous/memory-journal-mcp/github-copilot-cli"><img src="https://agentmods.dev/badge/skills/neverinfamous/memory-journal-mcp/github-copilot-cli/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 github-copilot-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/neverinfamous/memory-journal-mcp/github-copilot-cli"><img src="https://agentmods.dev/badge/skills/neverinfamous/memory-journal-mcp/github-copilot-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 654 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.00102 $0.00654
Opus 5.5 $0.00041 $0.00262
Sonnet 5.5 $0.00020 $0.00131
Haiku 4.5 $0.00010 $0.00065

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

Security

Grade A, and why

github-copilot-cli 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.

skills/github-copilot-cli/SKILL.md · 60 lines

How it starts

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

GitHub Copilot CLI

The new GitHub Copilot agentic CLI is integrated directly into the GitHub CLI (gh). The older standalone github-copilot-cli package and the gh-copilot extension are deprecated. You must use gh copilot which now triggers the new agentic experience natively.

When integrated into an AI workflow (AI evaluating AI), it acts as a robust secondary reviewer mapping against different context windows and potentially different foundational models than the primary agent, significantly reducing confirmation bias during PR or full-repository reviews.

⚠️ CRITICAL — Non-Interactive Mode: The gh copilot CLI must be run in non-interactive mode using the -p (or --prompt) flag. Omitting this flag will launch an interactive UI and hang the agent indefinitely. Use -s (silent) to suppress styling/decorations and output raw text.

Installation & Authentication Baseline

Before using the CLI in automated pipelines, ensure the terminal environment is equipped and authenticated:

# 1. Verify availability
gh copilot --version || echo "Copilot not installed"

# 2. Pre-check / Authenticate
# Check auth status first. If this fails, the environment cannot use Copilot.
gh auth status
# If unauthenticated, human interaction is required (which agents cannot do).
# Fallback: Gracefully skip the Copilot execution step, log the skip reason, and proceed with other tasks.
# gh auth login

Agentic Interaction Strategies

Because the Copilot CLI is primarily interactive, standalone non-interactive agents cannot easily navigate its interactive UI natively for arbitrary open-ended tasks.

However, you can leverage its single-shot non-interactive mode (-p) for targeted tasks:

Direct Tool Commands

For precise shell suggestions or file explanations in automated workflows:

# Shell Suggestion (Evaluates context and produces command)
gh copilot -p -s "find all files over 5mb in the current directory"

# File Explanation
gh copilot -p -s "explain src/utils/crypto.ts"

Read the full file on GitHub · 60 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 · 60 lines · 102 tokens per session scan A b77e1ea07278

Subscribe to this mod's changes

github-copilot-cli is a skill published in the GitHub repository neverinfamous/memory-journal-mcp (20 stars, last pushed 3mo ago), licensed MIT. It adds 102 tokens to every session and 654 once invoked, about $0.0004 per session on Opus 5.5. 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-08-30.

Related

Other skills, from other repositories

skill-creator

Generate a new skill from a plain-language description — decides invocation control, arguments, and context cost, then scaffolds, validates, and tests it.

conorbronsdon/agent-context-os · 33 tokens

context-end

Close a workspace session by reviewing a proposed summary, recording approved outcomes, updating state and decisions, and checking repository safety. Use only when the user explicitly asks to end, close, or hand off the current session.

conorbronsdon/agent-context-os · 46 tokens

context-setup

Build, import, or refresh this workspace's identity, project, reusable-workflow, and weekly-state files through a guided review. Use only when the user explicitly asks to initialize or redo workspace context.

conorbronsdon/agent-context-os · 44 tokens

context-start

Load this workspace's current state, recent decisions, blockers, priorities, and session continuity, then give a concise briefing. Use only when the user explicitly asks to begin or resume a workspace session.

conorbronsdon/agent-context-os · 42 tokens

context-update

Save a brief mid-session checkpoint to this workspace and update current state only when a priority or open thread changed. Use only when the user explicitly asks to checkpoint or save current progress.

conorbronsdon/agent-context-os · 39 tokens

migrate-gemini

Migrate selected Gemini CLI instructions, commands, skills, hooks, and MCP configuration into this workspace with a dry run, review gates, and parity checks.

conorbronsdon/agent-context-os · 37 tokens