Skip to content

Compose pattern: install-time gating alongside ClawGuardian tool-call hooks #1

Description

@denial-web

Hi superglue-ai team,

Long-time admirer of ClawGuardian — the before_tool_call and tool_result_persist hooks are exactly the right place to filter PII inside OpenClaw. Thank you for shipping that.

I maintain a separate project called ClawGuard (https://github.com/denial-web/clawguard) that gates the install path — scanning candidate skills, MCP configs, and dependency manifests before they reach the trusted skill folder. It is a different surface from ClawGuardian: install-time gate vs tool-call interception.

I want to be careful about the name collision. The OpenClaw plugin slug clawguardian is yours; any future ClawGuard plugin would use a different identifier (recorded in https://github.com/denial-web/clawguard/blob/main/docs/PLUGIN_ID.md).

Two small things I wanted to ask about:

  1. Compose pattern mention. Would you be open to a one-line note in ClawGuardian's README pointing users who want install-time gating at ClawGuard? Happy to add the reciprocal mention to our README. We already document the compose pattern (ClawGuard install gate -> ClawGuardian tool-call hooks) in https://github.com/denial-web/clawguard/blob/main/docs/INTEGRATION_SPEC.md and include ClawGuardian in https://github.com/denial-web/clawguard/blob/main/docs/COMPARISON.md.

  2. Shared decision schema (optional). ClawGuard publishes a small JSON Schema for cross-tool install/scan decisions: clawguard.check.v1 at https://denial-web.github.io/clawguard/schemas/clawguard-check.schema.json (source at https://github.com/denial-web/clawguard/blob/main/schemas/clawguard-check.schema.json). If ClawGuardian ever emits a JSON decision when it blocks or redacts a tool call, this shape may be reusable. No PR proposed; just flagging in case it is useful.

Nothing about ClawGuard depends on ClawGuardian and vice versa. Both can run in the same OpenClaw install today.

Happy to be told this is not the right fit — just wanted to surface the option rather than build in parallel without coordination.

Thanks,
denial-web

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions