شعار Corezoid Alias Manager

Corezoid Alias Manager

مؤسسة
corezoid
corezoid-alias-manager

Manages Corezoid aliases — create, list, modify, delete, link/unlink, and use aliases in process JSON. Activate when the user mentions "alias", "short_name", "short name", "create alias", "list aliases", "delete alias", "modify alias", "rename alias", "unlink alias", "link alias", "get callback hash", "conv[@", or asks how to reference a process by name instead of numeric ID. Also activate when reviewing a process that uses numeric conv_id values and the user wants to replace them with aliases.

نظرة عامة

الناشرcorezoid
المستودعcorezoid-ai-plugin
اسم المهارةcorezoid-alias-manager
النجوم
74
التفريعات
26
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Corezoid Alias Manager

What aliases are

An alias is a human-readable short_name (e.g. payment-service, send-otp) that maps to a process (conv). Aliases serve two purposes:

  1. Process reference in JSON — use @alias-name as conv_id instead of a numeric process ID. This makes processes portable across environments and removes hardcoded IDs.
  2. External HTTP entry point — each alias generates a callback_hash used to send tasks to the process via the API Gateway URL.

Alias naming rules (same as Corezoid short names):

  • Only lowercase letters [a-z], digits [0-9], and hyphens -
  • Must be at least 3 characters
  • Must be unique within the stage
  • Good: payment-checkout, send-otp, create-user-v2
  • Bad: MyAlias, PAYMENT, a

MCP Tools

ToolPurpose
create-aliasCreate an alias and link it to a process in one step
cz-structure list-aliasesList the aliases of a project's stage (short_name → target conv_id); pass short_name to resolve one exact alias instead of scanning the table

Note: modify, delete, and unlink operations are not yet exposed as MCP tools. Use the direct API calls documented below to perform them.


Using aliases in process JSON

Once an alias exists, replace the numeric conv_id with @alias-name in any node that calls another process:

Call a Process node (api_rpc)

json
{
  "type": "api_rpc",
  "conv_id": "@payment-checkout",
  "extra": { "amount": "{{amount}}", "currency": "{{currency}}" },
  "extra_type": { "amount": "number", "currency": "string" },
  "err_node_id": "<error_node_id>"
}

Copy Task node (api_copy)

json
{
  "type": "api_copy",
  "conv_id": "@send-notification",
  "ref": "{{unique_ref}}",
  "mode": "create",
  "err_node_id": "<error_node_id>"
}

State store read in set_param or condition

{{conv[@user-states].ref[{{task_ref}}].status}}

This reads the status field of the task with reference {{task_ref}} from the @user-states state diagram process.


Workflow: Create an alias

Step 1 — Resolve the process

Check whether the user provided a file path, process name, or process ID. If a file path is given, the process ID is the leading number in the filename (e.g. 1834583_My_Process.conv.json → process_id = 1834583).

If only a name is given, search locally:

bash
find . -name "*.conv.json" | xargs grep -l '"title": "My Process"'

Step 2 — Check if the alias already exists

Before creating, verify the short_name is not taken. Call the list aliases API (see "Workflow: List aliases" below) and scan the short_name fields. If a conflict is found, suggest an alternative name to the user.

Step 3 — Decide the short_name

Apply the naming rules: lowercase, hyphens, no spaces or underscores, at least 3 chars. Suggest a name derived from the process title if the user hasn't specified one.

Step 4 — Create the alias

Call MCP tool create-alias with:

  • process_path: relative path to the .conv.json file
  • short_name: the alias short name
create-alias(
  process_path="./671255_develop/1834583_My_Process.conv.json",
  short_name="payment-checkout"
)

The tool creates the alias, links it to the process, and returns the alias_id. Requires a <id>_<name>.stage.json marker at the workspace root (run corezoid-init if missing).

Step 5 — Update and redeploy referencing processes

After creating the alias, replace any numeric conv_id references to this process across the project with @short-name:

bash
grep -rl '"conv_id": 1834583' . --include="*.conv.json"

For each file found, replace "conv_id": 1834583 with "conv_id": "@payment-checkout". Then for each modified file, run lint-process and on success push-process.

After pushing, tell the user: "Changes deployed. Please refresh the page in Corezoid to see the updated process."


Workflow: List aliases

Call cz-structure with action list-aliases:

cz-structure {"action": "list-aliases", "args": {
  "company_id": "<WORKSPACE_ID>",
  "project_id": <PROJECT_ID>,
  "stage_id": <STAGE_ID>,
  "short_name": "<optional: filter to one exact alias>"
}}

company_id, project_id and stage_id identify the project/stage to search — resolve them with list-projects/list-stages (cz-structure) when searching a stage other than the one currently configured. Pass short_name when you already know the alias you need (e.g. resolving a receiver by name) to get a one-line answer instead of the full table.

