agent-customization

Create and debug VS Code Copilot customization files including instructions, prompts, agents, hooks, and skills.

Updated Apr 28, 2026
Ready to run
npx skills add https://github.com/CokiStudios/cokistudios.github.io --skill agent-customization-cokistudios
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: agent-customization
Source: https://github.com/CokiStudios/cokistudios.github.io/tree/main/vscode-src/extensions/copilot/assets/prompts/skills/agent-customization
Command: npx skills add https://github.com/CokiStudios/cokistudios.github.io --skill agent-customization-cokistudios

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? VS Code Copilot customizations fail silently when YAML frontmatter is malformed, descriptions lack trigger keywords, or files land in the wrong folder. This Skill guides the creation, review, and debugging of every customization primitive so agents, instructions, prompts, hooks, and skills are discovered and invoked correctly. ## Core Features & Use Cases - Primitive Selection Guidance: A decision flow maps each need (always-on rules, file-scoped rules, deterministic enforcement, subagents, reusable tasks, bundled workflows) to the right file type. - Creation Workflow: Step-by-step process covering scope (workspace vs user profile), file location, frontmatter requirements, and validation. - Troubleshooting Reference: Documents silent-failure pitfalls such as unescaped colons in YAML, name/folder mismatches, and overly broad applyTo patterns. - Use Case: A team's custom instructions are being ignored by Copilot. Use this Skill to diagnose that the description lacks trigger phrases and the applyTo glob is misconfigured, then fix the frontmatter. ## Quick Start Ask the agent to create a workspace-level instructions file for Python code style in .github/instructions with a proper description and applyTo pattern.

Frequently Asked Questions about agent-customization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom instructions for VS Code Copilot?▼

Create a .instructions.md file in .github/instructions/ with a YAML frontmatter containing a keyword-rich description and an optional applyTo glob pattern. The description drives on-demand discovery, while applyTo auto-attaches the instruction to matching files.

What is the difference between a Copilot skill, prompt, and custom agent?▼

Prompts handle single focused tasks with parameterized inputs. Skills provide multi-step workflows with bundled scripts and references. Custom agents add context isolation as subagents and per-stage tool restrictions for orchestrated workflows.

Why are my Copilot instructions or skills not being invoked?▼

Silent failures usually come from unescaped colons in YAML values, tabs instead of spaces, or a name field that does not match the folder name. Also verify the description contains the trigger phrases the agent uses for discovery.

Where should Copilot customization files be placed?▼

Workspace customizations go in .github/ subfolders (instructions/, prompts/, agents/, hooks/, skills/<name>/). User-level prompts, instructions, and agents go in the VS Code user prompts folder and roam with settings sync; skills are project-only.

When should I use hooks instead of instructions in VS Code Copilot?▼

Use hooks when behavior must be enforced deterministically, such as blocking dangerous commands or auto-formatting after edits. Instructions only guide agent behavior non-deterministically, while hooks execute shell commands at lifecycle events like PreToolUse and PostToolUse.

Does applyTo "**" cause problems in Copilot instructions?▼

Yes, applyTo "**" loads the instruction into the context window on every interaction, even when irrelevant, consuming context budget. Use specific globs like **/*.py or src/api/** unless the content truly applies to all files.