Borrowing it
Nothing to install: this file belongs to fadwen/Powershell-Copilot-Standards. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/fadwen/Powershell-Copilot-Standards/main/.github/prompts/performance-analysis.prompt.mdgit clone --depth 1 https://github.com/fadwen/Powershell-Copilot-StandardsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/fadwen/powershell-copilot-standards/performance-analysis)<a href="https://agentmods.dev/commands/fadwen/powershell-copilot-standards/performance-analysis"><img src="https://agentmods.dev/badge/commands/fadwen/powershell-copilot-standards/performance-analysis/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/fadwen/powershell-copilot-standards/performance-analysis"><img src="https://agentmods.dev/badge/commands/fadwen/powershell-copilot-standards/performance-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00005 | $0.00377 |
| Opus 5.5 | $0.00002 | $0.00151 |
| Sonnet 5.5 | $0.00001 | $0.00075 |
| Haiku 4.5 | $0.00001 | $0.00038 |
Grade A, and why
performance-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Perform comprehensive performance analysis of PowerShell code in ${fileBasename}:
Analysis Parameters:
- Analysis Scope: ${input:analysisScope:Single function,Module,Entire script}
- Performance Metrics: ${input:metrics:Execution time,Memory usage,CPU utilization,All}
- Baseline Environment: ${input:baseline:Development,Production,Benchmarking}
- Comparison Target: ${input:target:Current best practice,Industry standard,Previous version}
Code Under Analysis:
${selection}
Performance Assessment:
-
Execution Profiling
- Line-by-line execution time analysis
- Bottleneck identification with specific line numbers
- Algorithm complexity assessment (O-notation)
-
Memory Analysis
- Memory allocation patterns
- Garbage collection impact
- Memory leak detection
- Object lifecycle management
-
Resource Utilization
- CPU usage patterns
- I/O operation efficiency
- Network call optimization
- Database query performance (if applicable)
-
Scalability Testing
- Performance with dataset sizes: 10, 100, 1000, 10000 items
- Concurrent execution capabilities
- Resource exhaustion thresholds
Deliverables:
- Performance benchmark results with specific metrics
- Optimization recommendations with priority ranking
- Code examples showing improvements with estimated gains
- Test scripts for ongoing performance monitoring
- Integration with .\Troubleshooting\Performance\ documentation
Metrics Focus: Prioritize ${input:metrics} for ${input:baseline} environment against ${input:target} benchmarks.
Generate actionable performance optimization plan for ${workspaceFolderBasename} project.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 57 lines · 5 tokens per session scan A df20624fc8d7
performance-analysis is a command published in the GitHub repository fadwen/Powershell-Copilot-Standards (19 stars, last pushed 1mo ago), licensed MIT. It adds 5 tokens to every session and 377 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-16.
Other commands, from other repositories
dashboard
Creates a fully interactive HTML dashboard from any Power BI model connected via MCP. Output: a standalone .html file with 12 KPI cards, sparklines, and sentiment charts.
sql-developer
Comprehensive SQL Server development assistance for T-SQL queries, stored procedures, performance tuning, and code review with Microsoft documentation verification.
powershell-developer
Comprehensive PowerShell development assistance for scripts, modules, GUIs, and Windows automation with Microsoft best practices verification.
swift-developer
Comprehensive Swift development assistance for iOS/macOS apps, Swift packages, SwiftUI, Swift 6 concurrency, and code review with Apple documentation verification.
rust-developer
Comprehensive Rust development assistance for systems programming, async applications, web services, and CLI tools with Rust documentation verification.
close-studio-pro
Gracefully close Mendix Studio Pro + its children (runtime, MxBuild, Java helpers) and clean up orphan toolchain from a previous crash. Sends WMCLOSE first; reports counts of what was closed. Default project: TestOSApp3 testbed; default port: 8082.