skill-optimizer

Analyze past session execution logs to identify bottlenecks and optimization opportunities.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/rollrat/.skills --skill skill-optimizer-rollrat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-optimizer
Source: https://github.com/rollrat/.skills/tree/main/skill-optimizer
Command: npx skills add https://github.com/rollrat/.skills --skill skill-optimizer-rollrat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill analyzes the execution flow of the previous session to identify inefficiencies such as bottlenecks, redundant calls, and error retries, and proposes specific optimization measures.

Core Features & Use Cases

  • Timeline Reconstruction: Reconstructs the execution flow and time spent at each step.
  • Inefficiency Detection: Identifies patterns like error retries, duplicate calls, and opportunities for parallelization.
  • Optimization Proposals: Suggests concrete improvements with Before/After examples.
  • Skill File Updates: Recommends modifications to relevant skill files if applicable.

Quick Start

Run /skill-optimizer to analyze the current conversation history for optimization opportunities.

Frequently Asked Questions about skill-optimizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect performance bottlenecks in my session execution flow?

Performance bottleneck detection analyzes past session execution logs to identify redundant operations, error retries, and time sinks. It reconstructs execution timelines to pinpoint exactly where workflow inefficiencies occur.

What is session timeline reconstruction and how does it improve workflow?

Session timeline reconstruction rebuilds past execution flows by mapping time spent at each operational step. This detailed breakdown categorizes inefficiencies by impact, enabling targeted workflow improvement and code modifications.

How do I find redundant operations and error handling patterns in tool call history?

Redundant operations and error handling patterns are identified by analyzing tool call history within the current conversation context. The analysis detects duplicate calls and error retries to propose concrete optimization strategies.

Can I optimize session execution flow without external dependencies?

Yes, session execution optimization operates entirely within the current conversation context using built-in scripts and references. It requires no external dependencies to analyze tool call history and suggest workflow modifications.

What's the best way to get concrete optimization proposals for code and workflow modifications?

The best way to get optimization proposals is to analyze the execution flow of the previous session. This generates concrete Before/After examples and recommends specific modifications to relevant skill files.

When should I not use session execution flow analysis for performance optimization?

Session execution flow analysis is not suitable for real-time performance monitoring or single-step tasks. It requires a sufficiently long conversation history with multiple tool calls to identify meaningful inefficiency patterns.