skanehira

Claude Vime — Git skill for Claude Code

Git community

Claude Code のプロンプト欄で、vime.nvim と同じ方法でローマ字入力で日本語を入力する mod です.

How to install Claude Vime

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

What Claude Vime does

[Claude Code](https://claude.com/claude-code) のプロンプト欄で、[vime.nvim](https://github.com/skanehira/vime.nvim) と同じ方法でローマ字入力で日本語を入力する mod です。

Alternatives in Git

  • Claude Code PR Watch — Claude Code mod: a live pane of the GitHub PRs a session opens or pushes to — CI, review, conflicts, merge — w 3 ★
  • Termcontrol.Nvim — Drive any running terminal in Neovim — send text, send keystrokes, scroll — without focusing it 2 ★
  • Claude Code File Explorer — A file manager pane for Claude Code: colored tree, editable code, Git and PR diff, search 2 ★

README

claude-vime

[Claude Code](https://claude.com/claude-code) のプロンプト欄で、[vime.nvim](https://github.com/skanehira/vime.nvim) と同じ方法でローマ字入力で日本語を入力する mod です。

画面収録 2026-10-03 18 25 43

必要環境

  • Claude Code 2.1.288。 動作を確認したバージョンです。mod は早期アクセスで、API はリリース間で変わることがあります。
  • anthy のコマンドライン agent。 anthy-unicode の anthy-agent-unicode、または原 anthy 9100h の anthy-agent です。mod は変換のたびにこれを egg モードで動かします。
  • hooks が許可されていること。 mod はプラグインの hooks として動くので、設定や組織のポリシーで hooks を止めている環境では動きません。

動作を確認したのは、nixpkgs の `anthy` (9100h) の `anthy-agent` と、anthy-unicode をソースビルドした `anthy-agent-unicode` です。どちらも macOS で確認しました。各ディストリビューションの anthy パッケージにもどちらかが含まれているはずですが、確認はしていません。

入手先 方法
Nix nix profile install nixpkgs#anthy、または構成に pkgs.anthy (anthy-agent)
ソースビルド (macOS も可) 下記のとおり anthy-unicode をビルド (anthy-agent-unicode)
git clone https://github.com/fujiwarat/anthy-unicode && cd anthy-unicode
meson setup build --prefix=$HOME/.local --sysconfdir=$HOME/.local/etc -Demacs=disabled
meson compile -C build && meson install -C build

`--sysconfdir` は絶対パスで指定してください。相対パスだと anthy が起動に失敗します。Claude Code を起動するときの `PATH` に `~/.local/bin` を含めてください。

mod はセッション開始時に、次の順で agent を探します。それぞれ `--version` で動くかを確かめます。

  1. $VIME_ANTHY_AGENT (設定されていればこれだけ。コマンド名でもパスでもよい)
  2. PATH 上の anthy-agent-unicode
  3. PATH 上の anthy-agent

導入

/plugin marketplace add skanehira/claude-vime
/plugin install vime@claude-vime
/reload-plugins

読み込まれたかは `/vi` と打って確かめます。`/vime` が「Turn Japanese (romaji to kana and kanji) input on or off」という説明付きで候補に出れば読み込まれています。

日本語入力の O