M3E: Skill for Claude Code

.claude/skills/beta-converse/SKILL.md

beta-converse is a skill for Claude Code from akaghef/M3E. It costs 194 tokens per session (1,928 once invoked), scanned A, original, MIT.

A Git workspace cleanup tool that gathers commits, branches, and worktrees back into the dev-beta branch. A worktree is a separate working directory connected to another Git branch.

In plain words
What is it for?
Use it to commit pending changes, merge suitable branches, remove obsolete worktrees and branches, and push dev-beta.
Why use it?
It helps remove leftover branches and directories after parallel development while leaving unfinished or conflicting work for review. It also keeps the target branch and remote repository up to date.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is akaghef/M3E's own configuration. It tells Claude Code how to work on M3E 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 M3E configures →

View source ↗ akaghef/M3E
Reuse

Borrowing it

Nothing to install: this file belongs to akaghef/M3E. 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/akaghef/M3E/main/.claude/skills/beta-converse/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/akaghef/M3E

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 beta-converse

README.md
[![agentmods](https://agentmods.dev/badge/skills/akaghef/m3e/beta-converse/github.svg)](https://agentmods.dev/skills/akaghef/m3e/beta-converse)
Your own site
<a href="https://agentmods.dev/skills/akaghef/m3e/beta-converse"><img src="https://agentmods.dev/badge/skills/akaghef/m3e/beta-converse/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 beta-converse

Your own site · 80×15
<a href="https://agentmods.dev/skills/akaghef/m3e/beta-converse"><img src="https://agentmods.dev/badge/skills/akaghef/m3e/beta-converse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 194 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,928 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.00194 $0.01928
Opus 5.5 $0.00078 $0.00771
Sonnet 5.5 $0.00039 $0.00386
Haiku 4.5 $0.00019 $0.00193

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

Security

Grade A, and why

beta-converse 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 5d 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.

.claude/skills/beta-converse/SKILL.md · 182 lines

How it starts

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

beta-converse — dev-beta 収束スキル

開発セッション中に散らばったコミット・ブランチ・ワークツリーを dev-beta に収束させ、 ワークスペースをクリーンな状態にする。

ゴール

  1. dev-beta 上の未コミット変更 → コミット
  2. マージ可能な作業ブランチ → dev-beta にマージ
  3. 不要なワークツリー → 削除
  4. 不要なブランチ(ローカル+リモート) → 削除
  5. dev-beta を origin に push

実行フロー

Step 0: 状況把握

まず全体像を把握する。以下を並列で実行:

git status --short
git branch --sort=-committerdate
git worktree list
git log --oneline -5

結果をユーザーに見せ、これから何をするか概要を示す。

Step 1: dev-beta の未コミット変更をコミット

dev-beta ブランチに未コミット変更がある場合:

  1. git status で変更内容を確認
  2. git diff と git diff --cached で内容を把握
  3. 変更をステージング(beta/, .claude/skills/, docs/ 等をグループ分け)
  4. 適切なコミットメッセージでコミット

コミットは内容ごとにまとめる。全部を一つの巨大コミットにしない。 ただし過度に細かく分けすぎない — 2〜3コミットが目安。

final/ 配下の変更は launch-final スキルの管轄なので、beta-converse ではコミットしない。 ユーザーに「final/ の変更は /launch-final で処理してください」と伝える。

Step 2: 作業ブランチの棚卸し

ローカルブランチを一覧し、3つに分類する:

分類 条件 アクション
マージ済み dev-beta に既にマージされている 削除
マージ可能 dev-beta から分岐、コンフリクトなし ユーザーに確認後マージ
保留 コンフリクトあり or 作業途中 そのまま残す。ユーザーに報告

分類の手順:

# マージ済みブランチ一覧
git branch --merged dev-beta

# 各ブランチとdev-betaの差分を確認
git log dev-beta..<branch> --oneline

保護ブランチ(削除しない / /setrole 規定ブランチ): main, dev-beta, dev-visual, dev-data, dev-data2, dev-team

Step 2b: 規定外ブランチの強制整理(既定動作)

beta-converse 起動時は、ユーザーに明示指示されなくても以下を実行する。 削除対象一覧を提示し確認を取った上で実行する(確認なしで削除はしない)。

  1. 保護ブランチ以外のローカル・リモート・ワークツリーを全削除
    • 未マージでもマージ不能でも削除対象(対応 PR が close 済なら安全)
    • マージ不能な open PR は先に gh pr close <n> --comment "..." する
    • ワークツリーは git worktree remove --force <path> で強制削除
  2. 保護ブランチ(role branches)を origin/dev-beta に強制同期
    • 各 role branch で git reset --hard origin/dev-beta → git push --force-with-lease
    • rebase でコンフリクトが出る commit は close 済 PR の残骸なので捨ててよい
  3. 結果として git branch -r は 6 本(main + dev-beta + 4 role)のみになる

Step 3: ワークツリーの掃除

git worktree list

ワークツリーは .claude/worktrees/ 配下にある。

  1. ワークツリーのブランチが既に dev-beta にマージ済み → git worktree remove <path>
  2. ワークツリーに未コミット変更がある → ユーザーに報告(勝手に消さない)
  3. ワークツリーのブランチが保留 → そのまま残す

Read the full file on GitHub · 182 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. 5d ago First seen · 182 lines · 194 tokens per session scan A d5c43f51af8b

Subscribe to this mod's changes

beta-converse is a skill published in the GitHub repository akaghef/M3E (11 stars, last pushed 5d ago), licensed MIT. It adds 194 tokens to every session and 1,928 once invoked, about $0.0008 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-10-02.