m15079hn

Congestion Control — AI skill for Claude Code

AI community

A Muse skill for keeping parallel AI agent workloads from overwhelming their host (SKILL.md format, also usable with Claude Code): signal-based congestion detection (levels 0–3), level-linked concurre.

How to install Congestion Control

This entry records only its repository, not the path inside it, so there is no exact command to give. Open m15079hn/congestion-control and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Congestion Control does

A Muse skill for keeping parallel AI agent workloads from overwhelming their host (SKILL.md format, also usable with Claude Code): signal-based congestion detection (levels 0–3), level-linked concurrency caps, and surge discipline with a local stop flag. Includes a reference implementation and a replay backtest.

Alternatives in AI

  • Invisible Dots — Open-source, self-hosted alternative to OpenAI Dots, Meta Muse, Grok Bot, Manus Cue and Claude Cowork 31.8k ★
  • Open Dots — Open-source, self-hosted AI agent workspace and alternative to OpenAI Dots, Meta Muse, Grok Bot, Instinct, Man 5.5k ★
  • Surface — Show ranked attack surface for a target from its recon manifest + hunt memory 3.8k ★

README

Congestion Control for Parallel Agents

**A Muse skill that keeps parallel AI agent workloads from overwhelming the host they run on.**

**AIエージェントの並行稼働でホストを落とさないための Muse スキル。**

The SKILL.md format is shared with Claude Code and other agent runtimes, so this skill can be used there as well.

SKILL.md形式は Claude Code や他のエージェント基盤とも共通であり、本スキルはそちらでも使える。

What this is

When you run many agents at once — subagents, background jobs, scheduled workers, resident watchers — the bottleneck is no longer how much work there is, but how much of it runs at the same time. Load spikes, memory pressure, and exhausted database connections compound, and eventually the agent itself stops responding. This skill is an operating pattern for preventing that: detect congestion early, throttle new work by stage, and protect the responsiveness of both the host and the agent.

This is not a design drawn up in the abstract. The pattern comes from an environment that actually runs this way, and the backtest below replays the incident that motivated it, so you can see when detection would have kicked in.

これは何か

サブエージェント、定期ジョブ、常駐の見張りといった仕組みを重ねていくと、ボトルネックは仕事の量ではなく、同時に走る仕事の数になる。負荷の跳ね上がり、メモリの圧迫、データベース接続の枯渇が重なると、最後にはエージェント自身が応答を返せなくなる。本スキルは、そうした事故を起きてから対処するのではなく、混雑を早い段階で検知し、段階に応じて新しい仕事の投入を絞ることで、ホストとエージェントの応答を守るための運用の型である。

机上の設計ではない。実際にこの型で運用している環境から取り出したものであり、きっかけになった事故は下記のバックテストで再生し、検知がどの時点で働いたかまで検証してある。

How it works

The system has three parts.

**1. The watcher (signal collection and level judgment).** On a fixed cycle (about three minutes in the reference implementation), the watcher collects host signals — load, free memory, the memory used by large resident processes such as a resident browser, failure rates of hooks and jobs, database-exhaustion markers, recovery-action counts — assigns a congestion level, and writes a short status brief. No single signal decides the level; it is based on combinations of signals and how long they persist.

**2. Staged levels (0–3).** There are four