← 返回 Skills 市场
openlark

VS Code Copilot Custom Agent Creator

作者 OpenLark · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
102
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install vscode-agent-creator
功能描述
Create VS Code Copilot custom Agent (.agent.md) files.
使用说明 (SKILL.md)

VS Code Copilot Custom Agent Creator

Trigger Scenarios

Use when the user needs to create a custom Copilot Agent in VS Code, configure a specialized AI role, define handoff workflows, set tool permissions, or write agent instructions. Trigger keywords include "create agent", "custom agent", "VS Code agent", "copilot agent", "agent.md", "handoff", etc.

⚡ Workflow

  1. Understand requirements → Ask user about: agent role, available tools, whether handoff chain is needed
  2. Generate file → Create .agent.md file following the template
  3. Placement → Tell user to place it in .github/agents/ (workspace) or ~/.copilot/agents/ (user-level)

File Locations

Scope Path
Workspace .github/agents/\x3Cname>.agent.md
Claude format .claude/agents/\x3Cname>.md
User-level ~/.copilot/agents/\x3Cname>.agent.md

Workspace agents can have additional search paths configured via chat.agentFilesLocations

File Structure

---
name: Agent Name                    # Optional, defaults to filename
description: Brief description      # Displayed in input placeholder
argument-hint: Argument hint        # Optional, guides user input
model: GPT-5.2 (copilot)            # Optional, string or array (attempt in order)
tools:                              # Tool list
  - search/codebase
  - web/fetch
  - edit
agents:                             # Available sub-agents, * for all, [] to prohibit
  - Researcher
user-invocable: true                # Optional, whether to appear in dropdown (default true)
disable-model-invocation: false     # Optional, prevent being called as sub-agent by other agents
handoffs:                           # Optional, handoff chain
  - label: Button text
    agent: Target agent
    prompt: Pre-filled prompt
    send: false                     # Optional, whether to auto-send
    model: GPT-5.2 (copilot)        # Optional
hooks:                              # Optional (Preview), scoped hooks
  PostToolUse:
    - type: command
      command: "./scripts/format.sh"
---

# Agent Instruction Body

Write the agent's behavior guidelines, workflow, output format, etc. here.
Supports Markdown links to other files.
Reference tools with: #tool:web/fetch

Frontmatter Field Reference

Field Type Description
name string Agent name
description string Brief description
argument-hint string Input box placeholder text
model string/array Model name (Model (vendor) format), array attempts in order
tools array Available tools list. MCP services use \x3Cserver>/*
agents array Available sub-agent list, * = all, [] = prohibit
user-invocable bool Whether to appear in dropdown (default true)
disable-model-invocation bool Prevent being called by other agents (default false)
target string vscode or github-copilot
mcp-servers array MCP service config for GitHub Copilot
handoffs array Handoff chain definition
handoffs.label string Button text
handoffs.agent string Target agent identifier
handoffs.prompt string Pre-filled prompt
handoffs.send bool Auto-send (default false)
handoffs.model string Specify model
hooks object (Preview) Agent-level hooks, requires chat.useCustomAgentHooks

Handoff Workflow

Handoffs display buttons after the agent responds, allowing one-click switching with pre-filled context:

Plan → Implementation → Code Review

Example:

handoffs:
  - label: Start Implementation
    agent: implementer
    prompt: Implement the plan above.
    send: false
  - label: Review Code
    agent: reviewer
    prompt: Review the changes for security and quality.

Built-in Tool Reference

Tool Description
search/codebase Search codebase
search/usages Search usages
web/fetch Fetch web page
web/search Web search
edit Edit files
read/terminalLastCommand Read terminal output
agent Call sub-agent

Reference tools using #tool:\x3Cname> syntax, e.g., #tool:web/fetch

Common Agent Templates

Planner Agent

---
name: Planner
description: Generate implementation plans
tools: ['search/codebase', 'web/fetch', 'search/usages']
model: ['Claude Opus 4.5', 'GPT-5.2']
handoffs:
  - label: Implement
    agent: implementer
    prompt: Implement the plan above.
---
You are in planning mode. Generate a detailed plan with:
- Overview, Requirements, Implementation Steps, Testing.
Do NOT make code edits.

Code Reviewer Agent

---
name: Reviewer
description: Review code for quality and security
tools: ['search/codebase', 'web/fetch']
---
Review code changes for:
- Security vulnerabilities
- Code quality issues
- Performance concerns
- Adherence to project conventions

Implementer Agent

---
name: Implementer
description: Implement code changes
tools: ['edit', 'read/terminalLastCommand', 'search/codebase']
---
Implement changes following existing code patterns.
Make minimal, focused edits. Run tests after changes.

Creation Process

  1. In Chat, type /agents or click the gear icon → Agent Customizations editor
  2. Select New Agent (Workspace) or New Agent (User)
  3. Enter filename → .agent.md template generated
  4. Fill in frontmatter + instruction body
  5. Or use /create-agent to have AI generate based on description

Claude Format Compatibility

.claude/agents/*.md supports Claude-specific fields:

  • tools: Comma-separated string ("Read, Grep, Glob, Bash")
  • disallowedTools: List of prohibited tools

VS Code automatically maps Claude tool names to VS Code tools.

Organization-level Agents

Enable github.copilot.chat.organizationCustomAgents.enabled: true to automatically discover organization-level agents.

See: references/agent-format.md

安全使用建议
This result should be treated as low confidence: the review could not inspect metadata.json or artifact/ contents, so installation should wait for a successful artifact review.
能力评估
Purpose & Capability
Unable to assess purpose and capabilities because filesystem inspection failed before metadata.json or artifact files could be read.
Instruction Scope
Unable to assess instruction scope because SKILL.md and related artifacts were not accessible through the available tool execution path.
Install Mechanism
Unable to assess install behavior because install specs and manifest files could not be inspected.
Credentials
Unable to compare requested environment access with the skill purpose because artifact contents were unavailable.
Persistence & Privilege
No artifact evidence of persistence or privilege use was available for review.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install vscode-agent-creator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /vscode-agent-creator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
vscode-agent-creator 1.0.0 - Initial release: create VS Code Copilot custom Agent (.agent.md) files. - Provides workflow for generating agents, configuring roles, permissions, and handoff chains. - Offers templates for common agent types (Planner, Reviewer, Implementer). - Explains .agent.md file structure, frontmatter fields, tool references, handoff workflows, and file locations. - Supports both workspace- and user-level agent files; includes guidance for Claude and organization-level formats.
元数据
Slug vscode-agent-creator
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

VS Code Copilot Custom Agent Creator 是什么?

Create VS Code Copilot custom Agent (.agent.md) files. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 102 次。

如何安装 VS Code Copilot Custom Agent Creator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install vscode-agent-creator」即可一键安装,无需额外配置。

VS Code Copilot Custom Agent Creator 是免费的吗?

是的,VS Code Copilot Custom Agent Creator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

VS Code Copilot Custom Agent Creator 支持哪些平台?

VS Code Copilot Custom Agent Creator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 VS Code Copilot Custom Agent Creator?

由 OpenLark(@openlark)开发并维护,当前版本 v1.0.0。

💬 留言讨论