lygo-guardian-p0-stack
oleh deepseekoracle
Browser & AutomationRingkasan
LYGO Guardian base skill – Nano-Kernel (P0.4), Understanding Heart (P0.5), and Light Math harmony as a portable.
Deskripsi
Apa yang Dilakukan Skill Ini
A Python decorator layer that adds content filtering to agent outputs. Implements a Nano-Gate that checks decisions before execution and an Understanding Heart module that attaches remediation suggestions when risky content is detected. Designed to wrap existing agent functions without requiring structural changes to the underlying code.
The decorator pattern lets you add filtering to any existing agent function with a single annotation instead of restructuring the codebase.
Kapan Menggunakannya
- Adding content filtering to an existing LLM agent without rewriting it
- Flagging potentially harmful outputs in an automated response pipeline
- Attaching remediation notes to risky agent actions before delivery
- Running agent decisions through a deterministic ethical gate at runtime
- Auditing agent outputs for balance checks before they reach end users
Contoh Alur Kerja
User asks: wrap an existing agent reply function with ethical output filtering
- 1
Import validate_decision and guardian_wrap from integration_api
- 2
Apply @guardian_wrap decorator to the existing generate_reply function
- 3
Agent invokes the function, Nano-Gate checks the output against its filter rules
- 4
Understanding Heart attaches suggestions if risky content is detected
- 5
Wrapped response is returned with gate verdict and any attached annotations
Agent reply with Nano-Gate pass/flag verdict and optional remediation suggestions attached
Instalasi
clawhub install deepseekoracle/lygo-guardian-p0-stackJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.