-
Notifications
You must be signed in to change notification settings - Fork 21
Configuration
If you have many agents or skills installed, you may hit Claude Code's description character limit (defaults to 15,000 characters). Agents will silently stop loading. Increase the budget:
macOS (Terminal):
export SLASH_COMMAND_TOOL_CHAR_BUDGET=30000Add to ~/.bashrc, ~/.zshrc, or your shell profile.
Windows (PowerShell):
$env:SLASH_COMMAND_TOOL_CHAR_BUDGET = "30000"Add to your PowerShell profile ($PROFILE).
VS Code 1.112 introduces permission levels that control how much autonomy agents have during a session. These are particularly relevant for accessibility audits.
| Level | Description | Use Case |
|---|---|---|
| Default Approvals | Uses your configured approval settings. Tools requiring approval show a confirmation dialog. | Normal interactive work. Recommended for fix-applying workflows. |
| Bypass Approvals | Auto-approves all tool calls without dialogs. Auto-retries on errors. | Batch scanning where you trust the agent. Use with read-only scans. |
| Autopilot (Preview) | Auto-approves tools, auto-responds to questions, continues autonomously until complete. | Hands-free accessibility audits. Read-only scans only. |
{
"chat.autopilot.enabled": true
}Autopilot is enabled by default in Insiders builds.
Default Approvals (Recommended for fixes):
- When running
web-accessibility-wizardin fix mode - When applying document accessibility fixes
- Any workflow that edits files
- When you want to review each agent action
Bypass Approvals:
- Running batch scans across many files
- Document inventory and delta scanning
- When you trust the agent and want faster results
- Still shows tool results, just auto-approves
Autopilot (Read-only scans only):
- Full site accessibility audits
- Large document library scans
- Overnight or scheduled audit runs
- Never use for fix-applying workflows - too risky for unattended file changes
Both Bypass Approvals and Autopilot bypass manual approval prompts, including for potentially destructive actions:
- File edits
- Terminal commands
- External API calls
Recommendations:
- Never use Autopilot in untrusted repositories
- For fix workflows, always use Default Approvals
- For scanning, Bypass Approvals is sufficient
- Review the first time warning carefully
Select the permission level from the permissions dropdown in the Chat view input area. You can change it at any time during a session.
To stop an autonomous agent, click the stop button in the Chat view.
For monorepo setups where you open a package subfolder rather than the repo root:
{
"chat.useCustomizationsInParentRepositories": true
}This discovers agent customizations from parent folders up to the .git root. See Advanced Scanning Patterns for details.
Enable these for debugging accessibility agent issues:
{
"github.copilot.chat.agentDebugLog.enabled": true,
"github.copilot.chat.agentDebugLog.fileLogging.enabled": true
}With both enabled:
- Use
/troubleshootto analyze agent behavior directly in chat - Export debug sessions as JSONL for offline analysis
- Import sessions from teammates for troubleshooting
See Agent Debug Panel Guide for full details.
Enable for visual accessibility analysis:
{
"chat.imageSupport.enabled": true,
"imageCarousel.explorerContextMenu.enabled": true
}This allows:
- alt-text-headings to analyze actual images and compare against alt text
- contrast-master to analyze screenshots for visual contrast issues
- Batch image review via the carousel view
Use the new centralized editor to manage project and profile-level AI customizations from one place:
- Run
Chat: Open Chat Customizations - Use the agent-type picker to switch between local agents, Copilot CLI, and Claude agent customizations
- Create or edit instructions, prompt files, custom agents, and skills with built-in validation
- Manage MCP servers and agent plugins from the same UI
This is now the fastest way to verify whether Accessibility Agents customizations are being discovered across agent types.
VS Code 1.113 bridges registered MCP servers into Copilot CLI and Claude agents.
Practical impact for this repo:
- Workspace
.vscode/mcp.jsonservers can now carry across local, Copilot CLI, and Claude agent workflows - User-profile MCP servers configured in VS Code can be reused in CLI and Claude sessions
- Troubleshooting missing tools should now check both MCP server state and the active agent type
If you rely on local MCP servers, keep these points in mind:
- Use workspace
mcp.jsonwhen the server should travel with the repo - Use profile MCP configuration when the server is personal to your machine or account
- Sandboxing is currently macOS/Linux only, not Windows
VS Code 1.113 adds optional nested subagent support:
{
"chat.subagents.allowInvocationsFromSubagents": true
}This is an official VS Code capability. It is not a requirement for this repo.
For Accessibility Agents, the tradeoff is:
- Reward: nested subagents can help with intentionally designed divide-and-conquer or coordinator-worker workflows.
- Risk: they can also increase wrong-agent selection, duplicate findings, latency, token usage, and debugging complexity.
Repo recommendation:
- Prefer explicit coordinator-worker delegation with a single top-level orchestrator.
- Use allowlisted subagents where possible.
- Leave nested subagents disabled by default unless a workflow is intentionally designed for recursion.
In practice, bounded subagents are a net positive for this repo. Open-ended recursive delegation is not.
The integrated browser picked up several workflow improvements that matter for accessibility testing:
- Self-signed certificate trust for local HTTPS development
- Better browser tab management via quick-open and close-all commands
- Built-in browser tools that can share an active page with an agent when enabled
Relevant settings:
{
"workbench.browser.enableChatTools": true,
"workbench.browser.openLocalhostLinks": true
}Use browser tools carefully. Shared pages expose your current browser session to the agent until you revoke access.
Type /agents to see what is loaded. If agents do not appear:
-
Check file location: Agents must be
.mdfiles in.claude/agents/(project) or~/.claude/agents/(global) -
Check file format: Each file must start with YAML front matter (
---delimiters) containingname,description, andtools -
Check character budget: Increase
SLASH_COMMAND_TOOL_CHAR_BUDGET(see above)
- Check installation: Settings > Extensions in Claude Desktop
- Try reinstalling: Download latest .mcpb from Releases page
- Check version: Requires Claude Desktop 0.10.0 or later
- Invoke the specific specialist directly:
/aria-specialist review components/modal.tsx - Ask for a full audit:
/accessibility-lead audit the entire checkout flow - Open an issue if a pattern is consistently missed
See the dedicated Copilot CLI Troubleshooting Guide.
Different platforms use different tool names. Agent files may declare platform-specific tools that get mapped to standard aliases.
CLI uses these standard aliases. Agent declarations using compatible aliases will work:
| CLI Alias | Compatible Declarations | Purpose |
|---|---|---|
read |
Read, view, NotebookRead, readFile
|
Read file contents |
edit |
Edit, MultiEdit, Write, NotebookEdit, str_replace, str_replace_editor, editFiles
|
Edit files |
search |
Grep, Glob, textSearch, fileSearch
|
Search files |
execute |
Bash, shell, powershell, runInTerminal
|
Run shell commands |
agent |
Task, custom-agent, runSubagent
|
Delegate to sub-agent |
web |
WebSearch, WebFetch, fetch
|
Fetch web content |
todo |
TodoWrite |
Task management (VS Code only) |
Claude Code uses these native tool names:
| Tool | Purpose |
|---|---|
Read |
Read files |
Edit |
Edit files |
Write |
Create files |
Bash |
Run shell commands |
Grep |
Search file contents |
Glob |
Find files by pattern |
Task |
Delegate to sub-agent |
WebFetch |
Fetch web content |
VS Code Copilot extension uses:
| Tool | Purpose |
|---|---|
readFile |
Read files |
editFiles |
Edit files |
createFile |
Create files |
runInTerminal |
Run commands |
textSearch |
Search contents |
fileSearch |
Find files |
runSubagent |
Delegate to agent |
getDiagnostics |
Get editor diagnostics |
askQuestions |
Prompt user for input |
listDirectory |
List directory contents |
getTerminalOutput |
Read terminal output |
Agent files in this project use VS Code-style tool declarations because that's the most common deployment target. When running in Copilot CLI:
- Compatible tools are mapped automatically (e.g.,
readFile→read) - Unknown tools are silently ignored
- Core read/edit/search functionality works across all platforms
For maximum compatibility when creating new agents, use these universal tool names:
tools: ['read', 'edit', 'search', 'execute', 'agent']- Accessibility Lead
- Web Accessibility Wizard
- Document Accessibility Wizard
- Alt Text and Headings
- ARIA Specialist
- Contrast Master
- Forms Specialist
- Keyboard Navigator
- Link Checker
- Live Region Controller
- Modal Specialist
- Tables Data Specialist
- Word Accessibility
- Excel Accessibility
- PowerPoint Accessibility
- PDF Accessibility
- Office Scan Config
- PDF Scan Config
- Testing Coach
- WCAG Guide