شعار 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 يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 1

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها Pretend-to على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Config Manager في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Pretend-to/mio-chat-backend/tree/master/lib/chat/llm/skills/config-manager
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
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؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Config Manager معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Config Manager مجانية؟

نعم. نشرها Pretend-to على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