OpenParable
Skip to content
← Back to skills

Scion CLI Operations

Agent Building
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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/GoogleCloudPlatform/scion/blob/HEAD/resources/platform_skills/scion-cli-operations/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/scion-cli-operations, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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