Returned per alias:

FieldDescription
Alias IDNumeric ID (needed for modify/delete/link via the raw API — see below)
TitleHuman-readable display title
Short nameThe @short-name used in conv_id references
Target conv_idProcess (conv) ID this alias points to

Workflow: Modify an alias

To rename an alias or change its title/description (does NOT change which process it points to — use unlink + link for that).

API call:

POST {corezoid_url}/api/2/json
Authorization: Simulator {access_token}
Content-Type: application/json

{
  "ops": [{
    "type": "modify",
    "obj": "alias",
    "obj_id": <ALIAS_ID>,
    "title": "New Display Title",
    "short_name": "new-short-name",
    "description": "Updated description",
    "company_id": "<WORKSPACE_ID>",
    "project_id": <PROJECT_ID>,
    "stage_id": <STAGE_ID>
  }]
}

⚠️ Changing short_name invalidates all "conv_id": "@old-name" references across every process in the project. Grep all .conv.json files and update them, then push each modified process.


Workflow: Repoint an alias to a different process

Use two API calls: unlink from the current process, then link to the new one.

Step 1 — Unlink from current process

POST {corezoid_url}/api/2/json

{
  "ops": [{
    "type": "link",
    "obj": "alias",
    "link": false,
    "obj_id": <ALIAS_ID>,
    "obj_to_id": <CURRENT_PROCESS_ID>,
    "obj_to_type": "conv",
    "company_id": "<WORKSPACE_ID>"
  }]
}

Step 2 — Link to new process

POST {corezoid_url}/api/2/json

{
  "ops": [{
    "type": "link",
    "obj": "alias",
    "link": true,
    "obj_id": <ALIAS_ID>,
    "obj_to_id": <NEW_PROCESS_ID>,
    "obj_to_type": "conv",
    "company_id": "<WORKSPACE_ID>"
  }]
}

Workflow: Delete an alias

⚠️ Before deleting, check all .conv.json files for "conv_id": "@alias-name" references. Deleting an alias breaks every process that uses it.

API call:

POST {corezoid_url}/api/2/json
Authorization: Simulator {access_token}
Content-Type: application/json

{
  "ops": [{
    "type": "delete",
    "obj": "alias",
    "obj_id": <ALIAS_ID>,
    "company_id": "<WORKSPACE_ID>"
  }]
}

After deletion, replace all "conv_id": "@alias-name" references with the numeric process ID (or create a new alias), then push each affected process.


Workflow: Get callback hash (external task submission URL / Direct URL webhook)

The callback hash is the secret in a process's or alias's Direct URL — the public webhook endpoint external systems POST tasks to. A process and each of its aliases have independent hashes; rotating or deleting one does not affect the others.

Get the hash — by process (conv_id):

POST {corezoid_url}/api/2/json
Authorization: Simulator {access_token}
Content-Type: application/json

{
  "ops": [{
    "type": "get",
    "obj": "callback_hash",
    "conv_id": <PROCESS_ID>,
    "company_id": "<WORKSPACE_ID>"
  }]
}

Get the hash — by alias (alias_id):

POST {corezoid_url}/api/2/json
Authorization: Simulator {access_token}
Content-Type: application/json

{
  "ops": [{
    "type": "get",
    "obj": "callback_hash",
    "obj_type": "alias",
    "alias_id": <ALIAS_ID>,
    "company_id": "<WORKSPACE_ID>"
  }]
}

Response (both):

json
{ "request_proc": "ok", "ops": [{ "proc": "ok", "callback_hash": "19e339a865d676db68b776f440443821c49a0e30" }] }

Other type values on the same obj: "callback_hash" (swap "type": "get" for one of these, keeping the same conv_id/alias_id field):

typeEffect
createEnables the Direct URL and issues the first hash
getReturns the current hash without changing anything
modifyRotates the hash — the previous URL stops working immediately
deleteDisables the Direct URL entirely

External submission URL:

⚠️ The URL format is installation-specific — always verify against the Direct URL shown in the Corezoid UI for that process/alias before handing it to another system. Two formats have been observed:

  • Cloud (dedicated API Gateway):

    POST {COREZOID_APIGW_URL}/api/1/json/<WORKSPACE_ID>/<callback_hash>
    Content-Type: application/json
    
    { "ops": [{ "ref": "unique-task-ref", "type": "create", "obj": "task", "data": { "key": "value" } }] }

    Where COREZOID_APIGW_URL defaults to https://api-apigw.corezoid.com.

  • Self-hosted (served off the same account host, no separate gateway):

    By conv_id:  https://<host>/api/2/json/public/<conv_id>/<callback_hash>
    By alias:    https://<host>/api/2/json/public/@<alias_short_name>/<project_short_name>/<stage_short_name>/<company_id>/<callback_hash>

    <host> is the same host as corezoid_url on the current Folder. Some installations serve this under /api/1/json/public/... instead of /api/2/ — don't assume without confirming once per installation.

