شعار Simulator Chat

Simulator Chat

مؤسسة
corezoid
simulator-chat

متخصص المحادثات والرسائل في Simulator.Company — لإرسال رسائل إلى مستخدم وإنشاء محادثات فردية (1:1) أو جماعية أو إعادة استخدامها. في Simulator، المحادثة هي ممثل بنموذج نظام Events ‏(data.chatType = "p2p" | "group")، والمشاركون فيها هم أعضاء قواعد الوصول الخاصة بالممثل، ورسائلها تفاعلات `comment`. استخدمه عندما يريد المستخدم «إرسال رسالة» أو «مراسلة» شخص ما، أو «فتح محادثة مع» أحدهم، أو «بدء محادثة»، أو «الرد في المحادثة». فعّله عند قول المستخدم: «اكتب رسالة إلى المستخدم N»، «أرسل رسالة إلى N»، «افتح محادثة مع»، «راسل شخصًا»، «напиши повідомлення користувачу»، «надішли повідомлення»، «відкрий чат з»، «почни розмову з»، «напиши юзеру»، «напиши сообщение пользователю»، «отправь сообщение»، «открой чат с»، «напиши в чат». للتعليقات أو الموافقات على ممثل عادي (وليس محادثة)، استخدم `simulator-reactions`؛ وللملفات، استخدم `simulator-attachments`؛ وللمشاركة/الوصول عمومًا، استخدم `simulator-access`.

Add to TypingMind

نظرة عامة

الناشرcorezoid
المستودعsimulator-ai-plugin
اسم المهارةsimulator-chat
النجوم
61
التفريعات
13
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

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

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

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/corezoid/simulator-ai-plugin/tree/main/plugins/simulator/skills/simulator-chat
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/corezoid/simulator-ai-plugin.git /tmp/simulator-ai-plugin
mkdir -p .claude/skills
cp -r /tmp/simulator-ai-plugin/plugins/simulator/skills/simulator-chat .claude/skills/simulator-chat
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Simulator Chat في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Simulator Chat تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Simulator Chat بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Curated tool names (v2 server): searchUsers, getUsers, getSystemActor, getForms, filterActors, createActor, getActorByRef, saveAccessRules, createReaction, getReactions. Call them by these exact names. There is no dedicated "create chat" / "send message" tool — a chat is composed from these.

Simulator.Company Chat Specialist

In Simulator.Company a chat is an actor of the Events system form:

  • data.chatType = "p2p" → a 1:1 chat · "group" → a group chat · empty → a plain event / SIP meeting (not a chat).
  • Participants = the chat actor's access-rule members (keyed by userId) — not a data field. The creator is the implicit owner; other participants are added with saveAccessRules.
  • Messages = comment reactions posted under the chat actor.

There is no server-side "p2p has exactly two members / don't duplicate" enforcement — this skill owns that discipline, and it must match the platform's standard p2p convention or two clients will create duplicate chats for the same pair. The convention:

  • Deterministic ref = p2pConversation_<minUserId>_<maxUserId> — both participants' raw workspace userIds sorted ascending, joined with _. This is the p2p dedup key; the UI finds/reuses a chat only by this ref.
  • title = <nickA>:p2p:<nickB> — nicks ordered by the same ascending userId sort.
  • data = { chatType:"p2p", startDate:<nowSec>, endDate:<nowSec>, scheduleMeeting:false }.
  • Participants are added by a separate saveAccessRules call (never inline in the create body); the creator is owner implicitly.

Read $CLAUDE_PLUGIN_ROOT/docs/entities/chats.md for the full model, the verbatim Events-form field list, and the current-user constraint.

Reply to the user in their own language.


Test case: "write a message to user N"

This is the canonical flow. Each step names the exact tool.

1 — Resolve user N

searchUsers(query="N")          # accId defaults to the active workspace

Take N's userId from the result (e.g. 4210). If several match, ask the user which one (or show name + email). getUsers lists everyone if you need to browse.

getSystemActor(objType="user", objId=<userId>) returns N's system "twin" actor. You usually do not need it to chat — membership uses the raw userId — but it get-or-creates the twin if some flow needs N represented as an actor.

2 — Resolve the Events form id (per workspace)

getForms(formTypes="system")    # find the row whose title == "Events" → its id

