Логотип 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

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: Pretend-to. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Config Manager у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

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. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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

Увімкніть навичку Config Manager в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Config Manager, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Config Manager не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл 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.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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.

Навіщо використовувати Config Manager у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Config Manager — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Config Manager у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/Pretend-to/mio-chat-backend/tree/master/lib/chat/llm/skills/config-manager. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Config Manager?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Config Manager?

Зі скількома забажаєте. У TypingMind ви можете використовувати Config Manager із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Config Manager?

Так. На GitHub цю навичку публікує Pretend-to за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