コンテンツにスキップ
これは最新の機能を備えた最新リリースですが、長期サポートは提供されません。サポートを継続するには、新しいリリースごとにアップグレードするか、四半期ごとの安定版リリースをご利用ください。

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

arctl init

Page as Markdown

宣言型 YAML を含む新しいリソースプロジェクトをスキャフォールドします

エージェント、MCP サーバー、スキル、プロンプトのいずれかの新しい宣言型リソースプロジェクトのスキャフォールドを作成します。

生成される YAML は ar.dev/v1alpha1 宣言型形式を使用し、arctl apply で直接適用できます。

サポートされるタイプ: agent NAME (ピッカーでフレームワークと言語を選択)、mcp NAME (ピッカーでフレームワークと言語を選択)、skill NAME、prompt NAME

使用方法

arctl init TYPE ... [flags]
arctl init [command]

例:

arctl init agent myagent
arctl init agent myagent --framework adk --language python
arctl init mcp my-server
arctl init mcp my-server --framework fastmcp --language python
arctl init skill my-skill
arctl init prompt my-prompt
arctl init                                    # interactive: picker for kind

利用可能なコマンド

コマンド説明
agentYAML とフレームワークスタブを備えたエージェントプロジェクトのスキャフォールドを作成します
mcpYAML とフレームワークスタブを備えた MCP サーバープロジェクトのスキャフォールドを作成します
prompt宣言型プロンプト YAML (ar.dev/v1alpha1) を作成します
skillYAML とソーススタブを備えたスキルプロジェクトのスキャフォールドを作成します

コマンド固有のフラグ

--output-dir string: Parent directory under which the project is created. Defaults to the current directory.

グローバルフラグ

-h, --help: Display help information for the command.