← Back to list

morpheus-scenario-executor
by nm7-jp
⭐ 0🍴 0📅 Jan 15, 2026
SKILL.md
name: morpheus-scenario-executor description: MorpheusのAPIを計画・実行するスキル。Human in the Loopでユーザー承認を得た後にAPIを実行し、結果をレポートします。
Morpheus Scenario Executor
Morpheus APIシナリオの計画・実行を行うスキル。各フェーズはTaskエージェントで実行。
ワークフロー
[01-scenario-analysis] → [02-workflow-planning] → [03-user-approval] → [04-api-execution] → [05-result-report]
| フェーズ | Task仕様書 | 概要 |
|---|---|---|
| 1 | agents/01-scenario-analysis.md | 要件をオペレーションに分解 |
| 2 | agents/02-workflow-planning.md | 実行可能なワークフロー作成 |
| 3 | agents/03-user-approval.md | Human in the Loopで承認取得 |
| 4 | agents/04-api-execution.md | APIを順次実行 |
| 5 | agents/05-result-report.md | 結果レポート生成 |
Pythonツール
認証
# トークン検証
python scripts/morpheus_auth.py --action validate
# トークン取得
python scripts/morpheus_auth.py --action get-token
# ログイン
python scripts/morpheus_auth.py --action login --username USER --password PASS
API実行
# GET
python scripts/morpheus_api.py --endpoint /api/instances --method GET
# POST
python scripts/morpheus_api.py --endpoint /api/instances --method POST \
--body '{"instance": {...}}'
# パラメータ付き
python scripts/morpheus_api.py --endpoint /api/instances --method GET \
--params '{"max": 50}'
# リトライ付き
python scripts/morpheus_api.py --endpoint /api/instances --method GET --retry 3
出力形式
{
"success": true,
"status_code": 200,
"data": {...},
"request": {"method": "GET", "endpoint": "/api/instances"}
}
環境変数
| 変数 | 必須 | 説明 |
|---|---|---|
MORPHEUS_URL | ✅ | MorpheusサーバーのURL |
MORPHEUS_API_TOKEN | △ | APIトークン(優先) |
MORPHEUS_USERNAME | △ | ユーザー名 |
MORPHEUS_PASSWORD | △ | パスワード |
使用例
ユーザー: 「新しいLinux VMを作成したい」
→ Task(agents/01-scenario-analysis.md): シナリオ分析
→ Task(agents/02-workflow-planning.md): ワークフロー作成
→ Task(agents/03-user-approval.md): ユーザー承認
→ Task(agents/04-api-execution.md): API実行
→ Task(agents/05-result-report.md): レポート生成
参照ドキュメント
references/api-docs/: OpenAPI仕様(Morpheus v8.0.9)references/user-guide/: ユーザーガイドreferences/workflow-template.md: ワークフローテンプレートreferences/report-template.md: レポートテンプレートreferences/api-errors.md: エラーコード対応表references/authentication.md: 認証方式
重要: 必ずユーザーの明示的な承認を得てからAPIを実行してください。
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon