Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

lygo-guardian-p0-stack

bởi deepseekoracle

Browser & Automation
596Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

LYGO Guardian base skill – Nano-Kernel (P0.4), Understanding Heart (P0.5), and Light Math harmony as a portable.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: wrap an existing agent reply function with ethical output filtering

AGENT
  1. 1

    Import validate_decision and guardian_wrap from integration_api

  2. 2

    Apply @guardian_wrap decorator to the existing generate_reply function

  3. 3

    Agent invokes the function, Nano-Gate checks the output against its filter rules

  4. 4

    Understanding Heart attaches suggestions if risky content is detected

  5. 5

    Wrapped response is returned with gate verdict and any attached annotations

ĐẦU RA

Agent reply with Nano-Gate pass/flag verdict and optional remediation suggestions attached

Cài đặt

clawhub install deepseekoracle/lygo-guardian-p0-stack

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết