self-awareness
ما الذي تفعله
تتيح هذه المهارة للوكيل فحص مساحة عمله، بما في ذلك ميزات المضيف المتاحة وملفات المشروع والجلسات الجارية. وهي لمن يستخدم بيئة Open-Science ويحتاج إلى معرفة ما يمكن للوكيل استخدامه.
متى تستخدمها
- ✓عندما يحتاج الوكيل إلى معرفة الميزات المفعّلة قبل أن يحاول مهمة.
- ✓عندما تريد إيجاد ملف محدد أو نسخة بيانات في المشروع الحالي.
- ✓عندما تريد أن يقرأ الوكيل نص جلسة سابقة ليرى ما حدث.
رابط المهارة
https://github.com/aipoch/open-science/blob/main/resources/skills/self-awareness/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك فحص ميزات المضيف المتاحة في هذا المشروع، وإيجاد أحدث نسخة من مجموعة البيانات؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يستدعي الوكيل فحص القدرات في بيئة التحكم. ثم يبحث في ملفات المشروع أو الجلسات أو النصوص المسجلة، ويعرض ما وجده.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Self-awareness
Use repl_execute for every host.* call. The host object exists only in the persistent
JavaScript control REPL; Python and R data kernels do not receive it.
Inspect available capabilities
const caps = await host.capabilities()
The current project-native result contains 20 known boolean keys:
mcpgates connector calls throughhost.mcp(server, method, args?).computegates thehost.computenamespace.agentsgates thehost.agentsnamespace.skillsgates thehost.skillsnamespace.artifactsgates managed-file discovery throughhost.artifacts(options?)and exact path resolution throughhost.artifactPath(versionId).lineagegates the read-onlyhost.lineagenamespace.framesgates the read-onlyhost.framesnamespace.sessionsgates Main-only, read-only Session diagnostics throughhost.sessions.list(options?)and exact lookup throughhost.sessions.inspect(sessionId)in the current Project.llmgates one-shot, tool-less inference throughhost.llm(request, options?).currentModelgates exact current-model lookup throughhost.currentModel(). It returns the calling Session's exact current model id and fails when the live backend cannot establish one.listModelsgates configured Host LLM model discovery throughhost.listModels(). It returns the frozen, stable-sorted configured model ids for the current Host LLM Provider and framework. It never refreshes over the network or merges ids across Providers.viewImagegates transient image attachment throughhost.viewImage(source, options?). Sources may be an Artifact or Upload Version in the current Project, or a path relative to the current execution workspace. For a generated file, pass the same relative path used to save it.delegate,children,collect,stopChild, andresolveMessageare Main/root-only delegated work operations.sendFrameMessageandmessageReceiptare available to Main/root and Delegate agents when their trusted route is provisioned.submitOutputis available only to an authenticated Delegate Attempt with an admitted output schema.
Newer runtimes may return additive boolean keys. Do not assume their meaning until their matching Skill documents them. Older runtimes can omit known keys.
Interpret every key narrowly:
truemeans the current session capability authorizes the namespace and the application has its handler configured. It does not mean a resource exists, approval is unnecessary, or a call will succeed.falsemeans the capability name is known but unavailable to this caller.- A missing key means this runtime does not know that capability. Test with
=== true.
const caps = await host.capabilities()
if (caps.compute === true) {
const availableHosts = await host.compute.listHosts()
}
if (caps.llm === true) {
const result = await host.llm('Summarize the current findings.')
}
if (caps.currentModel === true) {
const sessionModel = await host.currentModel()
}
if (caps.listModels === true) {
const hostLlmModels = await host.listModels()
}
if (caps.sessions === true) {
const recentSessions = await host.sessions.list({ limit: 20 })
}
if (caps.viewImage === true) {
await host.viewImage({ path: 'results/plot.png' }, { maxSize: 1200 })
}
if (caps.sendFrameMessage === true) {
await host.sendFrameMessage('parent', 'The analysis is ready.')
}
Do not infer capabilities by reflecting over host, and do not treat this result as a resource,
credential, permission, or readiness inventory. Call it again when current availability matters; each
call returns a fresh frozen projection.
host.help() documents registered topics only. A not_found result identifies missing Help
documentation: not_found does not override host.capabilities() or prove that a method is absent.
Discover managed Project files
When caps.artifacts === true, use await host.artifacts(options) to list generated Artifacts and
user Uploads across the current Project. Optional camelCase fields are versionId, frameId,
filename, exact, search, contentType, after, before, cursor, and limit (default 20,
maximum 100). versionId is exclusive; exact requires filename; search and filename cannot
be combined. contentType accepts an exact MIME type or a top-level prefix such as text/. Bare
dates are UTC midnight, after is inclusive, and before is exclusive
الأسئلة الشائعة
هل تغيّر شيئًا في مشروعي؟
معظم استدعاءاتها للقراءة فقط، مثل عرض الجلسات وقراءة النصوص المسجلة.
أين تعمل هذه المهارة؟
تعمل فقط في بيئة التحكم JavaScript، لأن كائن المضيف موجود هناك فقط.
هل تستطيع استدعاء نموذج؟
فقط إذا كانت هذه الميزة مفعّلة للمشروع. وتذكرها المهارة كقدرة منفصلة.
التفاصيل
الوصف الأصلي من المؤلف
Inspect Open-Science's JavaScript control REPL, discover managed Project files, Sessions, and Agent Frames, and safely feature-gate host.* calls with host.capabilities(). Use when an Agent needs to discover available host APIs, locate an Artifact or Upload Version, diagnose a Session, or read a Frame transcript in the current Project.
repo: aipoch/open-science
الشعبية
- نجوم GitHub
- 5.4k
- الترتيب
- #14872
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
alphafold2
5.4kيساعد وكيلك على التنبؤ بالبنية ثلاثية الأبعاد للبروتين انطلاقًا من تسلسله، بما في ذلك معقدات البروتينات، باستخدام AlphaFold2 عبر منفذ ColabFold.
boltz
5.4kيساعد وكيلك على التنبؤ ببنية معقدات البروتينات والحمض النووي والحمض الريبوزي والجزيئات الصغيرة، باستخدام نموذج Boltz-2 مفتوح المصدر، مع تقديرات اختيارية لقوة الارتباط.
borzoi
5.4kيساعد وكيلك على التنبؤ بمسارات النشاط على مستوى الجينوم، مثل التعبير وإمكانية الوصول، انطلاقًا من تسلسل الحمض النووي، ومقارنة المتغيرات بحسب أثرها المتوقع.
chai1
5.4kيساعد وكيلك على التنبؤ ببنية معقدات البروتينات والأحماض النووية والليغاندات من ملف FASTA واحد، باستخدام نموذج Chai-1 المرخّص بترخيص Apache.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.