Skip to content

Commit 0698420

Browse files
fix: output styles parsing
1 parent 0df610e commit 0698420

3 files changed

Lines changed: 7 additions & 12 deletions

File tree

claude_code_sdk/01_The_chief_of_staff_agent.ipynb

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": 1,
5+
"execution_count": 2,
66
"metadata": {},
77
"outputs": [
88
{
99
"data": {
1010
"text/plain": [
11-
"True"
11+
"False"
1212
]
1313
},
14-
"execution_count": 1,
14+
"execution_count": 2,
1515
"metadata": {},
1616
"output_type": "execute_result"
1717
}
@@ -143,15 +143,14 @@
143143
"**Why**: Your agent might be used by people of different levels of expertise or they might have different priorities. Your output style can help differentiate between these segments without having to create a separate agent.\n",
144144
"\n",
145145
"**How**:\n",
146-
"- Configure a markdown file per style in `chief_of_staff_agent/.claude/output-styles/`. For example, check out the Executive Ouput style in `.claude/output-styles/executive.md`\n",
147-
"- Make sure your markdown file starts with a H1 header when defining a new style: `# Style`\n",
146+
"- Configure a markdown file per style in `chief_of_staff_agent/.claude/output-styles/`. For example, check out the Executive Ouput style in `.claude/output-styles/executive.md`. Output styles are defined with a simple frontmatter including two fields: name and description. Note: Make sure the name in the frontmatter matches exactly the file's name (case sensitive)\n",
148147
"\n",
149148
"> **IMPORTANT**: Output styles modify the system prompt that Claude Code has underneath, leaving out the parts focused on software engineering and giving you more control for your specific use case beyond software engineering work."
150149
]
151150
},
152151
{
153152
"cell_type": "code",
154-
"execution_count": 6,
153+
"execution_count": 3,
155154
"metadata": {},
156155
"outputs": [
157156
{

claude_code_sdk/chief_of_staff_agent/.claude/output-styles/executive.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# Executive
2-
31
---
4-
name: Executive Style
2+
name: executive
53
description: Concise, KPI-focused communication for C-suite executives
64
---
75

claude_code_sdk/chief_of_staff_agent/.claude/output-styles/technical.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# Technical
2-
31
---
4-
name: Technical Style
2+
name: technical
53
description: Detailed, data-rich analysis for technical teams and analysts
64
---
75

0 commit comments

Comments
 (0)