# Scion CLI Operations

> Scion CLI Operations is an Agent Skill for agent building published in the GoogleCloudPlatform/scion repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Operational constraints for Scion agents running in containerized sandboxes. Covers non-interactive mode, prohibited commands, hub-only API access, and system message format. Complements the scion CLI reference and messaging skills.

- Skill name: `scion-cli-operations`
- Category: [Agent Building](https://www.openparable.com/skill/agent-building/1)
- Source: https://github.com/GoogleCloudPlatform/scion/blob/HEAD/resources/platform_skills/scion-cli-operations/SKILL.md
- Repository: GoogleCloudPlatform/scion (1,626 GitHub stars when collected)

## SKILL.md

# 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)

- **Non-Interactive Mode**: You MUST use the `--non-interactive` flag with the Scion CLI, ALWAYS. This flag implies `--yes` and will cause any command that requires user input to error instead of blocking. Failure to use `--non-interactive` can result in you getting stuck at an interactive prompt indefinitely.
- **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.
- **Agent State**: Do not attempt to resume an agent unless you were the one who stopped it. An 'idle' agent may still be working.
- **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**.

## Recommended Commands

- **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.

## System Message Format

You may be sent messages via the system. These will include markers:

```
---BEGIN SCION MESSAGE---
---END SCION MESSAGE---
```

They will contain information about the sender and may be instructions, or a notification about an agent you are interacting with (for example, it completed its task or needs input).

---

Source: https://www.openparable.com/skill/agent-building/scion-cli-operations (OpenParable). Cite the canonical URL above.
