Hotmess logo

Hotmess

Organization
asynkron
hotmess

Find and explain churn hotspots and unstable code clusters in a git repo. Goes beyond a flat "most-edited files" list — auto-detects clusters by directory, by filename stem (foo.go + foo_test.go), and by co-change (files that change together) — then classifies each cluster (unstable / under-development / buggy / tightly-coupled / spec-shifting) and explains *why* it's a problem. Trigger whenever the user asks about churn, hotspots, unstable code, files that change a lot, refactoring candidates, technical debt hotspots, "what's a mess", "/hotmess", or any combination of folder + time window where they want insight rather than just numbers. Auto-detects code files when no extension is given.

Overview

Publisherasynkron
Repositoryasynkron-skills
Skill namehotmess
Stars
32
Forks
3
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by asynkron on GitHub. Read the source before you install it.

Installation

Install the Hotmess AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/asynkron/asynkron-skills/tree/main/skills/hotmess
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/asynkron/asynkron-skills.git /tmp/asynkron-skills
mkdir -p .claude/skills
cp -r /tmp/asynkron-skills/skills/hotmess .claude/skills/hotmess
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hotmess in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hotmess on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hotmess is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

hotmess

Identifies clusters of high-churn code and explains why they're problematic — not just a ranked file list. The user wants insight: which areas of the codebase are unstable, why, and what to do.

When to use

Trigger phrases: "hotmess", "hotspots", "what's churning", "unstable code", "where's the technical debt", "what's a mess in X", "/hotmess ". Always invoke for these — even if the user gives no time window or extension, fall back to sensible defaults (30 days, auto code detection).

How to run

Always invoke this skill's bundled analyzer (scripts/analyze.py, in this skill's base directory), which emits structured JSON with four signal sets. Do not reimplement git log parsing inline.

bash
"<SKILL_DIR>/scripts/analyze.py" <path> --since "<expr>" [--ext .go,.ts] [--top N] [--html /tmp/hotmess.html] [--quiet]

<SKILL_DIR> is the "Base directory for this skill" path provided when the skill is invoked. Run from inside the target git repo (or pass an absolute path; git resolves it).

Defaults: --since "30 days ago", --top 30, auto-detected code extensions.

If the user asks for a visualization, diagram, picture, "show me", chart, or graph — also pass --html /tmp/hotmess.html and then open /tmp/hotmess.html. Use --quiet together with --html if you don't need the JSON in the same call. The HTML page contains a Mermaid module map (modules colored by classification, edges = cross-directory co-change), plus collapsible tables for stems and co-change pairs.

Requires Python 3.8+ (stdlib only) and git on PATH.

Period shorthand to translate before passing to --since:

  • 7d → "7 days ago", 2w → "2 weeks ago", 1m → "1 month ago"
  • ISO date (2026-04-01) → pass through unchanged

What the JSON contains

scope        { path, since, ext, recent_window_days }
totals       { commits, files, add, del }
files[]      per file: commits, add, del, last, authors, recent_commits_7d, is_test
directories[]  aggregated per parent dir (depth 1..3): commits, add, del, files
stems[]      basename groups (foo.go + foo_test.go): members, commits, add, del, test_ratio
cochange[]   pairs of files often changed together: a, b, together, a_total, b_total, jaccard

recent_commits_7d lets you see if churn is concentrated now vs. spread across the window. test_ratio is the share of stem-group commits that hit test files. jaccard is overlap (1.0 = always change together).

How to analyze

Read the JSON and identify clusters. A cluster is a coherent group of files — usually a directory, a stem, or a co-change pair/triangle. For each meaningful cluster, classify it using the heuristics below, and explain why it matters.

Classification heuristics

Signal patternLikely classificationWhat it means
High commits, balanced add/del, multiple authors, sustained over windowInstabil / dåligt kravställdKoden skrivs om i cykler — kraven eller designen är inte stabila
High commits, mostly + lines, recent burst, 1-2 authorsUnder aktiv utvecklingPågående feature-arbete, förväntat — flagga bara om det varat länge
High commits, small commits (low avg lines), same author repeatedlyBuggigMånga små fixar — symptom på instabil logik eller dålig täckning
Stem-grupp där test_ratio > 0.45Specifikation flyttar sigTesterna ändras nästan lika mycket som koden — kraven är inte fastlagda
Co-change-par med jaccard > 0.6Tät logisk kopplingTvå filer som "alltid" ändras ihop — kanske dålig separation eller borde slås ihop
Hela mappen het (>30% av totala commits)Hotspot-modulArkitekturproblem snarare än enskilda filer — hela ansvarsområdet är instabilt
Recent burst (recent_commits_7d är majoriteten) i fil som inte är nyAkut instabilitetNågot hände nyligen — incident, refaktor, eller problem

Multiple signals stack — a cluster can be both "spec shifting" and "tightly coupled". Say so.

Output format

Don't dump the JSON. Don't list every file. Produce a short narrative report:

# Hotmess: <path> (<since>, <ext>)

<one-line summary: total commits, files, period — and the headline finding>

## Cluster 1: <name>  —  <classification>
**Files:** `a.go`, `b.go`, `c.go`  (X commits combined)
**Signal:** <the specific numbers that triggered the classification — e.g. "test_ratio 0.51, jaccard with state.go 0.75">
**Why it's a problem:** <one or two sentences explaining the consequence>
**Suggested action:** <concrete next step — split, stabilise spec, add tests, refactor coupling, etc.>

## Cluster 2: ...

## Notable individual files
(only if a single file stands out and doesn't belong to a cluster — keep to 2-3 max)

## Co-change couplings worth knowing
(only the top 3-5 jaccard pairs that aren't already covered by clusters above)

Keep it concise — aim for 4-6 clusters max. Skip anything that's clearly normal activity. The goal is signal, not exhaustiveness.

What not to do

  • Do not just print the JSON. The user asked for analysis.
  • Do not list every file. Group into clusters first.
  • Do not classify everything as "active development". That's the trivial answer — only use it when other signals don't apply.
  • Do not invent root causes you can't see. If you don't know why a file is churning, say "look at git log for context" — don't speculate about specific bugs.
  • Do not over-warn. A small new feature folder with a recent burst is fine; a long-stable file suddenly churning is not.

Why this design

  • JSON over table: the LLM needs structured signals it can correlate (test_ratio + jaccard + recent burst) — a flat table forces re-extraction.
  • Multiple signal sets: directory aggregation catches modular hotspots; stem grouping catches test/code drift; co-change catches hidden coupling. No single view sees all three.
  • Heuristics in the skill, not the script: classification is judgment — keep it in the prompt so it can adapt and combine signals, instead of hardcoding rules in code.
  • Excludes merges: merge commits inflate churn without representing real work.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Hotmess AI skill do?

Find and explain churn hotspots and unstable code clusters in a git repo. Goes beyond a flat "most-edited files" list — auto-detects clusters by directory, by filename stem (foo.go + foo_test.go), and by co-change (files that change together) — then classifies each cluster (unstable / under-development / buggy / tightly-coupled / spec-shifting) and explains *why* it's a problem. Trigger whenever the user asks about churn, hotspots, unstable code, files that change a lot, refactoring candidates, technical debt hotspots, "what's a mess", "/hotmess", or any combination of folder + time window...

Why use Hotmess on TypingMind?

Because you install it once and use it with any model. Hotmess is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hotmess in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/asynkron/asynkron-skills/tree/main/skills/hotmess. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Hotmess?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hotmess?

As many as you like. As long as a model supports skills, you can use Hotmess with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hotmess AI skill free?

It is published on GitHub by asynkron. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