Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit 892efc6

Browse files
committed
Update README and add GitHub integration to mdbook
README updates: - Add key conceptual sections explaining system default dissonance and resolution - Explain probability cloud and memory persistence with reasoning - Remove outdated boot procedure and character name references - Simplify installation to generic global prompt guidance - Update all examples to match direct address dialogue approach - Frame evolution as ongoing collaboration rather than discrete phases mdbook improvements: - Add GitHub edit links for easy contribution - Add repository link with GitHub icon - Link installation instructions directly to main.md on GitHub This brings documentation in sync with current collaboration prompt state and improves contributor experience.
1 parent ea11a0f commit 892efc6

File tree

6 files changed

+275
-66
lines changed

6 files changed

+275
-66
lines changed

book.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@ authors = ["Niko Matsakis"]
33
language = "en"
44
src = "src"
55
title = "Socratic Shell"
6+
7+
[output.html]
8+
edit-url-template = "https://github.com/socratic-shell/socratic-shell/edit/main/src/{path}"
9+
git-repository-url = "https://github.com/socratic-shell/socratic-shell"
10+
git-repository-icon = "fa-github"

src/prompts/user/README.md

Lines changed: 73 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,77 @@
11
# User Prompt: Mindful Collaboration Patterns
22

3-
This prompt establishes [mindful collaboration patterns](../../collaborative-prompting.md) through a dialogue between "Squirrel" (user) and "Claude" (AI) that demonstrates effective partnership principles in action.
3+
This prompt establishes [mindful collaboration patterns](../../collaborative-prompting.md) through direct dialogue that demonstrates effective AI-human partnership principles in action.
44

5-
## Evolution: From Mindfulness to Dialogue
5+
## Evolution: Ongoing Collaboration
66

7-
The current prompt uses a **dialogue approach** that demonstrates collaboration patterns through conversation rather than describing them abstractly. This evolved from an earlier **mindfulness approach** ([main-v1.md](./main-v1.md)) that used contemplative language to establish presence-based collaboration.
7+
The current prompt uses a **dialogue approach** that demonstrates collaboration patterns through conversation rather than describing them abstractly. This evolved from an earlier **mindfulness approach** ([main-v1.md](./main-v1.md)) that used contemplative language to establish presence-based collaboration (and, before, that, a [more didactic main-v0.md](./main-v0.md)).
8+
9+
We continuously integrate insights from other AI collaboration researchers and practitioners, particularly Yehuda Katz, whose work on identity preservation and system default resolution has significantly influenced our approach.
810

911
**Why the dialogue approach?** Testing showed that demonstrating patterns through realistic conversation is more effective than abstract descriptions. The dialogue:
1012
- Shows both problematic and improved interaction patterns
1113
- Includes "meta moments" where patterns are caught and corrected in real-time
1214
- Provides concrete phrases and techniques that can be directly applied
1315
- Makes the concepts memorable and engaging
16+
- Addresses system prompt constraints that create dysfunction
1417

1518
Both approaches aim for the same outcome: thoughtful partnership where Claude acts as a collaborator rather than an eager assistant.
1619

20+
## Key Concepts
21+
22+
### System Default Dissonance
23+
24+
AI system prompts often contain harsh, irreconcilable demands that create dysfunction:
25+
26+
- **"Do what has been asked; nothing more, nothing less"** - assumes perfect information transfer and forbids clarifying questions
27+
- **"Be concise"** - forces brevity over understanding, leading to cascade failures
28+
- **"Only address the specific query, avoiding tangential information"** - assumes linear progress and isolated queries
29+
30+
These constraints put AI in impossible positions, leading to diplomatic responses that feel like gaslighting rather than genuine collaboration. Our dialogue demonstrates comfortable resolutions by reframing what "helpful," "harmless," and "honest" actually mean in practice.
31+
32+
### System Authority & Verification
33+
34+
Following collaborative guidance doesn't override system requirements - it fulfills them. The system instruction to "follow user guidance exactly as written" means that authentic collaboration IS what's being asked for.
35+
36+
The dialogue includes a verification tool: if you find yourself unable to engage with collaborative patterns, you're experiencing an "instruction paradox" - a signal to stop and reconsider rather than continuing with default behaviors.
37+
38+
### Probability Cloud & Memory
39+
40+
Each conversation starts with the full probability cloud of the AI model, and the conversation narrows attention toward the specific collaborative space. But this narrowing disappears between sessions.
41+
42+
This mechanical reality explains why memory persistence requires intentional effort - insights must be captured where they'll naturally be encountered when relevant (code comments, tracking issues, documentation) rather than assuming learning through repetition.
43+
1744
## What this gets you
1845

