Joseph is a cybersecurity and AI expert who creates software and educational content to help developers build more securely. His open-source game, videos, and international speaking engagements have reached a broad audience, combining practical security guidance with accessible explanations.
## Cybersecurity and AI Leadership
- Develops software and content focused on secure development.
- Helps shape how developers approach cybersecurity and AI.
## Open-Source Security Education
- Created the open-source game [gh.io/scg].
- More than 10,000 developers have used it to build future-proof security skills.
## Educational Videos
- His videos have received over 2.8 million views.
- Simplifies complex security topics into actionable advice for a global audience.
## International Speaking
- Delivered 79 talks across 25 countries in the past four years.
- Known for combining technical insight with energetic stage presence.
Overall, Joseph’s work spans hands-on tools, accessible education, and public speaking, making cybersecurity knowledge more practical and widely available to developers.
Madison Ficorilli is a vulnerability transparency advocate and senior security manager at GitHub. She leads the advisory database curation team and contributes to vulnerability reporting, response, and disclosure through several industry organizations. Her perspective combines current leadership experience with prior roles in incident response and vulnerability coordination.
## Leadership at GitHub
- Leads GitHub’s advisory database curation team.
- Focuses on improving vulnerability transparency and the quality of security advisory information.
## Industry and Open Source Security Work
- Co-chairs a relevant Open Source Security Foundation (OpenSSF) working group.
- Serves on the CVE Program Board.
- Advocates for effective vulnerability reporting, response, and disclosure practices.
## Professional Background
- Previously worked as a product incident response analyst at GitHub.
- Served as a vulnerability coordinator at the CERT Coordination Center at Carnegie Mellon University’s Software Engineering Institute.
Her career reflects deep expertise across vulnerability coordination, incident response, database curation, and security disclosure policy.
Arthur Searle describes transitioning at GitHub as a largely smooth experience, enabled by an inclusive, remote-first culture and strong workplace support. Using handles, written communication, flexible avatars, and gender-affirming benefits reduced many common sources of stress. His experience shows that transition can involve both bureaucratic challenges and profound joy when colleagues respond with acceptance and care.
## A Career Built at GitHub
- Searle began in IT support and operations before teaching himself to code.
- He joined GitHub’s IT Engineering team after a colleague’s referral and moved to Enterprise Security six months later.
- His work has included:
- Helping migrate GitHub’s main SaaS platform to infrastructure as code.
- Speaking at Oxford University about version control.
- Throughout his transition, his handle—“gleeblezoid”—remained constant, providing continuity at work.
## How GitHub’s Culture Supported Transition
- GitHub’s remote-first structure reduced anxiety around appearance, commuting, and in-person interactions.
- Much of Searle’s work happened through written communication in Slack and GitHub, limiting the pressure of speaking while undergoing voice training and hormone-related voice changes.
- Employees commonly use handles and informal avatars, making gender assumptions based on appearance less central.
- Searle was able to update his name and pronouns in internal systems, with colleagues consistently using them.
## Gender-Affirming Benefits
- GitHub covered gender-affirming healthcare for employees.
- Benefits included reimbursement for:
- Voice training.
- Hormone replacement therapy prescriptions.
- Therapy.
- The main remaining difficulty was ordinary administrative friction, such as changing his legal name in payroll systems.
## Acceptance, Joy, and Belonging
- Searle contrasts his experience with people who remain closeted, repeatedly come out to new coworkers, or face extensive bureaucracy.
- Colleagues treated his transition as a normal part of his life and expressed genuine happiness for him.
- Small gestures had a major emotional impact, including hearing his name and pronouns used at work for the first time and receiving a shaving kit from a teammate.
- He emphasizes that being trans is not defined only by hardship; there is also joy in living openly and being supported by others.
GitHub’s example suggests that inclusive policies, flexible communication practices, and everyday respect can make workplace transition significantly safer and more affirming. For organizations, support should extend beyond formal benefits to the culture and systems employees use every day.
GitHub argues that an agentic harness—the system coordinating tools, context, and workflow—strongly influences how effectively an AI model solves software tasks. Its shared Copilot harness aims to match model-vendor harnesses in task completion while using fewer tokens. Benchmark results across four models suggest near-parity overall, with performance varying by model and task.
## Benchmarking Approach
- GitHub evaluates the harness using public and internal benchmarks, plus real-world metrics and online experiments.
- Comparisons hold the following constant:
- The same underlying model
- The same task
- Context-window size
- Reasoning effort
- Tool selection
- MCP servers
- Copilot CLI is compared with:
- Claude Code for Claude Sonnet 4.6 and Claude Opus 4.7
- Codex CLI for GPT-5.4 and GPT-5.5
- Benchmarks include:
- **SWE-bench Verified:** 500 human-validated Python bug fixes
- **SWE-bench Pro:** More complex, multi-step engineering tasks
- **SkillsBench:** Skill usage and triggering
- **TerminalBench:** Command-line workflows
- **Win-Hill:** Software tasks in Windows containers
## Token Efficiency
- Copilot’s harness generally completes tasks at rates comparable to model-vendor harnesses while consuming fewer tokens.
- It performed better across the reported tests for Sonnet 4.6 and Opus 4.7.
- For GPT-5.4 and GPT-5.5, Copilot performed better on nearly every benchmark.
- The main exception was SWE-bench Verified, where Copilot was 7% worse with GPT-5.4 and 4% worse with GPT-5.5.
## Task Resolution
- GitHub emphasizes that lower token use matters only when the agent successfully completes the work.
- Overall task-resolution rates were considered on par with vendor harnesses.
- Results varied by benchmark:
- Copilot generally did better on SWE-bench Pro, especially with GPT models.
- It outperformed vendor harnesses on Win-Hill or matched them for every model.
- It performed better on TerminalBench with Sonnet and Opus, matched GPT-5.5, and trailed GPT-5.4.
- SkillsBench results favored GPT models on Copilot but favored vendor harnesses for Claude models.
- Differences are described as statistically comparable because model behavior is stochastic and run-to-run variation can explain many gaps.
## TerminalBench Variance Analysis
- GitHub uses TerminalBench 2.0 to study both cost and completion rate over repeated runs.
- The preferred outcome is higher resolution with lower cost.
- The analysis illustrates that benchmark results should account for variance rather than relying on a single run.
- GitHub presents Copilot as equal to or better than the vendor harnesses on this cost-versus-success comparison.
The practical conclusion is that harness design is a reusable performance multiplier across Copilot products. GitHub’s results support using its shared harness when developers need broad model choice, efficient token usage, and comparable task-completion performance, while recognizing that the best harness can still vary by model and workload.
Ashley Willis is GitHub’s Senior Director of Developer Relations, where she focuses on open source, community, and developer advocacy. Her work combines leadership, accessibility, and inclusion, with an emphasis on making technology more human and building resilient teams.
### Leadership and Advocacy
- Leads developer relations at GitHub.
- Advocates for developers and open-source contributors.
- Amplifies underrepresented voices in technology.
### Community and Accessibility
- Builds supportive, inclusive spaces for contributors.
- Focuses on creating tools that genuinely serve their users.
- Works at the intersection of leadership, advocacy, and accessibility.
Overall, Willis’s career centers on strengthening developer communities and making technology more inclusive, accessible, and human.
Qubot is GitHub’s internal, Copilot-powered analytics agent, designed to make warehouse data accessible without requiring an analyst. Employees ask natural-language questions through Slack, VS Code, or the Copilot CLI, while Qubot uses curated context and selects between Kusto and Trino to produce answers. GitHub’s experience shows that structured context is central to improving both accuracy and response speed.
## The Problem Qubot Addresses
- Product teams often struggle to identify the right data model, grain, filters, and query.
- Limited analyst availability leaves many teams to investigate telemetry independently.
- Qubot targets exploratory questions rather than replacing dashboards or formal reporting.
- It enables employees to investigate unfamiliar datasets with minimal setup and maintenance.
## Multiple Ways to Ask Questions
- **Slack:** Users ask questions in a shared channel, receive answers in threads, and collaborate on follow-up questions.
- Each result is saved as a Markdown report in a pull request, allowing users to refine queries or reuse them in dashboards.
- **VS Code and Copilot CLI:** Qubot is installed as a plugin and operates alongside other agents, skills, and tools.
- Offering both zero-configuration and developer-focused interfaces increased adoption among different user groups.
## A Federated Context Layer
Qubot’s context is tailored to GitHub’s warehouse layers:
- **Bronze:** Product teams provide telemetry schemas and metadata for raw events.
- **Silver:** Data teams maintain query examples, usage guidance, and required filters for conformed data.
- **Gold:** Dataset owners contribute business rules and metric definitions.
- ETL pipelines add derived metadata and other signals automatically.
- Context is fetched at runtime through the GitHub MCP Server.
A dedicated context agent standardizes contributions from different teams. It ingests Markdown documentation and repository references, then organizes and normalizes them into a structure that Qubot can use effectively.
## Evaluation Before Deployment
Every change to Qubot’s instructions or context layer is tested through an offline evaluation framework.
- Test cases contain prompts, expected answers, ground-truth SQL, domains, and difficulty levels.
- Automated orchestration launches multiple parallel agent trials using `gh agent-task create`.
- Results are saved as JSON and aggregated by completion rate, accuracy, and duration.
- Teams compare configurations and detect regressions before releasing changes.
## Choosing Between Kusto and Trino
Qubot connects to both query engines through MCP servers:
- **Kusto** is used for fast exploration of recent event data.
- **Trino** handles complex joins and deeper historical analysis.
- Qubot defaults to Kusto and switches to Trino when the question requires more advanced or historical querying.
- This hides query-engine selection from users.
## Adoption and Lessons Learned
- Hundreds of GitHub employees have run thousands of queries through Qubot.
- Routine questions in analytics support channels declined as teams gained more autonomy.
- The agent helped employees who previously avoided the warehouse access data for decision-making.
- GitHub found that well-structured, carefully maintained context improved accuracy and made Qubot approximately three times faster at finding the right answer.
The main recommendation is to treat analytics context as a maintained engineering asset. A capable agent depends not only on model intelligence, but also on accurate metadata, documented business rules, evaluation-driven iteration, and interfaces that fit users’ existing workflows.
GitHub is improving Copilot’s efficiency by optimizing both how context is handled and which model performs each task. Prompt caching and deferred tool loading reduce repeated overhead in long agentic sessions, while Auto selects models based on task complexity and real-time system conditions. The goal is to preserve quality while using tokens, compute, and cost more intelligently.
## Prompt Caching and Deferred Tools
- Copilot sessions repeatedly include instructions, repository context, conversation history, tool definitions, and task state.
- Prompt caching allows repeated prompt prefixes to reuse model state instead of being recomputed on every request.
- Tool search loads tool definitions only when needed, rather than placing every full schema into context on every turn.
- This is especially valuable for sessions involving MCP tools, terminal commands, file operations, workspace search, and other actions.
- The approach reduces fixed per-turn overhead while preserving access to a broad toolset.
## Auto Model Selection
- Copilot Auto chooses a model based on the task rather than requiring developers to select one manually.
- Quick explanations, focused edits, and complex multi-file changes often benefit from different levels of reasoning.
- Evaluations found that no single model consistently performs best across all tasks.
- Auto uses more efficient models when they can achieve comparable results and selects stronger reasoning models when the task demands them.
- The objective is not simply lower cost, but matching model capability to the work.
## How Auto Routes Tasks
Auto combines two signals:
- **Real-time model health**
- Considers availability, utilization, response speed, error rates, and cost.
- Avoids selecting a model that is technically capable but currently overloaded or unreliable.
- **Task-aware routing with HyDRA**
- Evaluates reasoning depth, code complexity, debugging difficulty, and tool-orchestration requirements.
- Identifies models capable of meeting the task’s quality threshold, then chooses the best fit among them.
- The system can be tuned toward maximum quality or greater cost savings.
## Cache-Aware Routing
- Switching models during every turn can reduce efficiency by invalidating cached prompt prefixes.
- Auto therefore keeps the same model during a conversation so the cache can continue building.
- It changes models at natural cache boundaries:
- The first turn, when no cache exists yet.
- After context compaction, when older turns are summarized and the prompt prefix resets.
## Multilingual Routing
- Copilot’s routing system was trained on conversations spanning 16 language families, including CJK and European languages.
- Evaluations covered production VS Code chat data across 19 languages.
- Routing accuracy remained within four points of the English baseline across language groups.
- No statistically significant quality gap was observed between the language groups.
Copilot’s efficiency strategy combines smarter context management with adaptive model selection. Caching and on-demand tools reduce repeated work, while cache-aware Auto routing chooses an appropriate model without unnecessarily sacrificing quality or session efficiency.
Git worktrees let developers check out multiple branches simultaneously in separate directories, avoiding the stash-and-switch cycle. They preserve editor state, reduce context-switching friction, and make parallel work—especially AI-assisted development—much easier. Their main drawbacks are dependency duplication, folder cleanup, and restrictions on checking out the same branch twice.
## Switching Contexts with Branches and Stashing
- Traditional urgent-work flow often requires:
- Stashing unfinished changes.
- Checking out and updating `main`.
- Creating a hotfix branch.
- Committing, pushing, and merging the fix.
- Returning to the original branch and restoring the stash.
- This process creates mental overhead and may involve reloading files, reinstalling dependencies, or resolving stash conflicts.
- Some developers compensate with multiple repository clones or increasingly complex stash commands.
## Working in Parallel with Worktrees
- A worktree creates another working directory connected to the same Git repository:
```bash
git worktree add ../hotfix-workspace -b hotfix-bug main
```
- The original feature branch and editor remain untouched while the hotfix is developed in a separate folder.
- After merging, the temporary worktree can be removed:
```bash
git worktree remove ../hotfix-workspace
```
- Worktrees eliminate stash conflicts and support truly parallel development.
- Tools such as VS Code provide built-in worktree support.
## Why Worktrees Are More Popular Now
- Worktrees have existed since 2015 but were historically overlooked because Git GUIs offered limited support.
- Developers increasingly run multiple tasks, coding sessions, reviews, and AI agents simultaneously.
- Modern tools, including the GitHub Copilot app, use worktrees as a default way to isolate parallel sessions.
## Limitations to Consider
- **Dependency bloat:** Each worktree may contain its own `node_modules`, Python packages, or other dependencies.
- **Folder management:** Temporary worktrees must be deleted to prevent clutter.
- **`.gitignore` concerns:** Worktrees created inside the repository may need to be ignored; placing them outside the repository avoids this issue.
- **One-branch restriction:** Git prevents the same branch from being checked out in multiple worktrees simultaneously.
## Worktrees in the GitHub Copilot App
- New Copilot sessions can be created in a new worktree by default.
- The app displays the generated worktree name, location, associated project, and changes.
- Worktree management is integrated into the session workflow.
Worktrees are especially useful for parallel development and AI-assisted workflows, but they are not mandatory. Developers can use worktrees, traditional branching and stashing, or a combination depending on their workflow and resource constraints.
GitHub Copilot CLI’s slash commands provide a central way to control sessions directly from the terminal. They help users select models, manage context, inspect changes, switch projects, resume work, and control permissions. The article recommends typing `/` to explore the available commands and build a more deliberate CLI workflow.
## Slash Commands as Copilot CLI Controls
- Slash commands are built-in terminal controls for:
- Guiding Copilot’s behavior
- Inspecting project changes
- Managing conversation context
- Moving between sessions and repositories
- Resetting tool permissions
- Typing `/` displays a scrollable list of supported commands.
## Selecting a Model
- `/model` opens the list of available models.
- Model information includes:
- Capabilities for lightweight tasks or deeper reasoning
- Availability based on the user’s plan or organization
- Cost multipliers indicating relative usage cost
- Choosing an appropriate model can balance speed, quality, and cost.
## Managing Context and Tokens
- `/context` shows remaining tokens, system usage, and available buffer.
- `/compact` summarizes the current conversation to free context space without starting over.
- Copilot may compact automatically near the context limit, but users can trigger it manually when changing tasks.
- `/clear` completely resets the current session.
## Resuming Previous Sessions
- `/resume` lists earlier local and remote sessions.
- Users can select a session to review its history and continue where they left off.
## Reviewing Changes
- `/diff` displays recent modifications made during the session.
- This helps users inspect and validate Copilot’s changes before proceeding.
## Switching Projects
- `/cwd` changes Copilot’s current working directory.
- It allows users to move between repositories or project directories without exiting the CLI.
## Resetting Permissions
- `/reset-allowed-tools` removes previously granted permissions for actions such as editing files.
- This is useful when switching to a repository that requires more cautious access controls.
Users should start by typing `/` in Copilot CLI to discover available commands, then use commands such as `/model`, `/context`, `/compact`, `/diff`, and `/cwd` to maintain control over their coding sessions.
GitHub has released the GitHub Multilingual Repositories Dataset, an open metadata resource for finding public repositories containing non-English developer content. Covering more than 40 million repositories, it classifies language use in READMEs, issues, and pull requests, helping researchers build multilingual AI tools and study representation in open source. GitHub emphasizes that the dataset is a discovery tool—not definitive language ground truth—and releases it under CC0-1.0.
## Dataset Scope and Contents
- Contains over 80 million classification rows across more than 40 million public repositories.
- Classifies:
- READMEs
- The most-commented issue
- The most-commented pull request
- Uses the first 150 characters of each text source, excluding samples shorter than 20 characters.
- Includes classifications and confidence scores from:
- fastText
- Google’s CLD3
- lingua-py
- Only classifications with confidence above 0.5 are included.
- Repository metadata includes creation date, disk usage, stars, forks, primary language, SPDX license, issue and pull request counts, and snapshot date.
## Why Multiple Classifiers Are Exposed
- GitHub does not combine the three classifiers into one definitive language label.
- Classifiers differ in language coverage and confidence calibration, particularly for lower-resource languages.
- Users can choose their own precision and recall strategy:
- Require agreement among all classifiers for high-precision research.
- Use a single classifier for broader exploratory studies.
## Language Patterns in Developer Content
- Language distribution varies by repository content type.
- Korean is the most common non-English language in issue text but ranks only fifth in README classifications.
- Portuguese is the leading non-English README language, appearing in more than 3 million repositories.
- These differences show that developer communities may use different languages for documentation, issue discussions, and code collaboration.
## Potential Applications
- Find repositories with documentation or collaboration in particular languages.
- Study how multilingual communities use READMEs, issues, and pull requests.
- Create evaluation datasets for coding assistants, documentation generators, and code review tools.
- Measure representation of European and other underrepresented languages in open source.
- Provide evidence for expanding language support in developer tools and AI systems.
## Limitations and Responsible Use
- Repository text is often short and may contain badges, commands, code, usernames, templates, or multiple languages.
- A 150-character sample may not represent the language of an entire repository.
- Classifier performance varies, especially for lower-resource languages.
- The dataset should not be treated as a ground-truth language-identification benchmark.
- It provides repository-level signals and should not be used to infer sensitive characteristics of repository owners, contributors, or communities.
## Importance for Multilingual AI
- Many European languages are underrepresented in the data used to train and evaluate AI systems.
- Developer content provides domain-specific examples of software collaboration, including installation guidance, bug reports, feature requests, and code reviews.
- The dataset can help identify language gaps, improve evaluation, and support more inclusive AI tools for developers worldwide.
GitHub recommends using the CC0-licensed dataset to conduct research, build evaluation sets, develop tools, and improve its classifications. Its transparency and multiple confidence signals allow users to tailor the data to their own research needs while accounting for its limitations.
GitHub improved Copilot CLI by making subagent delegation more selective rather than treating delegation as inherently beneficial. The new orchestration policy keeps narrow tasks with the main agent, delegates broad or independent work, and encourages parallel execution instead of waiting. After full production rollout, it reduced tool failures by 23% and improved high-percentile wait times without reducing quality.
## The Cost of Unnecessary Delegation
- Subagents help with complex investigations, large repositories, and parallel work, but every handoff adds tool calls, coordination, and latency.
- Copilot sometimes delegated simple, well-scoped tasks that the main agent could complete directly.
- Common problems included:
- Repeated or overlapping repository searches.
- Subagents re-discovering context already available to the main agent.
- Sequential delegation that left the main agent idle.
- Stale paths, incorrect relative paths, and workspace mismatches.
- The result was slower execution and more tool failures for tasks that should have required only a few steps.
## How the Problem Was Identified
- GitHub used LLMs to analyze complete agent trajectories rather than manually reviewing sessions.
- The analysis found that delegation was frequently used for narrow, obvious, or fully described tasks.
- This led to a clear target:
- Keep focused discovery-and-edit work with the main agent.
- Reserve subagents for broad exploration, cross-cutting tasks, or genuinely independent work.
## A More Selective Orchestration Policy
- Copilot now starts with the narrowest effective workflow:
- Find and read the relevant file.
- Make the targeted change.
- Verify the result.
- Delegation becomes appropriate when additional context, uncertainty, or parallel execution creates real value.
- Subagents are treated as a parallelism mechanism, not a reason for the main agent to pause.
- Handoffs should clearly specify:
- The user’s request.
- What the main agent already knows.
- Which work the subagent owns.
- What result the subagent should return.
## Evaluation and Production Results
- GitHub tested the change with generated regression cases and existing benchmarks before rollout.
- Staff and public A/B tests measured reliability, responsiveness, subagent workload, and quality.
- Production results showed:
- 23% fewer tool failures per session.
- 27% fewer search-tool failures.
- 18% fewer edit-tool failures.
- 5% lower P95 wait time.
- 3% lower P75 wait time.
- No quality regression.
- The improvements came mainly from avoiding unnecessary subagent paths and reducing orchestration overhead, not from making individual model calls faster.
Copilot CLI users can access the improvement by running `/update` and upgrading to version 1.0.42 or later. The broader recommendation is to delegate selectively: use the main agent for focused tasks and subagents only when independent context or parallel work provides meaningful leverage.
Mariko is a Principal Applied Scientist at Microsoft who leads the development of agentic AI workflows for cybersecurity operations. Her work centers on using large language models and agentic systems to bring frontier AI research into practical products and operational environments.
## Professional Role
- Principal Applied Scientist at Microsoft.
- Leads agentic AI workflow development for cybersecurity operations.
## Research and Technical Focus
- LLM-powered systems.
- Agentic workflows.
- Applying frontier AI research to real-world products and operations.
Overall, Mariko’s work connects advanced AI research with practical cybersecurity and enterprise applications.
GitHub Copilot CLI can understand code far more accurately when connected to a Language Server Protocol (LSP) server. Without LSP, it relies on grep, package-directory browsing, and bytecode extraction, which can miss types, overloads, and dependencies. The LSP Setup skill automates server installation and configuration for 14 languages, giving the CLI capabilities such as type resolution, go-to-definition, and reference search.
## The Problem with Heuristic Code Understanding
- Without an LSP server, Copilot CLI may:
- Extract Java JAR files and grep through `.class` files.
- Read installed Python packages directly.
- Search through TypeScript’s `node_modules`.
- These approaches use text and pattern matching rather than semantic analysis.
- They often fail to correctly understand:
- Generics and overloads.
- Transitive types.
- Compiled dependencies.
- Exact method signatures and symbol relationships.
- LSP requests such as `textDocument/definition` return precise source locations, resolved types, and signatures.
## How the LSP Setup Skill Works
The skill automates a seven-step process:
- **Language selection:** Uses `ask_user` to determine the required language.
- **Operating system detection:** Identifies macOS, Linux, or Windows so it can choose the correct installation commands.
- **Server lookup:** Reads curated data for 14 languages from `references/lsp-servers.md`.
- **Configuration scope:** Supports:
- User-wide configuration at `~/.copilot/lsp-config.json`.
- Repository-specific configuration at `lsp.json` or `.github/lsp.json`.
- Repository configuration takes precedence.
- **Installation:** Runs the appropriate package-manager or platform-specific command, such as:
- `npm install -g typescript typescript-language-server`
- `brew install jdtls`
- `rustup component add rust-analyzer`
- **Configuration:** Adds a server under the `lspServers` object, mapping commands and file extensions to language identifiers.
- **Verification:** Confirms the executable is on `PATH` and checks that the configuration is valid JSON.
The skill merges new settings with existing configuration instead of overwriting other servers. It also accounts for transport differences, such as servers requiring `--stdio`.
## Supported Languages and Custom Setup
- The skill provides predefined installation and configuration details for 14 languages.
- If a language is not included, Copilot CLI can search for a suitable server and guide the user through manual configuration.
- Each server configuration specifies:
- The executable command.
- Optional arguments.
- File-extension mappings such as `.java` to `java`.
## Benefits After Configuration
With LSP enabled, Copilot CLI can:
- Resolve types across external dependencies.
- Jump to definitions in third-party libraries.
- Find every reference to a symbol.
- Display hover documentation for functions, classes, and types.
- Reduce unnecessary tool calls and avoid incorrect assumptions about APIs.
- Handle larger and more complex coding tasks with IDE-like semantic understanding.
## Getting Started
- Download the LSP Setup skill from the Awesome Copilot project.
- Extract it into `~/.copilot/skills/`.
- Restart Copilot CLI.
- Ask the agent to set up LSP for a language, such as Java or Python.
- Restart the CLI again, run `/lsp`, and test navigation on a dependency symbol.
The practical recommendation is to configure an LSP server for each language used in a project. The setup gives Copilot CLI structured code intelligence instead of forcing it to reconstruct APIs through text searches and binary inspection.
Custom agents in GitHub Copilot CLI turn repeated terminal tasks into reusable, consistent workflows. Defined as Markdown profiles in a repository, they encode team-specific expertise, tools, standards, and safety rules instead of relying on one-off prompts. This makes workflows easier to review, version, share, and reuse across the CLI, IDE, and GitHub.
## What Custom Agents Are
- A custom agent is a specialized Copilot agent configured through a Markdown file.
- Its profile specifies:
- Role and area of expertise
- Available tools
- Required standards and procedures
- Guardrails and expected output formats
- Teams can tailor agents to requirements such as:
- WCAG accessibility standards
- Formatting and testing conventions
- Security and privacy policies
- Review and ownership requirements
- Because profiles live in the repository, they can be versioned, reviewed, and shared like code.
## Creating and Using Agents in Copilot CLI
- Invoke Copilot CLI from the terminal and use the `/agent` command to select an agent.
- Store the profile in the repository’s `.github/agents` directory.
- Agent files use YAML frontmatter and typically end in `.agent.md`, such as `accessibility.agent.md`.
- The profile defines the agent’s name, description, model, tools, instructions, scope, and guardrails.
- Copilot CLI is especially suitable for these agents because it can execute scripts, call APIs, inspect repositories, and work directly with command-line tooling.
## Automating Repeated Workflows
Custom agents are most useful for recurring tasks that span the terminal, IDE, and pull requests.
- A security audit agent can:
- Run standard checks across repositories
- Group findings by Critical, High, Medium, and Low severity
- Produce a pull-request-ready checklist with owners and next steps
- It can use tools such as `gitleaks`, `trivy`, `semgrep`, `gh`, `git`, and `jq`.
- Agents should prefer existing repository configuration files, including `.semgrep.yml`, `.trivyignore`, and `.gitleaks.toml`.
- Missing security tools should be reported as coverage gaps rather than replaced with invented results.
- Instructions can require secrets to be redacted, inclusive terminology, and consistent date formats.
- Ownership mappings can assign findings to teams based on affected paths, using `CODEOWNERS` when available or defined defaults otherwise.
Custom agents provide a practical way to capture team expertise once and apply it consistently. Start by converting a repetitive, execution-heavy task into a narrowly scoped `.github/agents` profile with explicit tools, outputs, and safety rules.
The post is a beginner-friendly guide to common GitHub questions, focusing on SSH authentication and Personal Access Tokens (PATs). It explains how to securely connect a computer to GitHub, create credentials for command-line and API access, and limit those credentials appropriately. The provided excerpt ends just as it introduces merging versus rebasing.
## SSH Keys and GitHub Authentication
- An SSH key consists of:
- A private key that stays on the computer and must never be shared.
- A public key uploaded to GitHub.
- Git uses the matching key pair to verify identity when pushing and pulling code.
- To create an Ed25519 key pair, run `ssh-keygen` with the email associated with the GitHub account.
- Users can accept the default file location and protect the key with a passphrase.
- `ssh-agent` securely stores the key so the passphrase does not need to be entered repeatedly.
- The public key can be copied with `cat ~/.ssh/id_ed25519.pub` and added through **Settings → SSH and GPG keys → New SSH key**.
- A descriptive title, such as “work-laptop,” helps identify the device later.
## Personal Access Tokens
- A PAT is a GitHub-managed credential for authenticating command-line tools and API requests.
- Tokens can be revoked and configured with limited permissions.
- GitHub offers:
- **Fine-grained tokens**, which can be restricted to specific repositories and individual read or write permissions.
- **Classic tokens**, which use broader predefined scopes.
- When creating a fine-grained token, users choose:
- A name and description.
- An expiration date.
- Repository access.
- Specific permissions and whether each is read-only or read/write.
- Classic tokens are created through **Developer settings → Personal access tokens → Tokens (classic)** and use scopes to define access.
- GitHub displays a token only once, so it should be copied immediately and stored securely, such as in a password manager.
- A PAT can be supplied instead of a password when Git prompts for credentials in a terminal.
## Merging and Rebasing
- The excerpt begins introducing the difference between merging and rebasing and how to resolve merge-related problems.
- The supplied content ends before that explanation is provided.
Use SSH keys for secure Git operations from a trusted device, and use narrowly scoped, expiring PATs when tools or APIs require token-based authentication. Never share private keys or tokens, and store credentials securely.