AI in VS Code Hub

Agents, Skills, and AI Workflows in VS Code

An informational home base for understanding how AI fits into VS Code. Learn the building blocks behind agents and skills, explore practical workflows, compare models, and keep one eye on a news feed that is ready for daily automation.

Workflow Patterns

Real AI Workflows

Capture practical ways your team is using agents, skills, and AI-assisted tooling inside VS Code.

RAG-style Log Troubleshooting Agent Using a Reference Folder Agent + Skills

Build a dedicated Copilot agent that uses a reference folder of documentation you choose and can alter, incident notes, and snippets of common issues to troubleshoot new logs faster with retrieval-style context.

How To Set It Up

  1. Create a reference/ folder with the exact reference documents you want it to use, known error signatures, and resolution notes.
  2. Add a custom .agent.md focused on troubleshooting and root-cause analysis.
  3. Create one or more SKILL.md files for parsing logs, matching patterns, and proposing fixes.
  4. Attach those skills to the agent so it consistently follows your triage workflow.
  5. Prompt the agent with new logs and ask it to compare against the reference folder before recommending actions.

Why This Works Well

  • Keeps the agent focused, and if you add limits to the tools it can't attempt any rewrites.
  • Reduces repeated manual searching across old tickets and files.
  • You are able to prompt it to ensure the responses it gives meet your standards to reduce edits before passing information along, and to speed checking the results
  • You can ask for it to find links to the information in the documentation to support its answers

Copilot Build Assist

Copilot can help generate both the agent and skills: ask it to scaffold your .agent.md, draft SKILL.md instructions, and refine prompts for better troubleshooting output over time.

Tip: Use Copilot and explain what you want the agent to focus on. After it writes the agent for you, ask Copilot if there are any useful skills it sees that might help the agent function better. It is amazing what it can come up with to help itself improve.

Improving Reference Materials Efficiency for the Agent Optimization

You can take the reference folder you created, and prompt the agent to go through the files and restructure them for its efficiency. Create new documents to document types that are more efficient, and rename or reorganize to improve retrieval, and use less tokens. This is a great way to optimize the agent's performance without changing the underlying code of the agent or skills, just by improving the materials it uses to reference.


Tip: Make sure you tell the agent not to 'rewrite' the information, but to only restructure it. You don't want to lose any of the important information, just make it more efficient for the agent to reference.

Core Concepts

Agents and Skills at a Glance

These are the reusable building blocks behind more advanced AI workflows in VS Code.

Agents

  • Autonomous coding assistants that work directly on GitHub issues
  • Defined via .agent.md files in your repository
  • Open pull requests with proposed changes for team review
  • Customizable with specialized instructions and attached skills

Skills

  • Reusable instruction sets written in SKILL.md format
  • Stored in .github/skills/ (project) or ~/.copilot/skills/ (personal)
  • Attach to agents to give them specialized capabilities
  • Shareable across repositories and team members

In Practice

Using AI in VS Code

A strong setup balances quick chat loops, deeper agent execution, and repeatable automation.

Interactive Help

Use chat for quick explanations, code edits, documentation lookup, and small in-context fixes without leaving the editor.

Agentic Execution

Use agent mode when a task spans multiple files, needs terminal commands, or requires validation rather than one-shot suggestions.

Repeatable Automation

Keep recurring content in a standalone data file so scheduled jobs can update the feed without rewriting page layout or UI logic.

This site now uses news-feed.js for that pattern.

Learning Path

Getting Started

Follow these steps to go from zero to productive with AI in VS Code.

1

Understand the Basics

Learn what agent skills are and how they fit into the Copilot ecosystem.

About Agent Skills
2

Try Agent Mode

Get hands-on with agent mode through a guided Microsoft Learn tutorial.

Building Apps with Agent Mode
3

Create Your First Custom Agent

Define a specialized agent with its own identity and instructions.

Creating Custom Agents
4

Build Reusable Skills

Create SKILL.md files that give agents specialized capabilities your whole team can use.

Creating Agent Skills
5

Master Best Practices

Learn proven patterns from 2,500+ repositories and official GitHub guidance.

Best Practices How to Write a Great agents.md

Cheat Sheet

Key Files & Locations

.agent.md Custom agent definition file — identity, instructions, and skill attachments
SKILL.md Skill instruction file — reusable capability definitions
copilot-instructions.md Repo-wide Copilot instructions — applies to all agents
.github/skills/ Project-level skills directory — shared with the team via repo
~/.copilot/skills/ Personal skills directory — your private skill library
news-feed.js Shared AI news data source — update this file to refresh both the homepage snapshot and the full tracker

Model Guide

GitHub Copilot Models Moved to Their Own Page

The model table is now a dedicated reference with current Copilot multipliers, task fit, and recommended model flows for planning, implementation, review, and quick edits.

Cost-aware model table

Scan every current Copilot model, paid-plan multipliers, Copilot Free behavior, status, and best-fit tasks.

Task recommendations

Pick a practical flow for planning, implementation, debugging, refactoring, docs, visual work, and low-cost loops.

Official-source notes

Includes GitHub's current model, billing, and auto-selection caveats so the guide is easier to maintain.

Open the full guide: GitHub Copilot Model Guide

Deep Dive

AI in VS Code Library

Curated docs, tutorials, repositories, and reference material for agents, skills, extensions, and related AI workflows.