name: agent-skill-cast description: CLI to sync AI skills from git repos to local .claude/.gemini/.codex folders. allowed-tools: Bash
Agent Skill Cast (ASC) Interface
⚠️ CI Mode (Required for Agents)
All commands MUST use --ci flag. Interactive prompts are disabled in CI mode.
Add --json for machine-readable output.
--json is supported across all commands.
CI mode is auto-activated when:
--ciflag is present- stdin is not a TTY (e.g. piped execution)
Syntax
cast <command> [arguments] --ci [--json] [--copy]
Commands
Source Management
cast source add <url|path> --ci: Register a git repo or local folder source.cast source sync --ci: Update all sources to latest. Required beforeuse.cast source list --ci [--json]: Show registered sources.cast source remove <name> --ci: Unregister a source.
Skill Operations
cast init --ci: Initialize ASC in current project (creates config).cast list --ci [--json]: Show skills currently installed in this project.cast use <source>/<skill> --ci [--copy]: Install a specific skill.- Flags:
--claude,--gemini,--codex(Target specific agent. Default: all),--copy(install standalone copies instead of symlinks).
- Flags:
cast remove <skill> --ci: Uninstall a skill.
Configuration
cast config lang <en|ko> --ci: Set CLI language.
Rules
- ALWAYS use
--ciflag. Never omit it. - ALWAYS provide required arguments explicitly. Never rely on interactive prompts.
- Use
--jsonwhen you need to parse the output programmatically. - Run
cast source sync --cibeforecast useif sources haven't been synced.
JSON Output Format
When --json is used, output follows this structure:
{ "ok": true, "data": { ... } }
{ "ok": false, "error": "error_key", "message": "Human readable message" }
Exit Codes
0: Success1: Execution error (source not found, skill not found, etc.)2: Argument error (missing required argument in CI mode)
Example Workflow
cast init --cicast source add https://github.com/my-team/frontend-skills --cicast source sync --cicast use frontend-skills/react-patterns --gemini --cicast use frontend-skills/testing-guide --copy --cicast list --ci --json