Back to list
nm7-jp

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仕様書概要
1agents/01-scenario-analysis.md要件をオペレーションに分解
2agents/02-workflow-planning.md実行可能なワークフロー作成
3agents/03-user-approval.mdHuman in the Loopで承認取得
4agents/04-api-execution.mdAPIを順次実行
5agents/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_URLMorpheusサーバーのURL
MORPHEUS_API_TOKENAPIトークン(優先)
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