skill-allowlist-syncer

Synchronize skills in .claude/settings.json with SKILL.md files in the skills folder.

1|Updated May 21, 2020
One-click install
npx skills add https://github.com/ahandsel/debugging_log --skill skill-allowlist-syncer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-allowlist-syncer
Source: https://github.com/ahandsel/debugging_log/tree/main/skills/skill-allowlist-syncer
Command: npx skills add https://github.com/ahandsel/debugging_log --skill skill-allowlist-syncer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill eliminates the manual overhead of keeping your Claude project settings in sync with your local skill development, preventing configuration drift and permission errors.

Core Features & Use Cases

  • Automated Reconciliation: Automatically detects new skills in your directory and updates the allowlist in .claude/settings.json.
  • Drift Detection: Identifies stale entries for skills that have been removed, ensuring your configuration remains clean and secure.
  • Use Case: When you add a new skill to your repository, run this tool to instantly update your project permissions without manually editing JSON files.

Quick Start

Run the check-skill-allowlist script with the write flag to automatically synchronize your project settings with the current skills folder.

Frequently Asked Questions about skill-allowlist-syncer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically sync Claude project settings with my local skills folder?

To sync Claude project settings, you can use a reconciliation script that scans your skills directory for SKILL.md files and updates the permissions.allow section of .claude/settings.json. This preserves existing non-skill permission entries and requires Node.js 24+.

What is configuration drift in Claude skill allowlists?

Configuration drift occurs when your .claude/settings.json allowlist becomes outdated relative to your actual skills folder. Stale entries for removed skills persist while newly added skills lack necessary permissions, causing manual overhead and potential permission errors.

Do I need Node.js to update the permissions.allow section of settings.json?

Yes, you need Node.js 24 or higher to execute the reconciliation logic that synchronizes the permissions.allow section of .claude/settings.json against the active set of skills found in your directory structure.

Can I update my Claude allowlist without losing existing non-skill permission entries?

Yes, synchronizing your Claude skill allowlist preserves existing non-skill permission entries. The script scans for SKILL.md files to identify active skills and reconciles the JSON configuration file accordingly without overwriting unrelated permissions.

What's the best way to detect stale skill entries in .claude/settings.json?

The best way to detect stale entries is to run an automated reconciliation script that compares the permissions.allow section against the actual directory structure. It identifies removed skills and cleans up the JSON configuration to prevent drift.

How to fix Claude skill permission errors after adding a new skill to the repository?

To fix Claude skill permission errors, run a check-skill-allowlist script with the write flag. This instantly updates your project permissions in .claude/settings.json by detecting the new SKILL.md file and adding it to the allowlist.