Agent skill

Cycle Time Analyzer

by borghei in borghei/Claude-Skills

Flow metrics analyzer (lead time, cycle time, throughput, WIP, aging WIP) for sprint and team health, with cumulative flow diagrams.

MITAuto-check passedDevelopment

Install Cycle Time Analyzer

skills CLI
$ npx skills add borghei/Claude-Skills --skill cycle-time-analyzer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install borghei/Claude-Skills cycle-time-analyzer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/borghei/Claude-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/project-management/execution/cycle-time-analyzer .claude/skills/cycle-time-analyzer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cycle-time-analyzer
GitHub stars
881
Token cost
~1.9k tokens
SKILL.md length
899 words
Files
7 (incl. scripts, references, assets)
Skills in repo
349
Repo updated
First seen
Licence
MIT

At a glance

Flow metrics analyzer (lead time, cycle time, throughput, WIP, aging WIP) for sprint and team health, with cumulative flow diagrams.

  • Tasks that involve Diagrams
  • SKILL.md covers Overview, Core Capabilities, When to Use and When NOT to Use, plus 6 more sections
  • Runs Python scripts from its folder; calls python

What it does

Cycle Time Analyzer is an agent skill from borghei/Claude-Skills. Flow metrics analyzer (lead time, cycle time, throughput, WIP, aging WIP) for sprint and team health, with cumulative flow diagrams.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts, reference files and assets (for example `assets/flow-metrics-dashboard.md`, `examples/wayfinder-flow-analysis.md` and `references/flow-metrics-guide.md`).

It sits in Development, covering Diagrams. It works with Mermaid. The repository describes itself as: 385 AI skills, 77 expert agents, and 900 stdlib Python tools for every team: engineering, PM, marketing, C-level, compliance, business ops, research, and a LinkedIn toolkit… The licence is MIT.

When your agent uses it

  • Tasks that involve Diagrams

Example prompts

  • “/cycle-time-analyzer”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 4a698e8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cycle Time Analyzer loads about 1.9k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 38 tokens; SKILL.md has 899 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from borghei/Claude-Skills at commit 4a698e8, republished under its MIT licence (© borghei). 899 words, ~1,936 tokens.

Download SKILL.mdSave it as .claude/skills/cycle-time-analyzer/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
cycle-time-analyzer
description
Flow metrics analyzer (lead time, cycle time, throughput, WIP, aging WIP) for sprint and team health, with cumulative flow diagrams.
license
MIT + Commons Clause
metadata.version
1.0.1
metadata.author
borghei
metadata.category
project-management
metadata.domain
pm-execution
metadata.updated
2026-06-15
metadata.python-tools
flow_metrics.py
metadata.tech-stack
kanban, flow-metrics, cfd, littles-law, aging-wip

Cycle Time Analyzer (Flow Metrics)

Overview

Compute and visualize the four core Kanban flow metrics -- lead time, cycle time, throughput, and work-in-progress -- from issue history data exported from Jira, Linear, GitHub Projects, or any tracker that records status transitions. The output is a dashboard suitable for sprint retrospectives, executive reporting, and bottleneck analysis, plus a Mermaid cumulative flow diagram that visualizes work accumulation over time.

