@cullumco/cadence 0.1.4 → 0.1.6
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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +2 -2
- package/README.md +114 -66
- package/dist/cadence.js +58 -17
- package/dist/cli.js +238 -29
- package/dist/config.js +77 -0
- package/dist/hook.js +40 -18
- package/dist/inject.js +21 -3
- package/dist/posttool.js +126 -9
- package/dist/providers/activity.js +45 -4
- package/dist/providers/{ambient.js → environment.js} +67 -8
- package/dist/providers/esoteric.js +77 -0
- package/dist/providers/git.js +4 -3
- package/dist/providers/intent.js +37 -0
- package/dist/providers/moon.js +51 -0
- package/dist/providers/music.js +15 -3
- package/dist/providers/selfreport.js +6 -1
- package/dist/providers/spotify.js +142 -0
- package/dist/session-start.js +38 -8
- package/dist/signals-view.js +45 -11
- package/dist/spotify-auth.js +136 -0
- package/dist/stop.js +9 -6
- package/dist/types.js +1 -0
- package/dist/vibe.js +10 -6
- package/package.json +2 -2
- package/skills/pause/SKILL.md +16 -0
- package/skills/resume/SKILL.md +12 -0
- package/skills/setup/SKILL.md +43 -0
- package/skills/state/SKILL.md +3 -3
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Conversational Cadence setup — shape how the agent reads your prompts, choose which signals to share, all through a short conversation.
|
|
3
|
+
disable-model-invocation: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Cadence Setup
|
|
7
|
+
|
|
8
|
+
Walk the user through shaping Cadence conversationally. You orchestrate; the
|
|
9
|
+
`cadence` CLI is the source of truth — run commands with Bash, never edit
|
|
10
|
+
`~/.cadence/` files directly.
|
|
11
|
+
|
|
12
|
+
Have a short conversation, not a form. Adapt to their answers; skip anything
|
|
13
|
+
they don't care about. The arc:
|
|
14
|
+
|
|
15
|
+
1. **State** — ask how they're working right now (shipping? thinking through
|
|
16
|
+
something? debugging? just vibing?). Phrase it naturally. Turn their answer
|
|
17
|
+
into `cadence report "<their words>"`. Tell them it expires after 2 hours and
|
|
18
|
+
they can refresh with `/cadence:state`.
|
|
19
|
+
|
|
20
|
+
2. **Dials** — ask if there's anything they ALWAYS want, regardless of signals
|
|
21
|
+
(e.g. "always be terse", "never act without asking"). Map to pins:
|
|
22
|
+
`cadence set pace|tone|posture|proactivity <low|medium|high>`. Most people
|
|
23
|
+
should pin nothing — say so. Pins override inference until unset.
|
|
24
|
+
|
|
25
|
+
3. **Opt-in signals** — offer, one line each, that these are off until asked:
|
|
26
|
+
- typing tempo (`cadence enable typingTempo`) — prompt rhythm → pace
|
|
27
|
+
- focused app (`cadence enable focusedApp`, macOS) — frontmost app as flavor
|
|
28
|
+
- weather (`cadence set-location <lat> <lon>`) — needs a location
|
|
29
|
+
- moon / horoscope (`cadence enable moon`, `cadence enable horoscope <sign>`)
|
|
30
|
+
- Spotify off-Mac (`cadence spotify connect <clientId>` — needs a terminal,
|
|
31
|
+
opens a browser; just point them at it, don't run it)
|
|
32
|
+
Enable only what they ask for.
|
|
33
|
+
|
|
34
|
+
4. **Show the result** — run `cadence test` and summarize the injected block in
|
|
35
|
+
one or two plain-English sentences: what the agent now sees, and one way it
|
|
36
|
+
will change responses.
|
|
37
|
+
|
|
38
|
+
Close by mentioning: `/cadence:pause` silences everything instantly,
|
|
39
|
+
`/cadence:resume` brings it back, and `cadence signals` shows every signal and
|
|
40
|
+
why it is or isn't firing.
|
|
41
|
+
|
|
42
|
+
Keep the whole exchange warm and fast — under a minute of their time. Do not
|
|
43
|
+
explain the architecture.
|
package/skills/state/SKILL.md
CHANGED
|
@@ -8,12 +8,12 @@ disable-model-invocation: true
|
|
|
8
8
|
Use this skill when the user invokes `/cadence:state`.
|
|
9
9
|
|
|
10
10
|
If `$ARGUMENTS` is non-empty:
|
|
11
|
-
- Run `cadence
|
|
12
|
-
- Then tell the user the state is set and will expire after
|
|
11
|
+
- Run `cadence report "$ARGUMENTS"` with Bash.
|
|
12
|
+
- Then tell the user the state is set and will expire after two hours.
|
|
13
13
|
- Keep it to one short sentence.
|
|
14
14
|
|
|
15
15
|
If `$ARGUMENTS` is empty:
|
|
16
|
-
- Run `cadence
|
|
16
|
+
- Run `cadence report` with Bash.
|
|
17
17
|
- Tell the user the current state, or that none is set.
|
|
18
18
|
|
|
19
19
|
Do not explain the whole product.
|