traffic-light
by Bakhtiyar Ospanov · ★ 0 · updated 2 days ago
A band above the prompt says whether the session's work is done: green once its PR is merged into an integration branch and that push's pipeline passed, yellow while it waits on the PR or the pipeline, red when it needs you.
Install
/plugin marketplace add bahaospanov/skills/plugin install traffic-light@bahaospanovThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runprompt.submitturn.startturn.completeclassic.PermissionRequesttool.callui.render- API calls
$.clock.after$.clock.every$.clock.now$.command.register$.process.run$.session.cwd$.state.get$.state.set$.ui.resolve- Draws
AbovePrompt- Can see
every promptclassic hooksevery tool call- Reach
- level 2 of 3 runs processesreads mod statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/bahaospanov/skills
- Path in repo
traffic-light- Source commit
07147d8the exact code the scan read- Author
- Bakhtiyar Ospanov @bahaospanov
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from bahaospanov/skills
close-countdown
bahaospanov/skills
A Herdr pane counts down before it closes: the agent calls close_pane_later, a band above the prompt shows the seconds left, and a typed message, Keep open or /keep-open cancels it while Close now closes it at once.
git-cleanup
bahaospanov/skills
Cleans up after merged work, once it shipped: removing a branch needs git, the forge or the user to say it merged; removing it or filling in its issue waits for the pipeline holding it to pass; merged, clean work is removed at the end of the turn, with one line saying what went.
git-gates
bahaospanov/skills
Gates git work on the user's word: no commit, push, MR opening or merge without their say-so in the current turn, a protected branch named, a grant for a commit per task; a negated keyword does not count.
git-tidy
bahaospanov/skills
Keeps git history tidy: commit messages in Conventional Commits with no Claude credit, then a Haiku review of the body; a push to a branch that already landed is refused; an MR whose branch lacks the target's latest commit is refused; a pushed series must leave the project working at every commit; follow-up commits and MRs carrying several features are held for the user.
issue-first
bahaospanov/skills
Feature work starts from an issue, and each commit names its own: a feat commit naming none is refused until Claude finds the issue, drafts one the user agrees to, or the user says it needs none; a commit whose subject does not end with the issue the user or the branch named gets a suggestion.
lean-comments
bahaospanov/skills
Comments worth keeping: limit-edits flags comment-heavy edits, limit-turns shows a one-line notice when a turn's diff adds too many comments.
lean-docs
bahaospanov/skills
Docs worth keeping: docs-review asks Haiku whether new text will be read again, docs-no-repeat-code flags lines that may restate code, limit-docs shows a one-line notice when a turn adds too much prose.
lean-scripts
bahaospanov/skills
Scripts worth keeping: scripts-review asks Haiku whether a new script could just be typed again when needed.