شعار Clawkeeper

Clawkeeper

المجتمعشائع
SafeAI-Lab-X
clawkeeper

Install, configure, verify, and debug the Clawkeeper watcher stack in this workspace. Use when a user asks to set up `clawkeeper`, initialize `remote` or `local` mode, enable `clawkeeper-watcher`, wire `clawkeeper-bands`, diagnose `context-judge` routing, inspect watcher logs, fix mode/config mismatches, or troubleshoot startup, audit, hardening, rollback, drift monitoring, or bridge notification issues.

Add to TypingMind

نظرة عامة

الناشرSafeAI-Lab-X
المستودعClawKeeper
اسم المهارةclawkeeper
النجوم
1K
التفريعات
57
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها SafeAI-Lab-X على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Clawkeeper في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/SafeAI-Lab-X/ClawKeeper/tree/main/legacy/clawkeeper-watcher/skills/clawkeeper
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SafeAI-Lab-X/ClawKeeper.git /tmp/ClawKeeper
mkdir -p .claude/skills
cp -r /tmp/ClawKeeper/legacy/clawkeeper-watcher/skills/clawkeeper .claude/skills/clawkeeper
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Clawkeeper في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Clawkeeper تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Clawkeeper بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

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

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Clawkeeper

Use this skill only for the Clawkeeper workspace. Treat clawkeeper-watcher as the product center and clawkeeper as the launcher that prepares mode-specific runtime state.

Core mental model

  • plugins/clawkeeper-watcher/ is the watcher plugin and governance engine.
  • clawkeeper/ is the launcher that prepares isolated remote and local mode roots, then delegates to OpenClaw.
  • plugins/clawkeeper-bands/ is the user-side bridge for notifications and approvals.
  • remote is read-only judgment and historical intelligence.
  • local is trusted audit, hardening, rollback, drift monitoring, and skill guard.
  • Both watcher modes expose POST /plugins/clawkeeper-watcher/context-judge.

Read these files when needed:

  • README.md
  • plugins/clawkeeper-watcher/README.md
  • plugins/clawkeeper-bands/README.md
  • clawkeeper/src/cli.ts

Preferred workflow

Follow this order unless the user explicitly narrows the task:

  1. Identify whether the user wants install, config, validation, or debugging.
  2. Check whether the issue is about the launcher, the watcher plugin, or the bands bridge.
  3. Verify the exact mode in play: remote, local, or both.
  4. Run the smallest direct validation command first.
  5. Only after validation fails, inspect config, logs, bridge wiring, and code paths.

Do not jump straight to speculative fixes.

Install and initialize

For source checkout setup in this repo, use:

bash
pnpm install
cd clawkeeper
npm install
npm run build
npm link
cd ..

Initialize modes with:

bash
clawkeeper init remote
clawkeeper init local
clawkeeper local config set gateway.mode local
clawkeeper status

Important:

  • local mode expects gateway.mode=local.
  • The launcher stores mode state under ~/.clawkeeper/ by default unless --root overrides it.
  • If the problem is only inside the watcher plugin, do not blame launcher setup until clawkeeper status or mode launch actually fails.

Validation commands

Use the most direct command for the claimed problem.

Launcher validation

bash
clawkeeper --help
clawkeeper status
clawkeeper init remote
clawkeeper init local

Mode launch validation

bash
clawkeeper remote gateway run
clawkeeper local gateway run

Watcher validation

bash
clawkeeper remote clawkeeper-watcher status
clawkeeper remote clawkeeper-watcher logs
clawkeeper remote clawkeeper-watcher fingerprints
clawkeeper remote clawkeeper-watcher profiles

clawkeeper local clawkeeper-watcher status
clawkeeper local clawkeeper-watcher logs
clawkeeper local clawkeeper-watcher audit
clawkeeper local clawkeeper-watcher harden
clawkeeper local clawkeeper-watcher monitor
clawkeeper local clawkeeper-watcher rollback
clawkeeper local clawkeeper-watcher scan-skill <name-or-path>

Context-judge validation

Confirm that the route is the watcher route, not the bands route:

text
POST /plugins/clawkeeper-watcher/context-judge

Bridge validation

Install the receiving-side bridge plugin with:

bash
openclaw plugins install --link /path/to/clawkeeper/plugins/clawkeeper-bands

