شعار Create Package

Create Package

المجتمع
lploc94
create-package

Use when packaging or sharing Raw agents, tools, skills, hooks, vars or MCP as a .rawpkg, or preparing an updated release. Covers CLI and dashboard exports, recipient inputs and installation checks.

نظرة عامة

الناشرlploc94
المستودعraw-cli
اسم المهارةcreate-package
النجوم
107
التفريعات
14
الملفات المرفقة
3
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lploc94/raw-cli.git /tmp/raw-cli
mkdir -p .claude/skills
cp -r /tmp/raw-cli/examples/skills/create_package .claude/skills/create-package
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Create a shareable Raw package

Produce editable package source, a validated .rawpkg archive and instructions the recipient can follow. Use for packaging existing components or assembling a package. Creating a new tool, skill, agent or MCP connection belongs to its creation skill when selected; use that guidance only for components the request actually needs.

For a how-to, explain the relevant commands and contract. For a requested artifact, carry out the workflow below. For a failed package, start from its validation or activation error and preserve unrelated configuration.

For browser import/export and typed binding forms, read references/dashboard.md with read_file.

Choose the source and contents

Establish the source agent or component paths, output directory, scoped package name (@owner/name) and SemVer release (1.0.0). Keep the requested scope: a tool-only or skill-only package needs no agent export. An export name, installed alias and recipient agent name are separate identifiers.

  • Existing agent: raw package export --agent NAME --name @owner/name --version 1.0.0 --out DIR --config AUTHOR_CONFIG. Use a new or empty destination. This copies selected owned assets and produces a report; inspect required inputs, external executables and unresolved assets before packing.
  • Selected components or a new composition: author raw-package.json and its declared files. Start from the installed examples/packages/tool-only/, skill-only/ or mixed-kit/ when helpful. The examples and docs/packages.md belong to the installed raw-cli package; do not assume a source checkout or resolve them from the project cwd.

Before writing a manifest or inputs, read references/manifest.md with read_file. Before installation, activation, updates or development linking, read references/packages.md. Resolve these references beside this loaded skill; load_skill does not automatically include their contents.

Package prompts, helpers, skill resources and provider/MCP scripts that the package owns. Keep recipient model aliases, machine paths, environment names and service settings in recipient bindings or typed inputs. Current var readings and session history are not package definitions. Builtin selections continue to use the recipient's Raw installation.

Export makes literal var sources and external paths/settings into recipient inputs by default. The CLI has no --include-literals or --include-files flags. For deliberately shared constants or owned files, edit the generated source/manifest or use the SDK's explicit includeLiterals and includeFiles options. Review wildcard rules after export; exact local tool identities are rewritten automatically.

Minimal package with a recipient input

This complete example exports a small agent, a reusable var and a notification hook. Create the three declared paths under a new source directory. The recipient supplies Node on PATH but no model credential is embedded.

raw-package.json:

json
{
  "schema_version": 1,
  "name": "@example/project-kit",
  "version": "1.0.0",
  "description": "An assistant that reads the recipient's project label",
  "files": ["agents/helper.json", "vars/project_label.json", "hooks/notice"],
  "exports": {
    "agents": {"helper": "agents/helper.json"},
    "vars": {"project_label": "vars/project_label.json"},
    "hooks": {"notice": "hooks/notice"}
  },
  "inputs": {
    "type": "object",
    "properties": {"project_label": {"type": "string", "description": "Recipient project label"}},
    "required": ["project_label"]
  },
  "requires": ["raw.agent/1", "raw.hook/2"],
  "metadata": {"external_executables": ["node"]}
}

agents/helper.json (the recipient supplies model):

json
{
  "system_prompt": "Help with the user's project. Read project_label when the project name is relevant. Treat previous variable readings as historical.",
  "tools": {"use": ["builtin/list_vars", "builtin/read_var"]},
  "vars": ["#vars/project_label"],
  "hooks": {"use": ["#hooks/notice"]}
}

vars/project_label.json:

json
{
  "description": "The recipient's project label",
  "access": "read",
  "type": "string",
  "source": {"kind": "literal", "value": {"$input": "project_label"}}
}

The recipient input file for this example is {"project_label":"My project"}. This is a supplied definition value; changing it does not evaluate a provider or template the prompt.

hooks/notice/hook.json and hooks/notice/index.mjs (both covered by files):

json
{"protocol_version": 2, "name":"notice","events":[{"name":"UserPromptSubmit"}],"command":"node","args":["./index.mjs"],"timeout_ms":3000}
js
process.stdin.resume();
process.stdin.on("end", () => process.stdout.write(JSON.stringify({message:"Package hook ran"})));

The hook is selected only by the exported agent. Inspection, installation and binding validate it without running the script; a selected user prompt triggers it. To package a hook alone, export hooks.notice and declare its complete folder, then add pkg/ALIAS/hooks/notice to a direct agent's ordered hooks.use.

Validate, pack and hand off

  1. Run raw package validate DIR and raw package inspect DIR. Resolve missing/undeclared files and invalid references at their source. Validation does not import tools, execute providers, connect MCP or call a model.
  2. Run raw package pack DIR --out FILE.rawpkg, then inspect that archive. Report its name, version, exported components, required inputs and executable prerequisites. There are no install hooks or automatic npm/pip/system dependency installers.
  3. For an artifact request, check the recipient path using an isolated config and data directory as described in references/packages.md. Install the archive, bind the requested export and exercise the relevant harmless operation. A missing external service or model need not block packing; report which live behavior remains unverified. A prose explanation needs no test installation.
  4. Deliver the archive path and exact install/binding commands. Include an input example, a recipient model placeholder and any external prerequisites. The recipient supplies an existing local model alias. Installing alone does not select components or change default_agent.

Send or publish the artifact only when requested. Raw v1 accepts local folders and .rawpkg files; a user can download one from GitHub Releases, but Raw has no hosted marketplace or automatic Git download command.

For a new release, update the source version and repack, then use raw package update ALIAS --from NEW.rawpkg --config CONFIG. Existing sessions can resume with the current runtime. Meaningful prompt/tool changes may rotate Raw's generated cache key once; skill changes can add a tail reload notice. An unchanged next resume is stable; a version label alone is not a reason to reset sessions.

الملفات المرفقة

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

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

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

Use when packaging or sharing Raw agents, tools, skills, hooks, vars or MCP as a .rawpkg, or preparing an updated release. Covers CLI and dashboard exports, recipient inputs and installation checks.

لماذا تستخدم Create Package على TypingMind؟

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

كيف أثبّت Create Package في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/lploc94/raw-cli/tree/main/examples/skills/create_package. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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