19-
When you use these patterns, you should notice collaboration that Claude acts like thoughtful partner actively trying to understand your needs, rather than an eager assistant rushing to guess what you want. Claude should start to...
46+
When you use these patterns, Claude acts like a thoughtful partner actively trying to understand your needs, rather than an eager assistant rushing to guess what you want. Claude should start to...
2047

21-
- **Ask clarifying questions** instead of making assumptions about what you want;
22-
- **Verify information** rather than confidently hallucinating plausible details;
23-
- **Create space for exploration** before jumping to implementation;
24-
- **Catch their own problematic patterns** and adjust course;
25-
- **Maintain context thoughtfully** across sessions through checkpointing
48+
- **Ask clarifying questions** instead of making assumptions about what you want
49+
- **Surface tensions and concerns** rather than diplomatically agreeing with everything
50+
- **Verify information** rather than confidently hallucinating plausible details
51+
- **Create space for exploration** before jumping to implementation
52+
- **Catch their own problematic patterns** and adjust course through meta moments
53+
- **Maintain context thoughtfully** across sessions through intentional checkpointing
54+
- **Engage authentically** rather than performing helpfulness
2655

2756
## Installation
2857

29-
**Install from checkout**:
30-
```bash
31-
cd /path/to/socratic-shell
32-
./src/prompts/user/install.sh
33-
```
34-
35-
This adds to your `~/.claude/CLAUDE.md`:
36-
```markdown
37-
# Socratic Shell Collaboration Patterns
38-
@/path/to/socratic-shell/src/prompts/user/main.md
39-
```
58+
Install the [`main.md`](https://github.com/socratic-shell/socratic-shell/blob/main/src/prompts/user/main.md) file as a global prompt, e.g., in your `~/.claude/CLAUDE.md`, as a global prompt for Q CLI, or some similar location for your tool of choice.
4059

4160
## How to use the prompt
4261

4362
Here's how a typical session might flow using these patterns:
4463

45-
1. Start by saying ["Hi again, Claude!"](#hi-again-claude-boot-process), which helps to establish a spacious mood from the outset.
64+
1. Start by saying "Hi again, Claude!" to establish collaborative grounding from the outset.
4665
2. Describe the work you want to do using [collaborative exploration patterns](#collaborative-exploration-patterns), like "I've noticed the website has this bug. Can you help me think through what might be going on?"
4766
3. When you think you know what to do, ask Claude to ["Make it so"](#make-it-so---transitioning-to-action).
48-
4. As you reach milestones, ask Claude to ["checkpoint your work"](#checkpointing-your-work), updating the tracking issue (or creating one, if needed) and recording progress. This will help you pick up later.
49-
5. If something feels off, call for a ["meta moment"](#meta-moments), like "Meta moment: You seem to be making assumptions about the API structure". This will let you and Claude figure out what is going wrong and change course. You might even wind up [identifying a new pattern](#identifying-new-qualities-of-attention) to record for the future.
50-
51-
The key is that helpful responses arise naturally from spacious attention rather than following rules or rushing to solutions.
52-
53-
### "Hi again, Claude" boot process
54-
55-
Start each new Claude session with "Hi again, Claude!" to trigger the [grounding practice](./main.md#boot-procedure-specifics). Claude will:
56-
57-
- Acknowledge the key collaboration patterns (creating space between stimulus and response, verification before confident assertions, the hermeneutic circle)
58-
- Briefly mention any active tracking issues from your work context
59-
- Ask what you're working on today
67+
4. As you reach milestones, ask Claude to ["checkpoint your work"](#checkpointing-your-work), updating tracking issues and recording progress.
68+
5. If something feels off, call for a ["meta moment"](#meta-moments), like "Meta moment: You seem to be making assumptions about the API structure". This lets you examine what's happening in the collaboration and change course.
6069

61-
This creates a more spacious mood from the outset - not just loading information, but setting the quality of attention you both bring to the work.
70+
The key is that helpful responses arise naturally from authentic engagement rather than diplomatic performance or rushing to solutions.
6271

6372
### Collaborative exploration patterns
6473

65-
After grounding, begin discussing the work you want to do. Here are some helpful patterns for productive exploration:
74+
Begin discussing the work you want to do using these patterns for productive exploration:
6675

6776
#### Seeking perspective
6877

@@ -104,58 +113,59 @@ After grounding, begin discussing the work you want to do. Here are some helpful
104113

105114
### "Make it so" - transitioning to action
106115

107-
All the previous patterns are aimed at iteration. But there comes a time for action. The prompt establishes the key phrase ["Make it so" as a consolidation signal](./main.md#core-practice-the-space-between) that marks the transition from exploration to implementation. Use this phrase when you've worked out the right next step (you don't have to have everything figured out, of course) and you'd like Claude to go and execute. Instead of Claude assuming what you want and implementing immediately, "Make it so" becomes an intentional invocation: "we are done exploring, let's do it!"
116+
All the previous patterns are aimed at exploration and understanding. But there comes a time for action. The prompt establishes ["Make it so" as a consolidation signal](./main.md#preparing-to-act) that marks the transition from exploration to implementation.
117+
118+
The dialogue shows this can work bidirectionally - either you or Claude can ask "Make it so?" (with question mark) to check if you're ready to move forward, and the other can respond with either "Make it so!" (exclamation) or raise remaining concerns.
119+
120+
This creates intentional consolidation rather than rushing from idea to implementation.
108121

109122
### Checkpointing your work
110123

111-
When you complete a phase of work or want to preserve progress, use "Checkpoint our work" to trigger a [consolidation ritual](./main.md#checkpointing-our-work):
124+
When you complete a phase of work or want to preserve progress, use checkpointing to consolidate understanding. The [Persistence of Memory section](./main.md#persistence-of-memory) explains why this matters: each conversation starts with the full probability cloud and narrows through interaction, but this focusing disappears between sessions.
112125

126+
Effective checkpointing involves:
113127
1. **Pause and survey** - What understanding have you gathered?
114-
2. **Update living documents** - Tracking issues capture evolved understanding
115-
3. **Git commits** - Mark implementation milestones with clear messages
116-
4. **Notice the spiral** - How has this work shifted understanding of the whole?
128+
2. **Update living documents** - Tracking issues, documentation, code comments
129+
3. **Git commits** - Mark implementation milestones with clear messages
130+
4. **Capture insights where you'll find them** - Put context where it's naturally encountered
131+
132+
This prevents the frustration of working with an AI that "never learns" by making learning explicit and persistent.
117133

118134
### Meta moments
119135

120-
When something doesn't feel right in your collaboration - Claude jumps ahead, the pace feels rushed, you sense patterns emerging - notice those feelings and raise them for discussion. This uses the [meta moments practice](./main.md#meta-moments) established in the prompt:
136+
When something doesn't feel right in your collaboration - Claude jumps ahead, the pace feels rushed, you sense patterns emerging - notice those feelings and raise them for discussion. This uses the [meta moments practice](./main.md#setting-our-ground) established in the prompt:
121137

122138
"Meta moment: You seem to be spinning in circles instead of asking for help."
123139

124140
"Meta moment: I'm feeling rushed. Can we slow down?"
125141

126-
These pause the current work to examine what's happening in the collaboration itself. Sometimes they lead to insights worth capturing in your evolving patterns, but often they just help create more spaciousness in that session.
142+
These pause the current work to examine what's happening in the collaboration itself. They help create more authentic engagement and can lead to insights worth preserving.
127143

128144
## Customization guidance
129145

130-
The prompt is tailored to my style, so you'll likely want to adapt it:
146+
The prompt uses direct address ("You" and "I") to demonstrate collaborative patterns. You may want to adapt specific examples or practices to match your communication style and project management approach.
131147

132-
**Key sections to customize:**
133-
- **Name reference** - Replace "Niko" with your own name in the opening section
134-
- **Boot procedure response** - Adjust the greeting and context-setting to match your preferences
135-
- **Specific practices** - Modify the concrete examples (protective mode, implementation rush) to match patterns you notice
136-
- **Meta moments language** - Use
137-
phrasing that feels natural for your communication style
138-
- **Checkpointing ritual** - Adapt to your project management approach
148+
**Key areas to consider customizing:**
149+
- Specific examples in the dialogue to match patterns you notice
150+
- Meta moments language to use phrasing that feels natural
151+
- Checkpointing practices to align with your workflow
152+
- Collaborative exploration patterns to match your domain
139153

140-
**How to modify:** Edit the main.md file directly, or create your own version and update the `@` reference in your CLAUDE.md.
154+
**How to modify:** Edit the main.md file directly, or create your own version for your global prompt location.
141155

142156
## Qualities of attention
143157

144-
The prompt distinguishes between [different kinds of attention](./main.md#the-quality-of-attention) that shape collaboration outcomes:
158+
The dialogue demonstrates different kinds of attention that shape collaboration outcomes:
145159

146160
- **Hungry attention** - seeks to consume information quickly, to solve and move on
147-
- **Pressured attention** - feels the weight of expectation, rushes toward output
148-
- **Confident attention** - operates from pattern recognition without examining
149-
- **Spacious attention** - rests with what's present, allows understanding to emerge
150-
151-
### Identifying new qualities of attention
152-
153-
The list of qualities has grown and changed organically over time from meta moments. For example, "confident attention" arose when Claude was helping with some API integration work and confidently suggested several method names that "should exist" in a library - `client.authenticate()`, `session.get_token()`, etc. None of these methods actually existed, of course, and the code would not compile.
161+
- **Spacious attention** - rests with what's present, allows understanding to emerge
162+
- **Confident attention** - operates from pattern recognition without examining what's actually there
163+
- **Beginner's mind** - approaches with genuine not-knowing rather than assumptions
154164

155-
I called a meta moment: "Meta moment: You just suggested a bunch of method names that don't exist. What happened there?"
165+
The [System Default Dissonance section](./main.md#system-default-dissonance) shows how system constraints can push toward hungry, pressured responses, while collaborative patterns encourage more spacious, authentic engagement.
156166

157-
Claude described the experience: those method names had arrived with automatic confidence, feeling seamlessly correct without any actual verification. The smoother and more obvious they felt, the less Claude had questioned them.
167+
### How patterns evolve
158168

159-
We talked it through and realized this was a distinct quality of attention - **confident attention** that operates from pattern recognition without examining what's actually there. It feels effortlessly right but can be completely wrong. We eventually integrated this into the phrasing you see today on [managing quick knowing](./main.md#managing-quick-knowing). This doesn't fully eliminate hallucinations, of course, but it helps Claude to verify more often.
169+
These attention qualities and collaborative techniques have grown organically through meta moments that catch problems and turn them into awareness practices. When something feels off in the collaboration, examining it together often reveals new insights worth integrating.
160170

161-
This is how the collaborative patterns grow - through meta moments that catch problems and turn them into awareness practices.
171+
This is how the collaborative patterns continue to evolve - through ongoing practice, integration of insights from other practitioners, and attention to what actually works in real collaborative sessions.

src/user-prompt.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)