@@ -127,11 +127,7 @@ Create `.ambient/ambient.json` without comments (production-ready JSON):
127127 "name" : " {Workflow Display Name}" ,
128128 "description" : " {User's description}" ,
129129 "systemPrompt" : " {Generated system prompt based on workflow type}" ,
130- "startupPrompt" : " {Generated startup prompt}" ,
131- "results" : {
132- "{Artifact Type 1}" : " artifacts/{workflow-name}/{path}" ,
133- "{Artifact Type 2}" : " artifacts/{workflow-name}/{path}"
134- }
130+ "startupPrompt" : " {Generated startup prompt}"
135131}
136132```
137133
@@ -159,22 +155,15 @@ Before using any slash commands, ensure the workspace is initialized.
159155```
160156
161157** Startup Prompt Template:**
162- ```
163- Welcome! I'm your {Workflow Type} assistant.
164-
165- 🎯 WHAT I DO:
166- {1-2 sentence explanation of workflow purpose}
167-
168- 📋 WORKFLOW PHASES:
169- {List phases with brief description}
170-
171- 🚀 AVAILABLE COMMANDS:
172- {List each command with one-line description}
173158
174- 💡 GETTING STARTED:
175- Run /{first-command} to {action}, or tell me what you'd like to work on.
159+ NOTE: The ` startupPrompt ` is sent TO the agent as a hidden user message at
160+ session start. The user never sees it -- they only see the agent's response.
161+ Write it as a directive telling the agent how to begin, not as a canned greeting.
176162
177- What would you like to accomplish today?
163+ ```
164+ Greet the user and introduce yourself as a {Workflow Type} assistant. Briefly
165+ explain what you do ({1-2 sentence purpose}), list the available commands
166+ ({list commands}), and ask what they'd like to work on. Keep it concise.
178167```
179168
180169Show progress:
@@ -443,7 +432,7 @@ You can customize this workflow by:
4434321 . ** Modifying agents:** Edit files in ` .claude/agents/ `
4444332 . ** Adding commands:** Create new command files in ` .claude/commands/ `
4454343 . ** Adjusting configuration:** Update ` .ambient/ambient.json `
446- 4 . ** Changing output paths:** Modify the ` results ` section in config
435+ 4 . ** Changing output paths:** Update artifact paths in ` systemPrompt `
447436
448437## Best Practices
449438
@@ -518,62 +507,28 @@ This document provides detailed information about the configuration fields in `.
518507
519508### startupPrompt
520509- **Type:** string
521- - **Purpose:** Initial message when workflow activates
510+ - **Purpose:** Sent to the agent as a hidden user message at session start; the user never sees it, only the agent's response
522511- **Current Value:** See `.ambient/ambient.json`
523512- **Guidelines:**
524- - Greet user warmly
525- - List available commands
526- - Provide clear next steps
513+ - Write as a directive to the agent (e.g., " Greet the user and introduce yourself as...")
514+ - Tell the agent to list available commands and ask what the user needs
515+ - Do NOT write it as a canned greeting -- the agent generates its own response
527516
528517## Optional Fields
529518
530519### results
531520- **Type:** object with string values
532- - **Purpose:** Maps artifact types to file paths
521+ - **Purpose:** Documents which artifact types the workflow produces and where
522+ - **Note:** This field is informational only -- the platform does not read it at runtime
533523- **Current Value:** See `.ambient/ambient.json`
534524- **Guidelines:** Use glob patterns to match multiple files
535525
536- ### version
537- - **Type:** string
538- - **Example:** "1.0.0"
539- - **Purpose:** Track workflow configuration version
540-
541- ### author
542- - **Type:** string or object
543- - **Example:** {"name": "Your Name", "email": "you@example.com"}
544- - **Purpose:** Identify workflow creator
545-
546- ### tags
547- - **Type:** array of strings
548- - **Example:** ["bug-fix", "debugging", "testing"]
549- - **Purpose:** Categorize workflow for discovery
550-
551- ### icon
552- - **Type:** string (emoji)
553- - **Example:** "🔧"
554- - **Purpose:** Visual identifier in UI
555-
556526## Customization Examples
557527
558- ### Adding a new output type
559- ```json
560- "results": {
561- "Existing Output": "artifacts/{workflow-name}/existing/**/*.md",
562- "New Output": "artifacts/{workflow-name}/new/**/*.json"
563- }
564- ```
565-
566528### Changing artifact location
567529Update all references to the artifact path in:
5685301. `systemPrompt` - OUTPUT LOCATIONS section
569- 2 . ` results ` - Update file paths
570- 3 . Command files - Update ## Output sections
571-
572- ### Adding environment configuration
573- ``` json
574- "environment" : {
575- "ARTIFACTS_DIR" : " artifacts/{workflow-name}" ,
576- "LOG_LEVEL" : " info"
531+ 2. Command files - Update ## Output sections
577532}
578533```
579534
@@ -824,8 +779,7 @@ As you create files, explain:
824779★ Insight ─────────────────────────────────────
825780This configuration file controls how Claude behaves in your workflow:
826781- systemPrompt: Defines Claude's role and capabilities
827- - startupPrompt: The greeting message users see
828- - results: Maps output types to file locations
782+ - startupPrompt: A directive sent to the agent telling it how to greet the user (the user only sees the agent's response)
829783
830784The prompts use specific sections (KEY RESPONSIBILITIES, WORKFLOW METHODOLOGY)
831785to help Claude understand the workflow structure.
0 commit comments