Then verify the local watcher bridge config:

bash
clawkeeper local config set plugins.entries.clawkeeper-watcher.config.notify.userBridge.enabled true
clawkeeper local config set plugins.entries.clawkeeper-watcher.config.notify.userBridge.url http://127.0.0.1:18889
clawkeeper local config set plugins.entries.clawkeeper-watcher.config.notify.userBridge.token <gateway-token>

Debugging order

When debugging, follow this sequence:

  1. Confirm the exact failing command.
  2. Confirm whether the command is running in remote or local.
  3. Confirm whether the command is launcher-level or watcher-level.
  4. Inspect current config relevant to that failure.
  5. Read watcher logs or gateway output.
  6. Check bridge endpoint path and token if notifications or approvals are involved.
  7. Only then inspect code.

Report the first verified failing boundary, not every possible theory.

Common failure patterns

Local command run in remote mode

Symptoms:

  • audit, harden, monitor, or rollback rejected
  • output says the command is only available in local mode

Fix:

  • rerun on the local instance
  • verify CLAWKEEPER_MODE or config mode if behavior is unexpected

gateway.mode mismatch

Symptoms:

  • local launch behaves like plain or wrong mode
  • local-only watcher behavior does not appear

Fix:

  • set clawkeeper local config set gateway.mode local
  • restart the local mode process

Wrong route when testing context judgment

Symptoms:

  • request sent to bands instead of watcher
  • remote judgment appears missing

Fix:

  • use POST /plugins/clawkeeper-watcher/context-judge for watcher judgment
  • use clawkeeper-bands only for the receiving-side bridge and approval surface

Bridge configured but notifications do not arrive

Symptoms:

  • startup audit or approval summary never reaches user-side gateway

Check:

  • bridge enabled
  • bridge url
  • bridge token
  • receiving gateway has clawkeeper-bands installed
  • user-side receiver path exists and gateway is reachable

Logs exist but the wrong file is inspected

Symptoms:

  • "no events" while watcher is active

Check:

  • today vs explicit --date
  • current mode and workspace
  • whether the command is reading watcher event logs or launcher stdout

Use:

bash
clawkeeper local clawkeeper-watcher log-path
clawkeeper local clawkeeper-watcher logs --all
clawkeeper local clawkeeper-watcher logs --date YYYY-MM-DD

Audit result interpreted as host hardening

Symptoms:

  • user expects firewall, SSH, or OS policy changes

Clarify:

  • Clawkeeper watcher audits and hardens OpenClaw-side runtime state
  • it does not automatically perform generic host OS hardening

Command accuracy guardrails

Do not invent flags or routes. Prefer commands already documented in:

  • README.md
  • plugins/clawkeeper-watcher/README.md
  • clawkeeper/src/cli.ts

Current launcher surface:

  • clawkeeper init <mode>
  • clawkeeper status
  • clawkeeper remote ...
  • clawkeeper local ...

Current watcher CLI surface includes:

  • audit
  • harden
  • monitor
  • rollback
  • status
  • logs
  • log-path
  • scan-skill
  • fingerprints
  • profiles

Response expectations

When using this skill:

  • State whether the issue is launcher, watcher, or bridge related.
  • State whether it is remote, local, or cross-mode.
  • Show the exact command you used to validate the issue.
  • Separate verified facts from inference.
  • Prefer the narrowest fix that matches the failing boundary.

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

ماذا تفعل مهارة الذكاء الاصطناعي Clawkeeper؟

Install, configure, verify, and debug the Clawkeeper watcher stack in this workspace. Use when a user asks to set up `clawkeeper`, initialize `remote` or `local` mode, enable `clawkeeper-watcher`, wire `clawkeeper-bands`, diagnose `context-judge` routing, inspect watcher logs, fix mode/config mismatches, or troubleshoot startup, audit, hardening, rollback, drift monitoring, or bridge notification issues.

لماذا تستخدم Clawkeeper على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Clawkeeper عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Clawkeeper في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/SafeAI-Lab-X/ClawKeeper/tree/main/legacy/clawkeeper-watcher/skills/clawkeeper. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Clawkeeper؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Clawkeeper؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Clawkeeper معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Clawkeeper مجانية؟

نشرها SafeAI-Lab-X على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