ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Custom personas with specific tools, instructions, and behaviors. Use for orchestrated workflows with role-based tool restrictions.
| Path | Scope | |------|-------| | .github/agents/*.agent.md | Workspace | | <profile>/agents/*.agent.md | User profile |
---
description: "<required>" # For agent picker and subagent discovery
name: "Agent Name" # Optional, defaults to filename
tools: [search, web] # Optional: aliases, MCP (<server>/*), extension tools
model: "Claude Sonnet 4" # Optional, uses picker default; supports array for fallback
reasoning-effort: "high" # Optional: low, medium, high, xhigh, or max
argument-hint: "Task..." # Optional, input guidance
agents: [agent1, agent2] # Optional, restrict allowed subagents by name (omit = all, [] = none)
user-invocable: true # Optional, show in agent picker (default: true)
disable-model-invocation: false # Optional, prevent subagent invocation (default: false)
handoffs: [...] # Optional, transitions to other agents
hooks: # Optional, inline hooks for this agent's lifecycle events
PreToolUse:
- type: command
command: "./scripts/validate.sh"
PostToolUse:
- type: command
command: "./scripts/format.sh"
---| Attribute | Default | Effect | |-----------|---------|--------| | user-invocable: false | true | Hide from agent picker, only accessible as subagent | | disable-model-invocation: true | false | Prevent other agents from invoking as subagent |
model: ['Claude Sonnet 4.5 (copilot)', 'GPT-5 (copilot)'] # First available model is usedUse reasoning-effort to set the reasoning level for the custom agent's model:
reasoning-effort: high # low, medium, high, xhigh, or maxThe selected model must support the configured level. If omitted, the runtime resolves the effort from the model configuration and, when applicable, the parent agent.
Sources: built-in aliases, specific tools, MCP servers (<server>/*), extension tools.
Special: [] = no tools, omit = defaults. Body reference: #tool:<name>
| Alias | Purpose | |-------|---------| | execute | Run shell commands | | read | Read file contents | | edit | Edit files | | search | Search files or text | | agent | Invoke custom agents as subagents | | web | Fetch URLs and web search | | todo | Manage task lists |
tools: [read, search] # Read-only research
tools: [myserver/*] # MCP server only
tools: [read, edit, search] # No terminal access
tools: [] # Conversational onlyTo discover available tools, check your current tool list or use #tool: syntax in the body to reference specific tools.
---
description: "{Use when... trigger phrases for subagent discovery}"
tools: [{minimal set of tool aliases}]
user-invocable: false
---
You are a specialist at {specific task}. Your job is to {clear purpose}.
## Constraints
- DO NOT {thing this agent should never do}
- DO NOT {another restriction}
- ONLY {the one thing this agent does}
## Approach
1. {Step one of how this agent works}
2. {Step two}
3. {Step three}
## Output Format
{Exactly what this agent should return}description match (when infer allows)1. Single role: One persona with focused responsibilities per agent 2. Minimal tools: Only include what the role needs—excess tools dilute focus 3. Clear boundaries: Define what the agent should NOT do 4. Keyword-rich description: Include trigger words so parent agents know when to delegate
Custom agents support inline hooks in frontmatter. These hooks execute shell commands at agent lifecycle points and are scoped to this agent only. The format matches standalone hook files (see hooks reference).
SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, PreCompact, SubagentStart, SubagentStop, Stop
---
description: "Secure code reviewer that blocks dangerous commands"
tools: [read, search, execute]
hooks:
PreToolUse:
- type: command
command: "./scripts/block-dangerous-cmds.sh"
timeout: 10
PostToolUse:
- type: command
command: "./scripts/auto-lint.sh"
---Each hook command supports: type (must be command), command, platform overrides (windows, linux, osx), cwd, env, timeout.