Flow metrics are the most useful diagnostic for team and process health, far more so than velocity or story points. Daniel Vacanti's work (Actionable Agile Metrics for Predictability, 2015) shows that predictability and throughput are governed by Little's Law (Throughput = WIP / Cycle Time), and that the most reliable way to improve delivery is to lower WIP and stabilize cycle time -- not to estimate harder. This skill also reports aging WIP (in-flight work older than the team's 85th-percentile cycle time -- the items most at risk) and supports the shared --format schema (json, markdown, mermaid, confluence, notion, linear).

Core Capabilities

  • Four flow metrics — lead time, cycle time (as a distribution, never an average), throughput, and WIP, tied together by Little's Law.
  • Aging WIP — flags in-flight items older than the 85th-percentile cycle time as at-risk; the most actionable daily metric.
  • Cumulative flow diagram — Mermaid CFD for retrospectives and exec reports.
  • Per-type filtering & trends — bug/feature/spike breakdowns over rolling 6-8 week windows across all six output formats.

When to Use

  • Sprint retrospective -- A team wants data-driven discussion of why some sprints feel slow.
  • Bottleneck investigation -- Throughput has fallen and the team needs to identify the constraining step.
  • Quarterly delivery review -- Leadership wants a real picture of delivery performance beyond story-point velocity.
  • Predictability analysis -- Stakeholders want delivery forecasts grounded in actual cycle time distributions (use with Monte Carlo via scrum-master/).
  • WIP-limit calibration -- A Kanban team is setting WIP limits and needs a baseline of current behavior.

When NOT to Use

  • For story-point velocity tracking, use scrum-master/velocity_analyzer.py.
  • For sprint capacity calculation, use scrum-master/sprint_capacity_calculator.py.
  • For per-person performance evaluation -- flow metrics are team-level signals; using them to rank individuals destroys the team behavior they measure.

Clarify First

Before running the analysis, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • Issue history with status transitions — per-item timestamps for when work started and finished (every metric is derived from these; missing transitions invalidate the numbers)
  • Workflow states that count as "in progress" vs "done" — your board's actual status names (defines where cycle time starts/stops, which changes every result)
  • Analysis window — the rolling period (e.g. last 6-8 weeks) and any type filter (scopes throughput trend and which in-flight items are flagged as aging WIP)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Quick Start

bash
python scripts/flow_metrics.py --input issues.json --format markdown   # full dashboard
python scripts/flow_metrics.py --input issues.json --format mermaid     # cumulative flow diagram
python scripts/flow_metrics.py --demo --format markdown                 # sample output, no input

Review the 85th-percentile cycle time (not the average), flag aging WIP that exceeds it, and re-run weekly to track the trend. See references/metrics-and-tool-reference.md for the full workflow, CLI flags, and JSON schemas.

Tools

ToolPurposeCommand
flow_metrics.pyCompute lead time, cycle time, throughput, WIP, aging WIP, CFDpython scripts/flow_metrics.py --input issues.json --format markdown
Show full SKILL.md (383 more words)Show less

References

  • references/metrics-and-tool-reference.md -- Precise definitions of the four metrics, Little's Law, aging WIP, the 7-step workflow, troubleshooting matrix, success criteria, and the full flow_metrics.py CLI flags + input/output JSON schemas. Read when running an analysis or wiring up the tool.
  • references/flow-metrics-guide.md -- Vacanti-style deep dive: lead vs cycle, distributions vs averages, Little's Law, aging WIP, common anti-patterns. Read for narrative depth and tracker-specific export instructions.
  • references/red-flags.md -- Bad-vs-good examples of flow-metric reporting. Read this to sanity-check a dashboard before sharing it.
  • Vacanti, Daniel S. Actionable Agile Metrics for Predictability. ActionableAgile Press, 2015.
  • Vacanti, Daniel S. When Will It Be Done? ActionableAgile Press, 2020.
  • Little, John D. C. "A Proof for the Queuing Formula: L = λW." Operations Research, 1961.
  • Anderson, David J. Kanban: Successful Evolutionary Change for Your Technology Business. Blue Hole Press, 2010.

Scope & Limitations

In Scope:

  • Lead time, cycle time, throughput, WIP, aging WIP calculation
  • Cumulative flow diagram generation (Mermaid)
  • Per-type filtering (bug, feature, spike)
  • All six output formats per SHARED_OUTPUT_SCHEMA.md

Out of Scope:

  • Monte Carlo delivery forecasting (use scrum-master/velocity_analyzer.py)
  • Story-point velocity (use scrum-master/)
  • Resource capacity planning (use senior-pm/resource_capacity_planner.py)
  • Code-level metrics (PR review time, deploy frequency -- use DevOps-focused tools)

Important Caveats:

  • Flow metrics depend on accurate status transitions. If your team batch-updates the board once a day, the cycle time data will be discretized by that batch interval.
  • A team that gamifies flow metrics will produce better-looking numbers without changing real delivery. Use these metrics as a diagnostic, not a target. (Goodhart's Law.)
  • Cycle time is a team property, not an individual property. Resist the urge to compute per-assignee cycle time -- it will incentivize hand-offs that hurt the team.
  • AI-assisted teams: faster coding often shifts the wait into review and test states. Watch time-in-review and aging WIP there, not just total cycle time, and pair flow metrics with DORA rework rate. See the "AI-Assisted Delivery" sections in delivery-manager/ and scrum-master/.

Integration Points

IntegrationDirectionWhat Flows
scrum-master/ComplementaryFlow metrics + velocity together provide the full delivery picture
scrum-master/retrospective_analyzer.pyFeeds intoFlow trends inform retro topics
dependency-map/ComplementaryLong cycle times often correlate with cross-team dependencies
sprint-retrospective/Feeds intoCFD and aging WIP are standard retro inputs
senior-pm/project_health_dashboard.pyFeeds intoThroughput trends feed portfolio health
status-update-generator/Feeds intoWeekly status includes throughput and aging WIP highlights
agile-coach/Used byCoaches use flow metrics to assess team maturity

© borghei, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references, assets) in project-management/execution/cycle-time-analyzer of borghei/Claude-Skills.

  • SKILL.md
  • assets/flow-metrics-dashboard.md
  • examples/wayfinder-flow-analysis.md
  • references/flow-metrics-guide.md
  • references/metrics-and-tool-reference.md
  • references/red-flags.md
  • scripts/flow_metrics.py

Open the folder on GitHubat commit 4a698e8

Compare with similar skills

Cycle Time Analyzer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cycle Time Analyzer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cycle Time Analyzer this skillborghei/Claude-Skills881—~1.9kAutomated safety check: PassMIT
Diagram Designkdlbs/kandev9091 repos~8kAutomated safety check: PassMIT
Write Brddigoal/blog8.6k—~1.4kAutomated safety check: PassGPL-2.0
Archify Diagramstt-a1i/archify79k—~2.9kAutomated safety check: PassMIT
Diagram Designcathrynlavery/diagram-design45k1 repos~7.5kAutomated safety check: PassMIT
Draw.io Diagram StudioAgents365-ai/drawio-skill10k—~2.4kAutomated safety check: NotesMIT

Similar skills

  • Diagram Design

    kdlbs/kandev

    Create branded architecture, IT current-state, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar/spider, polar chart (polar/radial lollipop), loop/flywheel…

    909 GitHub starsUsed in 1 repo~8k tokens
    DevelopmentAuto-check passed
  • Write Brd

    digoal/blog

    Write a practical Business Requirements Document (BRD) from a product idea, feature concept, customer request, business problem, or rough product opportunity.

    8.6k GitHub stars~1.4k tokensUpdated 10 days ago
    DevelopmentAuto-check passed
  • Archify Diagrams

    tt-a1i/archify

    Creates interactive architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone HTML with inline SVG, themes and image or video export.

    79k GitHub stars~2.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    45k GitHub starsUsed in 1 repo~7.5k tokens
    DevelopmentAuto-check passed
  • Draw.io Diagram Studio

    Agents365-ai/drawio-skill

    Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.

    10k GitHub stars~2.4k tokensUpdated 6 days ago
    DevelopmentAuto-check: notes
  • Code Graph Mermaid Diagrams

    trailofbits/skills

    Official

    Generates Mermaid diagrams from Trailmark code graphs, including call graphs, class hierarchies, module dependency maps, complexity heatmaps and attack surface data flows.

    7.4k GitHub starsUsed in 1 repo~1.7k tokens
    DevelopmentAuto-check passed

More from borghei/Claude-Skills

All 349 skills in this repo
  • Agents In The Team

    borghei/Claude-Skills

    Run delivery when AI coding and ops agents take tickets. An agent skill from borghei/Claude-Skills.

    881 GitHub stars~4.2k tokensUpdated yesterday
    Auto-check passed
  • AI Content Disclosure

    borghei/Claude-Skills

    Check AI-generated marketing content and reviews for required disclosures under the EU AI Act, FTC rules and platform AI-label policies.

    881 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • AI Prototyping

    borghei/Claude-Skills

    Idea to AI-generated prototype to customer validation to engineering handoff.

    881 GitHub stars~3.6k tokensUpdated yesterday
    Auto-check passed
  • Analytics Engineer

    borghei/Claude-Skills

    Analytics engineering across data modeling, dbt, transformation, and semantic layers.

    881 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Ansoff Matrix

    borghei/Claude-Skills

    Ansoff Matrix — 4-quadrant framework for growth options: market penetration, market/product development, and diversification.

    881 GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed
  • Brainstorm Okrs

    borghei/Claude-Skills

    OKR brainstorming and validation using the Radical Focus framework — outcome objectives, measurable key results, counter-metrics.

    881 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Cycle Time Analyzer

What does Cycle Time Analyzer do?

Flow metrics analyzer (lead time, cycle time, throughput, WIP, aging WIP) for sprint and team health, with cumulative flow diagrams. Cycle Time Analyzer is an agent skill from borghei/Claude-Skills. Flow metrics analyzer (lead time, cycle time, throughput, WIP, aging WIP) for sprint and team health, with cumulative flow diagrams.

When should I use Cycle Time Analyzer?

Cycle Time Analyzer fits situations like: tasks that involve Diagrams.

How do I install Cycle Time Analyzer in Claude Code?

Run `npx skills add borghei/Claude-Skills --skill cycle-time-analyzer -a claude-code`. Or copy the skill folder (project-management/execution/cycle-time-analyzer in borghei/Claude-Skills) into .claude/skills/cycle-time-analyzer in your project. Claude Code loads it when a task matches its description.

How do I install Cycle Time Analyzer in Codex?

Run `npx skills add borghei/Claude-Skills --skill cycle-time-analyzer -a codex`. Or copy the skill folder (project-management/execution/cycle-time-analyzer in borghei/Claude-Skills) into .agents/skills/cycle-time-analyzer in your project. Codex loads it when a task matches its description.

Can I use Cycle Time Analyzer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add borghei/Claude-Skills --skill cycle-time-analyzer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cycle-time-analyzer, .gemini/skills/cycle-time-analyzer, .github/skills/cycle-time-analyzer and .opencode/skills/cycle-time-analyzer in your project.

What does Cycle Time Analyzer need to run?

Going by SKILL.md and its folder, Cycle Time Analyzer needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Cycle Time Analyzer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cycle Time Analyzer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Cycle Time Analyzer use?

Cycle Time Analyzer is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cycle Time Analyzer use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.7k tokens, read only when the agent opens those files.

What are the alternatives to Cycle Time Analyzer?

Skills that share tags, products or a category with Cycle Time Analyzer: Diagram Design (kdlbs/kandev, 909 stars), Write Brd (digoal/blog, 8.6k stars), Archify Diagrams (tt-a1i/archify, 79k stars) and Diagram Design (cathrynlavery/diagram-design, 45k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cycle Time Analyzer?

borghei (a GitHub user) maintains it in borghei/Claude-Skills, which has 881 GitHub stars. The repository holds 349 skills in this directory. The repository was last updated on October 7, 2026.

Source: borghei/Claude-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.