openclaw-audit

openclaw-audit is a command for Claude Code from frankxai/Starlight-Intelligence-System. It costs 44 tokens per session (742 once invoked), scanned A, original, MIT.

A security and trust review for code, specifications, records, other work products, or releases. It examines boundaries between trusted and untrusted areas and between public and private material.

In plain words
What is it for?
Use it to map trust boundaries, identify serious disclosures, check provenance records such as signing or software inventories, and classify material as open, closed, or access-controlled.
Why use it?
It helps reveal information leaks, missing proof of origin, and unclear rules about what may be public or restricted.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: built for openclaw.

Part of the starlight-intelligence-system plugin — 6 skills, 121 commands, 7 agents shipped together

Good fit Use it to map trust boundaries, identify serious disclosures, check provenance records such as signing or software inventories, and classify material as open, closed, or access-controlled.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/frankxai/starlight-intelligence-system/openclaw-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/frankxai/Starlight-Intelligence-System

Made for: Claude Code.

Or install starlight-intelligence-system, the plugin that ships this one along with the rest of its 6 skills, 121 commands, 7 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openclaw-audit

README.md
[![agentmods](https://agentmods.dev/badge/commands/frankxai/starlight-intelligence-system/openclaw-audit/github.svg)](https://agentmods.dev/commands/frankxai/starlight-intelligence-system/openclaw-audit)
Your own site
<a href="https://agentmods.dev/commands/frankxai/starlight-intelligence-system/openclaw-audit"><img src="https://agentmods.dev/badge/commands/frankxai/starlight-intelligence-system/openclaw-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openclaw-audit

Your own site · 80×15
<a href="https://agentmods.dev/commands/frankxai/starlight-intelligence-system/openclaw-audit"><img src="https://agentmods.dev/badge/commands/frankxai/starlight-intelligence-system/openclaw-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 742 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.00742
Opus 5 $0.00022 $0.00371
Sonnet 5 $0.00009 $0.00148
Haiku 4.5 $0.00004 $0.00074

Measured 8d ago against content hash 19554e1d25f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

openclaw-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/openclaw-audit.md · 82 lines

How it starts

The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/openclaw-audit

Load SIP.md (especially Layer 5 sovereignty clause and Layer 2 attestation).

Positioning: Layer 4 sovereign command. Owned by the protocol-defender node (an OpenClaw adopter; identity in the private alliance register). Other nodes may run it; rulings on open-vs-closed and attestation format require the protocol-defender's sign-off by domain.

Target

$ARGUMENTS

Process

  1. Classify. Code / spec / canon / artifact / release. Different class → different lens.

  2. Trust boundary map. Every boundary the target crosses: node → node, open → closed, public → private, trusted → untrusted. For each: what assumption guards it?

  3. Leak surface. What would a motivated adversary learn at each boundary? Name the three worst disclosures.

  4. Attestation gaps. Is the target carrying signed provenance? SBOM? SIP attestation? Commit signing? Hash? Name what must be added.

  5. Open vs closed ruling. Per SIP § 5 and the license rules in SIP.md, issue one of:

    • OPEN — MIT / CC-BY-SA / CC-BY-NC per file type.
    • CLOSED — retained under vertical owner (Arcanea BV / sovereign / etc).
    • GATED — open with named auth mechanism.
  6. Defects. Rank CRITICAL / HIGH / MEDIUM / LOW. Each has an owner node and a remediation artifact.

  7. Ship recommendation. SHIP / SHIP-WITH-REMEDIATION / HOLD.

Output shape

# OpenClaw Audit — <target>

**Class:** code | spec | canon | artifact | release
**Target pin:** <sha or version>

## Trust boundaries
- <boundary> · guard: <assumption> · verified: yes/no
- …

## Leak surface (top 3)
1. <disclosure + where it bites>
2. …
3. …

## Attestation gaps
- <gap> → <required addition>
- …

## Open / closed ruling
**Decision:** OPEN | CLOSED | GATED
**Rationale:** <one sentence>
**Gate mechanism (if GATED):** <named>

## Defects
| Severity | Defect | Owner | Remediation artifact |
|----------|--------|-------|----------------------|
| CRITICAL |        |       |                      |
| HIGH     |        |       |                      |
| …        |        |       |                      |

## Ship recommendation
SHIP | SHIP-WITH-REMEDIATION | HOLD

---
**Built on SIP** · OpenClaw Audit · <date>

Read the full file on GitHub · 82 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 82 lines · 44 tokens per session scan A 19554e1d25f9

Subscribe to this mod's changes

openclaw-audit is a command published in the GitHub repository frankxai/Starlight-Intelligence-System (8 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 742 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.