Skillpedia
الموصّلات (MCP)75k · #2688

setup-api-key

ما الذي تفعله

هذه المهارة تساعدك على الحصول على مفتاح ElevenLabs API وحفظه حتى تستطيع الأدوات استخدامه. وهي موجهة لمن يرى خطأ بسبب مفتاح مفقود أو يريد ربط ElevenLabs.

متى تستخدمها

  • ✓عندما تفشل أداة ElevenLabs لأن مفتاح API مفقود.
  • ✓عندما تريد التحقق مما إذا كان مفتاح ElevenLabs المحفوظ ما زال يعمل.
  • ✓عندما تحتاج إلى استبدال مفتاح ElevenLabs أو تدويره.

رابط المهارة

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/setup-api-key/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/setup-api-key/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أداة الصوت الخاصة بـ ElevenLabs تقول إن مفتاح API مفقود. هل تساعدني في إعداده؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تبحث المهارة أولًا عن مفتاح موجود وتختبره. وإذا كان المفتاح مفقودًا أو لم يعد يعمل، تطلب منك إنشاء مفتاح جديد من موقع ElevenLabs وحفظه.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

ElevenLabs API Key Setup

Guide the user through obtaining and configuring an ElevenLabs API key.

Workflow

Step 0: Check for an existing API key first

Before asking the user for a key, check for an existing ELEVENLABS_API_KEY:

  1. Check whether ELEVENLABS_API_KEY exists in the current environment.
  2. If it's not in the environment, check .env for ELEVENLABS_API_KEY=<value>.
  3. If an existing key is found, validate it:
    GET https://api.elevenlabs.io/v1/user
    Header: xi-api-key: <existing-api-key>
    
  4. If existing key validation succeeds:
    • Tell the user ElevenLabs is already configured and working
    • Skip the setup flow
    • Ask whether they want to replace/rotate the key; if not, stop
  5. If existing key validation fails:
    • Tell the user the existing key appears invalid or expired
    • Continue to Step 1

Step 1: Request the API key

Tell the user:

To set up ElevenLabs, open the API keys page: https://elevenlabs.io/app/settings/api-keys

(Need an account? Create one at https://elevenlabs.io/app/sign-up first)

If you don't have an API key yet:

  1. Click "Create key"
  2. Name it (or use the default)
  3. Set permission for your key. If you provide a key with "User" permission set to "Read" this skill will automatically verify if your key works
  4. Click "Create key" to confirm
  5. Copy the key immediately - it's only shown once!

Paste your API key here when ready.

Then wait for the user's next message which should contain the API key.

Step 2: Validate and configure

Once the user provides the API key:

  1. Validate the key by making a request:

    GET https://api.elevenlabs.io/v1/user
    Header: xi-api-key: <the-api-key>
    
  2. If validation fails:

  3. If validation succeeds, save the API key in a .env file:

    ELEVENLABS_API_KEY=<the-api-key>
    
    • If .env already has ELEVENLABS_API_KEY=..., replace that line
    • Otherwise add a new line for ELEVENLABS_API_KEY
  4. Confirm success:

    Done! Your key is stored as an environment variable in .env Keep the key safe! Don't share it with anyone!

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

هل تتحقق المهارة من المفتاح قبل أن تطلب مفتاحًا جديدًا؟

نعم. إذا كان مفتاح محفوظ، تختبره أولًا وتتوقف إذا ما زال يعمل.

ماذا أحتاج قبل البدء؟

حساب على ElevenLabs. إذا لم يكن لديك حساب، تعطيك المهارة صفحة التسجيل أولًا.

هل يُختبر المفتاح الجديد بعد إنشائه؟

تنص المهارة على أن المفتاح الذي يملك صلاحية قراءة إعدادات المستخدم يُفحص تلقائيًا.

التفاصيل

الوصف الأصلي من المؤلف

Guides users through setting up an ElevenLabs API key for ElevenLabs MCP tools. Use when the user needs to configure an ElevenLabs API key, when ElevenLabs tools fail due to missing API key, or when the user mentions needing access to ElevenLabs. First checks whether ELEVENLABS_API_KEY is already configured and valid, and only runs full setup when needed.

repo: calesthio/OpenMontage

الشعبية

نجوم GitHub
75k
الترتيب
#2688
الترخيص
AGPL-3.0
آخر تحديث
28‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة