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.
npx agentmods add commands/llamadrive/bengo-toolkit/template-demotegit clone --depth 1 https://github.com/llamadrive/bengo-toolkitWrote 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.
[](https://agentmods.dev/commands/llamadrive/bengo-toolkit/template-demote)<a href="https://agentmods.dev/commands/llamadrive/bengo-toolkit/template-demote"><img src="https://agentmods.dev/badge/commands/llamadrive/bengo-toolkit/template-demote.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00030 | $0.00860 |
| Opus 5 | $0.00015 | $0.00430 |
| Sonnet 5 | $0.00006 | $0.00172 |
| Haiku 4.5 | $0.00003 | $0.00086 |
Grade A, and why
template-demote 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.
What it actually says
「この PC の全案件で共通」または「事務所共有」にあるテンプレートを、現在の案件フォルダの
.claude-bengo/templates/ に コピーする(コピー元は残す)。これにより
/template-fill はこの案件では案件側を優先的に使う。他の案件は従来どおり
共通領域のテンプレートを参照する。
$ARGUMENTS:
- テンプレート ID(必須)
--from user— 「この PC の全案件で共通」(~/.claude-bengo/templates/)からコピー(既定)--from firm— 「事務所共有」(要/template-firm-setup)からコピー--replaceで案件側の既存を上書き
典型的なユースケース
PC 全案件で使う標準書式を、この事件に限り一部カスタマイズしたい場合(項目追加・ 文言差し替え等)。共通領域のものを直接いじると全案件に波及してしまうため、案件 フォルダにコピーしてそれを編集する。
ワークフロー
Step 0: 動作環境ガード
Bash: python3 skills/_lib/workspace.py check --require local_fs
- exit 0 → Step 1 へ
- exit 2 → stdout の日本語メッセージをそのままユーザーへ表示して停止
- exit 1 → stderr の error JSON をユーザーに伝えて停止
Step 1: 現状確認
python3 skills/_lib/workspace.py templates
user 配列に対象 ID があるか確認する。無ければ「「この PC の全案件で共通」に
{id} はない。/template-install で同梱書式から入れるか、/template-create で
新規登録してほしい」と案内。
Step 2: 降格実行
python3 skills/_lib/template_lib.py demote <id>
# case 側に既存があれば: python3 skills/_lib/template_lib.py demote <id> --replace
戻り値 JSON(抜粋):
{
"id": "...", "src_scope": "user", "dst_scope": "case",
"dst_yaml": "<workspace>/.claude-bengo/templates/{id}.yaml",
"replaced": "False", "kept_original": "True"
}
Step 3: 完了案内
テンプレート '{id}' をこの案件フォルダにコピーした(共通領域はそのまま残す)。
コピー先: <案件フォルダ>/.claude-bengo/templates/{id}.{yaml,xlsx}
共通領域: 従来どおり(他案件に影響なし)
この案件では案件側のテンプレートが優先的に使われる。YAML / XLSX を
自由に編集してよい。変更を PC 全体に反映したくなったら /template-promote
で移動(共通領域の既存は上書きされる点に注意)。
エラーハンドリング
- 案件側に同 ID がある →
exit 3。--replace併用を確認 - 対象 ID が共通領域にない →
exit 1
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.
- 5d ago First seen · 77 lines · 30 tokens per session scan A 056835ca1312
template-demote is a command published in the GitHub repository llamadrive/bengo-toolkit (6 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 860 once invoked, about $0.0002 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.
Other commands, from other repositories
organize-files
Organize and rename files based on content analysis.
brand-generate
Generate an on-brand document from a saved Brand Profile.
tree
Show file tree with sync status indicators showing which files are indexed, modified, new, or deleted.
ppt-image2-editable-rebuild
Rebuild image2 or imagegen reference slides as editable PowerPoint decks.
cti-report
Render case deliverables — relationship graph (PNG/SVG/Mermaid) and a polished PDF/DOCX assessment. Usage: /cti-report [--graph|--pdf].
convert
Convert a file to Markdown using markitdown.