crewly 1.0.1 → 1.0.2

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 (100) hide show
  1. package/dist/backend/backend/src/services/agent/agent-heartbeat-monitor.service.js +1 -1
  2. package/dist/backend/backend/src/services/agent/agent-registration.service.d.ts.map +1 -1
  3. package/dist/backend/backend/src/services/agent/agent-registration.service.js +3 -0
  4. package/dist/backend/backend/src/services/agent/agent-registration.service.js.map +1 -1
  5. package/dist/backend/backend/src/services/marketplace/marketplace-installer.service.d.ts +28 -4
  6. package/dist/backend/backend/src/services/marketplace/marketplace-installer.service.d.ts.map +1 -1
  7. package/dist/backend/backend/src/services/marketplace/marketplace-installer.service.js +74 -7
  8. package/dist/backend/backend/src/services/marketplace/marketplace-installer.service.js.map +1 -1
  9. package/dist/backend/backend/src/services/orchestrator/orchestrator-heartbeat-monitor.service.js +1 -1
  10. package/dist/backend/backend/src/services/session/pty/pty-terminal-buffer.d.ts.map +1 -1
  11. package/dist/backend/backend/src/services/session/pty/pty-terminal-buffer.js +2 -1
  12. package/dist/backend/backend/src/services/session/pty/pty-terminal-buffer.js.map +1 -1
  13. package/dist/backend/backend/src/services/skill/skill-catalog.service.d.ts +11 -0
  14. package/dist/backend/backend/src/services/skill/skill-catalog.service.d.ts.map +1 -1
  15. package/dist/backend/backend/src/services/skill/skill-catalog.service.js +46 -3
  16. package/dist/backend/backend/src/services/skill/skill-catalog.service.js.map +1 -1
  17. package/dist/cli/cli/src/commands/install.d.ts +23 -0
  18. package/dist/cli/cli/src/commands/install.d.ts.map +1 -0
  19. package/dist/cli/cli/src/commands/install.js +113 -0
  20. package/dist/cli/cli/src/commands/install.js.map +1 -0
  21. package/dist/cli/cli/src/commands/search.d.ts +23 -0
  22. package/dist/cli/cli/src/commands/search.d.ts.map +1 -0
  23. package/dist/cli/cli/src/commands/search.js +85 -0
  24. package/dist/cli/cli/src/commands/search.js.map +1 -0
  25. package/dist/cli/cli/src/commands/start.d.ts.map +1 -1
  26. package/dist/cli/cli/src/commands/start.js +11 -0
  27. package/dist/cli/cli/src/commands/start.js.map +1 -1
  28. package/dist/cli/cli/src/index.js +12 -0
  29. package/dist/cli/cli/src/index.js.map +1 -1
  30. package/dist/cli/cli/src/utils/marketplace.d.ts +111 -0
  31. package/dist/cli/cli/src/utils/marketplace.d.ts.map +1 -0
  32. package/dist/cli/cli/src/utils/marketplace.js +209 -0
  33. package/dist/cli/cli/src/utils/marketplace.js.map +1 -0
  34. package/package.json +4 -1
  35. package/config/skills/agent/_common/lib.sh +0 -4
  36. package/config/skills/agent/accept-task/execute.sh +0 -21
  37. package/config/skills/agent/accept-task/instructions.md +0 -20
  38. package/config/skills/agent/accept-task/skill.json +0 -20
  39. package/config/skills/agent/block-task/execute.sh +0 -26
  40. package/config/skills/agent/block-task/instructions.md +0 -22
  41. package/config/skills/agent/block-task/skill.json +0 -20
  42. package/config/skills/agent/check-quality-gates/execute.sh +0 -20
  43. package/config/skills/agent/check-quality-gates/instructions.md +0 -23
  44. package/config/skills/agent/check-quality-gates/skill.json +0 -20
  45. package/config/skills/agent/complete-task/execute.sh +0 -26
  46. package/config/skills/agent/complete-task/instructions.md +0 -22
  47. package/config/skills/agent/complete-task/skill.json +0 -20
  48. package/config/skills/agent/computer-use/execute.sh +0 -151
  49. package/config/skills/agent/computer-use/instructions.md +0 -60
  50. package/config/skills/agent/computer-use/skill.json +0 -22
  51. package/config/skills/agent/get-my-context/execute.sh +0 -23
  52. package/config/skills/agent/get-my-context/instructions.md +0 -21
  53. package/config/skills/agent/get-my-context/skill.json +0 -20
  54. package/config/skills/agent/get-sops/execute.sh +0 -24
  55. package/config/skills/agent/get-sops/instructions.md +0 -21
  56. package/config/skills/agent/get-sops/skill.json +0 -20
  57. package/config/skills/agent/get-team-status/execute.sh +0 -8
  58. package/config/skills/agent/get-team-status/instructions.md +0 -17
  59. package/config/skills/agent/get-team-status/skill.json +0 -20
  60. package/config/skills/agent/heartbeat/execute.sh +0 -22
  61. package/config/skills/agent/heartbeat/instructions.md +0 -23
  62. package/config/skills/agent/heartbeat/skill.json +0 -20
  63. package/config/skills/agent/manage-knowledge/execute.sh +0 -60
  64. package/config/skills/agent/manage-knowledge/instructions.md +0 -46
  65. package/config/skills/agent/nano-banana-image/generate.sh +0 -73
  66. package/config/skills/agent/nano-banana-image/instructions.md +0 -50
  67. package/config/skills/agent/nano-banana-image/skill.json +0 -39
  68. package/config/skills/agent/query-knowledge/execute.sh +0 -30
  69. package/config/skills/agent/query-knowledge/instructions.md +0 -47
  70. package/config/skills/agent/query-knowledge/skill.json +0 -20
  71. package/config/skills/agent/read-task/execute.sh +0 -15
  72. package/config/skills/agent/read-task/instructions.md +0 -19
  73. package/config/skills/agent/read-task/skill.json +0 -20
  74. package/config/skills/agent/recall/execute.sh +0 -24
  75. package/config/skills/agent/recall/instructions.md +0 -23
  76. package/config/skills/agent/recall/skill.json +0 -20
  77. package/config/skills/agent/record-learning/execute.sh +0 -29
  78. package/config/skills/agent/record-learning/instructions.md +0 -24
  79. package/config/skills/agent/record-learning/skill.json +0 -20
  80. package/config/skills/agent/register-self/execute.sh +0 -28
  81. package/config/skills/agent/register-self/instructions.md +0 -18
  82. package/config/skills/agent/register-self/skill.json +0 -20
  83. package/config/skills/agent/remember/execute.sh +0 -29
  84. package/config/skills/agent/remember/instructions.md +0 -24
  85. package/config/skills/agent/remember/skill.json +0 -20
  86. package/config/skills/agent/report-progress/execute.sh +0 -28
  87. package/config/skills/agent/report-progress/instructions.md +0 -25
  88. package/config/skills/agent/report-progress/skill.json +0 -20
  89. package/config/skills/agent/report-status/execute.sh +0 -35
  90. package/config/skills/agent/report-status/instructions.md +0 -36
  91. package/config/skills/agent/report-status/skill.json +0 -20
  92. package/config/skills/agent/send-chat-response/execute.sh +0 -26
  93. package/config/skills/agent/send-chat-response/instructions.md +0 -22
  94. package/config/skills/agent/send-chat-response/skill.json +0 -20
  95. package/config/skills/agent/send-message/execute.sh +0 -17
  96. package/config/skills/agent/send-message/instructions.md +0 -20
  97. package/config/skills/agent/send-message/skill.json +0 -20
  98. package/config/skills/agent/send-pdf-to-slack/execute.sh +0 -182
  99. package/config/skills/agent/send-pdf-to-slack/instructions.md +0 -49
  100. package/config/skills/agent/send-pdf-to-slack/skill.json +0 -20
