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.
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "toenobu-agent",
3
- "version": "0.1.4",
3
+ "version": "0.2.0",
4
4
  "description": "toenobu's pi coding agent skills and extensions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,53 +1,54 @@
1
1
  ---
2
- description: Analyzes session content and generates a meaningful, descriptive session name
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 this skill when the user asks to name or rename the current session, or when a session needs a proper descriptive name.
7
+ Use when the user asks to name/rename the current session.
8
8
 
9
- ## Instructions
9
+ ## Process
10
10
 
11
- Analyze the conversation history and generate a concise, descriptive session name that:
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
- 1. **Captures the Main Topic**: Identify the primary task, feature, or topic discussed
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
- ## Naming Patterns
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
- Good examples:
21
- - `refactor-auth-middleware`
22
- - `fix-typescript-build-errors`
23
- - `add-user-dashboard-feature`
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
- Avoid:
29
- - Generic names like `coding-session`, `help-request`, or `chat`
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
- ## Process
34
+ ## Meaningful Sessions
35
35
 
36
- 1. Review the conversation topics and tasks completed
37
- 2. Identify the dominant theme or objective
38
- 3. Generate 2-3 candidate names
39
- 4. Present candidates to user for selection
40
- 5. Once user confirms, apply with `/name <chosen-name>`
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
- ## Output Format
42
+ **Good:** `Refactor auth middleware`, `Fix TypeScript build errors`, `Setup Docker Compose`
43
43
 
44
- Present candidates like this:
44
+ **Avoid:** Generic (`coding session`), too long, doesn't reflect actual content
45
45
 
46
+ **Output:**
46
47
  ```
47
- Suggested session names:
48
- 1. `primary-topic-name`
49
- 2. `alternative-name`
50
- 3. `another-option`
48
+ Suggested names:
49
+ 1. `Primary topic name`
50
+ 2. `Alternative name`
51
+ 3. `Another option`
51
52
 
52
- Which one would you like? (or suggest your own)
53
+ Pick one or suggest your own.
53
54
  ```