The Events form id differs per workspace, so don't hardcode it. (You may instead pass formName="Events" to createActor and let it resolve the id.)

3 — Build the canonical ref + title (reuse key)

The p2p dedup key needs both userIds. The recipient's came from step 1; resolve the sender's userId too (see the box below), then:

ids   = sortAscending(senderUserId, N_userId)        # numeric ascending
ref   = "p2pConversation_" + ids[0] + "_" + ids[1]   # e.g. p2pConversation_4210_4310
title = nick(ids[0]) + ":p2p:" + nick(ids[1])        # e.g. olena:p2p:petro

Getting the sender's userId. There is no PAPI "current user" endpoint, and the auth token carries the caller's saId+nick, not the per-workspace userId. So: ask the user, take it from context, or getUsers and match the token's saId/nick to a member's id. If you cannot get it, fall back to discovery-by-member in step 4 and skip the ref (note: a ref-less chat may be duplicated later by the web UI, which keys reuse on ref).

4 — Find an existing chat (reuse, don't duplicate)

Canonical — by the deterministic ref, exactly as the web UI does:

getActorByRef(formId=<EventsFormId>, ref=<ref>)     # found → reuse its id, skip to step 6

Fallback when the sender's userId is unknown — discover by participant (still finds UI-created chats, since the recipient is an access member):

filterActors(formId=<EventsFormId>, q="chatType=p2p", members="<N_userId>:view")

5 — Create the p2p chat (only if none exists)

createActor(
  formName="Events",                       # or formId=<EventsFormId>
  title=<title>,                           # "<nickA>:p2p:<nickB>"
  ref=<ref>,                               # p2pConversation_<minId>_<maxId> — REQUIRED for UI reuse
  data={ "chatType": "p2p",
         "startDate": <nowUnixSeconds>,
         "endDate":   <nowUnixSeconds>,
         "scheduleMeeting": false })        # plain unix SECONDS on Events — not a calendar object

startDate/endDate are required by the Events form. On a chat they are just "now" as integer unix seconds (the nested calendar {startDate,endDate,...} object used elsewhere does not apply here).

Then add N as the second participant (the creator is owner implicitly — do not add a self access-rule):

saveAccessRules(
  objType="actor", objId="<newChatId>",
  rules=[{ "action":"create",
           "data":{ "userId": <N_userId>,
                    "privs":{ "view":true, "modify":true, "remove":true } } }])

saveAccessRules is applied asynchronously and returns a taskId; posting the message next still works.

6 — Post the message (a comment reaction)

createReaction(type="comment", actorId="<chatId>", description="<the message text>")

That comment reaction under the chat actor is the chat message. To read the conversation back: getReactions(actorId="<chatId>", view="flat", orderValue="ASC").


Variations

  • Group chat. Create with data.chatType="group" and no ref (the UI gives group chats no dedup), then saveAccessRules (or bulkSaveAccessRules) for every participant userId. To find a group's members later, filter by them: filterActors(members="11:view,22:view,33:view", q="chatType=group").
  • Reply in a thread. Pass parentId=<reactionId> to createReaction (see simulator-reactions).
  • Attach a file to a message. Upload first (uploadBase64 → attachId), then createReaction(..., attachments=[{attachId:<id>}]) — see simulator-attachments.
  • Post quietly (no notification). createReaction(..., notify=false).
  • Hand the message to the AI agent. createReaction(..., extra={mcp:true}) runs the platform AI agent on it under the requesting user's access (see simulator-reactions).

Reuse & safety rules

  • Always look up (step 4) before creating (step 5). Creating a second p2p Events actor for the same pair silently produces a duplicate chat — the platform does not dedupe; only the deterministic ref does.
  • Always set the canonical ref on create (p2pConversation_<minId>_<maxId>) so the web UI reuses the same chat instead of making its own duplicate.
  • Participants are access rules, never data fields. Do not store member ids in data, and do not add a self access-rule (the creator is owner implicitly).
  • Confirm before messaging on the user's behalf if the message is outward-facing — a chat message notifies the recipient.
  • A chat needs chatType set; an Events actor without it is a plain event/meeting, and comments on it are ordinary discussion, not chat messages.

Relationship to the other skills

SkillBoundary
simulator-agentsDelegating work to a person as an agent (assess who fits, then act / task / message) — it composes this p2p flow for its "message the person" outcome.
simulator-reactionsGeneric comments/approvals/ratings on any actor (a chat message is a comment reaction — that skill covers the reaction mechanics).
simulator-actorsThe Events actor's own data fields and the actor data value protocol.
simulator-accessAccess rules in general (chat participants are access-rule members).
simulator-attachmentsFiles on a message/actor.
simulator-initLogin + workspace selection (needed before any of this).

Reference Documents

PathWhen to read
$CLAUDE_PLUGIN_ROOT/docs/entities/chats.mdThe chat model: Events form, chatType, members-as-access, messages-as-reactions
$CLAUDE_PLUGIN_ROOT/docs/entities/reactions.mdReaction types, tree/threading, AI-agent reactions
$CLAUDE_PLUGIN_ROOT/docs/entities/system-forms.mdThe Events system form among the built-ins

Tips

  • accId/workspace defaults to the active one — make sure simulator-init ran first.
  • The Events form id is per workspace — resolve it (getForms/formName), never hardcode.
  • On Events, startDate/endDate are plain unix seconds, both "now" for a chat.
  • Canonical reuse = getActorByRef(ref="p2pConversation_<minId>_<maxId>") (matches the web UI); it needs both userIds — the sender's isn't in the token (saId/nick only, no PAPI /me), so derive it or fall back to filterActors(members=…, q="chatType=p2p").
  • A message is just createReaction(type="comment", actorId=<chatId>, description=...).

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Simulator Chat؟

متخصص المحادثات والرسائل في Simulator.Company — لإرسال رسائل إلى مستخدم وإنشاء محادثات فردية (1:1) أو جماعية أو إعادة استخدامها. في Simulator، المحادثة هي ممثل بنموذج نظام Events ‏(data.chatType = "p2p" | "group")، والمشاركون فيها هم أعضاء قواعد الوصول الخاصة بالممثل، ورسائلها تفاعلات `comment`. استخدمه عندما يريد المستخدم «إرسال رسالة» أو «مراسلة» شخص ما، أو «فتح محادثة مع» أحدهم، أو «بدء محادثة»، أو «الرد في المحادثة». فعّله عند قول المستخدم: «اكتب رسالة إلى المستخدم N»، «أرسل رسالة إلى N»، «افتح محادثة مع»، «راسل شخصًا»، «напиши повідомлення користувачу»، «надішли повідомлення»، «відкрий...

لماذا تستخدم Simulator Chat على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Simulator Chat عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Simulator Chat في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/corezoid/simulator-ai-plugin/tree/main/plugins/simulator/skills/simulator-chat. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Simulator Chat؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Simulator Chat؟

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

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

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

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

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

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

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

عرض الكل
شعار paperclipai

Release Announcement

paperclipai
مؤسسةشائع

اكتب إعلان إصدار، سواء أكان سجل تغييرات أم منشور مدونة أم ملاحظة داخل التطبيق أم منشورًا على وسائل التواصل الاجتماعي، وابدأ بتوضيح أثره على المستخدم، وحدد الجمهور، وأدرج خطوات الترقية أو الترحيل من دون حشو.

16.2K
95.4K
التعليمات
عرض
شعار thedotmack

Mode Creator

thedotmack
المجتمعشائع

أنشئ أو ثبّت أو فعّل أو تحقّق تفاعليًا من أوضاع claude-mem المخصّصة، بما في ذلك أنواع الملاحظات المتخصصة في مجالات معينة، وعلامات المفاهيم، وتنبيهات Telegram الاختيارية، وإعداد الروبوت، وإعادة تشغيل العامل، و…

8.3K
94.1K
الملفات: 5
عرض
شعار thedotmack

Version Bump

thedotmack
المجتمعشائع

أتمتة ترقيم الإصدارات الدلالي وسير عمل الإصدار لإضافات Claude Code. تتولى زيادة أرقام الإصدارات في ملفات البيان package.json وmarketplace.json وplugin.json، والتحقق من البناء، وإضافة علامات git، وإصدارات GitHub،…

8.3K
94.1K
الملفات: 1
عرض
شعار shareAI-lab

Agent Builder

shareAI-lab
مؤسسةشائع

Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI system" (2) want to understand agent architecture, agentic patterns, or…

12.6K
78.4K
الملفات: 5
عرض

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

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