Knowledge: AMS Flags and Schemas for Claude Code

Document AMS command-line flags and JSON schemas for Claude Code agents.

2|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/tankygranny05/agent-box --skill knowledge-ams-flags-and-schemas-for-claude-code
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Knowledge: AMS Flags and Schemas for Claude Code
Source: https://github.com/tankygranny05/agent-box/tree/main/agent-box/seed/claude-skills/knowledge-ams-flags-and-schemas
Command: npx skills add https://github.com/tankygranny05/agent-box --skill knowledge-ams-flags-and-schemas-for-claude-code

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive documentation for the command-line flags and JSON schemas used by the Agent Management Server (AMS) to manage Claude Code agents, simplifying agent integration and debugging.

Core Features & Use Cases

  • CLI Flag Reference: Details all required and optional flags for both TUI and SDK modes of Claude Code.
  • JSON Schema Examples: Illustrates input message formats (user, image, interrupt) and output event types (message start/stop, content delta, tool use/result, errors).
  • Use Case: When integrating Claude Code into a new service, use this Skill to quickly find the exact command-line arguments needed to spawn an agent in SDK mode for programmatic interaction.

Quick Start

Consult the documentation for the correct command-line flags to run Claude Code in SDK mode.

Frequently Asked Questions about Knowledge: AMS Flags and Schemas for Claude Code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What CLI flags are required to spawn a Claude Code agent in SDK mode?▼

Spawning a Claude Code agent in SDK mode requires specific command-line flags defined by the Agent Management Server to enable programmatic interaction, stream-json integrations, and proper session management.

How do I format JSON input messages for Claude Code agent interactions?▼

JSON input messages for Claude Code agents follow specific schemas covering user, image, and interrupt formats, while output events include message start/stop, content delta, tool use, and errors.

What is the difference between TUI and SDK modes when running Claude Code?▼

TUI and SDK modes represent different operational interfaces for Claude Code, with SDK mode specifically designed for programmatic interaction, utilizing stream-json integrations and distinct command-line flags for agent spawning.

Why does my Claude Code agent fail to start during AMS integration?▼

Agent startup failures during AMS integration often stem from incorrect command-line flags or malformed JSON input schemas, making the AMS documentation essential for debugging environment variables and session management.

Can I use environment variables to manage Claude Code agent sessions?▼

Yes, environment variables are covered in the AMS documentation and play a role in managing Claude Code agent sessions, working alongside command-line flags to control agent spawning and interaction.