Install
openclaw skills install @honouralexwill/permission-manifest-guardInspects an OpenClaw skill directory before install or execution, translates declared and observed requirements into a human-readable permission manifest, and recommends disposition (review, sandbox, or reject) when metadata does not match observed behaviour.
openclaw skills install @honouralexwill/permission-manifest-guardUse this skill when you need to understand what permissions a skill requires before granting trust. Invoke it when:
If the task does not involve evaluating skill trust, permissions, or install safety, this skill is not the right tool.
Run the skill from the command line, passing the skill directory as the sole argument:
npx permission-manifest-guard /path/to/skill
Stdout: The markdown permission manifest (human-readable report). Pipe or redirect as needed.
Stderr: Diagnostic warnings from analysis stages, plus the path to the written JSON file.
Side effect: Writes permission-manifest.json into the skill directory.
This file contains the structured manifest for machine consumption.
Exit code: 0 on success, 1 on invalid arguments or analysis failure.
Import analyzeSkill and call it with the skill directory path:
import { analyzeSkill } from 'permission-manifest-guard';
const result = await analyzeSkill('/path/to/skill');
The returned AnalysisResult has three fields:
| Field | Type | Description |
|---|---|---|
markdownManifest | string | Complete markdown permission report. |
jsonManifest | object | Structured manifest matching the markdown data. |
diagnostics | DiagnosticWarning[] | Warnings from discovery, extraction, or classification stages. Each entry has file, stage, message, and error fields. |
The analysis produces a disposition recommendation based on how well the skill's declared metadata matches its observed source-code behaviour. Act on the recommendation as follows:
The markdown manifest is the artifact for humans — include it in review threads, audit logs, or approval workflows. The JSON manifest is for automated pipelines — feed it to policy engines, dashboards, or gating checks.
If diagnostics is non-empty, some files could not be fully analysed.
Treat a skill with analysis warnings more cautiously — incomplete analysis
means the true permission surface may be larger than reported.