@@ -1,20 +0,0 @@
1
- {
2
- "id": "agent-complete-task",
3
- "name": "Complete Task",
4
- "description": "Mark a task as complete with a summary of the work done.",
5
- "category": "task-management",
6
- "skillType": "claude-skill",
7
- "promptFile": "instructions.md",
8
- "execution": {
9
- "type": "script",
10
- "script": {
11
- "file": "execute.sh",
12
- "interpreter": "bash",
13
- "timeoutMs": 15000
14
- }
15
- },
16
- "assignableRoles": ["developer", "qa", "tpm", "designer", "frontend-developer", "backend-developer", "fullstack-dev", "qa-engineer", "product-manager", "architect", "generalist", "sales", "support"],
17
- "triggers": ["complete task", "finish task", "mark done", "task done"],
18
- "tags": ["task", "completion", "status"],
19
- "version": "1.0.0"
20
- }
@@ -1,151 +0,0 @@
1
- #!/bin/bash
2
- # =============================================================================
3
- # Desktop Automation (Computer Use) Skill
4
- # Controls macOS desktop: screenshots, mouse, keyboard
5
- # Uses native macOS APIs — no external dependencies required
6
- # =============================================================================
7
- set -euo pipefail
8
-
9
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10
- source "${SCRIPT_DIR}/../_common/lib.sh"
11
-
12
- INPUT="${1:-}"
13
- [ -z "$INPUT" ] && error_exit "Usage: execute.sh '{\"action\":\"screenshot|move|click|type\", ...}'"
14
-
15
- ACTION=$(echo "$INPUT" | jq -r '.action // empty')
16
- require_param "action" "$ACTION"
17
-
18
- # -----------------------------------------------------------------------------
19
- # screenshot — capture the screen to a file
20
- # -----------------------------------------------------------------------------
21
- do_screenshot() {
22
- local output
23
- output=$(echo "$INPUT" | jq -r '.output // "/tmp/screenshot.png"')
24
-
25
- # Ensure output directory exists
26
- mkdir -p "$(dirname "$output")"
27
-
28
- screencapture -x "$output" 2>/dev/null
29
-
30
- if [ -f "$output" ]; then
31
- local size
32
- size=$(stat -f%z "$output" 2>/dev/null || stat -c%s "$output" 2>/dev/null || echo "unknown")
33
- echo "{\"success\":true,\"action\":\"screenshot\",\"file\":\"$output\",\"size\":$size}"
34
- else
35
- error_exit "Screenshot failed — file not created"
36
- fi
37
- }
38
-
39
- # -----------------------------------------------------------------------------
40
- # move — move mouse cursor to (x, y)
41
- # -----------------------------------------------------------------------------
42
- do_move() {
43
- local x y
44
- x=$(echo "$INPUT" | jq -r '.x // empty')
45
- y=$(echo "$INPUT" | jq -r '.y // empty')
46
- require_param "x" "$x"
47
- require_param "y" "$y"
48
-
49
- osascript -l JavaScript -e "
50
- ObjC.import('CoreGraphics');
51
- var point = $.CGPointMake($x, $y);
52
- var event = $.CGEventCreateMouseEvent(null, $.kCGEventMouseMoved, point, 0);
53
- $.CGEventPost($.kCGHIDEventTap, event);
54
- 'moved';
55
- " >/dev/null 2>&1
56
-
57
- echo "{\"success\":true,\"action\":\"move\",\"x\":$x,\"y\":$y}"
58
- }
59
-
60
- # -----------------------------------------------------------------------------
61
- # click — click at (x, y) with optional button type
62
- # -----------------------------------------------------------------------------
63
- do_click() {
64
- local x y button
65
- x=$(echo "$INPUT" | jq -r '.x // empty')
66
- y=$(echo "$INPUT" | jq -r '.y // empty')
67
- button=$(echo "$INPUT" | jq -r '.button // "left"')
68
- require_param "x" "$x"
69
- require_param "y" "$y"
70
-
71
- case "$button" in
72
- left)
73
- osascript -l JavaScript -e "
74
- ObjC.import('CoreGraphics');
75
- var point = $.CGPointMake($x, $y);
76
- var move = $.CGEventCreateMouseEvent(null, $.kCGEventMouseMoved, point, 0);
77
- $.CGEventPost($.kCGHIDEventTap, move);
78
- var down = $.CGEventCreateMouseEvent(null, $.kCGEventLeftMouseDown, point, 0);
79
- $.CGEventPost($.kCGHIDEventTap, down);
80
- var up = $.CGEventCreateMouseEvent(null, $.kCGEventLeftMouseUp, point, 0);
81
- $.CGEventPost($.kCGHIDEventTap, up);
82
- 'clicked';
83
- " >/dev/null 2>&1
84
- ;;
85
- right)
86
- osascript -l JavaScript -e "
87
- ObjC.import('CoreGraphics');
88
- var point = $.CGPointMake($x, $y);
89
- var move = $.CGEventCreateMouseEvent(null, $.kCGEventMouseMoved, point, 0);
90
- $.CGEventPost($.kCGHIDEventTap, move);
91
- var down = $.CGEventCreateMouseEvent(null, $.kCGEventRightMouseDown, point, $.kCGMouseButtonRight);
92
- $.CGEventPost($.kCGHIDEventTap, down);
93
- var up = $.CGEventCreateMouseEvent(null, $.kCGEventRightMouseUp, point, $.kCGMouseButtonRight);
94
- $.CGEventPost($.kCGHIDEventTap, up);
95
- 'clicked';
96
- " >/dev/null 2>&1
97
- ;;
98
- double)
99
- osascript -l JavaScript -e "
100
- ObjC.import('CoreGraphics');
101
- var point = $.CGPointMake($x, $y);
102
- var move = $.CGEventCreateMouseEvent(null, $.kCGEventMouseMoved, point, 0);
103
- $.CGEventPost($.kCGHIDEventTap, move);
104
- var down1 = $.CGEventCreateMouseEvent(null, $.kCGEventLeftMouseDown, point, 0);
105
- $.CGEventSetIntegerValueField(down1, $.kCGMouseEventClickState, 1);
106
- $.CGEventPost($.kCGHIDEventTap, down1);
107
- var up1 = $.CGEventCreateMouseEvent(null, $.kCGEventLeftMouseUp, point, 0);
108
- $.CGEventSetIntegerValueField(up1, $.kCGMouseEventClickState, 1);
109
- $.CGEventPost($.kCGHIDEventTap, up1);
110
- delay(0.05);
111
- var down2 = $.CGEventCreateMouseEvent(null, $.kCGEventLeftMouseDown, point, 0);
112
- $.CGEventSetIntegerValueField(down2, $.kCGMouseEventClickState, 2);
113
- $.CGEventPost($.kCGHIDEventTap, down2);
114
- var up2 = $.CGEventCreateMouseEvent(null, $.kCGEventLeftMouseUp, point, 0);
115
- $.CGEventSetIntegerValueField(up2, $.kCGMouseEventClickState, 2);
116
- $.CGEventPost($.kCGHIDEventTap, up2);
117
- 'double-clicked';
118
- " >/dev/null 2>&1
119
- ;;
120
- *)
121
- error_exit "Unknown button type: $button (use left, right, or double)"
122
- ;;
123
- esac
124
-
125
- echo "{\"success\":true,\"action\":\"click\",\"x\":$x,\"y\":$y,\"button\":\"$button\"}"
126
- }
127
-
128
- # -----------------------------------------------------------------------------
129
- # type — simulate keyboard input
130
- # -----------------------------------------------------------------------------
131
- do_type() {
132
- local text
133
- text=$(echo "$INPUT" | jq -r '.text // empty')
134
- require_param "text" "$text"
135
-
136
- osascript -e "tell application \"System Events\" to keystroke \"$text\"" 2>/dev/null
137
-
138
- local char_count=${#text}
139
- echo "{\"success\":true,\"action\":\"type\",\"characters\":$char_count}"
140
- }
141
-
142
- # -----------------------------------------------------------------------------
143
- # Dispatch
144
- # -----------------------------------------------------------------------------
145
- case "$ACTION" in
146
- screenshot) do_screenshot ;;
147
- move) do_move ;;
148
- click) do_click ;;
149
- type) do_type ;;
150
- *) error_exit "Unknown action: $ACTION (use screenshot, move, click, or type)" ;;
151
- esac
@@ -1,60 +0,0 @@
1
- # Desktop Automation (Computer Use)
2
-
3
- Control the macOS desktop by taking screenshots, moving/clicking the mouse, and typing text.
4
-
5
- ## Actions
6
-
7
- ### Screenshot
8
- Capture the screen (or a region) to an image file.
9
-
10
- ```bash
11
- bash execute.sh '{"action":"screenshot"}'
12
- bash execute.sh '{"action":"screenshot","output":"/tmp/my-screenshot.png"}'
13
- ```
14
-
15
- ### Move Mouse
16
- Move the mouse cursor to a specific coordinate.
17
-
18
- ```bash
19
- bash execute.sh '{"action":"move","x":500,"y":300}'
20
- ```
21
-
22
- ### Click
23
- Click at a specific coordinate. Supports left click, right click, and double click.
24
-
25
- ```bash
26
- bash execute.sh '{"action":"click","x":500,"y":300}'
27
- bash execute.sh '{"action":"click","x":500,"y":300,"button":"right"}'
28
- bash execute.sh '{"action":"click","x":500,"y":300,"button":"double"}'
29
- ```
30
-
31
- ### Type Text
32
- Type a string of text using simulated keystrokes.
33
-
34
- ```bash
35
- bash execute.sh '{"action":"type","text":"Hello, world!"}'
36
- ```
37
-
38
- ## Parameters
39
-
40
- | Parameter | Required | Default | Description |
41
- |-----------|----------|---------|-------------|
42
- | `action` | Yes | - | One of: `screenshot`, `move`, `click`, `type` |
43
- | `x` | For move/click | - | X coordinate (pixels from left) |
44
- | `y` | For move/click | - | Y coordinate (pixels from top) |
45
- | `button` | No | `left` | Click button: `left`, `right`, or `double` |
46
- | `text` | For type | - | Text string to type |
47
- | `output` | No | `/tmp/screenshot.png` | Screenshot output file path |
48
-
49
- ## Requirements
50
-
51
- - macOS (uses native `screencapture` and CoreGraphics)
52
- - Accessibility permissions must be granted to the terminal app (System Settings > Privacy & Security > Accessibility)
53
-
54
- ## Typical Workflow
55
-
56
- 1. Take a screenshot to see the current screen state
57
- 2. Identify the coordinates of the target element
58
- 3. Move the mouse and/or click on the target
59
- 4. Optionally type text into a focused field
60
- 5. Take another screenshot to verify the result
@@ -1,22 +0,0 @@
1
- {
2
- "id": "computer-use",
3
- "name": "Desktop Automation (Computer Use)",
4
- "description": "Control the macOS desktop: take screenshots, move/click the mouse, and type text. Uses native macOS APIs (screencapture, CoreGraphics via JXA, System Events) with zero external dependencies.",
5
- "category": "automation",
6
- "skillType": "claude-skill",
7
- "promptFile": "instructions.md",
8
- "execution": {
9
- "type": "script",
10
- "script": {
11
- "file": "execute.sh",
12
- "interpreter": "bash",
13
- "timeoutMs": 30000
14
- }
15
- },
16
- "triggers": ["screenshot", "click", "mouse", "type text", "desktop automation", "computer use"],
17
- "tags": ["automation", "desktop", "screenshot", "mouse", "keyboard", "macos"],
18
- "assignableRoles": ["generalist", "designer", "qa"],
19
- "version": "1.0.0",
20
- "createdAt": "2026-02-20T00:00:00.000Z",
21
- "updatedAt": "2026-02-20T00:00:00.000Z"
22
- }
@@ -1,23 +0,0 @@
1
- #!/bin/bash
2
- # Retrieve accumulated context including memories, learnings, and project knowledge
3
- set -euo pipefail
4
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
5
- source "${SCRIPT_DIR}/../_common/lib.sh"
6
-
7
- INPUT="${1:-}"
8
- [ -z "$INPUT" ] && error_exit "Usage: execute.sh '{\"agentId\":\"dev-1\",\"agentRole\":\"developer\",\"projectPath\":\"/projects/app\"}'"
9
-
10
- AGENT_ID=$(echo "$INPUT" | jq -r '.agentId // empty')
11
- AGENT_ROLE=$(echo "$INPUT" | jq -r '.agentRole // empty')
12
- PROJECT_PATH=$(echo "$INPUT" | jq -r '.projectPath // empty')
13
- require_param "agentId" "$AGENT_ID"
14
- require_param "agentRole" "$AGENT_ROLE"
15
- require_param "projectPath" "$PROJECT_PATH"
16
-
17
- BODY=$(jq -n \
18
- --arg agentId "$AGENT_ID" \
19
- --arg agentRole "$AGENT_ROLE" \
20
- --arg projectPath "$PROJECT_PATH" \
21
- '{agentId: $agentId, agentRole: $agentRole, projectPath: $projectPath}')
22
-
23
- api_call POST "/memory/my-context" "$BODY"
@@ -1,21 +0,0 @@
1
- # Get My Context
2
-
3
- Retrieve your accumulated context including memories, learnings, and project knowledge. Use this at startup or when beginning a new task to load relevant background information.
4
-
5
- ## Parameters
6
-
7
- | Parameter | Required | Description |
8
- |-----------|----------|-------------|
9
- | `agentId` | Yes | Your agent ID |
10
- | `agentRole` | Yes | Your role (e.g., `"developer"`, `"qa"`) |
11
- | `projectPath` | Yes | Absolute path to the current project |
12
-
13
- ## Example
14
-
15
- ```bash
16
- bash config/skills/agent/get-my-context/execute.sh '{"agentId":"dev-1","agentRole":"developer","projectPath":"/projects/app"}'
17
- ```
18
-
19
- ## Output
20
-
21
- JSON with your accumulated context including past memories, learnings, project-specific knowledge, team SOPs, and relevant history.
@@ -1,20 +0,0 @@
1
- {
2
- "id": "agent-get-my-context",
3
- "name": "Get My Context",
4
- "description": "Retrieve your accumulated context including memories, learnings, and project knowledge.",
5
- "category": "memory",
6
- "skillType": "claude-skill",
7
- "promptFile": "instructions.md",
8
- "execution": {
9
- "type": "script",
10
- "script": {
11
- "file": "execute.sh",
12
- "interpreter": "bash",
13
- "timeoutMs": 15000
14
- }
15
- },
16
- "assignableRoles": ["developer", "qa", "tpm", "designer", "frontend-developer", "backend-developer", "fullstack-dev", "qa-engineer", "product-manager", "architect", "generalist", "sales", "support"],
17
- "triggers": ["get context", "my context", "what do I know", "load context"],
18
- "tags": ["memory", "context", "knowledge", "startup"],
19
- "version": "1.0.0"
20
- }
@@ -1,24 +0,0 @@
1
- #!/bin/bash
2
- # Query standard operating procedures relevant to the current context
3
- set -euo pipefail
4
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
5
- source "${SCRIPT_DIR}/../_common/lib.sh"
6
-
7
- INPUT="${1:-}"
8
- [ -z "$INPUT" ] && error_exit "Usage: execute.sh '{\"context\":\"deploying to production\"}'"
9
-
10
- CONTEXT=$(echo "$INPUT" | jq -r '.context // empty')
11
- require_param "context" "$CONTEXT"
12
-
13
- CATEGORY=$(echo "$INPUT" | jq -r '.category // empty')
14
- ROLE=$(echo "$INPUT" | jq -r '.role // empty')
15
-
16
- BODY=$(jq -n \
17
- --arg context "$CONTEXT" \
18
- --arg category "$CATEGORY" \
19
- --arg role "$ROLE" \
20
- '{context: $context} +
21
- (if $category != "" then {category: $category} else {} end) +
22
- (if $role != "" then {role: $role} else {} end)')
23
-
24
- api_call POST "/system/sops/query" "$BODY"
@@ -1,21 +0,0 @@
1
- # Get SOPs
2
-
3
- Query standard operating procedures (SOPs) relevant to your current context or task. SOPs contain team-defined guidelines, workflows, and best practices.
4
-
5
- ## Parameters
6
-
7
- | Parameter | Required | Description |
8
- |-----------|----------|-------------|
9
- | `context` | Yes | Description of what you need SOPs for (e.g., `"deploying to production"`) |
10
- | `category` | No | Filter by SOP category (e.g., `"deployment"`, `"testing"`, `"code-review"`) |
11
- | `role` | No | Filter by role relevance (e.g., `"developer"`, `"qa"`) |
12
-
13
- ## Example
14
-
15
- ```bash
16
- bash config/skills/agent/get-sops/execute.sh '{"context":"deploying a new backend service","category":"deployment","role":"developer"}'
17
- ```
18
-
19
- ## Output
20
-
21
- JSON with matching SOPs including their titles, content, and applicability metadata.
@@ -1,20 +0,0 @@
1
- {
2
- "id": "agent-get-sops",
3
- "name": "Get SOPs",
4
- "description": "Query standard operating procedures relevant to your current context or task.",
5
- "category": "system",
6
- "skillType": "claude-skill",
7
- "promptFile": "instructions.md",
8
- "execution": {
9
- "type": "script",
10
- "script": {
11
- "file": "execute.sh",
12
- "interpreter": "bash",
13
- "timeoutMs": 15000
14
- }
15
- },
16
- "assignableRoles": ["developer", "qa", "tpm", "designer", "frontend-developer", "backend-developer", "fullstack-dev", "qa-engineer", "product-manager", "architect", "generalist", "sales", "support"],
17
- "triggers": ["get sops", "standard procedures", "how to", "best practices"],
18
- "tags": ["system", "sops", "procedures", "guidelines"],
19
- "version": "1.0.0"
20
- }
@@ -1,8 +0,0 @@
1
- #!/bin/bash
2
- # Get the current status of all teams and their members
3
- set -euo pipefail
4
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
5
- source "${SCRIPT_DIR}/../_common/lib.sh"
6
-
7
- # No input required for this skill
8
- api_call GET "/teams"
@@ -1,17 +0,0 @@
1
- # Get Team Status
2
-
3
- Get the current status of all teams and their members. Returns team names, member roles, agent statuses, and working statuses.
4
-
5
- ## Parameters
6
-
7
- No parameters required.
8
-
9
- ## Example
10
-
11
- ```bash
12
- bash config/skills/agent/get-team-status/execute.sh '{}'
13
- ```
14
-
15
- ## Output
16
-
17
- JSON with team data including each team's members, their roles, agent status (active/inactive), and current working status (idle/in_progress).
@@ -1,20 +0,0 @@
1
- {
2
- "id": "agent-get-team-status",
3
- "name": "Get Team Status",
4
- "description": "Get the current status of all teams and their members.",
5
- "category": "monitoring",
6
- "skillType": "claude-skill",
7
- "promptFile": "instructions.md",
8
- "execution": {
9
- "type": "script",
10
- "script": {
11
- "file": "execute.sh",
12
- "interpreter": "bash",
13
- "timeoutMs": 15000
14
- }
15
- },
16
- "assignableRoles": ["developer", "qa", "tpm", "designer", "frontend-developer", "backend-developer", "fullstack-dev", "qa-engineer", "product-manager", "architect", "generalist", "sales", "support"],
17
- "triggers": ["team status", "who is online", "check team", "team members"],
18
- "tags": ["monitoring", "team", "status", "agents"],
19
- "version": "1.0.0"
20
- }
@@ -1,22 +0,0 @@
1
- #!/bin/bash
2
- # =============================================================================
3
- # Agent Heartbeat Skill - Lightweight health check and heartbeat update
4
- #
5
- # Calls the /health endpoint to update the agent heartbeat via the
6
- # X-Agent-Session middleware header (set automatically by lib.sh).
7
- # =============================================================================
8
-
9
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10
- source "$SCRIPT_DIR/../../_common/lib.sh"
11
-
12
- # Single API call updates heartbeat via the X-Agent-Session middleware
13
- health_response=$(api_call GET "/health" 2>/dev/null) || health_response='{"error":"unavailable"}'
14
-
15
- cat <<EOF
16
- {
17
- "status": "ok",
18
- "timestamp": "$(date -u +%Y-%m-%dT%H:%M:%SZ)",
19
- "session": "${CREWLY_SESSION_NAME:-unknown}",
20
- "health": $health_response
21
- }
22
- EOF
@@ -1,23 +0,0 @@
1
- # Agent Heartbeat Skill
2
-
3
- Perform a lightweight health check to confirm that you are responsive.
4
-
5
- ## When to Use
6
-
7
- Run this skill when the system asks you to perform a heartbeat check. This updates your heartbeat timestamp so the monitoring system knows you are alive and responsive.
8
-
9
- ## Usage
10
-
11
- ```bash
12
- bash config/skills/agent/heartbeat/execute.sh
13
- ```
14
-
15
- No parameters required.
16
-
17
- ## Output
18
-
19
- Returns a JSON object with:
20
- - `status`: "ok" if the health endpoint responded
21
- - `timestamp`: UTC timestamp of the check
22
- - `session`: your session name
23
- - `health`: response from the health endpoint
@@ -1,20 +0,0 @@
1
- {
2
- "id": "agent-heartbeat",
3
- "name": "Heartbeat",
4
- "description": "Perform a lightweight health check to confirm the agent is responsive. Updates the heartbeat timestamp via the API middleware.",
5
- "category": "monitoring",
6
- "skillType": "claude-skill",
7
- "promptFile": "instructions.md",
8
- "execution": {
9
- "type": "script",
10
- "script": {
11
- "file": "execute.sh",
12
- "interpreter": "bash",
13
- "timeoutMs": 15000
14
- }
15
- },
16
- "assignableRoles": ["developer", "qa", "devops", "pm", "tpm"],
17
- "triggers": ["heartbeat", "health check"],
18
- "tags": ["monitoring", "heartbeat", "health"],
19
- "version": "1.0.0"
20
- }
@@ -1,60 +0,0 @@
1
- #!/bin/bash
2
- # Manage Knowledge Documents - create or update company knowledge docs
3
- set -euo pipefail
4
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
5
- source "${SCRIPT_DIR}/../_common/lib.sh"
6
-
7
- INPUT="${1:-}"
8
- [ -z "$INPUT" ] && error_exit "Usage: execute.sh '{\"action\":\"create\",\"title\":\"...\",\"content\":\"...\",\"category\":\"SOPs\",\"scope\":\"global\"}'"
9
-
10
- ACTION=$(echo "$INPUT" | jq -r '.action // empty')
11
- require_param "action" "$ACTION"
12
-
13
- if [ "$ACTION" = "create" ]; then
14
- TITLE=$(echo "$INPUT" | jq -r '.title // empty')
15
- CONTENT=$(echo "$INPUT" | jq -r '.content // empty')
16
- CATEGORY=$(echo "$INPUT" | jq -r '.category // "General"')
17
- SCOPE=$(echo "$INPUT" | jq -r '.scope // "global"')
18
- PROJECT_PATH=$(echo "$INPUT" | jq -r '.projectPath // empty')
19
- TAGS=$(echo "$INPUT" | jq -c '.tags // []')
20
- CREATED_BY=$(echo "$INPUT" | jq -r '.createdBy // "agent"')
21
-
22
- require_param "title" "$TITLE"
23
- require_param "content" "$CONTENT"
24
-
25
- BODY=$(jq -n \
26
- --arg title "$TITLE" \
27
- --arg content "$CONTENT" \
28
- --arg category "$CATEGORY" \
29
- --arg scope "$SCOPE" \
30
- --arg projectPath "$PROJECT_PATH" \
31
- --argjson tags "$TAGS" \
32
- --arg createdBy "$CREATED_BY" \
33
- '{title: $title, content: $content, category: $category, scope: $scope, projectPath: $projectPath, tags: $tags, createdBy: $createdBy}')
34
-
35
- api_call POST "/knowledge/documents" "$BODY"
36
-
37
- elif [ "$ACTION" = "update" ]; then
38
- ID=$(echo "$INPUT" | jq -r '.id // empty')
39
- require_param "id" "$ID"
40
-
41
- SCOPE=$(echo "$INPUT" | jq -r '.scope // "global"')
42
- PROJECT_PATH=$(echo "$INPUT" | jq -r '.projectPath // empty')
43
- UPDATED_BY=$(echo "$INPUT" | jq -r '.updatedBy // "agent"')
44
-
45
- # Build update body with only provided fields
46
- BODY=$(echo "$INPUT" | jq '{
47
- title: .title,
48
- content: .content,
49
- category: .category,
50
- tags: .tags,
51
- scope: (.scope // "global"),
52
- projectPath: .projectPath,
53
- updatedBy: (.updatedBy // "agent")
54
- } | with_entries(select(.value != null and .value != ""))')
55
-
56
- api_call PUT "/knowledge/documents/${ID}" "$BODY"
57
-
58
- else
59
- error_exit "Invalid action '${ACTION}'. Must be 'create' or 'update'"
60
- fi
@@ -1,46 +0,0 @@
1
- # Manage Knowledge
2
-
3
- Create or update company knowledge documents. These are markdown files stored in the Crewly knowledge system, accessible to all team members via the UI.
4
-
5
- Use this skill to document SOPs, architecture decisions, team norms, onboarding guides, runbooks, and other company knowledge that should be shared across the team.
6
-
7
- **Note:** Agents can create and update documents but cannot delete them. Deletion is a user-only action via the UI.
8
-
9
- ## Parameters
10
-
11
- | Parameter | Required | Description |
12
- |-----------|----------|-------------|
13
- | `action` | Yes | `create` or `update` |
14
- | `title` | Yes (create) | Document title |
15
- | `content` | Yes (create) | Markdown content |
16
- | `category` | No | Category: `SOPs`, `Team Norms`, `Architecture`, `Onboarding`, `Runbooks`, `General` (default: `General`) |
17
- | `scope` | No | `global` (company-wide) or `project` (project-specific). Default: `global` |
18
- | `projectPath` | Conditional | Required when scope is `project` |
19
- | `tags` | No | Array of tags for search/filtering |
20
- | `createdBy` | No | Your session name (default: `agent`) |
21
- | `id` | Yes (update) | Document ID to update |
22
- | `updatedBy` | No | Your session name for updates (default: `agent`) |
23
-
24
- ## Examples
25
-
26
- ### Create a global SOP
27
-
28
- ```bash
29
- bash config/skills/agent/manage-knowledge/execute.sh '{"action":"create","title":"PR Review Process","content":"# PR Review Process\n\n1. All PRs require at least one approval\n2. Run tests locally before requesting review\n3. Keep PRs under 400 lines when possible","category":"SOPs","scope":"global","tags":["process","code-review"],"createdBy":"dev-1"}'
30
- ```
31
-
32
- ### Create a project-specific architecture doc
33
-
34
- ```bash
35
- bash config/skills/agent/manage-knowledge/execute.sh '{"action":"create","title":"API Design Patterns","content":"# API Design Patterns\n\nWe use RESTful conventions with Express.js...","category":"Architecture","scope":"project","projectPath":"/path/to/project","tags":["api","backend"],"createdBy":"dev-1"}'
36
- ```
37
-
38
- ### Update an existing document
39
-
40
- ```bash
41
- bash config/skills/agent/manage-knowledge/execute.sh '{"action":"update","id":"abc-123-uuid","content":"# Updated Content\n\nNew information added...","scope":"global","updatedBy":"dev-1"}'
42
- ```
43
-
44
- ## Output
45
-
46
- JSON response with `success: true` and the document ID on creation, or `success: true` on update.