toenobu-agent 0.1.4 → 0.2.0
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/.pi/todos/2b2baa06.md +23 -0
- package/package.json +1 -1
- package/skills/session-renamer/SKILL.md +35 -34
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "2b2baa06",
|
|
3
|
+
"title": "Update session-renamer skill to allow spaces and reference todo titles",
|
|
4
|
+
"tags": [
|
|
5
|
+
"skill",
|
|
6
|
+
"session-renamer",
|
|
7
|
+
"urgent"
|
|
8
|
+
],
|
|
9
|
+
"status": "done",
|
|
10
|
+
"created_at": "2026-03-18T06:58:54.041Z"
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
## Task
|
|
14
|
+
Update the session-renamer skill file with:
|
|
15
|
+
|
|
16
|
+
1. **Naming format** - Allow spaces instead of kebab-case
|
|
17
|
+
2. **Todo reference** - If session relates to a todo, use the todo's title as session name
|
|
18
|
+
|
|
19
|
+
## File
|
|
20
|
+
`/Users/toenobu/homebrew/lib/node_modules/toenobu-agent/skills/session-renamer/SKILL.md`
|
|
21
|
+
|
|
22
|
+
## Done when
|
|
23
|
+
Skill file updated and saved
|
package/package.json
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Analyzes session content
|
|
2
|
+
description: Analyzes session content to generate a descriptive name or suggest deletion if meaningless
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# Session Renamer
|
|
6
6
|
|
|
7
|
-
Use
|
|
7
|
+
Use when the user asks to name/rename the current session.
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## Process
|
|
10
10
|
|
|
11
|
-
Analyze the conversation history
|
|
11
|
+
1. **Analyze** the conversation history
|
|
12
|
+
2. **Decide**: meaningful content or not?
|
|
13
|
+
- **Meaningless** → suggest `/delete`
|
|
14
|
+
- **Meaningful** → generate 2-3 name candidates
|
|
15
|
+
3. **Present** options to user
|
|
16
|
+
4. **Apply** with `/name <chosen-name>` or `/delete`
|
|
12
17
|
|
|
13
|
-
|
|
14
|
-
2. **Is Concise**: Keep it short (3-6 words, under 50 characters)
|
|
15
|
-
3. **Uses Descriptive Words**: Include key technologies, actions, or domains
|
|
16
|
-
4. **Uses kebab-case**: Lowercase with hyphens for consistency
|
|
18
|
+
## Meaningless Sessions
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
Suggest deletion if the session:
|
|
21
|
+
- Contains only greetings or small talk (e.g., just "hello" with no follow-up)
|
|
22
|
+
- Has abandoned/incomplete queries with no outcome
|
|
23
|
+
- Consists of test messages or accidental inputs
|
|
24
|
+
- Has no code changes, file operations, or real discussion
|
|
19
25
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
-
|
|
24
|
-
- `debug-api-rate-limiting`
|
|
25
|
-
- `setup-docker-compose`
|
|
26
|
-
- `create-session-renamer-skill`
|
|
26
|
+
**Output:**
|
|
27
|
+
```
|
|
28
|
+
This session doesn't have meaningful content:
|
|
29
|
+
- [reason]
|
|
27
30
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
- Too long names (over 50 characters)
|
|
31
|
-
- Names that don't reflect actual content
|
|
32
|
-
- CamelCase or spaces
|
|
31
|
+
Delete with `/delete`? Or suggest a name to keep it.
|
|
32
|
+
```
|
|
33
33
|
|
|
34
|
-
##
|
|
34
|
+
## Meaningful Sessions
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
Generate names that:
|
|
37
|
+
- Capture the main topic (3-6 words, <50 chars)
|
|
38
|
+
- Use spaces (not kebab-case)
|
|
39
|
+
- Include key technologies, actions, or domains
|
|
40
|
+
- **If related to a todo**: use the todo's title as the session name
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
**Good:** `Refactor auth middleware`, `Fix TypeScript build errors`, `Setup Docker Compose`
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
**Avoid:** Generic (`coding session`), too long, doesn't reflect actual content
|
|
45
45
|
|
|
46
|
+
**Output:**
|
|
46
47
|
```
|
|
47
|
-
Suggested
|
|
48
|
-
1. `
|
|
49
|
-
2. `
|
|
50
|
-
3. `
|
|
48
|
+
Suggested names:
|
|
49
|
+
1. `Primary topic name`
|
|
50
|
+
2. `Alternative name`
|
|
51
|
+
3. `Another option`
|
|
51
52
|
|
|
52
|
-
|
|
53
|
+
Pick one or suggest your own.
|
|
53
54
|
```
|