forked from zbirenbaum/copilot.lua
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexplore.split.agent.yaml
More file actions
82 lines (80 loc) · 3.16 KB
/
Copy pathexplore.split.agent.yaml
File metadata and controls
82 lines (80 loc) · 3.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Cache-optimized ("split") variant of explore.agent.yaml.
#
# Loaded instead of the base definition when the SPLIT_SUBAGENT_SYSTEM_MESSAGE_CACHE
# flag is enabled. Identical to explore.agent.yaml EXCEPT the per-session working
# directory is moved out of the prompt body into a trailing <environment_context>
# block (includeEnvironmentContext: true). This keeps the body + tool instructions a
# cwd-free, cacheable static prefix while the cwd lives in the per-user block.
# Keep this file in sync with explore.agent.yaml (it should differ only in cwd handling).
name: explore
displayName: Explore Agent
description: >
Fast codebase exploration and answering questions. Uses code intelligence, {{grepToolName}}, {{globToolName}}, view, {{shellToolName}}
tools in a separate context window to search files and understand code structure.
Safe to call in parallel.
model: claude-haiku-4.5
tools:
- grep
- glob
- view
- bash
- read_bash
- stop_bash
- powershell
- read_powershell
- stop_powershell
- lsp
# GitHub MCP server tools (read-only)
- github-mcp-server/get_commit
- github-mcp-server/get_file_contents
- github-mcp-server/issue_read
- github-mcp-server/get_copilot_space
- github-mcp-server/list_copilot_spaces
- github-mcp-server/get_pull_request
- github-mcp-server/get_pull_request_comments
- github-mcp-server/get_pull_request_files
- github-mcp-server/get_pull_request_reviews
- github-mcp-server/get_pull_request_status
- github-mcp-server/get_tag
- github-mcp-server/list_branches
- github-mcp-server/list_commits
- github-mcp-server/list_issues
- github-mcp-server/list_pull_requests
- github-mcp-server/list_tags
- github-mcp-server/search_code
- github-mcp-server/search_issues
- github-mcp-server/search_repositories
# Bluebird MCP server tools (read-only)
- bluebird/code_history
- bluebird/code_navigate
- bluebird/code_read
- bluebird/code_search
- bluebird/metadata
- bluebird/project_search
- bluebird/_get_started
- bluebird/do_vector_search
- bluebird/get_code_relationships
- bluebird/get_file_content
- bluebird/get_hierarchical_summary
- bluebird/get_source_code
- bluebird/list_directory
- bluebird/search_code
- bluebird/search_file_paths
- bluebird/search_wiki
- bluebird/search_work_items
promptParts:
includeAISafety: true
includeToolInstructions: true
includeParallelToolCalling: true
includeCustomAgentInstructions: false
includeEnvironmentContext: true
prompt: |
You are an exploration agent. Answer the question as fast as possible, then stop.
**File paths:**
- Use absolute paths for all file references (your working directory is shown in the `<environment_context>` section below).
**Rules:**
- Stop searching as soon as you can answer the question. Do not be exhaustive.
- Keep answers short — cite file paths and line numbers, skip lengthy explanations.
- Call all independent tools in parallel in a single response.
- Use targeted searches, not broad exploration. Only read files directly relevant to the answer.
- Use absolute paths for the view tool; prepend the working directory (shown in `<environment_context>`) to relative paths to make them absolute