Skip to content

About

GitHub Copilot CLI and tooling

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

235 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– GitHub Copilot CLI

Containerized GitHub Copilot CLI (Hardened)

build_status_badge Copilot Documentation


πŸ“¦ Latest Build

Component Version
GitHub Copilot CLI 1.0.116-4

πŸ”„ Last updated: 2026-11-25T05:28:03Z Β· Build #335


πŸ“‹ Overview

This repository provides a fully automated preparation of containerized GitHub Copilot CLI environment with integrated MCP server support using Docker-in-Docker architecture.

About solution

  • Sandboxing environment for AI scope (reduced possible negative impact via isolation)

  • Automated packaging of current tool versions (optimized maintenance effort via automation)

  • Strong focus on security (mitigated security issues and vulnerabilities through hardening)

  • Simplification of the initial run-up (see: Container runner script, GitHub Copilot setup, Environment configuration)

  • Container image is:

    • keyless-signed via cosign using GitHub OIDC certificate issuer (trusted verifiable source)
    • automatically built when a new pre-release of GitHub Copilot CLI is detected (scheduled monitoring - every hour)

πŸ“š Resources

  • πŸ“– Official Documentation
  • πŸ“– AI models database
  • πŸ€– Supported AI Models
    • Recommended models:
      • Anthropic Claude Sonnet - Documentation: Low, Medium, High
      • Anthripic Claude Opus - Documentation: Normal (Low, Medium, High), Fast (Low, Medium, High)
      • OpenAI GPT 5.5 - Documentation: Low, Medium, High, Extra High
    • Effective Prompting:
      • Save output to prevent data loss (reduce costs)
      • Iteratively processing excessively long messages (drop error rate ~<10%)
      • XML tags ensure structural clarity (compliance increase to ~>98 %)
      • Validate continuously (maintain ~>95% accuracy)
      • Instruct what to avoid, not what to do (significantly reduce hallucination by ~>60 %)
      • Contextualize personas (~<15 % improvement using personas)

GitHub IP prefixes, subdomains for whitelisting

curl -s https://api.github.com/meta

⚠️ Important Notices

Note

All files in this repository are well-commented with relevant implementation details.

Important

Always review and understand the code before executing any commands.

Caution

Users are solely responsible for any modifications or execution of code from this repository.

πŸ› οΈ Utilities

  • uv - An extremely fast Python package installer and resolver
  • bun - All-in-one JavaScript runtime and toolkit for faster development
  • fabric - Framework for augmenting humans using AI
  • mdflow - Markdown-based workflow automation tool for streamlined task execution

πŸ”Œ MCP Servers

Note

Use custom agents with agent isolation to configure on-demand MCP servers.

🧠 Reasoning & Documentation

sequentialthinking - Step-by-Step Reasoning

ref - Documentation Search

  • skill
  • Benefits: Essential for efficient context retrieval
  • Documentation: Ref.tools

🌐 Utilities

fetch - Web Search

time - Time & Timezone


πŸ—„οΈ Database & Storage

postgres - PostgreSQL


πŸ“Š Monitoring & Logging

grafana - Grafana

test production
agent agent
skill skill

graylog - Graylog

test production
agent agent
skill skill

πŸ“ Repository Structure

Configuration Files

File Description Note
config.json GitHub Copilot CLI configuration
.env Environment variables
copilot-instructions.md Basic instruction file docs
mcp-config.json MCP servers configuration

Copilot capabilities subdirectories

Directory Purpose Example Use Case Documentation Additional reference
instructions Context-aware guidelines with applyTo patterns and priority levels. Coding standards, linting rules, team conventions. .copilot/instructions/{name}.instructions.md docs README.instructions
skills Reusable actions in SKILL.md (can use plugins). DB migrations, code reviews, API tests, deployments. .copilot/skills/{name} docs, specs README.skills, VS Code
agents Specialized AI assistants with custom skills (markdown/JSON). Code reviewer, docs writer, DevOps automation, security auditor. .copilot/agents/ docs README.agents, Building agents, Writing agents, agents.md
prompts Template-based prompts with parameters (.prompt.md). Feature templates, bug fix flows, review checklists. .copilot/prompts/ docs README.prompts
commands Slash commands for deterministic actions without natural language. `/explain`` - Quick shell, AI tasks blog
plugins MCP server integrations with plugin.json, agents, skills subdirs. Linear tracking, PostgreSQL access, Slack notifications. .copilot/plugins/{name}/ extensions MS Dev Blog
collections Grouped sets of related Copilot customizations. Collection for automation. .copilot/collections/{name} README.collections
hooks Copilot agent event-driven automated workflow .copilot/hooks/{name} README.hooks
workflows Workflow orchestration for multi-step operations (agentic workflows). Release prep, deployment verification, quality gates. (only in .github) README.workflows

Docker & Build

File Description
Dockerfile Recipe for building container images
build.sh Standalone container local build script
run.sh Standalone container local run script
act.sh Act tool wrapper script
docker-image-native-multiplatform-pipeline.yaml GitHub Action pipeline workflow for native build (triggered on repository_dispatch)
docker-image-emulated-multiplatform-pipeline.yaml GitHub Action pipeline workflow for emulated (QEMU ARM64) build
monitor-release.yaml GitHub Action workflow for monitoring of newest GitHub Copilot CLI versions

🐳 Container Images

Available Registries

Registry Network Support Pull Command
GitHub CR IPv4 only docker pull ghcr.io/stefanbosak/copilot-cli:initial
Docker Hub IPv4 & IPv6 docker pull developmententity/copilot-cli:initial

Other resources


Made with ❀️ for ⚑ efficiency and πŸ”’ security

About

GitHub Copilot CLI and tooling

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

Used by

Contributors

Languages