senpi: Command for Claude Code

.github/agent/commands/cl.md

cl is a command for Claude Code from code-yeongyu/senpi. It costs 6 tokens per session (652 once invoked), scanned A, original, MIT.

A command for checking whether recent software changes are documented in the relevant changelog. A changelog is the file that records user-visible changes between releases.

In plain words
What is it for?
Use it before a release to review commits since the last version, match changes to affected packages, and verify changelog entries for pull requests.
Why use it?
It helps catch missing release notes before publishing a new version. It also checks package-specific entries and the required format for outside contributions.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

This is code-yeongyu/senpi's own configuration. It tells Claude Code how to work on senpi itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything senpi configures →

Reuse

Borrowing it

Nothing to install: this file belongs to code-yeongyu/senpi. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/code-yeongyu/senpi/main/.github/agent/commands/cl.md
Clone the repo
git clone --depth 1 https://github.com/code-yeongyu/senpi

Made for: Claude Code.

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 cl

README.md
[![agentmods](https://agentmods.dev/badge/commands/code-yeongyu/senpi/cl/github.svg)](https://agentmods.dev/commands/code-yeongyu/senpi/cl)
Your own site
<a href="https://agentmods.dev/commands/code-yeongyu/senpi/cl"><img src="https://agentmods.dev/badge/commands/code-yeongyu/senpi/cl/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 cl

Your own site · 80×15
<a href="https://agentmods.dev/commands/code-yeongyu/senpi/cl"><img src="https://agentmods.dev/badge/commands/code-yeongyu/senpi/cl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 652 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.00006 $0.00652
Opus 5.5 $0.00002 $0.00261
Sonnet 5.5 $0.00001 $0.00130
Haiku 4.5 $0.00001 $0.00065

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

Security

Grade A, and why

cl 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 13d 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.

.github/agent/commands/cl.md · 55 lines

How it starts

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

Audit changelog entries for all commits since the last release.

Process

  1. Find the last release tag:

    git tag --sort=-version:refname | head -1
    
  2. List all commits since that tag:

    git log <tag>..HEAD --oneline
    
  3. Read every changelog in CHANGELOGS from scripts/release-changelog.mjs:

    • Read its [Unreleased] section and its blocks in changes/unreleased/*.md.
  4. For each commit, check:

    • Skip: changelog updates, doc-only changes, release housekeeping, upstream-sync merge commits themselves.
    • Skip: changes to generated model catalogs (for example packages/ai/src/models.generated.ts, packages/ai/src/image-models.generated.ts) unless accompanied by an intentional product-facing change in non-generated source/docs.
    • Determine which package(s) the commit affects (use git show <hash> --stat).
    • Verify a changelog entry exists in the affected package(s) or their pending fragment blocks.
    • For external contributions (PRs), verify format: Description ([#N](url) by [@user](url)).
  5. Cross-package duplication rule: Changes in ai, agent or tui that affect end users should be duplicated to the coding-agent changelog, since coding-agent is the user-facing package that depends on them.

  6. Report:

    • List commits with missing entries.
    • List entries that need cross-package duplication.
    • Add missing entries as package CHANGELOG.md blocks in changes/unreleased/<pr>.md, not directly under [Unreleased].

Changelog Format Reference

Sections (in order):

  • ### Breaking Changes - API changes requiring migration
  • ### Added - New features
  • ### Changed - Changes to existing functionality
  • ### Fixed - Bug fixes
  • ### Removed - Removed features

Attribution:

  • Internal: Fixed foo ([#123](https://github.com/code-yeongyu/senpi/issues/123))
  • External: Added bar ([#456](https://github.com/code-yeongyu/senpi/pull/456) by [@user](https://github.com/user))

Read the full file on GitHub · 55 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. 13d ago Changed · -3 lines ddd0ff64baf1
  2. 2mo ago First seen · 58 lines · 6 tokens per session scan A 40bde8c5d091

Subscribe to this mod's changes

cl is a command published in the GitHub repository code-yeongyu/senpi (511 stars, last pushed yesterday), licensed MIT. It adds 6 tokens to every session and 652 once invoked, about $0.0000 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-08-30.

Related

cl compared with commands from other repositories

cl next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clcode-yeongyu/senpiCommand511yesterdayMITA6Claude Code
prechoVic/blade-codeCommand18124d agoMITA3Claude Code
commitechoVic/blade-codeCommand18124d agoMITA8Claude Code
propsmill/infrahub-mcpCommand10yesterdayApache-2.0A18Claude Code
rebaseopsmill/infrahub-mcpCommand10yesterdayApache-2.0A19Claude Code
mach12:pr-mergeLeanAndMean/scramjetCommand84d agoApache-2.0A14Claude Code
mach12:pr-createLeanAndMean/scramjetCommand84d agoApache-2.0A11Claude Code