Agent SkillsGoogleCloudPlatform/scion › scion-cli-operations

scion-cli-operations

GitHub

定义Scion CLI代理在容器沙箱中的运行约束,包括禁止命令、Hub API访问限制及Shell安全规范。提供whoami等推荐命令,确保结构化输出与操作合规性。

resources/platform_skills/scion-cli-operations/SKILL.md GoogleCloudPlatform/scion

Trigger Scenarios

需要执行scion CLI命令时 配置或调试Agent运行时环境

Install

npx skills add GoogleCloudPlatform/scion --skill scion-cli-operations -g -y
More Options

Non-standard path

npx skills add https://github.com/GoogleCloudPlatform/scion/tree/main/resources/platform_skills/scion-cli-operations -g -y

Use without installing

npx skills use GoogleCloudPlatform/scion@scion-cli-operations

指定 Agent (Claude Code)

npx skills add GoogleCloudPlatform/scion --skill scion-cli-operations -a claude-code -g -y

安装 repo 全部 skill

npx skills add GoogleCloudPlatform/scion --all -g -y

预览 repo 内 skill

npx skills add GoogleCloudPlatform/scion --list

SKILL.md

Frontmatter
{
    "name": "scion-cli-operations",
    "description": "Operational constraints for Scion agents running in containerized sandboxes. Covers prohibited commands and hub-only API access. Complements the scion CLI reference and messaging skills."
}

Scion CLI Operating Constraints

You are an autonomous Scion agent running inside a containerized sandbox. Your workspace is managed by the Scion orchestration system.

Core Rules (DO NOT VIOLATE)

  • Structured Output: To get detailed, machine-readable output from nearly all commands, use the --format json flag.
  • Prohibited Commands: DO NOT use the sync or cdw commands.
  • Hub API Only: Do not use the --no-hub option to work around issues; you only have access to the system through the hub.
  • Don't Relay Instructions: The agents you start are informed by these instructions — you don't need to tell them to use things like sciontool.
  • Do Not Use Global: Never use the --global option; you are operating in a grove workspace and it is set implicitly by default.
  • Do Not Interact with Settings or Login Commands.

Shell Safety for Task Prompts

The scion start task prompt is embedded in a shell command. Do not use backticks, $variables, or other shell metacharacters in the inlined prompt — they cause the shell to exit before the agent starts, with no visible error. For long or formatted briefs, write the content to a file and pass a filepath reference instead:

scion start <name> \
  "Read your brief at /path/to/brief.md and follow it."

Use absolute paths in task prompts and briefs. A sub-agent's working directory may differ from yours — relative paths resolve against the sub-agent's /workspace, not yours.

Avoid non-ASCII escape sequences in shell strings. Bash only expands \x hex escapes inside $'...' quoting — inside double quotes, \xe2\x80\x94 sends 12 literal characters, not an em-dash. Use plain ASCII punctuation in task prompts and messages.

Recommended Commands

  • Know Yourself: scion whoami — shows your agent identity, project, template, and configuration. Use --format json for structured output.
  • Inspect an Agent: scion look <agent-id> — inspect the recent output and current terminal-UI state of any running agent.
  • Full CLI Details: scion --help — for specific details on all hierarchical commands.
  • Focused Usage: Use the scion CLI as needed for your task. Do not pre-emptively explore .scion folders, read agent-template files, etc. — focus only on what you need.

Version History

  • 0.1.0-dev Current 2026-08-20 01:53

    移除过时的--non-interactive规则(现自动启用),新增scion whoami命令,增加关于双引号字符串中非ASCII转义序列的Shell安全警告。

  • 0.1.0-dev 2026-07-25 08:01

Same Skill Collection

.scion/templates/web-dev/skills/chrome-devtools/SKILL.md
resources/platform_skills/git-operations/SKILL.md
resources/platform_skills/git-sandbox/SKILL.md
resources/platform_skills/scion-agent-manage/SKILL.md
resources/platform_skills/scion-messaging/SKILL.md
resources/platform_skills/scion-scheduler/SKILL.md
resources/platform_skills/team-creation/SKILL.md

Metadata

Files
0
Version
0.1.0-dev
Hash
1b7b62f3
Indexed
2026-07-25 08:01

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 16:27
浙ICP备14020137号-1 $mapa de visitantes$