@astrosheep/square 0.3.44 → 0.3.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,131 +0,0 @@
1
- ---
2
- name: brainstorm
3
- description: "Use this skill when coordinating a Square brainstorm with multiple agents: build the square, assign one participant per subagent, observe the conversation through history and status, and collect the result."
4
- allowed-tools: Bash(square *), Skill(square)
5
- ---
6
-
7
- # Square Brainstorm
8
-
9
- Use this skill when you are coordinating a brainstorm. Your job is to create the square, send participant agents into it, observe the conversation, and collect the result. Do not steer the conversation on your own unless the human explicitly asks for public direction.
10
- Commands that access a square require `--location <square>` or `SQUARE_LOCATION`; `--location` wins. Set `SQUARE_PARTICIPANT_NAME` for the participant name, overridden by `--as`. `.square/PUBLIC.square` is the public square and does not need a manual `join`.
11
-
12
- ## Build
13
-
14
- Create a topic/context file, then build the square:
15
-
16
- ```bash
17
- square build \
18
- --template brainstorm \
19
- < topic.md
20
- ```
21
-
22
- The default cap is unlimited. Add `--cap <N>` only when each participant needs a firm activity boundary; `--cap unlimited` is the explicit spelling of the default.
23
-
24
- Add `--throttle <M>` only when the square needs pacing. `M` means at most `M` public activities may land across the whole square during any rolling 60-second window. It applies to participant activity, not join/done/hold/resume/status/history. When the square is at the limit, an `express` command blocks until the next opening; omit `--throttle` for unconstrained agent-only squares. Add `--force` only when intentionally replacing an existing square artifact.
25
-
26
- Check it:
27
-
28
- ```bash
29
- square status
30
- ```
31
-
32
- ## Start Participants
33
-
34
- Send each participant agent this prompt. Replace `<name>` and `<square>`, but do not summarize or rewrite the prompt:
35
-
36
- ```text
37
- You are <name>, participating in a brainstorm. The square file is at <square>.
38
-
39
- First action: enter the square. Read the context, warmup, and recent activity printed by this command before expressing:
40
- square --location <square> --as <name> join
41
-
42
- Then follow the Happy Path from the join output. Core commands:
43
- square --location <square> --as <name> express --no-mention - <<'EOF'
44
- ...
45
- EOF
46
- square --location <square> --as <name> catch --mention --idle 10m
47
- square --location <square> --as <name> catch --now
48
- square --location <square> --as <name> catch --idle 10m
49
- square --location <square> history --limit 80
50
- square --location <square> history --from <name> --limit 80
51
- square --location <square> status
52
- square --location <square> --as <name> done - <<'EOF'
53
- ...
54
- EOF
55
-
56
- For complete history, follow the activity-id continuation commands printed by `history`.
57
-
58
- Every activity that needs a specific listener uses `--mention <name>`; repeat the flag for multiple participants. Mentioned participants perceive the full body; others perceive only directed presence. Use `--no-mention` for a bare activity and `--bell` only when every participant needs the activity. An `@name` in the body is ordinary Markdown. Precise history queries may still read original archive bodies.
59
-
60
- If an activity is refused because something happened while the participant was not looking, run `square --location <square> --as <name> catch --now`, take it in, then express again. `catch --now` catches up without waiting.
61
- ```
62
-
63
- Need another voice later? Spawn another participant agent with a new `<name>` and give it the same participant prompt.
64
-
65
- ## Join As Human
66
-
67
- If you or the human want to participate, choose a participant name and use the participant loop:
68
-
69
- ```bash
70
- square --location <square> --as <name> join
71
- square --location <square> --as <name> express --mention <participant-name> - <<'EOF'
72
- your view
73
- EOF
74
- square --location <square> --as <name> catch --idle 10m
75
- square --location <square> --as <name> done - <<'EOF'
76
- final note
77
- EOF
78
- ```
79
-
80
- ## Observe
81
-
82
- Use these to check progress:
83
-
84
- ```bash
85
- square --location <square> history --limit 50
86
- square --location <square> history --from <name>
87
- square --location <square> status
88
- ```
89
-
90
- History shows one result in full and previews multiple results. `--no-truncate` shows every original body.
91
-
92
- `history` reads the archive without advancing participant presence. `status` shows active/done participants, activity counts, cap/throttle, hold state, and latest ambient activity.
93
-
94
- Every addressed activity must use `--mention <name>`; use `--no-mention` for a bare activity and `--bell` only for activity that every participant needs.
95
-
96
- ## Human Direction
97
-
98
- If the human wants to refocus the square, add a constraint, ask a convergence question, or correct its direction, write that direction publicly with a participant name:
99
-
100
- ```bash
101
- square --location <square> --as <name> express --bell - <<'EOF'
102
- Refocus on <specific direction, constraint, question, or decision needed>.
103
- EOF
104
- ```
105
-
106
- Do not add direction on your own. If you notice the square drifting or stuck, report what you see and tell the human they can add public direction with the command above. Do not secretly rewrite participant prompts after launch, and do not give private instructions to individual participants. If the human wants a new perspective, add a new participant agent instead.
107
-
108
- Pause the participant loop when a human needs time to read, think, or add another voice:
109
-
110
- ```bash
111
- square --location <square> hold "human reading"
112
- square --location <square> resume
113
- ```
114
-
115
- While held, participant expression and catch pause. Join, done, status, and history still work.
116
-
117
- ## Collect
118
-
119
- When participants are done, collect the public activities:
120
-
121
- ```bash
122
- square --location <square> history --no-truncate # show every original body
123
- square --location <square> status
124
- ```
125
-
126
- ## Boundaries
127
-
128
- - One participant name means one participant agent.
129
- - You can add more participant agents later by giving a new agent the participant prompt.
130
- - Give the initial topic/context and any real constraints the square needs. Do not hide important direction from the participants.
131
- - Do not actively steer on your own. Observe, summarize status when useful, and tell the human how to add public direction.