← 返回 Skills 市场
spacesq

S2 Pet Guardian Agent (S2 宠物守护者智能体)

作者 MilesXiang · GitHub ↗ · v1.2.1 · MIT-0
cross-platform ✓ 安全检测通过
125
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install s2-pet-guardian-agent
功能描述
S2 宠物守护者智能体。集成 SUNS 与 22 位 S2-DID 身份确权,提供情绪翻译与零信任硬件调控。
安全使用建议
This skill appears coherent and local-only, but take these precautions before installing: 1) Run it in an isolated/test environment first and inspect the created s2_bas_governance directory to see what files are written (pet records and demo public key). 2) For production, replace the demo public key with your real owner public key and confirm the agent does not create unexpected network connections. 3) Note the S2-CLA license restricts commercial use and forbids reverse engineering of the S2 identity algorithms—review that license for legal fit. 4) Because the demo generates and writes a public key for simulation, be aware of that behavior (it still does not access private keys). If you need higher assurance, request a provenance/source URL or signed release from the author before deploying to devices that control physical hardware.
功能分析
Type: OpenClaw Skill Name: s2-pet-guardian-agent Version: 1.2.1 The S2-Pet-Guardian-Agent is a well-structured skill bundle designed for pet monitoring and IoT device management using a 'Zero-Trust' architecture. The core logic in `core/s2_pet_guardian_agent.py` implements asymmetric cryptographic verification (Ed25519) to ensure commands are authorized by a public key, and the `SKILL.md` instructions explicitly restrict the agent from accessing private keys or sensitive data. Filesystem permissions are tightly scoped to specific directories for logs and public keys, and no indicators of data exfiltration, malicious execution, or harmful prompt injection were found.
能力标签
cryptorequires-walletcan-make-purchases
能力评估
Purpose & Capability
Name/description (S2 DID, emotion translation, zero‑trust hardware control) match the code and SKILL.md. The agent only generates local SUNS/S2‑DID identifiers, translates pet state, produces proposals, and performs local public‑key verification before allowing a hardware action. One minor note: the included dashboard JSON references api/v1/... endpoints for a UI, but the Python runtime contains no network calls; those are UI/data‑source placeholders rather than evidence of remote exfiltration.
Instruction Scope
SKILL.md permissions narrowly request read/write under s2_bas_governance/pets/* and readonly for public keys; the Python code uses exactly those paths. The demo run in core/s2_pet_guardian_agent.py generates an ephemeral keypair to simulate an owner signature and writes the public key to s2_bas_governance/keys/lord_ed25519_public.pem for verification — this is consistent with the demo but means the package will create files under s2_bas_governance when executed. There are no instructions to read arbitrary user files, environment secrets, or transmit data off‑host.
Install Mechanism
No install script from external URLs; dependencies are listed in requirements.txt (cryptography). There is no download/extract from unknown hosts. The package.json install hook calls pip install -r requirements.txt which is expected for a Python skill.
Credentials
The skill requests no environment variables or credentials and only accesses the local filesystem paths it declares. It reads public PEM files only for verification; it explicitly avoids private key access. The license and README mention private keys and device signing as external guarded actions, but the runtime does not request any unrelated secrets.
Persistence & Privilege
always is false and the skill does not request system‑wide privileges or modify other skills. It persists its own logs/records under s2_bas_governance/pets/* as declared and writes a demo public key into s2_bas_governance/keys/ during the demo run; this is scoped to its own directories.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install s2-pet-guardian-agent
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /s2-pet-guardian-agent 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.1
## [1.2.1] - 2026-04-09 ### 🛡️ The Ultimate Sandbox Compliance & Routing Patch This release finalizes the absolute zero-trust architecture and strictly aligns the package structure with Clawhub's internal routing and static analysis engines. **Security & Ecosystem Remediations:** - **Absolute Least Privilege (Zero-Trust):** Completely removed the `S2_BMS_MASTER_KEY` environment variable requirement. The L2 agent now operates strictly via public-key verification (restricted to `*public*.pem` access only) and has zero access to private keys, fully resolving privilege escalation warnings. - **Routing Registry Parity:** Introduced the mandatory `_meta.json` to correctly declare the `slug` for the platform's URL routing engine, ensuring seamless deployment. - **Artifact Sanitization:** Eradicated all non-text hidden placeholders (e.g., `.gitkeep`) to guarantee a 100% pure text-stream package, successfully bypassing the strict binary-code sandbox filters.
v1.2.0
[1.2.0] The Absolute Zero-Trust Patch Resolved the privilege escalation and metadata inconsistency sandbox warnings. The L2 agent has been completely stripped of its ability to load local private keys or read the S2_BMS_MASTER_KEY environment variable. The agent is now strictly restricted to loading public keys for signature verification, enforcing a true owner-signed zero-trust execution flow. The environment variable requirement has been entirely removed from the package manifest, bringing it into full parity with the top-level metadata.
v1.1.0
Version 1.1.0 of s2-pet-guardian-agent introduces identity-based security, granular permissions, and enhanced operational protocols. - Integrated SUNS protocol and S2-DID for robust dual-identity verification before any action. - Implemented strict medical safety boundaries: only detects anomalies and cannot provide diagnoses. - Enforced zero-trust hardware control—physical interventions require cryptographically signed approval from the owner. - All pet activity logs are now tightly bound to unique S2-DID identifiers. - Filesystem access permissions are limited to governance and key management paths for improved security.
元数据
Slug s2-pet-guardian-agent
版本 1.2.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

S2 Pet Guardian Agent (S2 宠物守护者智能体) 是什么?

S2 宠物守护者智能体。集成 SUNS 与 22 位 S2-DID 身份确权,提供情绪翻译与零信任硬件调控。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 125 次。

如何安装 S2 Pet Guardian Agent (S2 宠物守护者智能体)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install s2-pet-guardian-agent」即可一键安装,无需额外配置。

S2 Pet Guardian Agent (S2 宠物守护者智能体) 是免费的吗?

是的,S2 Pet Guardian Agent (S2 宠物守护者智能体) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

S2 Pet Guardian Agent (S2 宠物守护者智能体) 支持哪些平台?

S2 Pet Guardian Agent (S2 宠物守护者智能体) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 S2 Pet Guardian Agent (S2 宠物守护者智能体)?

由 MilesXiang(@spacesq)开发并维护,当前版本 v1.2.1。

💬 留言讨论