[prompt-clustering] Copilot Agent Prompt Clustering Analysis - Dec 2025 #5982
Closed
Replies: 1 comment
-
|
⚓ Avast! This discussion be marked as outdated by Copilot Agent Prompt Clustering Analysis. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Daily NLP-based clustering analysis of copilot agent task prompts to identify patterns, success factors, and optimization opportunities.
Summary
Analysis Date: 2025-12-09
Analysis Period: Approximately 90 days (Nov-Dec 2025)
Total Tasks Analyzed: 1750
Clusters Identified: 10
Overall Success Rate: 74.9% (1310 merged, 440 closed)
Key Insights
Full Clustering Analysis
Cluster Breakdown
The 10 identified clusters represent distinct categories of agent tasks based on NLP analysis of task prompts. Each cluster shares similar keywords, themes, and characteristics.
Cluster 2: Documentation
Size: 366 tasks (20.9% of total)
Success Rate: 71.9% (263 merged, 103 closed)
Avg Files Changed: 18.7
Avg Commits: 3.7
Avg Lines Added: 1059
Top Keywords: agent, add, firewall, github, file, logs, javascript
Characteristics: Tasks in this cluster are primarily focused on documentation-related work. typically involving multiple file changes. representing a major category of agent tasks.
Example PRs:
Cluster 3: Documentation
Size: 356 tasks (20.3% of total)
Success Rate: 75.3% (268 merged, 88 closed)
Avg Files Changed: 19.3
Avg Commits: 3.7
Avg Lines Added: 810
Top Keywords: update, job, workflows, remove, make, comment, workflow
Characteristics: Tasks in this cluster are primarily focused on documentation-related work. This cluster shows good success rates. typically involving multiple file changes. representing a major category of agent tasks.
Example PRs:
Cluster 10: Build
Size: 337 tasks (19.3% of total)
Success Rate: 79.5% (268 merged, 69 closed)
Avg Files Changed: 10.3
Avg Commits: 3.2
Avg Lines Added: 475
Top Keywords: gh aw, githubnext gh aw, githubnext gh, aw, githubnext, gh, comments
Characteristics: Tasks in this cluster are primarily focused on build-related work. This cluster shows good success rates. typically involving multiple file changes. representing a major category of agent tasks.
Example PRs:
Cluster 9: Documentation
Size: 180 tasks (10.3% of total)
Success Rate: 78.9% (142 merged, 38 closed)
Avg Files Changed: 9.6
Avg Commits: 3.7
Avg Lines Added: 1686
Top Keywords: workflow, agentic, agentic workflow, shared, create, update, add
Characteristics: Tasks in this cluster are primarily focused on documentation-related work. This cluster shows good success rates. typically involving multiple file changes.
Example PRs:
Cluster 5: Bugfix
Size: 109 tasks (6.2% of total)
Success Rate: 66.1% (72 merged, 37 closed)
Avg Files Changed: 13.8
Avg Commits: 3.4
Avg Lines Added: 836
Top Keywords: comments, issue, section, issue_title, cli, issue_description, original
Characteristics: Tasks in this cluster are primarily focused on bugfix-related work. typically involving multiple file changes.
Example PRs:
Cluster 8: Feature
Size: 104 tasks (5.9% of total)
Success Rate: 71.2% (74 merged, 30 closed)
Avg Files Changed: 34.5
Avg Commits: 4.6
Avg Lines Added: 2214
Top Keywords: safe, safe output, output, add, outputs, create, issue
Characteristics: Tasks in this cluster are primarily focused on feature-related work. typically involving multiple file changes.
Example PRs:
Cluster 6: Build
Size: 97 tasks (5.5% of total)
Success Rate: 61.9% (60 merged, 37 closed)
Avg Files Changed: 28.7
Avg Commits: 4.6
Avg Lines Added: 3146
Top Keywords: mcp, server, mcp server, tool, github, json, safe
Characteristics: Tasks in this cluster are primarily focused on build-related work. This cluster has a lower success rate and may benefit from improved prompts. typically involving multiple file changes.
Example PRs:
@sentry/mcp-serverto 0.23.1@sentry/mcp-serverto version 0.24.0Cluster 4: Documentation
Size: 90 tasks (5.1% of total)
Success Rate: 80.0% (72 merged, 18 closed)
Avg Files Changed: 24.8
Avg Commits: 2.9
Avg Lines Added: 234
Top Keywords: version, cli, changes, package, release, update, updates
Characteristics: Tasks in this cluster are primarily focused on documentation-related work. This cluster shows good success rates. typically involving multiple file changes.
Example PRs:
Cluster 1: Refactoring
Size: 57 tasks (3.3% of total)
Success Rate: 80.7% (46 merged, 11 closed)
Avg Files Changed: 20.0
Avg Commits: 3.4
Avg Lines Added: 2274
Top Keywords: code, duplicate code, duplicate, analysis, refactoring, duplication, helper
Characteristics: Tasks in this cluster are primarily focused on refactoring-related work. This cluster has an excellent success rate. typically involving multiple file changes. representing a specialized subset of tasks.
Example PRs:
Cluster 7: Testing
Size: 54 tasks (3.1% of total)
Success Rate: 83.3% (45 merged, 9 closed)
Avg Files Changed: 14.5
Avg Commits: 3.3
Avg Lines Added: 606
Top Keywords: fix, tests, javascript, issues, workflows, test, error
Characteristics: Tasks in this cluster are primarily focused on testing-related work. This cluster has an excellent success rate. typically involving multiple file changes. representing a specialized subset of tasks.
Example PRs:
Success Rate Comparison
Recommendations
Based on the clustering analysis, here are actionable recommendations to improve agent task success rates:
Methodology
Data Collection: Analyzed 1,750 copilot agent PRs from the githubnext/gh-aw repository.
Text Processing:
Clustering Algorithm:
Metrics Analyzed:
Analysis Run: §20075254757
Beta Was this translation helpful? Give feedback.
All reactions