housekeep-gates

housekeep-gates is a skill for Claude Code from kensaurus/cursor-kenji. It costs 64 tokens per session (1,914 once invoked), scanned A, original, MIT.

A workflow for combining several continuous-integration checks into one required quality check. Continuous integration, or CI, runs automated checks when code changes.

In plain words
What is it for?
It helps consolidate lint, test, and other repository gates into one aggregator job while preserving the existing enforcement.
Why use it?
It removes confusion caused by duplicate checks and makes it clear which single check controls whether a change can be merged.

Skill for Claude Code

Written for Claude Code: effort in frontmatter.

Part of the cursor-kenji plugin — 132 skills, 63 commands, 6 agents, 1 hook, 3 MCP servers shipped together

Good fit It helps consolidate lint, test, and other repository gates into one aggregator job while preserving the existing enforcement.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kensaurus/cursor-kenji/housekeep-gates
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kensaurus/cursor-kenji --skill housekeep-gates
Clone the repo
git clone --depth 1 https://github.com/kensaurus/cursor-kenji

Made for: Claude Code.

Or install cursor-kenji, the plugin that ships this one along with the rest of its 132 skills, 63 commands, 6 agents, 1 hook, 3 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for housekeep-gates

README.md
[![agentmods](https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/housekeep-gates/github.svg)](https://agentmods.dev/skills/kensaurus/cursor-kenji/housekeep-gates)
Your own site
<a href="https://agentmods.dev/skills/kensaurus/cursor-kenji/housekeep-gates"><img src="https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/housekeep-gates/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for housekeep-gates

Your own site · 80×15
<a href="https://agentmods.dev/skills/kensaurus/cursor-kenji/housekeep-gates"><img src="https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/housekeep-gates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,914 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.01914
Opus 5.5 $0.00026 $0.00766
Sonnet 5.5 $0.00013 $0.00383
Haiku 4.5 $0.00006 $0.00191

Measured 1mo ago against content hash fb309d64c60b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

housekeep-gates scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/housekeep-gates/SKILL.md · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

housekeep-gates — One required check, defined in code

Degree of freedom: MIXED — T1 is the priority. Mapping and winner confirmation [HIGH freedom]; aggregator needs: + skip-fail, loser deletion, branch-protection, and Phase 4 probes [LOW freedom — run exactly]. Net enforcement strictly ≥ before.

Apply-now. audit-gate-logic mapped the sprawl and named a winner per duplicate cluster; this makes the repo match the map. Target state: one required check in branch protection, backed by an aggregator job that needs: every real gate — so "what blocks merge" has exactly one answer, in one file.

Every retirement is proven safe before deletion. Never weaken enforcement while consolidating. Net enforcement strictly ≥ before.

This is the execution arm of audit-gate-logic, the same way housekeep-design executes plan-uiux-unification.

This skill vs neighbors

Skill Owns
housekeep-gates (this) Consolidate / delete / wire the aggregator
audit-gate-logic Read-only map — bypass, ratchets, archaeology
audit-cicd Pipeline cost, speed, storage
workflow-quality-gate Runs the pre-release sweep
enhance-agent-guardrails Installs new guard classes, not accreted-gate cleanup
workflow-green-repo Make the repo green — does not redesign the gate graph
housekeep-backlog Parked-work register — not CI gates
housekeep-dead-code Owns the dead-code --max-issues ratchet that joins this aggregator

How to reason

  1. Observe — archaeology map: cluster, winner, loser, current required checks
  2. Interpret — would deleting this loser drop unique coverage?
  3. Classify — port-then-delete / keep / not-yet-mapped
  4. Severity — deleting the only server-side-enforced gate is a regression

Worked example

Observe: two lint jobs; old lint.yml is required; new ci.yml lint is not. paths: skips .github/**. Interpret: retiring lint.yml without porting + aggregator skip-fail would let a workflow edit merge unlinted. Classify: port unique rules, wire winner, delete loser; probe the skip path. Probe: change matching the old skip filter → aggregator must go red, not skip-green.

Read the full file on GitHub · 175 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -16 tokens per session fb309d64c60b
  2. 1mo ago Changed · +1 lines b14f432cd7bb
  3. 1mo ago First seen · 174 lines · 80 tokens per session scan A 79eb61778f8a

Subscribe to this mod's changes

housekeep-gates is a skill published in the GitHub repository kensaurus/cursor-kenji (9 stars, last pushed 27d ago), licensed MIT. It adds 64 tokens to every session and 1,914 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

commit

Generate a conventional commit message for staged changes.

jaansokk/cursor_tools · 10 tokens

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

Automate repository triage and recurring repo maintenance with guarded GitHub agent workflows

Use GitHub Agentic Workflows to let an agent triage issues, inspect CI failures, or deliver scheduled repository upkeep inside GitHub Actions with explicit workflow definitions and reviewable runs. This is for bounded, repeatable repository operations, not for listing GitHub as a general coding platform.

agentskillexchange/skills · 74 tokens

Advance GitOps app manifests to newer container tags with Argo CD Image Updater

Track approved container images and write back the matching GitOps manifest changes instead of hand-editing tags across Argo CD applications.

agentskillexchange/skills · 42 tokens

ci-cd-pipelines

Provides CI/CD pipeline structure, a GitHub Actions CI template, deployment gates, and an optimization checklist; use when designing GitHub Actions workflows, optimizing pipeline speed, or implementing deployment gates.

sawrus/agent-guides · 44 tokens

git-sync-workspace

Sync every git repo in a Cursor multi-root workspace to its remote default branch: discover roots, preflight each repo, fetch --all --prune, checkout default, pull --ff-only. Skips dirty or unsafe repos with a clear report. Use for "sync workspace", "update all repos", "back to main", or reset workspace repos to…

emaraschio/cursor-commands · 85 tokens