ソース情報
- リポジトリ
- dirac-run/dirac
- ソースの最終更新活動
- 2026年8月3日 14:46
- 検出された SKILL.md の言語
- 英語
- スター
- 1,470
- フォーク
- 83
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/dirac-run/dirac --skill delete-toolコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SOC 職業分類に基づく
SKILL.md を表示中
| name | delete-tool |
| description | Delete a local user-defined custom tool from global or workspace scope |
You are helping the user delete a custom tool that was previously created with the /new-tool command. Only user-defined tools (global or workspace scope) can be deleted — built-in tools are protected and cannot be removed.
Scan both tool directories for user-created tools:
~/.dirac/tools/ (or $DIRAC_DIR/tools/ if DIRAC_DIR is set)<workspace>/.dirac/tools/Use list_files to enumerate subdirectories, then read_file each dirac-tool.json manifest to collect tool metadata (id, name, scope, entry).
Also read the spec from tool.ts to get the tool's description.
If no user tools are found in either location, inform the user that there are no user-defined tools to delete and stop.
Present the discovered tools to the user grouped by scope. For each tool show:
Format the list clearly, for example:
**Global tools** (~/.dirac/tools/):
1. analyze_deps — Analyze project dependencies
2. format_code — Auto-format source files
**Workspace tools** (<workspace>/.dirac/tools/):
3. run_tests — Run the project test command
Use respond with operation question to let the user select which tool(s) to delete. Include a "Cancel — don't delete anything" option.
After the user selects one or more tools, confirm the deletion explicitly:
You are about to permanently delete the following tool(s):
run_testsfrom<workspace>/.dirac/tools/run_tests/This will remove the tool directory and all its files. This action cannot be undone. The tool will no longer load in new sessions.
Proceed?
Use respond with operation question and "Yes, delete" and "No, cancel" options.
For each confirmed tool, delete its entire directory using execute_command:
rm -rf <tool-directory-path>
Also clean up any compiled cache files at ~/.dirac/cache/tools/<tool_id>-*.mjs if they exist:
rm -f ~/.dirac/cache/tools/<tool_id>-*.mjs
If a deletion fails (e.g., permission error), report the error to the user but continue with remaining deletions.
After successful deletion, tell the user: