← Back to Skills Marketplace
spacesq

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

by MilesXiang · GitHub ↗ · v1.2.1 · MIT-0
cross-platform ✓ Security Clean
125
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install s2-pet-guardian-agent
Description
S2 宠物守护者智能体。集成 SUNS 与 22 位 S2-DID 身份确权,提供情绪翻译与零信任硬件调控。
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
cryptorequires-walletcan-make-purchases
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install s2-pet-guardian-agent
  3. After installation, invoke the skill by name or use /s2-pet-guardian-agent
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug s2-pet-guardian-agent
Version 1.2.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

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

S2 宠物守护者智能体。集成 SUNS 与 22 位 S2-DID 身份确权,提供情绪翻译与零信任硬件调控。 It is an AI Agent Skill for Claude Code / OpenClaw, with 125 downloads so far.

How do I install S2 Pet Guardian Agent (S2 宠物守护者智能体)?

Run "/install s2-pet-guardian-agent" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

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

Yes, S2 Pet Guardian Agent (S2 宠物守护者智能体) is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does S2 Pet Guardian Agent (S2 宠物守护者智能体) support?

S2 Pet Guardian Agent (S2 宠物守护者智能体) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

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

It is built and maintained by MilesXiang (@spacesq); the current version is v1.2.1.

💬 Comments