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

agent-safety

بواسطة compass-soul

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

موجز

Outbound safety for autonomous AI agents — scans YOUR output before it leaves the machine.

الوصف

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

Automated outbound safety for AI agents and developers. Scans files and staged git content for API keys, tokens, PII, and secrets before they leave the machine. Enforces security at the git level via pre-commit hooks, not prompts.

Unlike prompt-based reminders or inbound scanners, this enforces rules at the commit level so secrets are blocked automatically, not caught after the fact.

متى تستخدمها

  • Blocking accidental API key commits before they hit GitHub
  • Installing a one-time safety hook on a new repo
  • Scanning a directory before publishing a package
  • Checking for hardcoded emails or SSNs in generated files
  • Running a system health check during periodic agent maintenance

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

الإدخال

User asks: install the pre-commit hook on my repo at ~/projects/myapp

الوكيل
  1. 1

    Resolve scripts/install-hook.sh path relative to the skill file

  2. 2

    Run: bash scripts/install-hook.sh ~/projects/myapp

  3. 3

    Confirm the hook is written to ~/projects/myapp/.git/hooks/pre-commit

  4. 4

    Report that future commits in that repo will be scanned automatically

الإخراج

Pre-commit hook installed. Any staged secrets or SSNs will block the commit; PII patterns will flag for review.

التثبيت

clawhub install compass-soul/agent-safety

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

الروابط