Either way, the hash in the URL is the authentication — treat it like a secret. Prefer alias-based URLs for anything referenced by external systems: an alias can be re-pointed at a new process without invalidating URLs already handed out.


Resolving environment values

create-alias resolves stage_id/project_id automatically from the target process's own location — no argument needed. list-aliases (cz-structure) does not: it takes project_id/stage_id/company_id explicitly, because it is meant to look up aliases in any stage, not only the one currently configured. For direct /api/2/json calls (the raw workflows above) collect the values from:

ValueWhere to find it
company_idworkspace_id field in current Folder (~/.corezoid/config.json)
stage_idobj_id in <id>_<name>.stage.json at the workspace root
project_idparent_id in the same <id>_<name>.stage.json
API URLcorezoid_url field in current Folder
Access tokenaccess_token field in current Folder

If the marker file is missing, run the corezoid-init skill.


Two-step create (alternative manual flow)

The create-alias MCP tool creates and links in a single request. If you need finer control (create first, link later), use the two-step API flow:

Step 1 — Create the alias object

json
{
  "ops": [{
    "type": "create",
    "obj": "alias",
    "title": "My Alias Title",
    "short_name": "my-alias",
    "description": "",
    "company_id": "<WORKSPACE_ID>",
    "project_id": <PROJECT_ID>,
    "stage_id": <STAGE_ID>
  }]
}

Response: { "obj_id": <ALIAS_ID>, "proc": "ok" }

Step 2 — Link the alias to a process

json
{
  "ops": [{
    "type": "link",
    "obj": "alias",
    "link": true,
    "obj_id": <ALIAS_ID>,
    "obj_to_id": <PROCESS_ID>,
    "obj_to_type": "conv",
    "company_id": "<WORKSPACE_ID>"
  }]
}

Common pitfalls

MistakeCorrect approach
"conv_id": "@My-Alias" (uppercase)"conv_id": "@my-alias" — always lowercase
Deleting an alias without updating referencing processesSearch all .conv.json first with grep -r "@alias-name"
Renaming short_name without updating process JSONSame — grep, replace, push each changed process
Creating an alias with short_name that already existsUse list aliases API call first to check
Forgetting to push processes after replacing numeric IDs with aliasesAlways lint-process then push-process for every modified file
Using alias when the workspace has no <id>_<name>.stage.json markerRun corezoid-init

Decision guide

SituationAction
Process has numeric conv_id references from other processesCreate alias, then replace all numeric IDs
Setting up a new process that others will callCreate alias at creation time, use @alias from the start
Want to swap which process an alias points to (blue/green deploy)Unlink + Link (keep the short_name, update the target)
Decommissioning a processCheck alias references, delete alias, update or deprecate callers
External system needs to send tasks to a processGet callback hash for the alias, build API Gateway URL
Reviewing a process for hardcoded numeric conv_idFlag each one, suggest alias creation and replacement

Reference Documents

PathWhen to read
${CLAUDE_PLUGIN_ROOT}/docs/nodes/call-process-node.mdapi_rpc node — where conv_id: "@alias" is used
${CLAUDE_PLUGIN_ROOT}/docs/node-structures.mdJSON schemas for api_rpc and api_copy (both use conv_id)
${CLAUDE_PLUGIN_ROOT}/docs/nodes/set-parameters-dynamic-values.md{{conv[@alias].ref[...].field}} state store read pattern
${CLAUDE_PLUGIN_ROOT}/docs/variables-guide.mdVariable naming rules (same convention as alias short names)
${CLAUDE_PLUGIN_ROOT}/skills/corezoid-review/SKILL.mdStep 10: External Dependencies — alias audit and creation

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

ماذا تفعل مهارة الذكاء الاصطناعي Corezoid Alias Manager؟

Manages Corezoid aliases — create, list, modify, delete, link/unlink, and use aliases in process JSON. Activate when the user mentions "alias", "short_name", "short name", "create alias", "list aliases", "delete alias", "modify alias", "rename alias", "unlink alias", "link alias", "get callback hash", "conv[@", or asks how to reference a process by name instead of numeric ID. Also activate when reviewing a process that uses numeric conv_id values and the user wants to replace them with aliases.

لماذا تستخدم Corezoid Alias Manager على TypingMind؟

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

كيف أثبّت Corezoid Alias Manager في TypingMind؟

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

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Corezoid Alias Manager؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Corezoid Alias Manager؟

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

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

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

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

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

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

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

عرض الكل

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

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