بنقرة واحدة
agent-debug-panel
Debug skill/hook/agent loading issues using VS Code's Agent Debug Panel
القائمة
Debug skill/hook/agent loading issues using VS Code's Agent Debug Panel
Patterns for thesis writing, dissertations, research papers, literature reviews, scholarly work, and venue-specific publication drafting
**Domain**: AI/ML Architecture
Generate consistent visual character references across multiple scenarios using Flux and nano-banana-pro on Replicate
Create professional ultra-wide cinematic banners for GitHub READMEs using Flux and Ideogram models with typography options
Help writers produce content that sounds genuinely human by avoiding telltale AI-generated text patterns
Domain knowledge for AI adoption measurement, psychometric instrument development, and appropriate reliance research
| name | agent-debug-panel |
| description | Debug skill/hook/agent loading issues using VS Code's Agent Debug Panel |
| applyTo | **/*debug*,**/*agent*,**/*skill*,**/*hook*,**/*instruction* |
When a skill doesn't load or a hook doesn't fire, stop guessing — open the panel.
Ctrl+Shift+P)Developer: Open Agent Debug Panel@alex or any agent| Tab / Section | What You See | Debug Use |
|---|---|---|
| System Prompt Assembly | Full prompt sent to LLM including instructions, skills, context | Verify your instruction/skill was included |
| Tool Calls | Every tool invocation with arguments and results | Trace why a tool wasn't called or failed |
| Participant Resolution | Which chat participant handled the request | Confirm @alex routed correctly |
| Skill Loading | Which SKILL.md files were loaded and why | Debug "why didn't my skill activate?" |
| Instruction Matching | Which .instructions.md files matched via applyTo | Verify glob patterns work for your files |
| Hook Execution | Pre/post tool-use hook firing order and results | Debug hook failures or ordering issues |
| Agent Selection | Which .agent.md was selected and why | Verify agent routing logic |
applyTo glob in SKILL.md frontmatterCommon causes:
applyTo glob doesn't match the active filechat.agentSkillsLocations setting.instructions.md file appears in matched listapplyTo pattern in YAML frontmatterCommon causes:
applyTo glob doesn't match current file type.github/instructions/)--- delimiters)chat.instructionsFilesLocations not set to {".github/instructions": true}preToolUse, postToolUse)Common causes:
chat.hooks.enabled not set to truenode --check script.js)events array doesn't include the trigger event.agent.md file is in .github/agents/chat.useAgentsMdFile is trueCommon causes:
*.agent.md.github/agents/ directorychat.useAgentsMdFile or chat.useNestedAgentsMdFiles not enabledUseful: Copy the full system prompt to verify exactly what the LLM sees. Compare against what you expected.
Run these checks before opening the debug panel:
| Setting | Required Value | Purpose |
|---|---|---|
chat.agentSkillsLocations | [".github/skills"] | Skills discovery |
chat.instructionsFilesLocations | {".github/instructions": true} | Instructions loading |
chat.useAgentsMdFile | true | Agent file detection |
chat.hooks.enabled | true | Hook execution |
chat.plugins.enabled | true | Plugin loading |
chat.useSkillAdherencePrompt | true | Forces LLM to read SKILL.md |
1. Reproduce the issue in chat
2. Open Debug Panel (Developer: Open Agent Debug Panel)
3. Check loading → matching → execution → output
4. Identify the break point
5. Fix the root cause (glob, setting, syntax)
6. Reproduce again to verify