Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

close-flaky-issues

Skill by ClickHouse

Closes open flaky test issues in the ClickHouse repository once their tests have no failures on master. It checks CI history from play.clickhouse.com and git log to link fixes.

  • Score 86
  • 51k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install close-flaky-issues

Built from the published package, never by AI.

git clone --depth 1 https://github.com/ClickHouse/ClickHouse /tmp/ClickHouse && mkdir -p ~/.claude/skills && cp -r /tmp/ClickHouse/.claude/skills/close-flaky-issues ~/.claude/skills/close-flaky-issues

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install close-flaky-issues in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill audits open "flaky test" issues in the ClickHouse/ClickHouse GitHub repository. It reads each issue's test name, then runs one batch query against the public checks table on play.clickhouse.com. Tests with no failures on master inside a threshold window (default 14 days) become close candidates.

For each candidate, the skill searches git log for a related fix commit and prints a table of what will close and what stays open. It then closes the issues with a comment naming the fix, the last failure date, or noting that the CI bot will reopen the issue if the test fails again. A dry-run option stops before any issue is closed. The source is written for ClickHouse maintainers who handle these auto-generated issues.

Written from the project's SKILL.md and checked against it.

What it can do

  • List open flaky test issuesFetches open issues labelled "flaky test" from the ClickHouse repository using the gh CLI.
  • Query CI failure historyRuns one batch query on play.clickhouse.com to count master failures per test over 7, 14, 30 and 90 days.
  • Categorize close candidatesMarks an issue as a close candidate when its test has zero failures in the chosen threshold window.
  • Find fix commitsSearches git log for fix commits and recent edits to the test file, on a best-effort basis.
  • Print scope tableShows which issues will close, with any linked fix commit, and which stay open with their failure count.
  • Close issues with a commentRuns gh issue close with a comment that names the fix or the last failure date.
  • Dry run modePrints the candidate table and stops without calling gh issue close when the dry-run argument is passed.
  • Summary reportReports how many issues were closed with or without a fix, how many remain open, and high-frequency failures.

What you need

  • GitHub CLI (gh) with access to the ClickHouse/ClickHouse repository
  • jq
  • curl with access to play.clickhouse.com
  • Git repository with origin/master available

Try asking

  • Run close-flaky-issues with a 30-day threshold in dry-run mode.
  • Close flaky test issues whose tests have had no master failures in 14 days.
  • Summarize which open flaky test issues still failed on master this week.

Good to know

  • Only closes issues. It never edits issue bodies or labels, and it does not reopen manually closed issues.
  • Written for the ClickHouse/ClickHouse repository and the play.clickhouse.com checks table.
  • Some candidates close without a linked fix commit because the fix may come from infrastructure changes.
  • Relies on the CI bot to reopen an issue if its test fails again on master.

Security check

B
  • Allowed to use Bash without limitsIn SKILL.md

Checked automatically: .claude/skills/close-flaky-issues/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: BashReadGrepGlob

  • SKILL.md8 KB

Alternatives to close-flaky-issues

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

close-flaky-issues: common questions

Does this skill close GitHub issues automatically?

Yes. Unless the dry-run argument is passed, it closes candidate issues with a comment and does not ask for approval first. The source says the user already authorized closing by invoking the skill.

How does it decide a flaky test is fixed?

It counts failures on master in CI history from play.clickhouse.com over a threshold window, default 14 days. An issue is a close candidate only when that count is zero.

What happens if a closed test fails again?

The source says the CI bot reopens the issue automatically if the test fails again on master.

How do I install close-flaky-issues?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is close-flaky-issues free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is close-flaky-issues safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.

What are alternatives to close-flaky-issues?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

close-flaky-issues Install

Add to stack

Loading.