From sn-toolkit
Audit all records in a ServiceNow update set by querying sys_update_xml. Use when the user asks to audit, review, or list the contents of an update set.
How this command is triggered — by the user, by Claude, or both
Slash command
/sn-toolkit:auditsonnetThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
$ARGUMENTS should contain the update set name or sys_id. ## Steps Use `$api` and `$instanceDir` from CLAUDE.md "Agent API Setup". 1. Find the update set (save + read back per conventions.md "Canonical Query-and-Save Snippet"): 2. Query all update XML entries for that update set: 3. Present a summary table grouped by type (Script Include, Business Rule, Widget, etc.) with action (INSERT/UPDATE).
$ARGUMENTS should contain the update set name or sys_id.
Use $api and $instanceDir from CLAUDE.md "Agent API Setup".
$r = & $api -InstanceDir $instanceDir -Command "query_records" -Params @{
table = "sys_update_set"
query = "name=<UPDATE_SET_NAME>^state=in progress"
fields = "sys_id,name,state,description"
limit = 5
}
$usSysId = "<SYS_ID from step 1>"
$r = & $api -InstanceDir $instanceDir -Command "query_records" -Params @{
table = "sys_update_xml"
query = "update_set=$usSysId^ORDERBYname"
fields = "sys_id,name,type,action,target_name"
limit = 500
}
npx claudepluginhub chrisp28103/sn-toolkit --plugin sn-toolkit/auditLogs and labels agent interactions (prompts, responses, tool calls) to an append-only JSONL file. Subcommands: record and label.
/auditAudits UI code against design system for spacing, depth, color, and pattern violations. Reports file-specific issues and suggestions. Supports path argument or defaults to common UI paths.
/auditAudits an existing asset for on-page SEO, content quality (CORE-EEAT), technical SEO, AI-visibility/GEO readiness, and domain authority. Also supports --full, --tech, --visibility, --authority, and --competitors flags.
/auditPerforms security audit of codebase for dependency vulnerabilities, secrets, OWASP Top 10, input validation, auth issues, and misconfigs. Outputs findings report by severity with fixes and references.
/auditRuns a heavy-weight security and safety audit on Rust projects using os-checker tools. Checks for CVEs, unsafe code issues, undefined behavior, and concurrency bugs. Supports security, safety, concurrency, and full audit modes.
/auditPerforms security audit on codebase or specified target, checking dependency vulnerabilities, auth, input validation, data exposure, configs, and secrets. Outputs prioritized findings with remediation steps.