browser-login
ما الذي تفعله
تُرشد هذه المهارة الوكيل خلال عملية تسجيل الدخول، وتحفظ الجلسة بشكل آمن لإعادة استخدامها. وهي موجهة لمن يزورون موقعاً يتطلب تسجيل الدخول باستمرار.
متى تستخدمها
- ✓عندما ستزور الموقع نفسه مراراً وتحتاج إلى البقاء مسجلاً.
- ✓عندما تنتهي جلسة ويجب تجديدها.
- ✓عندما يتضمن تسجيل الدخول خطوة متعددة العوامل تحتاج إلى إدخالك.
رابط المهارة
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-login/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“سجّل دخولي إلى بوابة المورد مرة واحدة، واحتفظ بالجلسة حتى تستطيع مهامي التالية استخدامها.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقود وكيلك تسجيل الدخول ببيانات الاعتماد التي تقدمها، ويتوقف عند أي خطوة متعددة العوامل، ويخزن أسماء ملفات الارتباط وبياناتها الوصفية فقط، لا قيمها، كمرجع قابل لإعادة الاستخدام.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Browser Login
Authenticate against a target site once, then vault the resulting session credentials so subsequent skills (browser-extract, browser-form-fill, browser-test) can reuse them without re-driving the auth flow. Borrows the pattern from Browserbase's cookie-sync/SKILL.md but stores the resulting context in AgentDB rather than on a hosted backend.
When to use
- Establishing reusable auth for a host the agent will visit repeatedly.
- Refreshing a vaulted cookie set whose expiry has passed.
- Capturing an MFA-protected session that requires interactive completion.
Steps
- Open a recorded session via
browser-record. - Drive the auth flow — fill credentials with
browser_fill/browser_type. Credentials come from the user or environment; do not read them from.envor paste them into the trajectory args. - Handle MFA (when
--mfa): pause for user input or invoke the user's TOTP helper; capture only the resulting redirect, not the code itself. - Capture cookie metadata, not values. Run
browser_evalwith an expression that returns only each cookie's name, value length and a Shannon-entropy estimate, for exampledocument.cookie.split('; ').map(c => { const [n, ...v] = c.split('='); return { name: n, length: v.join('=').length } }). Never returndocument.cookieitself: tool output goes straight into the model's context, so the raw values would be exposed before any gate runs.document.cookiealso cannot seeHttpOnlycookies, which are usually the session cookie; if the session isHttpOnly, record that fact and rely on the browser profile staying alive rather than on a captured value. - Classify each cookie from the metadata in step 4 (name pattern, length, entropy). Anything that looks like a session or auth token is vault-wrapped (an opaque handle) before AgentDB store; raw values never enter the namespace or the model's context.
- Store in
browser-cookies:npx -y @claude-flow/cli@latest memory store --namespace browser-cookies \ --key "<host>" \ --value "{vault_handle:<opaque>, expiry:<iso>, aidefence_verdict:safe}" - Return the vault handle. Downstream skills look it up with
browser_cookie_use(host in, handle record out).
Caveats
- Never log raw cookie values, tokens, or passwords. The trajectory step for the auth POST records only the form field names and a
<redacted>placeholder for values. browser_cookie_useis implemented, but it only returns the handle record (handle, expiry, AIDefence verdict) for a host. No tool injects a vaulted cookie into a live page, so a re-used login still needs a browser profile that already holds the session, or a freshbrowser-login.- Some sites bind cookies to a UA fingerprint; if a vaulted cookie fails on reuse, re-run
browser-login. Do not attempt to fingerprint-match yourself. - This skill is not a credential storage solution. The vault-handle pattern protects against AgentDB leaks, not against compromise of the agent's environment.
الأسئلة الشائعة
هل تُخزَّن كلمات المرور؟
تقول المهارة إن بيانات الاعتماد تأتي منك أو من البيئة، ولا تُلصق في مسار التنفيذ.
هل تُحفظ قيم ملفات الارتباط؟
تقول المهارة إنها لا تعيد قيم ملفات الارتباط، بل أسماءها وبياناتها الوصفية فقط.
ماذا عن التحقق بخطوتين؟
تتوقف المهارة لطلب إدخالك عندما تحتاج خطوة متعددة العوامل.
التفاصيل
الوصف الأصلي من المؤلف
Drive an authentication flow once, sanitize cookies through AIDefence, and vault a reusable cookie handle in browser-cookies for future sessions
repo: ruvnet/ruflo
الشعبية
- نجوم GitHub
- 81k
- الترتيب
- #1579
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-adaptive-coordinator
81kيساعد وكيلك على تقسيم مجموعة من وكلاء الذكاء الاصطناعي وإعادة توزيعها مع تغير حجم العمل، واختيار تخطيط يناسب المهمة.
agent-agent
81kيعلّم وكيلك أن يحوّل هدفًا كبيرًا إلى خطة مرتبة من الإجراءات، وأن يعيد التخطيط عندما تتغير الظروف.
agent-agentic-payments
81kيساعد وكيلك على إدارة تفويضات الإنفاق للتسوق بالذكاء الاصطناعي، بحدود إنفاق وأطر زمنية وقواعد للتجار وموافقات موقعة.
agent-analyze-code-quality
81kيساعد وكيلك على مراجعة الشيفرة من حيث الجودة، فيجد روائح الشيفرة والديون التقنية واقتراحات إعادة الهيكلة دون تغيير الملفات.
مهارات مشابهة
knowledge-automation
394kيساعد وكيلك على إعداد مهمة متكررة تضيف المحتوى الجديد إلى خزنة Knowledge حسب جدول زمني، ثم يتحقق من أنها تعمل.
knowledge-source-ingest
394kيساعد وكيلك على إبقاء خزنة المعرفة محدّثة بالعناصر الجديدة من قنوات الدردشة أو الخلاصات أو صناديق البريد، دون إعادة إضافة ما لديه.
benchmark
280kيساعد وكيلك على قياس سرعة الشيفرة وأدائها، ويفيد في التأكد من أن الأشياء سريعة وفي إيجاد مشكلات البطء.