@troykelly/openclaw-projects 0.0.35 → 0.0.37

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.
Files changed (54) hide show
  1. package/README.md +273 -19
  2. package/dist/hooks.d.ts.map +1 -1
  3. package/dist/hooks.js +72 -19
  4. package/dist/hooks.js.map +1 -1
  5. package/dist/register-openclaw.d.ts.map +1 -1
  6. package/dist/register-openclaw.js +226 -61
  7. package/dist/register-openclaw.js.map +1 -1
  8. package/dist/tool-guidance/catalog.d.ts +36 -0
  9. package/dist/tool-guidance/catalog.d.ts.map +1 -0
  10. package/dist/tool-guidance/catalog.js +1261 -0
  11. package/dist/tool-guidance/catalog.js.map +1 -0
  12. package/dist/tools/dev-sessions.js +7 -7
  13. package/dist/tools/dev-sessions.js.map +1 -1
  14. package/dist/tools/index.d.ts +1 -0
  15. package/dist/tools/index.d.ts.map +1 -1
  16. package/dist/tools/index.js +2 -0
  17. package/dist/tools/index.js.map +1 -1
  18. package/dist/tools/notebooks.d.ts.map +1 -1
  19. package/dist/tools/notebooks.js +3 -5
  20. package/dist/tools/notebooks.js.map +1 -1
  21. package/dist/tools/notes.d.ts.map +1 -1
  22. package/dist/tools/notes.js +5 -7
  23. package/dist/tools/notes.js.map +1 -1
  24. package/dist/tools/terminal-connections.js +8 -8
  25. package/dist/tools/terminal-connections.js.map +1 -1
  26. package/dist/tools/terminal-search.js +2 -2
  27. package/dist/tools/terminal-search.js.map +1 -1
  28. package/dist/tools/terminal-sessions.js +7 -7
  29. package/dist/tools/terminal-sessions.js.map +1 -1
  30. package/dist/tools/terminal-tunnels.js +3 -3
  31. package/dist/tools/terminal-tunnels.js.map +1 -1
  32. package/dist/tools/threads.d.ts +17 -5
  33. package/dist/tools/threads.d.ts.map +1 -1
  34. package/dist/tools/threads.js +14 -25
  35. package/dist/tools/threads.js.map +1 -1
  36. package/dist/tools/todos.d.ts +1 -1
  37. package/dist/tools/todos.d.ts.map +1 -1
  38. package/dist/tools/todos.js +13 -2
  39. package/dist/tools/todos.js.map +1 -1
  40. package/dist/tools/tool-guide.d.ts +93 -0
  41. package/dist/tools/tool-guide.d.ts.map +1 -0
  42. package/dist/tools/tool-guide.js +257 -0
  43. package/dist/tools/tool-guide.js.map +1 -0
  44. package/dist/types/openclaw-api.d.ts +4 -0
  45. package/dist/types/openclaw-api.d.ts.map +1 -1
  46. package/openclaw.plugin.json +2 -2
  47. package/package.json +1 -1
  48. package/skills/api-integration/SKILL.md +35 -0
  49. package/skills/contact-relationship-map/SKILL.md +39 -0
  50. package/skills/dev-session-report/SKILL.md +39 -0
  51. package/skills/namespace-audit/SKILL.md +38 -0
  52. package/skills/note-meeting/SKILL.md +46 -0
  53. package/skills/terminal-setup/SKILL.md +38 -0
  54. package/skills/weekly-review/SKILL.md +40 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@troykelly/openclaw-projects",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "description": "OpenClaw memory plugin with projects, todos, and contacts integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: api-integration
