lygo-guardian-p0-stack
deepseekoracle 제작
Browser & Automation요약
LYGO Guardian base skill – Nano-Kernel (P0.4), Understanding Heart (P0.5), and Light Math harmony as a portable.
설명
이 스킬이 하는 일
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.
사용 시점
- 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
예시 워크플로
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
설치
clawhub install deepseekoracle/lygo-guardian-p0-stackCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.