تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

secret-portal

بواسطة awlevin

Web & Frontend Development
638التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Spin up a one-time web UI for securely entering secret keys and env vars.

الوصف

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

Spins up a temporary, one-time-use web UI for entering API keys and environment variables. The portal expires after a single submission and secrets never appear in terminal output or chat history. Supports cloudflared tunneling for secure remote access without firewall changes.

Pasting secrets into a terminal or chat leaves them in logs and history; this keeps values out of both by design.

متى تستخدمها

  • Entering an API key on a remote server without it appearing in terminal history
  • Letting a non-technical user submit credentials via their phone browser
  • Collecting secrets from a contractor without sharing your terminal session
  • Onboarding a new team member to enter their own credentials without shell access
  • Adding env vars to a cloud instance without them showing up in shell logs

مثال على سير العمل

الإدخال

User asks: Add my OPENAI_API_KEY to ~/.env without it showing up in the terminal

الوكيل
  1. 1

    Runs secret-portal with -k OPENAI_API_KEY, -f ~/.env, and --tunnel cloudflared

  2. 2

    Portal generates a one-time HTTPS URL containing a random 32-byte token

  3. 3

    User opens the URL in any browser and enters the key value into the input field

  4. 4

    Portal writes OPENAI_API_KEY to ~/.env with 600 permissions and shuts down

الإخراج

OPENAI_API_KEY written to ~/.env; portal expired and the URL is no longer valid

المتطلبات

  • uv (Python package runner) — install via brew or https://docs.astral.sh/uv/

التثبيت

clawhub install awlevin/secret-portal

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط