skills/mir-error-handling/SKILL.md
mir CLI でエラーが発生した際のトラブルシューティングを行う。SnippetNotFoundError, RegistryNotFoundError, FileConflictError 等のエラーメッセージが表示された場合や、ユーザが「エラーが出た」「動かない」「mir がうまくいかない」と言った場合に使用する。
npx skillsauth add tbsten/mir mir-error-handlingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
mir CLI でエラーが発生した際のトラブルシューティングを行う skill。
ユーザが mir コマンドの実行中にエラーに遭遇した場合、またはエラーの原因を調べたい場合に使用する。
snippet が見つからない。
.mir/snippets/<name>.yaml と .mir/snippets/<name>/ ディレクトリの両方が存在するか確認^[a-zA-Z0-9][a-zA-Z0-9-]*$ に従っているか確認registry が見つからない。
mirconfig.yaml の registries 設定を確認--registry で指定した名前が存在するか確認mir list で利用可能な registry を確認install 先に同名ファイルが既にある。
--no-interactive 使用時は上書きがスキップされる(--safe と同様)テンプレートのファイル名に .. が含まれている。
.. が含まれていないか確認--no-interactive 使用時に必須変数が指定されていない。
--変数名=値 を指定するdefault を設定する| HTTP ステータス | 原因 | 対処 |
|---|---|---|
| 401 | publish_token が無効 | トークンを再取得して mirconfig.yaml を更新 |
| 403 | 権限不足 | トークンの権限を確認 |
| 409 | 同名 snippet が存在 | --force で上書き公開 |
snippet.yaml が schema/v1/snippet.schema.json に準拠しているか確認name が設定されているか確認name フィールドがファイル名と一致しているか確認mir --help や mir <command> --help でコマンドの使い方を確認tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.