open-index/open-npm huggingface dataset:
npm package: @qqpann/ccutils
Description: CLI tool for managing Claude Code permission settings across multiple scopes
Author: Qiushi Pan
Latest version: 0.1.0

# ccutils

[![CI](https://github.com/qqpann/ccutils/actions/workflows/ci.yml/badge.svg)](https://github.com/qqpann/ccutils/actions/workflows/ci.yml)
[![npm version](https://img.shields.io/npm/v/@qqpann/ccutils)](https://www.npmjs.com/package/@qqpann/ccutils)

CLI tool for managing Claude Code permission settings across multiple scopes.

## Features

- **Multi-scope management**: View and edit permissions from user, project, and local settings
- **Interactive TUI**: Terminal-based UI with keyboard navigation
- **Batch editing**: Manage permissions across multiple projects simultaneously
- **Diff visualization**: See changes before saving

## Installation

```bash
npm install -g @qqpann/ccutils
```

Or run directly with npx:

```bash
npx @qqpann/ccutils sync-permissions .
```

## Usage

```bash
# Manage permissions in current directory
ccutils sync-permissions .

# Manage permissions across multiple projects
ccutils sync-permissions ~/workspace/*

# Use custom user settings path (for testing)
ccutils sync-permissions --override-user-settings-path ./sandbox/.claude ./sandbox/projects/*
```

## Keyboard Controls

| Key | Action |
|-----|--------|
| `↑` / `↓` | Navigate permissions |
| `←` / `→` | Cycle scope (U → P → L) |
| `u` / `p` / `l` | Toggle specific scope |
| `Tab` / `Shift+Tab` | Switch projects |
| `Enter` | Save changes |
| `q` | Quit |

## Permission Scopes

| Scope | File | Description |
|-------|------|-------------|
| User (U) | `~/.claude/settings.json` | Global settings |
| Project (P) | `<project>/.claude/settings.json` | Committed project settings |
| Local (L) | `<project>/.claude/settings.local.json` | Git-ignored local settings |

## Development

```bash
git clone https://github.com/qqpann/ccutils.git
cd ccutils
pnpm install
pnpm run build

# Run locally
node dist/index.js sync-permissions .
```

```bash
pnpm run dev        # Watch mode
pnpm run typecheck  # Type check
pnpm test           # Run tests
```

## Contributing

This project uses [Changesets](https://github.com/changesets/changesets) for version management.

```bash
# After making changes, create a changeset
pnpm changeset

# Follow the prompts to describe your changes
```

When you push to main, GitHub Actions will automatically create a "Version Packages" PR. Merging that PR triggers npm publish.

## License

MIT
npm package: @qqpe/utilsq
Description: UtilsQ is a package that aims to help daily work of a developer by providing simple yet consistent utility functions
Author: qqpe qqkdev@gmail.com
Latest version: 0.1.3

# UTILSQ - Javascript Helpers Library

UtilsQ is a package that aims to help daily work of a developer by providing simple yet consistent utility functions

## Motivation

## Examples

## Insallation

## Licence

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.