display_tools: show current list, ask for additions/removals
Ask target location: project-level (./audit.yaml) or user-level (~/.claude/audit.yaml).
Generate or update the YAML file at chosen location.
Only write overrides (do not duplicate defaults).
Deep-merge with existing content if file already exists.
Validate by loading the merged config and displaying effective result.
Steps
1. Read ${CLAUDE_PLUGIN_ROOT}/config/audit.default.yaml
2. Read ~/.claude/audit.yaml (if exists)
3. Read ./audit.yaml (if exists)
4. Display merged effective config as table
5. Prompt: "Which setting to customize? (log_dir/log_permissions/max_words/display_tools/all)"
6. For selected setting(s):
a. Show current value
b. Ask for new value (or skip)
c. For display_tools list, show current and ask for additions/removals
7. Prompt: "Save to project-level or user-level? (project/user)"
8. Write YAML with only the overrides
9. Re-read and display new effective config
Constraints
Never modify plugin defaults (audit.default.yaml)
Only write overrides -- do not duplicate default values
Validate log_permissions does not exceed 0o600
Validate max_words is a positive integer
Existing file content must be preserved (deep-merge on write)
1---2name: configure-audit3description: configure-audit4---5# configure-audit67Interactive audit.yaml configuration for ac-audit plugin.89## Trigger1011`/configure-audit` or `/ac-audit:configure-audit`1213## Behavior14151. Read the 3-tier config resolution and display current effective config:16 - Plugin defaults: `${CLAUDE_PLUGIN_ROOT}/config/audit.default.yaml`17 - User-level: `~/.claude/audit.yaml`18 - Project-level: `./audit.yaml` (relative to project root)19202. Display current effective settings:21 - log_dir: audit log output directory22 - log_permissions: file permissions for log files (max 0o600)23 - max_words: word truncation limit for systemMessage display24 - display_tools: list of tools that trigger systemMessage in Claude Code UI25263. Ask user which setting(s) to customize.27284. For each selected setting, present current value and ask for changes:29 - log_dir: accept a directory path (supports ~ expansion)30 - log_permissions: accept octal value, validate <= 0o60031 - max_words: accept positive integer32 - display_tools: show current list, ask for additions/removals33345. Ask target location: project-level (`./audit.yaml`) or user-level (`~/.claude/audit.yaml`).35366. Generate or update the YAML file at chosen location.37 - Only write overrides (do not duplicate defaults).38 - Deep-merge with existing content if file already exists.39407. Validate by loading the merged config and displaying effective result.4142## Steps4344```451. Read ${CLAUDE_PLUGIN_ROOT}/config/audit.default.yaml462. Read ~/.claude/audit.yaml (if exists)473. Read ./audit.yaml (if exists)484. Display merged effective config as table495. Prompt: "Which setting to customize? (log_dir/log_permissions/max_words/display_tools/all)"506. For selected setting(s):51 a. Show current value52 b. Ask for new value (or skip)53 c. For display_tools list, show current and ask for additions/removals547. Prompt: "Save to project-level or user-level? (project/user)"558. Write YAML with only the overrides569. Re-read and display new effective config57```5859## Constraints6061- Never modify plugin defaults (`audit.default.yaml`)62- Only write overrides -- do not duplicate default values63- Validate log_permissions does not exceed 0o60064- Validate max_words is a positive integer65- Existing file content must be preserved (deep-merge on write)
Run npx skillmds@latest add matiascomercio/configure-audit in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
configure-audit It is listed under Security on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
MatiasComercio (@matiascomercio) published this skill. Their other Agent Skills are listed on their SkillMD profile.