شعار Hosted Compute And Integrations

Hosted Compute And Integrations

مؤسسة
VectorSpaceLab
hosted-compute-and-integrations

Routes hosted Jobs and Sandboxes, Space runtime configuration, OAuth and webhooks, framework/model integration, repository cards, tensor serialization, and TensorBoard logging workflows.

نظرة عامة

الناشرVectorSpaceLab
المستودعAREX-Skill
اسم المهارةhosted-compute-and-integrations
النجوم
341
التفريعات
26
الملفات المرفقة
6
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/VectorSpaceLab/AREX-Skill/tree/main/examples/creator/repo-to-skills/artifacts/huggingface_hub/huggingface-hub/sub-skills/hosted-compute-and-integrations
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git /tmp/AREX-Skill
mkdir -p .claude/skills
cp -r /tmp/AREX-Skill/examples/creator/repo-to-skills/artifacts/huggingface_hub/huggingface-hub/sub-skills/hosted-compute-and-integrations .claude/skills/hosted-compute-and-integrations
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

يُحمّل النموذج مهارة Hosted Compute And Integrations تلقائيًا بمجرد ورود طلب ذي صلة بها.

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

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

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

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

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

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

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

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

Hosted compute and integrations

Use this route when a task mentions Hugging Face Jobs, scheduled Jobs, a Sandbox or SandboxPool, Space hardware/storage/secrets/variables, OAuth, WebhooksServer, model-framework integration, model/dataset/Space cards, DDUF, sharded checkpoints, safetensors, or TensorBoard traces.

Choose the route

  • Read jobs-and-sandboxes.md for Jobs, scheduled Jobs, hardware selection, volumes, logs, and sandbox lifecycle.
  • Read spaces-and-server-integrations.md for Space runtime changes, secrets/variables, OAuth, webhook servers, and Hub-managed webhook registration.
  • Read model-integration-and-cards.md for ModelHubMixin, PyTorchModelHubMixin, local save/load, cards, model-index metadata, and the local-versus-Hub TensorBoard writer boundary.
  • Read serialization.md for DDUF, torch safetensors/pickle formats, sharding, index-file safety, and local round trips.
  • Read troubleshooting.md for optional dependencies, invalid resources/configuration, auth/network errors, and recovery decisions. It is also the route for distinguishing client wait timeouts from server Job/Space failures.

Run the safe local integration fixture with scripts/local_integration_smoke.py before attempting any hosted operation. It creates a temporary model/card, sharded checkpoint, DDUF archive, and mocked configuration recovery; it does not contact the Hub or change a remote resource.

Operating contract

  1. Classify side effects first. run_job, scheduled-Job creation or triggering, Sandbox.create, SandboxPool warm-up, Space creation/upload, Space hardware/storage/secret/variable changes, webhook registration, card publishing, push_to_hub, and HFSummaryWriter are credentialed or side-effecting. Treat GPU/paid flavors, storage, and long-running processes as potentially billable. Use mocks or local fixtures until the user has explicitly authorized a real target.
  2. Pin the package contract. Confirm the installed version and inspect the public signature before composing a command. Representative public APIs are listed in the linked references; do not infer new parameters from an old example. Experimental Sandbox, UV-job, OAuth, WebhooksServer, DDUF, and TensorBoard APIs can change, so pin a compatible huggingface_hub version.
  3. Separate configuration from execution. Validate image, command, cron, volume URI, model/card metadata, checkpoint index, webhook route, and Space settings locally. Keep ordinary environment values in env/variables and sensitive values in encrypted Job/Space secrets where supported. Never print secret values or forward an HF token unless it is an explicit requirement.
  4. Choose resources deliberately. Query available Jobs/Space hardware rather than hard-coding an assumption. A dedicated Sandbox supports GPU and stronger VM isolation; a SandboxPool is CPU-only, shares a host, accepts no per-sandbox volume, and does not provide the dedicated Job secret channel. Stop or pause paid resources when the work ends.
  5. Observe state, do not assume success. Jobs move through SCHEDULING and RUNNING to COMPLETED, CANCELED, ERROR, or DELETED; wait_for_job returns failed final info rather than raising for a failed Job. Spaces may remain in build/start stages and need wait_for_space; inspect the returned stage and logs before retrying. A scheduled Job's immediate trigger does not alter its schedule.
  6. Prefer safe serialization. Save torch weights as safetensors by default, validate the generated index and weight map, load with an explicit device and strictness policy, and treat pickle loading as unsafe for untrusted files. DDUF is a constrained diffusion archive, not a general-purpose ZIP.
  7. Preserve recovery evidence. Record the input resource, requested versus actual state, credential scope, error/status message, and the corrective change. After a restart or webhook/OAuth change, re-read runtime/route state and perform a local or mocked request before repeating a remote mutation.

Verification route

  • Start with import/signature checks and the bundled local fixture.
  • Assert local model config, card metadata, tensor keys/shapes, generated shard index paths, DDUF entry names, and round-trip values.
  • For lifecycle logic, replace HfApi methods with autospecced mocks and feed staged JobInfo/SpaceRuntime results. Assert invalid configuration causes zero client calls, then assert the corrected plan calls only the mocks.
  • Keep socket access blocked while the fixture runs. A green local result proves payload/config handling, not credentials, service capacity, billing, or a production callback. Escalate to live verification only with authorization.

Minimal environment check

For a normal install, check only what the requested route needs:

bash
python -c "import huggingface_hub; print(huggingface_hub.__version__)"
# Add torch and safetensors for serialization; add gradio for WebhooksServer;
# add the oauth extra for OAuth; add tensorboard or tensorboardX for logging.

Do not run the following during safe verification: hosted Job/Sandbox creation, SandboxPool construction with warm-up, Space or endpoint resource changes, secret writes/deletes, webhook create/update/delete, card/mixin uploads, push_to_hub, live OAuth callbacks, HFSummaryWriter against a real repo, or remote validation/downloads. Mock the client boundary and use local fixtures; see troubleshooting.md when a live check is explicitly authorized.

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي Hosted Compute And Integrations؟

Routes hosted Jobs and Sandboxes, Space runtime configuration, OAuth and webhooks, framework/model integration, repository cards, tensor serialization, and TensorBoard logging workflows.

لماذا تستخدم Hosted Compute And Integrations على TypingMind؟

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

كيف أثبّت Hosted Compute And Integrations في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/VectorSpaceLab/AREX-Skill/tree/main/examples/creator/repo-to-skills/artifacts/huggingface_hub/huggingface-hub/sub-skills/hosted-compute-and-integrations. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Hosted Compute And Integrations؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Hosted Compute And Integrations؟

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

هل مهارة الذكاء الاصطناعي Hosted Compute And Integrations مجانية؟

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

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

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

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

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

عرض الكل

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

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