3
+ description: Onboard a new external API, configure credentials, and verify endpoints
4
+ args:
5
+ - name: name
6
+ description: Name or identifier for the API to integrate
7
+ required: true
8
+ ---
9
+
10
+ Onboard the external API "{{name}}" and verify it is searchable:
11
+
12
+ 1. **Onboard the API**
13
+ - Use `api_onboard` to register the new API source
14
+ - Provide the API name "{{name}}" and any base URL or documentation URL the user supplies
15
+ - Capture the returned source ID for subsequent steps
16
+
17
+ 2. **Configure Credentials**
18
+ - Use `api_credential_manage` to set up authentication for the API
19
+ - Ask the user what auth method the API requires (API key, OAuth, bearer token, etc.)
20
+ - Store the credentials securely against the onboarded source
21
+
22
+ 3. **Verify Discoverability**
23
+ - Use `api_recall` to search for the newly onboarded API by name
24
+ - Confirm the API appears in search results with correct metadata
25
+ - If not found, check the onboarding details and retry
26
+
27
+ 4. **Refresh and Confirm**
28
+ - Use `api_refresh` to ensure the API index is up to date
29
+ - Use `api_recall` again to confirm the API and its endpoints are fully indexed
30
+ - Report the final status and available endpoints to the user
31
+
32
+ ## Important Notes:
33
+ - Never log or display raw API keys or tokens
34
+ - If the API requires OAuth, guide the user through the flow
35
+ - Suggest testing a sample endpoint after setup is complete
@@ -0,0 +1,39 @@
1
+ ---
2
+ name: contact-relationship-map
3
+ description: Build a comprehensive view of a contact with relationships, links, and memories
4
+ args:
5
+ - name: name
6
+ description: Contact name to map
7
+ required: true
8
+ ---
9
+
10
+ Build a comprehensive relationship map for contact "{{name}}":
11
+
12
+ 1. **Retrieve Contact Details**
13
+ - Use `contact_search` to find the contact by name "{{name}}"
14
+ - Use `contact_get` with the contact ID to retrieve full details
15
+ - Show all known endpoints (email, phone, social accounts)
16
+ - If multiple matches found, ask for clarification
17
+
18
+ 2. **Map Relationships**
19
+ - Use `relationship_query` with the contact ID to find all relationships
20
+ - Show each related contact and the relationship type (colleague, family, manager, etc.)
21
+ - Note the direction of each relationship (e.g., "reports to" vs "manages")
22
+
23
+ 3. **Find Linked Items**
24
+ - Use `links_query` with the contact's entity reference to discover linked content
25
+ - Show linked projects, tasks, notes, and other work items
26
+ - Highlight any active or high-priority linked items
27
+
28
+ 4. **Recall Stored Memories**
29
+ - Use `memory_recall` with the contact's name to find relevant memories
30
+ - Show preferences, facts, past decisions, and contextual notes
31
+ - Note when each memory was stored for recency context
32
+
33
+ 5. **Relationship Map Summary**
34
+ - Present a unified view:
35
+ - Contact card (name, endpoints, notes)
36
+ - Relationship network (connected people and relationship types)
37
+ - Linked work (projects, tasks, notes referencing this contact)
38
+ - Stored context (memories and preferences)
39
+ - Suggest any missing information worth capturing
@@ -0,0 +1,39 @@
1
+ ---
2
+ name: dev-session-report
3
+ description: Generate a summary report for a completed dev session
4
+ args:
5
+ - name: session_id
6
+ description: Dev session UUID (use dev_session_list to find sessions)
7
+ required: true
8
+ ---
9
+
10
+ Generate a summary report for dev session "{{session_id}}":
11
+
12
+ 1. **Retrieve Session Details**
13
+ - If the user provided a name instead of a UUID, use `dev_session_list` to find matching sessions first
14
+ - Use `dev_session_get` with the session UUID "{{session_id}}"
15
+ - Show session name, start time, duration, and current status
16
+ - If the session is still active, ask whether to complete it first
17
+
18
+ 2. **Complete Session (if needed)**
19
+ - If the session is still in progress, use `dev_session_complete` to close it
20
+ - Ask the user for a summary of what was accomplished
21
+ - Record any final notes or outcomes
22
+
23
+ 3. **Gather Related Work Items**
24
+ - Use `todo_list` to find tasks linked to this dev session
25
+ - Categorize tasks by status (completed during session, still pending, blocked)
26
+ - Calculate completion metrics (tasks done vs remaining)
27
+
28
+ 4. **Add Project Context**
29
+ - Use `project_get` to retrieve the parent project details
30
+ - Show how the session's work fits into overall project progress
31
+ - Note any milestones reached or approaching
32
+
33
+ 5. **Compile Report**
34
+ - Present a structured report with:
35
+ - Session overview (duration, focus area)
36
+ - Accomplishments (completed tasks, key decisions)
37
+ - Remaining work (pending tasks, blockers)
38
+ - Project impact (progress toward goals)
39
+ - Suggest storing the report as a memory for future reference
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: namespace-audit
3
+ description: Audit namespace content by searching across projects, memories, and items
4
+ args:
5
+ - name: namespace
6
+ description: Namespace to audit (optional, audits current namespace if omitted)
7
+ required: false
8
+ ---
9
+
10
+ Audit the namespace "{{namespace}}" to review its content and usage:
11
+
12
+ 1. **Search Namespace Content**
13
+ - Use `context_search` with a broad query to discover items in the namespace
14
+ - Note the types of content found (memories, projects, tasks, notes)
15
+ - Report the total number of items discovered
16
+
17
+ 2. **Review Projects**
18
+ - Use `project_list` to find all projects in the namespace scope
19
+ - For each project, note its status, task count, and last activity
20
+ - Identify any stale or abandoned projects
21
+
22
+ 3. **Check Stored Memories**
23
+ - Use `memory_recall` with a general query to find memories in the namespace
24
+ - Categorize memories by type (preference, fact, decision, context)
25
+ - Flag any outdated or potentially stale memories
26
+
27
+ 4. **Audit Summary**
28
+ - Present a comprehensive namespace overview:
29
+ - Total items by type (projects, tasks, memories, notes)
30
+ - Active vs stale content
31
+ - Storage utilization patterns
32
+ - Recommend cleanup actions for stale or orphaned content
33
+ - Suggest namespace organization improvements
34
+
35
+ ## Important Notes:
36
+ - If no namespace is specified, the audit runs against the current default namespace
37
+ - Large namespaces may require multiple queries; paginate as needed
38
+ - Do not delete any content during the audit; only recommend actions
@@ -0,0 +1,46 @@
1
+ ---
2
+ name: note-meeting
3
+ description: Create meeting notes with attendees, action items, and linked references
4
+ args:
5
+ - name: title
6
+ description: Meeting title or topic
7
+ required: true
8
+ ---
9
+
10
+ Create comprehensive meeting notes for "{{title}}":
11
+
12
+ 1. **Create the Meeting Note**
13
+ - Use `notebook_list` to find or select the appropriate notebook for meeting notes
14
+ - Use `note_create` to create a new note titled "{{title}}"
15
+ - Include the date, time, and meeting topic in the note body
16
+ - Ask the user for the key discussion points and decisions
17
+
18
+ 2. **Identify Attendees**
19
+ - Use `contact_search` to look up each attendee mentioned by the user
20
+ - For each found contact, note their name and role
21
+ - If an attendee is not in contacts, offer to create them with `contact_create`
22
+
23
+ 3. **Extract Action Items**
24
+ - For each action item identified during the meeting:
25
+ - Use `todo_create` to create a task with a clear title (include assignee name in the title if known)
26
+ - Set the due date if provided
27
+ - Prefix the title with the responsible person's name for easy filtering
28
+
29
+ 4. **Link Everything Together**
30
+ - Use `links_set` to link the meeting note to:
31
+ - Each attendee's contact record
32
+ - Each action item created
33
+ - Any referenced projects or existing work items
34
+ - This creates a navigable web of meeting context
35
+
36
+ 5. **Summary**
37
+ - Present the completed meeting note with:
38
+ - Attendee list with contact links
39
+ - Numbered action items with owners and due dates
40
+ - Links to related projects or work items
41
+ - Confirm all items are correctly captured
42
+
43
+ ## Important Notes:
44
+ - Ask for clarification on ambiguous action items before creating todos
45
+ - If attendees have multiple matching contacts, ask the user to confirm
46
+ - Suggest a follow-up reminder if a next meeting date is mentioned
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: terminal-setup
3
+ description: Set up a new terminal connection with credentials and verification
4
+ args:
5
+ - name: host
6
+ description: Hostname or IP address of the remote server
7
+ required: true
8
+ - name: label
9
+ description: Friendly name for this connection
10
+ required: false
11
+ ---
12
+
13
+ Set up a new terminal connection to "{{host}}" and verify it works:
14
+
15
+ 1. **Create Credentials First**
16
+ - Ask the user for their preferred auth method (password, SSH key, or key file)
17
+ - Use `terminal_credential_create` to store the credential securely
18
+ - Note the returned credential ID for the next step
19
+
20
+ 2. **Create the Connection**
21
+ - Use `terminal_connection_create` with the host "{{host}}" and the `credential_id` from step 1
22
+ - Set the name to "{{label}}" if provided, otherwise use the hostname
23
+ - Configure the connection type (SSH is the default)
24
+
25
+ 3. **Test the Connection**
26
+ - Use `terminal_connection_test` with the connection ID to verify it works
27
+ - If the test fails, report the error details clearly
28
+ - Suggest common fixes (wrong port, firewall, credential issues)
29
+
30
+ 4. **Confirm Setup**
31
+ - Use `terminal_connection_list` to show the new connection in the list
32
+ - Report the connection ID for future reference
33
+ - Suggest next steps (starting a session, creating a tunnel)
34
+
35
+ ## Important Notes:
36
+ - Never store or log raw passwords or private keys
37
+ - If SSH key auth is chosen, the key content should be provided securely
38
+ - Default SSH port is 22; ask if a non-standard port is needed
@@ -0,0 +1,40 @@
1
+ ---
2
+ name: weekly-review
3
+ description: Comprehensive weekly review of projects, tasks, communications, and sessions
4
+ ---
5
+
6
+ Perform a comprehensive weekly review covering all key areas:
7
+
8
+ 1. **Project Progress**
9
+ - Use `project_list` to get all active projects
10
+ - For each project, summarize current status and recent changes
11
+ - Highlight projects with approaching deadlines or at-risk milestones
12
+
13
+ 2. **Task Review**
14
+ - Use `todo_search` to find tasks completed this week
15
+ - Use `todo_search` to find tasks that are overdue or due soon
16
+ - Calculate completion rate and identify any bottlenecks
17
+ - List the top priority pending tasks for the coming week
18
+
19
+ 3. **Communications Summary**
20
+ - Use `message_search` to find messages from the past week
21
+ - Summarize key conversations and any unanswered messages
22
+ - Note any threads requiring follow-up
23
+
24
+ 4. **Dev Sessions**
25
+ - Use `dev_session_list` to find sessions from the past week
26
+ - Summarize what was worked on and key outcomes
27
+ - Note any sessions that were started but not completed
28
+
29
+ 5. **Notes and Documentation**
30
+ - Use `note_search` to find notes created or updated this week
31
+ - Highlight meeting notes, decisions, and important captures
32
+ - Flag any notes that need follow-up action
33
+
34
+ 6. **Weekly Summary**
35
+ - Present a structured review:
36
+ - Wins: completed tasks, shipped features, resolved issues
37
+ - In Progress: ongoing work and expected completion
38
+ - Blockers: items needing attention or escalation
39
+ - Upcoming: priorities and deadlines for next week
40
+ - Suggest focus areas for the coming week based on priorities and deadlines