Mojiemoji config
Skill jozobeer/mojiemoji-plugin/plugins/mojiemoji-plugin/skills/mojiemoji-config
Manage persistent mojiemoji prestamp settings such as intensity in ~/.config/mojiemoji/config.json.From its SKILL.md
npx -y skills add jozobeer/mojiemoji-plugin --skill mojiemoji-configAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.5 KB, as published. Nobody here has run it
Mojiemoji Config
<MOJIEMOJI_CONFIG_SKILL_DIR> means the absolute directory containing this
active SKILL.md. Resolve it from the loaded skill path. Do not derive it from
the shell working directory or harness-specific environment variables.
〜/.config/mojiemoji/config.json に prestamp の intensity などを<img src="https://mojiemoji.jozo.beer/emoji/%E4%BF%9D%E5%AD%98?font=akzk&color=10b981&animation=shuchusen&background=transparent&outline=8110b9&outline_width=2" alt="保存" height="24" align="absmiddle">し、毎回 CLI <img src="https://mojiemoji.jozo.beer/emoji/%E3%83%95%E3%83%A9%E3%82%B0?font=maru&color=fbbf24&animation=tate_scroll&background=transparent&outline=06d977&outline_width=2" alt="フラグ" height="24" align="absmiddle">を付けなくても既定<img src="https://mojiemoji.jozo.beer/emoji/%E5%8B%95%E4%BD%9C?font=gothic-bold&color=60a5fa&animation=psycho&background=transparent&outline_width=0" alt="動作" height="24" align="absmiddle">を揃えるための skill です。
起動条件
- ユーザーが
/mojiemoji-configを叩いたとき - ユーザーが intensity(装飾強度)を<img src="https://mojiemoji.jozo.beer/emoji/%E4%BF%9D%E5%AD%98?font=akzk&color=10b981&animation=shuchusen&background=transparent&outline=8110b9&outline_width=2" alt="保存" height="24" align="absmiddle">・<img src="https://mojiemoji.jozo.beer/emoji/%E7%A2%BA%E8%AA%8D?font=noto&color=fb7185&animation=mochimochi&background=transparent&outline=85fb71&outline_width=2" alt="確認" height="24" align="absmiddle">・解除したいと明示したとき
なぜ<img src="https://mojiemoji.jozo.beer/emoji/%E5%BF%85%E8%A6%81?font=tamanegi&color=10b981&animation=kage_kaiten&speed=slow&background=transparent&outline=8110b9&outline_width=2" alt="必要" height="24" align="absmiddle">か
prestamp.py の --intensity を毎回指定するのは手間なので、<img src="https://mojiemoji.jozo.beer/emoji/%E8%A8%AD%E5%AE%9A?font=rampart&color=60a5fa&animation=mabataki&background=transparent&outline=fa60a5&outline_width=2" alt="設定" height="24" align="absmiddle">ファイルに一度書いておけば、CLI 無指定時はその値が使われます(解決順は CLI <img src="https://mojiemoji.jozo.beer/emoji/%E5%84%AA%E5%85%88?font=gothic-bold&color=60a5fa&animation=zairu&background=transparent&outline=eb2563&outline_width=2" alt="優先" height="24" align="absmiddle">)。
<img src="https://mojiemoji.jozo.beer/emoji/%E8%A8%AD%E5%AE%9A?font=maru&color=60a5fa&animation=yurayura&background=transparent&outline=eb2563&outline_width=2" alt="設定" height="24" align="absmiddle">の<img src="https://mojiemoji.jozo.beer/emoji/%E7%A2%BA%E8%AA%8D?font=toge&color=f59e0b&animation=zanzo&background=transparent&outline=0bf59e&outline_width=2" alt="確認" height="24" align="absmiddle">
python3 "<MOJIEMOJI_CONFIG_SKILL_DIR>/scripts/mojiemoji_config.py" get
intensity の<img src="https://mojiemoji.jozo.beer/emoji/%E5%A4%89%E6%9B%B4?font=hachimaru&color=eab308&animation=yokomoya&background=transparent&outline=08eab3&outline_width=2" alt="変更" height="24" align="absmiddle">
aggressive / normal / minimal のいずれかを<img src="https://mojiemoji.jozo.beer/emoji/%E4%BF%9D%E5%AD%98?font=akzk&color=10b981&animation=shuchusen&background=transparent&outline=8110b9&outline_width=2" alt="保存" height="24" align="absmiddle">します。
python3 "<MOJIEMOJI_CONFIG_SKILL_DIR>/scripts/mojiemoji_config.py" set normal
python3 "<MOJIEMOJI_CONFIG_SKILL_DIR>/scripts/mojiemoji_config.py" set minimal
python3 "<MOJIEMOJI_CONFIG_SKILL_DIR>/scripts/mojiemoji_config.py" set aggressive
intensity の unset
python3 "<MOJIEMOJI_CONFIG_SKILL_DIR>/scripts/mojiemoji_config.py" unset
config ファイルの場所
XDG <img src="https://mojiemoji.jozo.beer/emoji/%E6%BA%96%E6%8B%A0?font=zero&color=fb923c&animation=neruneru&background=transparent&outline=0cea58&outline_width=2" alt="準拠" height="24" align="absmiddle">で、XDG_CONFIG_HOME があれば <XDG_CONFIG_HOME>/mojiemoji/config.json、なければ ~/.config/mojiemoji/config.json です。
<img src="https://mojiemoji.jozo.beer/emoji/%E5%84%AA%E5%85%88?font=gothic-bold&color=60a5fa&animation=zairu&background=transparent&outline=eb2563&outline_width=2" alt="優先" height="24" align="absmiddle">順位
CLI の --intensity が最<img src="https://mojiemoji.jozo.beer/emoji/%E5%84%AA%E5%85%88?font=pixel&color=f472b6&animation=zanzo&background=transparent&outline=b6f472&outline_width=2" alt="優先" height="24" align="absmiddle">。無指定なら<img src="https://mojiemoji.jozo.beer/emoji/%E8%A8%AD%E5%AE%9A?font=maru-bold&color=f472b6&animation=mochimochi&background=transparent&outline=b6f472&outline_width=2" alt="設定" height="24" align="absmiddle">ファイルの値。どちらも無ければ従来どおり aggressive(sentinel 無しの従来互換<img src="https://mojiemoji.jozo.beer/emoji/%E5%87%BA%E5%8A%9B?font=tamanegi&color=22c55e&animation=kage_bokashi&background=transparent&outline=5e22c5&outline_width=2" alt="出力" height="24" align="absmiddle">)。
<img src="https://mojiemoji.jozo.beer/emoji/%E9%96%A2%E9%80%A3?font=noto&color=f87171&animation=nami&background=transparent&outline=26dc26&outline_width=2" alt="関連" height="24" align="absmiddle">
- #125 — 本 skill と<img src="https://mojiemoji.jozo.beer/emoji/%E8%A8%AD%E5%AE%9A?font=maru-bold&color=f472b6&animation=mochimochi&background=transparent&outline=b6f472&outline_width=2" alt="設定" height="24" align="absmiddle">レイヤの<img src="https://mojiemoji.jozo.beer/emoji/%E5%AE%9F%E8%A3%85?font=toge&color=fb7185&animation=tate_ekken&background=transparent&outline=85fb71&outline_width=2" alt="実装" height="24" align="absmiddle">