latchshot-page-capture
ما الذي تفعله
تلتقط هذه المهارة صوراً (لقطات شاشة) لصفحات الويب العامة، وتحفظها على حاسوبك بصيغة PNG أو JPEG أو PDF. ويمكنها أيضاً حفظ الصفحة كاملة أو إنشاء ملف PDF منها.
متى تستخدمها
- ✓حفظ صفحة ويب كصورة لتقرير.
- ✓إنشاء صورة مصغّرة لموقع لمشاركتها على وسائل التواصل.
- ✓تحويل صفحة ويب إلى ملف PDF للأرشفة.
رابط المهارة
https://github.com/github/awesome-copilot/blob/main/skills/latchshot-page-capture/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“التقط لقطة شاشة للصفحة الرئيسية لموقع NASA واحفظها بصيغة PNG.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تزوّد المهارة برابط صفحة ويب عامة، فتصل إليها لإنشاء صورة أو ملف PDF. وتعمل بحفظ المحتوى الظاهر للصفحة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Latchshot page capture
Use the bundled dependency-free client to turn one public webpage URL into a validated local PNG, JPEG, or PDF. Start with a constrained no-key JPEG demo when appropriate. Authenticated commands send the API key only to the fixed https://latchshot.fly.dev origin, and every artifact is written atomically.
Latchshot is a hosted third-party service maintained by this skill's contributor. Keep its use optional and preserve an existing local-browser workflow when the task needs private pages or unsupported browser actions.
Prerequisite
Require Node.js 20 or newer and network access. Read the key only from LATCHSHOT_API_KEY for authenticated capture and usage commands.
If the variable is missing, use the no-key demo for one bounded JPEG when it fits the request. For PNG, PDF, full-page, cleanup, or repeat work, direct the user to the Agent Skills setup documentation, then stop. Never ask the user to paste a key into chat, a command argument, source code, a committed file, or output. Never print or return the key.
No-key demo
Use this command for a public page when a viewport JPEG is acceptable:
node scripts/latchshot.mjs demo \
--url 'https://example.com' \
--output './artifacts/example-demo.jpg'
The demo is JPEG-only, does not use an account or render quota, and allows three attempts per IP address per hour. It accepts only width, height, query confirmation, and explicit overwrite options. The public URL is still sent to Latchshot, and the request carries the coarse agentskill acquisition label. Reject private pages, secrets, signed URLs, and authenticated access exactly as in the capture workflow. Treat the result as a proof artifact, not as a customer activation or plan signup.
Capture workflow
Confirm the target is a public HTTP or HTTPS page. Reject credentials, private/internal pages, non-web ports, signed URLs, query secrets, and any request requiring login, cookies, CAPTCHA handling, proxy rotation, arbitrary scripts, clicks, typing, or anti-bot bypass.
Choose a user-approved output path. Infer the format from
.png,.jpg/.jpeg, or.pdf, or pass the matching--formatexplicitly.Run the client from this skill directory:
node scripts/latchshot.mjs capture \ --url 'https://example.com' \ --output './artifacts/example.png'For a bounded full-page screenshot that activates lazy content:
node scripts/latchshot.mjs capture \ --url 'https://example.com' \ --output './artifacts/example-full.png' \ --full-page \ --scroll-pageFor a PDF:
node scripts/latchshot.mjs capture \ --url 'https://example.com' \ --output './artifacts/example.pdf' \ --paper A4Parse the one-line JSON result. Confirm
ok,output,format,contentType, andbytes; inspect the local artifact when the surrounding task requires visual or document verification. Report the path and relevant render/quota diagnostics without exposing the key.
Run node scripts/latchshot.mjs --help for the exact bounded options. Use --block-ads, --block-trackers, --block-chats, --hide-cookie-banners, and --hide-popups only as best-effort cleanup—not bypass. Use --allow-query only after confirming that the query contains no credential, signature, token, customer data, or other secret. The client refuses to overwrite a file unless --force is explicit.
Read quota
Use the read-only command when the user asks about remaining renders or reset time:
node scripts/latchshot.mjs usage
This does not consume render quota or change a plan.
Failure handling
- Read the structured error code and message from stderr; do not retry validation or authentication failures.
- For
demo_limit, wait for the hourly reset rather than looping or switching identities. - For
rate_limited, wait for the reported reset or retry-after boundary rather than looping. - For a render failure, state the failure and preserve any existing output file. Do not silently substitute a local browser, a different provider, or unsupported private-page access.
- Do not initiate an upgrade, checkout, payment, implementation request, or other commercial action. Those remain user- and owner-controlled.
Hard boundaries
…
الأسئلة الشائعة
هل يمكن استخدامها للصفحات التي تتطلب تسجيل دخول؟
لا، تعمل هذه المهارة فقط مع صفحات الويب التي يمكن لأي شخص الوصول إليها دون تسجيل دخول أو تقديم معلومات خاصة.
هل يمكنها استخراج معلومات محددة من الصفحة؟
لا، تلتقط المهارة الصفحة كصورة أو ملف PDF فقط، ولا تستخرج نصوصاً أو بيانات محددة.
ماذا يحدث إذا لم تُحمَّل الصفحة بالكامل؟
تحاول المهارة التقاط الصفحة كاملة حتى لو كان تحميل المحتوى بطيئاً، لكنها لا تستطيع ضمان التقاط كل شيء عند وجود مشكلات في التحميل.
التفاصيل
الوصف الأصلي من المؤلف
Use this skill when a user needs a screenshot, website thumbnail, full-page capture, or PDF of a public HTTP(S) webpage saved as a local artifact through Latchshot, including report, QA, archive, and social-preview workflows. Do not use it for private or authenticated pages, raw HTML, scraping or extraction, arbitrary browser actions, CAPTCHA or anti-bot bypass, or local-file capture.
repo: github/awesome-copilot
الشعبية
- نجوم GitHub
- 40k
- الترتيب
- #7267
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
acquire-codebase-knowledge
40kيساعد وكيلك على فهم مشروع برمجي موجود وتوثيقه. مفيد لتعريف الأشخاص الجدد أو للحصول على نظرة عامة على البنية.
acreadiness-assess
40kيمكّن وكيلك من تقييم جاهزية مشروع للذكاء الاصطناعي وإنشاء تقرير. مفيد لمعرفة مدى استعداد المشروع لاستخدام أدوات الذكاء الاصطناعي.
acreadiness-generate-instructions
40kيساعد وكيلك على إنشاء تعليمات لأدوات الذكاء الاصطناعي بناءً على تقييم. مفيد لتحسين طريقة تفاعل الذكاء الاصطناعي مع الكود وسد الثغرات المحددة.
acreadiness-policy
40kيمكّن وكيلك من تحديد أو تطبيق سياسات لتقييم مشاريع الذكاء الاصطناعي. مفيد لتوحيد طريقة تقييم المشاريع وضمان الالتزام.
مهارات مشابهة
gifgrep
394kيتيح لوكيلك البحث في مكتبات GIF ومعاينة النتائج وتنزيل ملف GIF، واستخراج إطار ثابت أو شبكة إطارات منه.
meme-maker
394kيتيح لوكيلك اختيار قالب ميم وإضافة عناوينك الخاصة، ثم إنشاء الميم كصورة بصيغة SVG أو PNG.
ios-icon-gen
280kيتيح لوكيلك إنشاء أيقونات لتطبيقات iOS. يستخدم رموز Apple أو أيقونات من مصادر أخرى لإنشاء الملفات الصحيحة.