/governance:permission-auditfrom governance
Read-only scan of Drive/Doc/Wiki/Base for risky permissions (public, external, PII). Triggers "permission audit", "quét quyền", "PII leak".
Ships in governance. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read-only scan → one severity-ranked report. No auto-fix, no auto-revoke, no notification.
Verbs (the installed lark-* skills): drive +search
(--doc-types/--folder-tokens/--space-ids/--creator-ids — inventory
files; NO permission flag), docs +fetch (content for PII scan),
base +table-list. Raw CLI has no verb that returns per-file
share/permission state — get permission metadata via the atomic
lark-drive skill (or note the gap in the report). Atomic shapes +
token flags: connectors/LARK-RECIPES.md.
--folder-tokens, --space-ids, --creator-ids. >1000 items →
warn + suggest batching.drive +search --doc-types doc,sheet,bitable,file --folder-tokens <t> --jq '.data' (peek shape; + --space-ids for
wiki; needs search:docs:read scope). Permission state → atomic
lark-drive skill per item (batch). Cache for the session — no re-fetch.public-internet → HIGH (CRIT if
strict policy) · anyone-with-link → MED · external_users >0 →
MED (HIGH if folder is Confidential/HR/Finance) · inactive_owner
→ MED.docs +fetch --doc <url> --limit 1 (cap content), regex memory/regulated-data-types.md:
VN CCCD \b\d{9}\b|\b\d{12}\b, Luhn-valid 13-19 digit cards,
email+phone batch (>10/file), API keys (sk-, ghp_, AKIA,
xoxb-). Each match: severity +1, mask 50% digits.incident-log.md — already-raised → mark RECURRENT.+update/+apply-permission/+delete.
"Fix luôn" → redirect to admin Lark UI or offer a task (confirm).4111-****-****-1234, CCCD 3+3 digits only.403 → skip silent, no brute force.memory/policies.md §.Required: policies.md (sharing rules + severity map),
regulated-data-types.md (PII patterns).
Recommended: incident-log.md (dedupe recurrent).
Empty memory → conservative defaults (anyone-with-link = HIGH) +
warning to set up policies.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub larkcowork/lark-cowork-plugins --plugin governance4 skills in this plugin
/approval-flow-slaĐo luồng vận hành approval — phát hiện nghẽn ở node/người duyệt nào, audit toàn bộ dữ liệu đã duyệt, dựng & chấm SLA. Triggers "nghẽn duyệt ở đâu", "ai đang ngâm duyệt", "SLA duyệt", "phân tích luồng approval", "approval bottleneck"./approval-triageTriage pending Lark Approval queue — recommend approve/reject/ask-more per item with policy citation. Triggers "approval pending", "duyệt expense", "queue duyệt", "có gì cần duyệt"./decision-loggerDetect decisions in IM/minutes and promote them to a structured Base table. Triggers "decision log", "chốt cái này", "log lại decision".Other plugins' skills for the same job