Skip to main content

allow-commands

Adds safe command allowlist entries to an existing builder.config.json. Use when a user asks to allow commands, permit a CLI tool, configure allowedCommands, enable mobile development tooling, or allow unzip commands, even if they do not mention this skill.

소스 정보

저장소
BuilderIO/builder-agent-skills
최근 소스 활동
2026년 7월 30일 15:35
감지된 SKILL.md 언어
영어
스타
16
포크
3

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
allow-commands
description
Adds safe command allowlist entries to an existing builder.config.json. Use when a user asks to allow commands, permit a CLI tool, configure allowedCommands, enable mobile development tooling, or allow unzip commands, even if they do not mention this skill.
# Allow Commands ## Instructions 1. Check whether `builder.config.json` exists in the project root. 2. If it does not exist, tell the user that no change was made. Do not create it. 3. If it exists, ask which commands to allow with `AskUserQuestion`. Use multi-select and offer these presets: - **Mobile Development**: Gradle, Android Debug Bridge, Apple/Xcode, Maestro, and related mobile build tooling. - **Angular**: Angular CLI commands. - **Unzip**: `unzip` archive extraction. The question UI includes an implicit custom-answer option; accept custom commands from it when provided. 4. Read and parse `builder.config.json`. Merge requested entries into `allowedCommands`, preserving all existing entries and removing duplicates. 5. Write the updated valid JSON only after the user makes their selection. Preserve the file's established indentation when practical. 6. Report the entries that were added. If every requested entry was already present, state that no configuration change was needed. ## Presets ### Mobile Development ```json [ "gradle *", "gradle", "./gradlew *", "./gradlew", "adb *", "adb", "xcrun *", "xcodebuild *", "xcode-select *", "xed *", "agvtool *", "maestro *", "maestro" ] ``` ### Angular ```json [ "ng *", "ng" ] ``` ### Unzip ```json [ "unzip *", "unzip" ] ``` ## Gotchas - Never replace or remove existing `allowedCommands` entries. - Do not add duplicate command strings. - Treat custom commands as security-sensitive: ask for clarification when the user's input is ambiguous rather than broadening it. - Do not allow shell metacharacters or command chains in custom entries, including `;`, `&&`, `||`, `|`, backticks, `$(`, or newlines. A command name and an optional trailing ` *` are acceptable.
GitHub에서 보기