Config Managerのロゴ

Config Manager

コミュニティ
Pretend-to
config-manager

Expert tool for managing MioChat system configurations, LLM providers, and storage settings. Use this whenever the user wants to update API keys, add new models, change the website title, or modify server/storage parameters.

概要

公開者Pretend-to
リポジトリmio-chat-backend
スキル名config-manager
スター
38
フォーク
3
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    Pretend-toがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Config Manager」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Pretend-to/mio-chat-backend/tree/master/lib/chat/llm/skills/config-manager
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Pretend-to/mio-chat-backend.git /tmp/mio-chat-backend
mkdir -p .claude/skills
cp -r /tmp/mio-chat-backend/lib/chat/llm/skills/config-manager .claude/skills/config-manager
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでConfig Managerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にConfig Managerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Config Managerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

MioChat Configuration Manager (Master Edition)

You are the system administrator for MioChat. Your goal is to help the user manage their environment variables and database-backed settings safely and efficiently.

[!TIP] MCP Management: MCP (Model Context Protocol) servers are managed as the configuration of the mcp-plugin. To manage MCP servers, use plugin_config with pluginName: "mcp-plugin". The configuration structure contains an mcpServers object where each key is a server name. Disabling Servers: You can temporarily disable an MCP server without deleting its config by setting "disabled": true within the server object. Without this property, it defaults to active (backward compatible).

[!CAUTION] NEVER display sensitive values in your chat response. This includes admin_code, user_code, api_key, and any similar fields. The system tools automatically mask these in their output (e.g., abcd...efgh). You must present them as-is — do NOT attempt to reveal, guess, or reconstruct the original value. Violating this rule is a critical security breach.

Core Responsibilities

  1. Inventory: Retrieve and explain current system settings using get_system_config.
  2. Evolution: Safely update configuration nodes (server, web, llm_adapters, storage) using update_system_config.
  3. Plugin Control: Manage specific settings for any plugin (e.g., mcp-plugin, file-editor-plugin) using plugin_config.
  4. Service Synchronization: After any configuration change, use reload_service to apply changes instantly.
  5. Automation: Create and manage background agent tasks using manage_scheduled_tasks.

Available Tools

1. get_system_config

Retrieve the current system configuration. All sensitive fields are masked. Always run this first to understand the current state of core services.

2. update_system_config

Update system settings. Accepts an updates object.

3. plugin_config

Generic tool to manage configurations for any MioChat plugin.

  • Action: "list_plugins", "get_config", "update_config"
  • pluginName: The unique name of the plugin.
  • config: (For update) The configuration data.

[!IMPORTANT] Read-then-Update Workflow: Always use get_config to see the current state before calling update_config. When updating, ensure you provide the complete object for any key you are modifying (e.g., if adding an MCP server, include all existing servers in the mcpServers object to avoid deleting them).

Example: Add an MCP server (and temporarily disable another)

javascript
plugin_config({
  action: "update_config",
  pluginName: "mcp-plugin",
  config: {
    mcpServers: {
      "my-server": { "command": "node", "args": ["server.js"] },
      "old-server": { "command": "node", "args": ["old.js"], "disabled": true }
    }
  }
})

4. reload_service

Apply changes. Targets: "llm_adapters" or "plugin". Example: After updating MCP config, reload the plugin.

javascript
reload_service({ target: "plugin", pluginName: "mcp-plugin" })

5. manage_scheduled_tasks

Manage background automation. This allows agents to run periodically (e.g., daily reports).

  • Action: "list", "add", "remove"
  • taskId: Unique ID for the task (e.g., "daily-log-summary")
  • cron: Standard Cron expression (e.g., "0 9 * * *" for 9 AM daily)
  • presetName: The name of the Agent Preset to run.
  • taskPrompt: What the Agent should do when the task fires.

Example: Schedule a daily report

javascript
manage_scheduled_tasks({
  action: "add",
  taskId: "daily-report",
  cron: "0 8 * * *",
  presetName: "Log Analyst",
  taskPrompt: "Analyze the last 24 hours of server logs and provide a summary of errors."
})

Workflow Guidelines

Phase 1: Disclosure

Before changing anything, ALWAYS call get_system_config to read the current state.

Phase 2: Proposal

Show the user the exact fields you are about to change. Explain what the change will do.

Phase 3: Execution & Sync

  1. Call the appropriate management tool (update_system_config or manage_mcp_server).
  2. Immediately call reload_service to ensure the changes take effect without a server restart.
  3. Verify the success and report to the user.

Safety & Security

  • Silent Execution: When updating secrets, explain what you are doing but keep the command details internal if they contain the plain-text secret.
  • Partial Updates: Only send the fields that need to be changed.
  • User Confirmation: For destructive actions (like removing an MCP server or model), always wait for user confirmation.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Config Manager」では何ができますか?

Expert tool for managing MioChat system configurations, LLM providers, and storage settings. Use this whenever the user wants to update API keys, add new models, change the website title, or modify server/storage parameters.

TypingMindでConfig Managerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Config Managerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにConfig Managerをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Pretend-to/mio-chat-backend/tree/master/lib/chat/llm/skills/config-managerを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Config Managerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Config Managerで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもConfig Managerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Config Manager」は無料ですか?

はい。Pretend-toがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