ap context
ap context exports the current workspace context so your model sees the same brand inputs your team sees: brand voice, art direction, available connections, and platform rules.
ap context [options]Default output is markdown. Use --json or --format json when another tool needs structured data.
Examples
Section titled “Examples”# Markdown context for chat-style promptsap context | claude "Write a launch announcement"
# Structured context for scripts and agentsap context --json > context.json
# Include connection IDs in markdown outputap context --verbose
# Target a specific workspace without changing global defaultsap context --project <workspace-id> --jsonOutput options
Section titled “Output options”| Option | Description |
|---|---|
--format markdown | Human-readable default output |
--format json | Structured output for scripts and agents |
--json | Shorthand for --format json |
--verbose | Include connection IDs in markdown output |
--project <id> | Override the active project |
Best use cases
Section titled “Best use cases”- Feed brand and platform rules into an LLM before generating a
calendar.json - Check which platforms and connection IDs are available before posting
- Keep AI output grounded in your current
soul.mdandart.md