template-install

A command that copies bundled legal document templates into a case folder. The templates include forms such as creditor lists, inheritance inventories, and traffic-accident settlement agreements.

In plain words
What is it for?
Use it to list available templates or install a chosen template for one case, a law firm, or all cases on the computer.
Why use it?
It avoids manually locating and copying standard forms, while keeping the default templates limited to the current case. You can also choose shared storage or replace an existing template.

Command

Part of the bengo-toolkit plugin — 15 skills, 25 commands, 3 MCP servers shipped together

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.

agentmods
npx agentmods add commands/llamadrive/bengo-toolkit/template-install
Clone the repo
git clone --depth 1 https://github.com/llamadrive/bengo-toolkit

Or install bengo-toolkit, the plugin that ships this one along with the rest of its 15 skills, 25 commands, 3 MCP servers.

Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,166 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00028 $0.02166
Opus 5 $0.00014 $0.01083
Sonnet 5 $0.00006 $0.00433
Haiku 4.5 $0.00003 $0.00217

Measured 2d ago against content hash 07d1d626d049, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

template-install 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 2d 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.

commands/template-install.md · 136 lines

How it starts

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

プラグインに同梱されている裁判所書式・実務書式の雛形(債権者一覧表、遺産目録、交通事故示談書等)を現在の案件フォルダの .claude-bengo/templates/ にコピーする。コピー後は /template-fill から選択・利用できる。

Step 0: 動作環境ガード

Bash: python3 skills/_lib/workspace.py check --require local_fs
  • exit 0 → 次の Step へ進む
  • exit 2 → stdout の日本語メッセージをそのままユーザーへ表示して停止
  • exit 1 → stderr の error JSON をユーザーに伝えて停止

$ARGUMENTS の指定方法:

  • 引数なし: 利用可能な同梱テンプレートを一覧表示する
  • テンプレート ID: /template-install creditor-list — 指定テンプレートをインストール(既定: 「この案件のみ」
  • --scope firm 付き: /template-install creditor-list --scope firm — 「事務所共有」(要 /template-firm-setup
  • --scope user 付き: /template-install creditor-list --scope user — 「この PC の全案件で共通」
  • --replace 付き: /template-install creditor-list --replace — 既存を上書き

保存場所の考え方

既定は 「この案件のみ」(現在の案件フォルダの中にだけ保存)。他の案件と混線させる 事故を避けるため、明示的に保存場所を指定しない限り案件側に置く。

事務所全員で使い回したい標準書式は --scope firm(要 /template-firm-setup)。 この PC 上の全案件で共通に使いたい場合は --scope user。判断に迷ったら案件側に 入れておき、後で /template-promote --to firm または --to user で移動できる。

ワークフロー

Step 0: 保存場所の確認

デフォルトは「この案件のみ」(現在の案件フォルダの中にだけ保存)。--scope user が 指定されていれば「この PC の全案件で共通」の領域に入れる。どちらの場合も保存先 ディレクトリは自動作成される(案件フォルダ未初期化でも可)。

Step 1: 引数の解析

$ARGUMENTS が空、または list のみの場合 → Step 2(一覧表示) $ARGUMENTS にテンプレート ID が含まれる場合 → Step 3(インストール)

Step 2: 一覧表示

python3 skills/_lib/template_lib.py list

カテゴリ別に同梱テンプレート名・説明を表示する。ユーザーに「どれをインストールするか?」と確認し、決まれば Step 3 に進む。

Step 3: インストール

python3 skills/_lib/template_lib.py install <bundled-id> [--scope case|firm|user]

戻り値 JSON の yaml_dstxlsx_dst にコピーされる。--replace なしで既存と衝突した場合はエラー(exit 3)。上書きしたい場合はユーザーに確認し、承諾されれば --replace 付きで再実行する。

インストール成功後、監査ログに記録する(法律事務所のコンプライアンス要件):

python3 skills/_lib/audit.py record --skill template-install --event file_write --file "{bundled-id}.yaml,{bundled-id}.xlsx" --note "installed from bundled library"

Step 4: 完了案内

インストール成功時、ユーザーに以下を案内する(保存場所に応じて文言を変える):

--scope user の場合:

テンプレート '{title}' を「この PC の全案件で共通」にインストールした
(この PC のすべての案件から使える)。
  YAML: {yaml_dst}
  XLSX: {xlsx_dst}

使い方:
  /template-list       — テンプレート一覧(共通領域 + この案件)
  /template-fill       — 元のファイルからこのテンプレートにデータを入力

Read the full file on GitHub · 136 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. 2d ago First seen · 136 lines · 28 tokens per session scan A 07d1d626d049

Subscribe to this mod's changes

template-install is a command published in the GitHub repository llamadrive/bengo-toolkit (5 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 2,166 once invoked, about $0.0001 per session on Opus 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-31.