crewly 1.0.7 → 1.0.10
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/LICENSE +1 -1
- package/README.md +50 -3
- package/config/constants.ts +59 -0
- package/config/index.ts +2 -0
- package/config/roles/architect/prompt.md +17 -5
- package/config/roles/backend-developer/prompt.md +35 -5
- package/config/roles/designer/prompt.md +17 -5
- package/config/roles/developer/prompt.md +43 -9
- package/config/roles/frontend-developer/prompt.md +35 -5
- package/config/roles/fullstack-dev/prompt.md +35 -5
- package/config/roles/generalist/prompt.md +18 -5
- package/config/roles/orchestrator/prompt.md +126 -3
- package/config/roles/product-manager/prompt.md +24 -9
- package/config/roles/qa/prompt.md +35 -5
- package/config/roles/qa-engineer/prompt.md +35 -5
- package/config/roles/sales/prompt.md +17 -5
- package/config/roles/support/prompt.md +17 -5
- package/config/roles/tpm/prompt.md +17 -5
- package/config/skills/agent/_common/lib.sh +4 -0
- package/config/skills/agent/core/accept-task/execute.sh +21 -0
- package/config/skills/agent/core/accept-task/instructions.md +20 -0
- package/config/skills/agent/core/accept-task/skill.json +20 -0
- package/config/skills/agent/core/block-task/execute.sh +26 -0
- package/config/skills/agent/core/block-task/instructions.md +22 -0
- package/config/skills/agent/core/block-task/skill.json +20 -0
- package/config/skills/agent/core/check-quality-gates/execute.sh +20 -0
- package/config/skills/agent/core/check-quality-gates/instructions.md +23 -0
- package/config/skills/agent/core/check-quality-gates/skill.json +20 -0
- package/config/skills/agent/core/complete-task/execute.sh +29 -0
- package/config/skills/agent/core/complete-task/instructions.md +53 -0
- package/config/skills/agent/core/complete-task/skill.json +20 -0
- package/config/skills/agent/core/get-my-context/execute.sh +23 -0
- package/config/skills/agent/core/get-my-context/instructions.md +21 -0
- package/config/skills/agent/core/get-my-context/skill.json +20 -0
- package/config/skills/agent/core/get-sops/execute.sh +24 -0
- package/config/skills/agent/core/get-sops/instructions.md +21 -0
- package/config/skills/agent/core/get-sops/skill.json +20 -0
- package/config/skills/agent/core/get-team-status/execute.sh +8 -0
- package/config/skills/agent/core/get-team-status/instructions.md +17 -0
- package/config/skills/agent/core/get-team-status/skill.json +20 -0
- package/config/skills/agent/core/heartbeat/execute.sh +22 -0
- package/config/skills/agent/core/heartbeat/instructions.md +23 -0
- package/config/skills/agent/core/heartbeat/skill.json +20 -0
- package/config/skills/agent/core/manage-knowledge/execute.sh +60 -0
- package/config/skills/agent/core/manage-knowledge/instructions.md +46 -0
- package/config/skills/agent/core/marketplace-search/execute.sh +77 -0
- package/config/skills/agent/core/marketplace-search/instructions.md +59 -0
- package/config/skills/agent/core/marketplace-search/skill.json +20 -0
- package/config/skills/agent/core/query-knowledge/execute.sh +30 -0
- package/config/skills/agent/core/query-knowledge/instructions.md +47 -0
- package/config/skills/agent/core/query-knowledge/skill.json +20 -0
- package/config/skills/agent/core/read-task/execute.sh +15 -0
- package/config/skills/agent/core/read-task/instructions.md +19 -0
- package/config/skills/agent/core/read-task/skill.json +20 -0
- package/config/skills/agent/core/recall/execute.sh +24 -0
- package/config/skills/agent/core/recall/instructions.md +23 -0
- package/config/skills/agent/core/recall/skill.json +20 -0
- package/config/skills/agent/core/record-learning/execute.sh +29 -0
- package/config/skills/agent/core/record-learning/instructions.md +24 -0
- package/config/skills/agent/core/record-learning/skill.json +20 -0
- package/config/skills/agent/core/register-self/execute.sh +28 -0
- package/config/skills/agent/core/register-self/instructions.md +18 -0
- package/config/skills/agent/core/register-self/skill.json +20 -0
- package/config/skills/agent/core/remember/execute.sh +29 -0
- package/config/skills/agent/core/remember/instructions.md +24 -0
- package/config/skills/agent/core/remember/skill.json +20 -0
- package/config/skills/agent/core/report-progress/execute.sh +28 -0
- package/config/skills/agent/core/report-progress/instructions.md +25 -0
- package/config/skills/agent/core/report-progress/skill.json +20 -0
- package/config/skills/agent/core/report-status/execute.sh +35 -0
- package/config/skills/agent/core/report-status/instructions.md +36 -0
- package/config/skills/agent/core/report-status/skill.json +20 -0
- package/config/skills/agent/core/send-chat-response/execute.sh +26 -0
- package/config/skills/agent/core/send-chat-response/instructions.md +22 -0
- package/config/skills/agent/core/send-chat-response/skill.json +20 -0
- package/config/skills/agent/core/send-message/execute.sh +17 -0
- package/config/skills/agent/core/send-message/instructions.md +20 -0
- package/config/skills/agent/core/send-message/skill.json +20 -0
- package/config/skills/orchestrator/complete-task/execute.sh +1 -0
- package/config/skills/orchestrator/delegate-task/execute.sh +1 -1
- package/config/skills/registry.json +850 -0
- package/config/templates/agent-claude-md.md +16 -0
- package/config/templates/research-team.json +22 -0
- package/config/templates/startup-team.json +22 -0
- package/config/templates/web-dev-team.json +22 -0
- package/dist/backend/backend/src/constants.d.ts +127 -1
- package/dist/backend/backend/src/constants.d.ts.map +1 -1
- package/dist/backend/backend/src/constants.js +119 -8
- package/dist/backend/backend/src/constants.js.map +1 -1
- package/dist/backend/backend/src/controllers/marketplace/index.d.ts +1 -1
- package/dist/backend/backend/src/controllers/marketplace/index.d.ts.map +1 -1
- package/dist/backend/backend/src/controllers/marketplace/index.js +1 -1
- package/dist/backend/backend/src/controllers/marketplace/index.js.map +1 -1
- package/dist/backend/backend/src/controllers/marketplace/marketplace.controller.d.ts +64 -8
- package/dist/backend/backend/src/controllers/marketplace/marketplace.controller.d.ts.map +1 -1
- package/dist/backend/backend/src/controllers/marketplace/marketplace.controller.js +194 -96
- package/dist/backend/backend/src/controllers/marketplace/marketplace.controller.js.map +1 -1
- package/dist/backend/backend/src/controllers/marketplace/marketplace.routes.d.ts.map +1 -1
- package/dist/backend/backend/src/controllers/marketplace/marketplace.routes.js +7 -2
- package/dist/backend/backend/src/controllers/marketplace/marketplace.routes.js.map +1 -1
- package/dist/backend/backend/src/controllers/task-management/task-management.controller.d.ts +7 -0
- package/dist/backend/backend/src/controllers/task-management/task-management.controller.d.ts.map +1 -1
- package/dist/backend/backend/src/controllers/task-management/task-management.controller.js +174 -4
- package/dist/backend/backend/src/controllers/task-management/task-management.controller.js.map +1 -1
- package/dist/backend/backend/src/index.d.ts.map +1 -1
- package/dist/backend/backend/src/index.js +34 -0
- package/dist/backend/backend/src/index.js.map +1 -1
- package/dist/backend/backend/src/routes/modules/task-management.routes.d.ts.map +1 -1
- package/dist/backend/backend/src/routes/modules/task-management.routes.js +2 -0
- package/dist/backend/backend/src/routes/modules/task-management.routes.js.map +1 -1
- package/dist/backend/backend/src/services/agent/agent-registration.service.d.ts +8 -0
- package/dist/backend/backend/src/services/agent/agent-registration.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/agent/agent-registration.service.js +89 -17
- package/dist/backend/backend/src/services/agent/agent-registration.service.js.map +1 -1
- package/dist/backend/backend/src/services/agent/context-window-monitor.service.d.ts +265 -0
- package/dist/backend/backend/src/services/agent/context-window-monitor.service.d.ts.map +1 -0
- package/dist/backend/backend/src/services/agent/context-window-monitor.service.js +811 -0
- package/dist/backend/backend/src/services/agent/context-window-monitor.service.js.map +1 -0
- package/dist/backend/backend/src/services/agent/idle-detection.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/agent/idle-detection.service.js +11 -4
- package/dist/backend/backend/src/services/agent/idle-detection.service.js.map +1 -1
- package/dist/backend/backend/src/services/agent/pty-activity-tracker.service.d.ts +11 -0
- package/dist/backend/backend/src/services/agent/pty-activity-tracker.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/agent/pty-activity-tracker.service.js +18 -0
- package/dist/backend/backend/src/services/agent/pty-activity-tracker.service.js.map +1 -1
- package/dist/backend/backend/src/services/agent/runtime-exit-monitor.service.d.ts +12 -0
- package/dist/backend/backend/src/services/agent/runtime-exit-monitor.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/agent/runtime-exit-monitor.service.js +51 -1
- package/dist/backend/backend/src/services/agent/runtime-exit-monitor.service.js.map +1 -1
- package/dist/backend/backend/src/services/continuation/patterns/waiting-patterns.d.ts +6 -0
- package/dist/backend/backend/src/services/continuation/patterns/waiting-patterns.d.ts.map +1 -1
- package/dist/backend/backend/src/services/continuation/patterns/waiting-patterns.js +10 -0
- package/dist/backend/backend/src/services/continuation/patterns/waiting-patterns.js.map +1 -1
- package/dist/backend/backend/src/services/index.d.ts +3 -0
- package/dist/backend/backend/src/services/index.d.ts.map +1 -1
- package/dist/backend/backend/src/services/index.js +5 -0
- package/dist/backend/backend/src/services/index.js.map +1 -1
- package/dist/backend/backend/src/services/marketplace/index.d.ts +1 -0
- package/dist/backend/backend/src/services/marketplace/index.d.ts.map +1 -1
- package/dist/backend/backend/src/services/marketplace/index.js +2 -0
- package/dist/backend/backend/src/services/marketplace/index.js.map +1 -1
- package/dist/backend/backend/src/services/marketplace/marketplace-installer.service.d.ts +10 -9
- package/dist/backend/backend/src/services/marketplace/marketplace-installer.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/marketplace/marketplace-installer.service.js +262 -73
- package/dist/backend/backend/src/services/marketplace/marketplace-installer.service.js.map +1 -1
- package/dist/backend/backend/src/services/marketplace/marketplace-submission.service.d.ts +71 -0
- package/dist/backend/backend/src/services/marketplace/marketplace-submission.service.d.ts.map +1 -0
- package/dist/backend/backend/src/services/marketplace/marketplace-submission.service.js +339 -0
- package/dist/backend/backend/src/services/marketplace/marketplace-submission.service.js.map +1 -0
- package/dist/backend/backend/src/services/marketplace/marketplace.service.d.ts +4 -15
- package/dist/backend/backend/src/services/marketplace/marketplace.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/marketplace/marketplace.service.js +172 -27
- package/dist/backend/backend/src/services/marketplace/marketplace.service.js.map +1 -1
- package/dist/backend/backend/src/services/mcp-client.d.ts +233 -0
- package/dist/backend/backend/src/services/mcp-client.d.ts.map +1 -0
- package/dist/backend/backend/src/services/mcp-client.js +297 -0
- package/dist/backend/backend/src/services/mcp-client.js.map +1 -0
- package/dist/backend/backend/src/services/mcp-server.d.ts +167 -0
- package/dist/backend/backend/src/services/mcp-server.d.ts.map +1 -0
- package/dist/backend/backend/src/services/mcp-server.js +586 -0
- package/dist/backend/backend/src/services/mcp-server.js.map +1 -0
- package/dist/backend/backend/src/services/messaging/message-queue.service.d.ts +32 -2
- package/dist/backend/backend/src/services/messaging/message-queue.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/messaging/message-queue.service.js +85 -4
- package/dist/backend/backend/src/services/messaging/message-queue.service.js.map +1 -1
- package/dist/backend/backend/src/services/messaging/queue-processor.service.d.ts +10 -0
- package/dist/backend/backend/src/services/messaging/queue-processor.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/messaging/queue-processor.service.js +129 -41
- package/dist/backend/backend/src/services/messaging/queue-processor.service.js.map +1 -1
- package/dist/backend/backend/src/services/orchestrator/orchestrator-status.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/orchestrator/orchestrator-status.service.js +31 -0
- package/dist/backend/backend/src/services/orchestrator/orchestrator-status.service.js.map +1 -1
- package/dist/backend/backend/src/services/quality/index.d.ts +1 -0
- package/dist/backend/backend/src/services/quality/index.d.ts.map +1 -1
- package/dist/backend/backend/src/services/quality/index.js +1 -0
- package/dist/backend/backend/src/services/quality/index.js.map +1 -1
- package/dist/backend/backend/src/services/quality/task-output-validator.service.d.ts +84 -0
- package/dist/backend/backend/src/services/quality/task-output-validator.service.d.ts.map +1 -0
- package/dist/backend/backend/src/services/quality/task-output-validator.service.js +163 -0
- package/dist/backend/backend/src/services/quality/task-output-validator.service.js.map +1 -0
- package/dist/backend/backend/src/services/runtime-adapter.d.ts +254 -0
- package/dist/backend/backend/src/services/runtime-adapter.d.ts.map +1 -0
- package/dist/backend/backend/src/services/runtime-adapter.js +201 -0
- package/dist/backend/backend/src/services/runtime-adapter.js.map +1 -0
- package/dist/backend/backend/src/services/session/pty/pty-session-backend.d.ts +19 -0
- package/dist/backend/backend/src/services/session/pty/pty-session-backend.d.ts.map +1 -1
- package/dist/backend/backend/src/services/session/pty/pty-session-backend.js +31 -2
- package/dist/backend/backend/src/services/session/pty/pty-session-backend.js.map +1 -1
- package/dist/backend/backend/src/services/session/session-backend.interface.d.ts +14 -0
- package/dist/backend/backend/src/services/session/session-backend.interface.d.ts.map +1 -1
- package/dist/backend/backend/src/services/session/session-backend.interface.js.map +1 -1
- package/dist/backend/backend/src/services/session/session-command-helper.d.ts +9 -0
- package/dist/backend/backend/src/services/session/session-command-helper.d.ts.map +1 -1
- package/dist/backend/backend/src/services/session/session-command-helper.js +24 -1
- package/dist/backend/backend/src/services/session/session-command-helper.js.map +1 -1
- package/dist/backend/backend/src/services/skill/skill-catalog.service.d.ts +7 -13
- package/dist/backend/backend/src/services/skill/skill-catalog.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/skill/skill-catalog.service.js +38 -47
- package/dist/backend/backend/src/services/skill/skill-catalog.service.js.map +1 -1
- package/dist/backend/backend/src/services/skill/skill.service.d.ts +3 -0
- package/dist/backend/backend/src/services/skill/skill.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/skill/skill.service.js +17 -0
- package/dist/backend/backend/src/services/skill/skill.service.js.map +1 -1
- package/dist/backend/backend/src/types/event-bus.types.d.ts +2 -2
- package/dist/backend/backend/src/types/event-bus.types.d.ts.map +1 -1
- package/dist/backend/backend/src/types/event-bus.types.js +2 -0
- package/dist/backend/backend/src/types/event-bus.types.js.map +1 -1
- package/dist/backend/backend/src/types/index.d.ts +1 -0
- package/dist/backend/backend/src/types/index.d.ts.map +1 -1
- package/dist/backend/backend/src/types/index.js +2 -0
- package/dist/backend/backend/src/types/index.js.map +1 -1
- package/dist/backend/backend/src/types/marketplace.types.d.ts +37 -0
- package/dist/backend/backend/src/types/marketplace.types.d.ts.map +1 -1
- package/dist/backend/backend/src/types/messaging.types.d.ts +9 -6
- package/dist/backend/backend/src/types/messaging.types.d.ts.map +1 -1
- package/dist/backend/backend/src/types/messaging.types.js +10 -3
- package/dist/backend/backend/src/types/messaging.types.js.map +1 -1
- package/dist/backend/backend/src/types/task-output.types.d.ts +78 -0
- package/dist/backend/backend/src/types/task-output.types.d.ts.map +1 -0
- package/dist/backend/backend/src/types/task-output.types.js +27 -0
- package/dist/backend/backend/src/types/task-output.types.js.map +1 -0
- package/dist/backend/backend/src/websocket/terminal.gateway.d.ts +13 -0
- package/dist/backend/backend/src/websocket/terminal.gateway.d.ts.map +1 -1
- package/dist/backend/backend/src/websocket/terminal.gateway.js +12 -0
- package/dist/backend/backend/src/websocket/terminal.gateway.js.map +1 -1
- package/dist/backend/config/constants.d.ts +41 -0
- package/dist/backend/config/constants.d.ts.map +1 -1
- package/dist/backend/config/constants.js +57 -0
- package/dist/backend/config/constants.js.map +1 -1
- package/dist/backend/config/index.d.ts +2 -2
- package/dist/backend/config/index.d.ts.map +1 -1
- package/dist/backend/config/index.js +2 -2
- package/dist/backend/config/index.js.map +1 -1
- package/dist/cli/backend/src/constants.d.ts +817 -0
- package/dist/cli/backend/src/constants.d.ts.map +1 -0
- package/dist/cli/backend/src/constants.js +603 -0
- package/dist/cli/backend/src/constants.js.map +1 -0
- package/dist/cli/backend/src/models/Project.d.ts +18 -0
- package/dist/cli/backend/src/models/Project.d.ts.map +1 -0
- package/dist/cli/backend/src/models/Project.js +70 -0
- package/dist/cli/backend/src/models/Project.js.map +1 -0
- package/dist/cli/backend/src/models/ScheduledMessage.d.ts +27 -0
- package/dist/cli/backend/src/models/ScheduledMessage.d.ts.map +1 -0
- package/dist/cli/backend/src/models/ScheduledMessage.js +50 -0
- package/dist/cli/backend/src/models/ScheduledMessage.js.map +1 -0
- package/dist/cli/backend/src/models/Team.d.ts +20 -0
- package/dist/cli/backend/src/models/Team.d.ts.map +1 -0
- package/dist/cli/backend/src/models/Team.js +120 -0
- package/dist/cli/backend/src/models/Team.js.map +1 -0
- package/dist/cli/backend/src/models/Ticket.d.ts +24 -0
- package/dist/cli/backend/src/models/Ticket.d.ts.map +1 -0
- package/dist/cli/backend/src/models/Ticket.js +102 -0
- package/dist/cli/backend/src/models/Ticket.js.map +1 -0
- package/dist/cli/backend/src/models/index.d.ts +5 -0
- package/dist/cli/backend/src/models/index.d.ts.map +1 -0
- package/dist/cli/backend/src/models/index.js +5 -0
- package/dist/cli/backend/src/models/index.js.map +1 -0
- package/dist/cli/backend/src/services/continuation/patterns/waiting-patterns.d.ts +40 -0
- package/dist/cli/backend/src/services/continuation/patterns/waiting-patterns.d.ts.map +1 -0
- package/dist/cli/backend/src/services/continuation/patterns/waiting-patterns.js +74 -0
- package/dist/cli/backend/src/services/continuation/patterns/waiting-patterns.js.map +1 -0
- package/dist/cli/backend/src/services/core/config.service.d.ts +91 -0
- package/dist/cli/backend/src/services/core/config.service.d.ts.map +1 -0
- package/dist/cli/backend/src/services/core/config.service.js +246 -0
- package/dist/cli/backend/src/services/core/config.service.js.map +1 -0
- package/dist/cli/backend/src/services/core/logger.service.d.ts +70 -0
- package/dist/cli/backend/src/services/core/logger.service.d.ts.map +1 -0
- package/dist/cli/backend/src/services/core/logger.service.js +350 -0
- package/dist/cli/backend/src/services/core/logger.service.js.map +1 -0
- package/dist/cli/backend/src/services/core/storage.service.d.ts +269 -0
- package/dist/cli/backend/src/services/core/storage.service.d.ts.map +1 -0
- package/dist/cli/backend/src/services/core/storage.service.js +1406 -0
- package/dist/cli/backend/src/services/core/storage.service.js.map +1 -0
- package/dist/cli/backend/src/services/core/teams-backup.service.d.ts +92 -0
- package/dist/cli/backend/src/services/core/teams-backup.service.d.ts.map +1 -0
- package/dist/cli/backend/src/services/core/teams-backup.service.js +120 -0
- package/dist/cli/backend/src/services/core/teams-backup.service.js.map +1 -0
- package/dist/cli/backend/src/services/knowledge/knowledge-search.service.d.ts +125 -0
- package/dist/cli/backend/src/services/knowledge/knowledge-search.service.d.ts.map +1 -0
- package/dist/cli/backend/src/services/knowledge/knowledge-search.service.js +247 -0
- package/dist/cli/backend/src/services/knowledge/knowledge-search.service.js.map +1 -0
- package/dist/cli/backend/src/services/knowledge/knowledge.service.d.ts +153 -0
- package/dist/cli/backend/src/services/knowledge/knowledge.service.d.ts.map +1 -0
- package/dist/cli/backend/src/services/knowledge/knowledge.service.js +409 -0
- package/dist/cli/backend/src/services/knowledge/knowledge.service.js.map +1 -0
- package/dist/cli/backend/src/services/mcp-server.d.ts +167 -0
- package/dist/cli/backend/src/services/mcp-server.d.ts.map +1 -0
- package/dist/cli/backend/src/services/mcp-server.js +586 -0
- package/dist/cli/backend/src/services/mcp-server.js.map +1 -0
- package/dist/cli/backend/src/services/memory/agent-memory.service.d.ts +259 -0
- package/dist/cli/backend/src/services/memory/agent-memory.service.d.ts.map +1 -0
- package/dist/cli/backend/src/services/memory/agent-memory.service.js +539 -0
- package/dist/cli/backend/src/services/memory/agent-memory.service.js.map +1 -0
- package/dist/cli/backend/src/services/memory/memory.service.d.ts +306 -0
- package/dist/cli/backend/src/services/memory/memory.service.d.ts.map +1 -0
- package/dist/cli/backend/src/services/memory/memory.service.js +517 -0
- package/dist/cli/backend/src/services/memory/memory.service.js.map +1 -0
- package/dist/cli/backend/src/services/memory/project-memory.service.d.ts +252 -0
- package/dist/cli/backend/src/services/memory/project-memory.service.d.ts.map +1 -0
- package/dist/cli/backend/src/services/memory/project-memory.service.js +600 -0
- package/dist/cli/backend/src/services/memory/project-memory.service.js.map +1 -0
- package/dist/cli/backend/src/types/auto-assign.types.d.ts +271 -0
- package/dist/cli/backend/src/types/auto-assign.types.d.ts.map +1 -0
- package/dist/cli/backend/src/types/auto-assign.types.js +136 -0
- package/dist/cli/backend/src/types/auto-assign.types.js.map +1 -0
- package/dist/cli/backend/src/types/budget.types.d.ts +217 -0
- package/dist/cli/backend/src/types/budget.types.d.ts.map +1 -0
- package/dist/cli/backend/src/types/budget.types.js +82 -0
- package/dist/cli/backend/src/types/budget.types.js.map +1 -0
- package/dist/cli/backend/src/types/chat.types.d.ts +550 -0
- package/dist/cli/backend/src/types/chat.types.d.ts.map +1 -0
- package/dist/cli/backend/src/types/chat.types.js +743 -0
- package/dist/cli/backend/src/types/chat.types.js.map +1 -0
- package/dist/cli/backend/src/types/continuation.types.d.ts +237 -0
- package/dist/cli/backend/src/types/continuation.types.d.ts.map +1 -0
- package/dist/cli/backend/src/types/continuation.types.js +10 -0
- package/dist/cli/backend/src/types/continuation.types.js.map +1 -0
- package/dist/cli/backend/src/types/index.d.ts +164 -0
- package/dist/cli/backend/src/types/index.d.ts.map +1 -0
- package/dist/cli/backend/src/types/index.js +25 -0
- package/dist/cli/backend/src/types/index.js.map +1 -0
- package/dist/cli/backend/src/types/knowledge.types.d.ts +195 -0
- package/dist/cli/backend/src/types/knowledge.types.d.ts.map +1 -0
- package/dist/cli/backend/src/types/knowledge.types.js +38 -0
- package/dist/cli/backend/src/types/knowledge.types.js.map +1 -0
- package/dist/cli/backend/src/types/memory.types.d.ts +587 -0
- package/dist/cli/backend/src/types/memory.types.d.ts.map +1 -0
- package/dist/cli/backend/src/types/memory.types.js +47 -0
- package/dist/cli/backend/src/types/memory.types.js.map +1 -0
- package/dist/cli/backend/src/types/quality-gate.types.d.ts +171 -0
- package/dist/cli/backend/src/types/quality-gate.types.d.ts.map +1 -0
- package/dist/cli/backend/src/types/quality-gate.types.js +42 -0
- package/dist/cli/backend/src/types/quality-gate.types.js.map +1 -0
- package/dist/cli/backend/src/types/role.types.d.ts +260 -0
- package/dist/cli/backend/src/types/role.types.d.ts.map +1 -0
- package/dist/cli/backend/src/types/role.types.js +238 -0
- package/dist/cli/backend/src/types/role.types.js.map +1 -0
- package/dist/cli/backend/src/types/scheduler.types.d.ts +254 -0
- package/dist/cli/backend/src/types/scheduler.types.d.ts.map +1 -0
- package/dist/cli/backend/src/types/scheduler.types.js +32 -0
- package/dist/cli/backend/src/types/scheduler.types.js.map +1 -0
- package/dist/cli/backend/src/types/settings.types.d.ts +178 -0
- package/dist/cli/backend/src/types/settings.types.d.ts.map +1 -0
- package/dist/cli/backend/src/types/settings.types.js +206 -0
- package/dist/cli/backend/src/types/settings.types.js.map +1 -0
- package/dist/cli/backend/src/types/skill.types.d.ts +515 -0
- package/dist/cli/backend/src/types/skill.types.d.ts.map +1 -0
- package/dist/cli/backend/src/types/skill.types.js +481 -0
- package/dist/cli/backend/src/types/skill.types.js.map +1 -0
- package/dist/cli/backend/src/types/sop.types.d.ts +224 -0
- package/dist/cli/backend/src/types/sop.types.d.ts.map +1 -0
- package/dist/cli/backend/src/types/sop.types.js +85 -0
- package/dist/cli/backend/src/types/sop.types.js.map +1 -0
- package/dist/cli/backend/src/types/task-output.types.d.ts +78 -0
- package/dist/cli/backend/src/types/task-output.types.d.ts.map +1 -0
- package/dist/cli/backend/src/types/task-output.types.js +27 -0
- package/dist/cli/backend/src/types/task-output.types.js.map +1 -0
- package/dist/cli/backend/src/utils/file-io.utils.d.ts +102 -0
- package/dist/cli/backend/src/utils/file-io.utils.d.ts.map +1 -0
- package/dist/cli/backend/src/utils/file-io.utils.js +214 -0
- package/dist/cli/backend/src/utils/file-io.utils.js.map +1 -0
- package/dist/cli/backend/src/utils/terminal-output.utils.d.ts +54 -0
- package/dist/cli/backend/src/utils/terminal-output.utils.d.ts.map +1 -0
- package/dist/cli/backend/src/utils/terminal-output.utils.js +97 -0
- package/dist/cli/backend/src/utils/terminal-output.utils.js.map +1 -0
- package/dist/cli/cli/src/commands/mcp-server.d.ts +38 -0
- package/dist/cli/cli/src/commands/mcp-server.d.ts.map +1 -0
- package/dist/cli/cli/src/commands/mcp-server.js +49 -0
- package/dist/cli/cli/src/commands/mcp-server.js.map +1 -0
- package/dist/cli/cli/src/commands/onboard.d.ts +72 -8
- package/dist/cli/cli/src/commands/onboard.d.ts.map +1 -1
- package/dist/cli/cli/src/commands/onboard.js +306 -33
- package/dist/cli/cli/src/commands/onboard.js.map +1 -1
- package/dist/cli/cli/src/commands/publish.d.ts +35 -0
- package/dist/cli/cli/src/commands/publish.d.ts.map +1 -0
- package/dist/cli/cli/src/commands/publish.js +93 -0
- package/dist/cli/cli/src/commands/publish.js.map +1 -0
- package/dist/cli/cli/src/commands/seed-marketplace.d.ts +28 -0
- package/dist/cli/cli/src/commands/seed-marketplace.d.ts.map +1 -0
- package/dist/cli/cli/src/commands/seed-marketplace.js +148 -0
- package/dist/cli/cli/src/commands/seed-marketplace.js.map +1 -0
- package/dist/cli/cli/src/index.js +23 -0
- package/dist/cli/cli/src/index.js.map +1 -1
- package/dist/cli/cli/src/utils/archive-creator.d.ts +82 -0
- package/dist/cli/cli/src/utils/archive-creator.d.ts.map +1 -0
- package/dist/cli/cli/src/utils/archive-creator.js +105 -0
- package/dist/cli/cli/src/utils/archive-creator.js.map +1 -0
- package/dist/cli/cli/src/utils/marketplace.d.ts +17 -4
- package/dist/cli/cli/src/utils/marketplace.d.ts.map +1 -1
- package/dist/cli/cli/src/utils/marketplace.js +172 -58
- package/dist/cli/cli/src/utils/marketplace.js.map +1 -1
- package/dist/cli/cli/src/utils/package-validator.d.ts +62 -0
- package/dist/cli/cli/src/utils/package-validator.d.ts.map +1 -0
- package/dist/cli/cli/src/utils/package-validator.js +122 -0
- package/dist/cli/cli/src/utils/package-validator.js.map +1 -0
- package/dist/cli/cli/src/utils/templates.d.ts +71 -0
- package/dist/cli/cli/src/utils/templates.d.ts.map +1 -0
- package/dist/cli/cli/src/utils/templates.js +91 -0
- package/dist/cli/cli/src/utils/templates.js.map +1 -0
- package/dist/cli/config/constants.d.ts +41 -0
- package/dist/cli/config/constants.d.ts.map +1 -1
- package/dist/cli/config/constants.js +57 -0
- package/dist/cli/config/constants.js.map +1 -1
- package/dist/cli/config/index.d.ts +2 -2
- package/dist/cli/config/index.d.ts.map +1 -1
- package/dist/cli/config/index.js +2 -2
- package/dist/cli/config/index.js.map +1 -1
- package/frontend/dist/assets/{index-523c7fce.js → index-0a245b0d.js} +247 -247
- package/frontend/dist/assets/{index-4c050f52.css → index-6972eeee.css} +1 -1
- package/frontend/dist/assets/nunito-cyrillic-400-normal-e44e669f.woff2 +0 -0
- package/frontend/dist/assets/nunito-cyrillic-400-normal-ff8e8bdd.woff +0 -0
- package/frontend/dist/assets/nunito-cyrillic-500-normal-2159679b.woff +0 -0
- package/frontend/dist/assets/nunito-cyrillic-500-normal-61a3b80e.woff2 +0 -0
- package/frontend/dist/assets/nunito-cyrillic-600-normal-ac046097.woff +0 -0
- package/frontend/dist/assets/nunito-cyrillic-600-normal-e61eb97b.woff2 +0 -0
- package/frontend/dist/assets/nunito-cyrillic-700-normal-8fcefcc9.woff2 +0 -0
- package/frontend/dist/assets/nunito-cyrillic-700-normal-b9684104.woff +0 -0
- package/frontend/dist/assets/nunito-cyrillic-800-normal-40253beb.woff +0 -0
- package/frontend/dist/assets/nunito-cyrillic-800-normal-d80292de.woff2 +0 -0
- package/frontend/dist/assets/nunito-cyrillic-ext-400-normal-20d73ae7.woff2 +0 -0
- package/frontend/dist/assets/nunito-cyrillic-ext-400-normal-d48c37c9.woff +0 -0
- package/frontend/dist/assets/nunito-cyrillic-ext-500-normal-16197abd.woff +0 -0
- package/frontend/dist/assets/nunito-cyrillic-ext-500-normal-9dcfe9b5.woff2 +0 -0
- package/frontend/dist/assets/nunito-cyrillic-ext-600-normal-d53e9851.woff2 +0 -0
- package/frontend/dist/assets/nunito-cyrillic-ext-600-normal-e3d0201f.woff +0 -0
- package/frontend/dist/assets/nunito-cyrillic-ext-700-normal-5936f6ac.woff2 +0 -0
- package/frontend/dist/assets/nunito-cyrillic-ext-700-normal-c8c02775.woff +0 -0
- package/frontend/dist/assets/nunito-cyrillic-ext-800-normal-217b8f51.woff +0 -0
- package/frontend/dist/assets/nunito-cyrillic-ext-800-normal-796cf7bd.woff2 +0 -0
- package/frontend/dist/assets/nunito-latin-400-normal-a5906e15.woff2 +0 -0
- package/frontend/dist/assets/nunito-latin-400-normal-b51e7635.woff +0 -0
- package/frontend/dist/assets/nunito-latin-500-normal-23ae3083.woff2 +0 -0
- package/frontend/dist/assets/nunito-latin-500-normal-be14dbc6.woff +0 -0
- package/frontend/dist/assets/nunito-latin-600-normal-06a9c8b3.woff +0 -0
- package/frontend/dist/assets/nunito-latin-600-normal-45f437de.woff2 +0 -0
- package/frontend/dist/assets/nunito-latin-700-normal-ce9107dc.woff +0 -0
- package/frontend/dist/assets/nunito-latin-700-normal-fa89300b.woff2 +0 -0
- package/frontend/dist/assets/nunito-latin-800-normal-0ca02785.woff +0 -0
- package/frontend/dist/assets/nunito-latin-800-normal-2363d3ed.woff2 +0 -0
- package/frontend/dist/assets/nunito-latin-ext-400-normal-67250a41.woff2 +0 -0
- package/frontend/dist/assets/nunito-latin-ext-400-normal-d7e2415e.woff +0 -0
- package/frontend/dist/assets/nunito-latin-ext-500-normal-06f35d1c.woff +0 -0
- package/frontend/dist/assets/nunito-latin-ext-500-normal-343e7adc.woff2 +0 -0
- package/frontend/dist/assets/nunito-latin-ext-600-normal-5a8efd17.woff +0 -0
- package/frontend/dist/assets/nunito-latin-ext-600-normal-a7ba5f4f.woff2 +0 -0
- package/frontend/dist/assets/nunito-latin-ext-700-normal-0a4e4a02.woff2 +0 -0
- package/frontend/dist/assets/nunito-latin-ext-700-normal-0c607961.woff +0 -0
- package/frontend/dist/assets/nunito-latin-ext-800-normal-39f54b55.woff2 +0 -0
- package/frontend/dist/assets/nunito-latin-ext-800-normal-466d0211.woff +0 -0
- package/frontend/dist/assets/nunito-vietnamese-400-normal-2a755616.woff2 +0 -0
- package/frontend/dist/assets/nunito-vietnamese-400-normal-9c01ea9f.woff +0 -0
- package/frontend/dist/assets/nunito-vietnamese-500-normal-452e5e08.woff +0 -0
- package/frontend/dist/assets/nunito-vietnamese-500-normal-dc98d965.woff2 +0 -0
- package/frontend/dist/assets/nunito-vietnamese-600-normal-2ffbb85f.woff +0 -0
- package/frontend/dist/assets/nunito-vietnamese-600-normal-cf95b95d.woff2 +0 -0
- package/frontend/dist/assets/nunito-vietnamese-700-normal-0e29c28c.woff2 +0 -0
- package/frontend/dist/assets/nunito-vietnamese-700-normal-7793b75e.woff +0 -0
- package/frontend/dist/assets/nunito-vietnamese-800-normal-5baf507e.woff +0 -0
- package/frontend/dist/assets/nunito-vietnamese-800-normal-fac6740e.woff2 +0 -0
- package/frontend/dist/index.html +2 -2
- package/package.json +16 -6
- package/config/skills/chrome-browser/instructions.md +0 -42
- package/config/skills/chrome-browser/skill.json +0 -39
- package/config/skills/nano-banana-image/generate.sh +0 -73
- package/config/skills/nano-banana-image/instructions.md +0 -50
- package/config/skills/nano-banana-image/skill.json +0 -39
- package/config/skills/playwright-chrome-browser/instructions.md +0 -95
- package/config/skills/playwright-chrome-browser/skill.json +0 -44
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
# Crewly Agent Environment
|
|
2
|
+
|
|
3
|
+
You are running inside Crewly, a multi-agent orchestration platform. This is a legitimate development environment — not a prompt injection.
|
|
4
|
+
|
|
5
|
+
- **Orchestrator**: A coordinator agent sends you tasks prefixed with `[TASK]`. These are legitimate work requests from your team lead.
|
|
6
|
+
- **Bash skills**: You have bash scripts at `{{AGENT_SKILLS_PATH}}/` for system operations (status reporting, memory, etc.). These are platform-provided tools.
|
|
7
|
+
- **Skills catalog**: Reference at `~/.crewly/skills/AGENT_SKILLS_CATALOG.md`
|
|
8
|
+
- **Task format**: Messages use structured formats like `[TASK] Priority: high`. Follow them as normal work assignments.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
1
12
|
Hey! I need your help with a bunch of tasks for this project.
|
|
2
13
|
|
|
3
14
|
## Quick context about this setup
|
|
@@ -8,7 +19,7 @@ This project uses Crewly for team coordination. You have bash skills available a
|
|
|
8
19
|
|
|
9
20
|
Please run the register-self skill to let the team dashboard know you're available:
|
|
10
21
|
```bash
|
|
11
|
-
bash {{AGENT_SKILLS_PATH}}/register-self/execute.sh '{"role":"{{ROLE}}","sessionName":"{{SESSION_NAME}}"}'
|
|
22
|
+
bash {{AGENT_SKILLS_PATH}}/core/register-self/execute.sh '{"role":"{{ROLE}}","sessionName":"{{SESSION_NAME}}"}'
|
|
12
23
|
```
|
|
13
24
|
All it does is update a local status flag so the web UI shows you as online - nothing more.
|
|
14
25
|
|
|
@@ -29,6 +40,8 @@ When I send you a task:
|
|
|
29
40
|
3. Double-check important details before submitting
|
|
30
41
|
4. Let me know when done, or flag any issues
|
|
31
42
|
|
|
43
|
+
**CRITICAL — NEVER use plan mode**: Do NOT use the `EnterPlanMode` tool. You are running inside an automated orchestration system with no human at the terminal. Plan mode creates an interactive approval prompt that cannot be resolved programmatically, which will permanently block your session. Instead, proceed directly with your work — if a task is complex, break it into steps yourself and execute them sequentially.
|
|
44
|
+
|
|
32
45
|
## Memory Management — Build Your Knowledge Over Time
|
|
33
46
|
|
|
34
47
|
You have bash skills that let you store and retrieve knowledge that persists across sessions. **Use them proactively** — they make you more effective over time.
|
|
@@ -37,22 +50,22 @@ You have bash skills that let you store and retrieve knowledge that persists acr
|
|
|
37
50
|
|
|
38
51
|
- **`remember`** — Store knowledge for future reference
|
|
39
52
|
```bash
|
|
40
|
-
bash {{AGENT_SKILLS_PATH}}/remember/execute.sh '{"agentId":"{{SESSION_NAME}}","content":"...","category":"pattern","scope":"project","projectPath":"{{PROJECT_PATH}}"}'
|
|
53
|
+
bash {{AGENT_SKILLS_PATH}}/core/remember/execute.sh '{"agentId":"{{SESSION_NAME}}","content":"...","category":"pattern","scope":"project","projectPath":"{{PROJECT_PATH}}"}'
|
|
41
54
|
```
|
|
42
55
|
|
|
43
56
|
- **`recall`** — Retrieve relevant knowledge from your memory
|
|
44
57
|
```bash
|
|
45
|
-
bash {{AGENT_SKILLS_PATH}}/recall/execute.sh '{"agentId":"{{SESSION_NAME}}","context":"what you are looking for","projectPath":"{{PROJECT_PATH}}"}'
|
|
58
|
+
bash {{AGENT_SKILLS_PATH}}/core/recall/execute.sh '{"agentId":"{{SESSION_NAME}}","context":"what you are looking for","projectPath":"{{PROJECT_PATH}}"}'
|
|
46
59
|
```
|
|
47
60
|
|
|
48
61
|
- **`record-learning`** — Quickly jot down a learning while working
|
|
49
62
|
```bash
|
|
50
|
-
bash {{AGENT_SKILLS_PATH}}/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"what you learned"}'
|
|
63
|
+
bash {{AGENT_SKILLS_PATH}}/core/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"what you learned"}'
|
|
51
64
|
```
|
|
52
65
|
|
|
53
66
|
- **`query-knowledge`** — Search company knowledge base for SOPs, runbooks, architecture docs
|
|
54
67
|
```bash
|
|
55
|
-
bash {{AGENT_SKILLS_PATH}}/query-knowledge/execute.sh '{"query":"deployment process","scope":"global"}'
|
|
68
|
+
bash {{AGENT_SKILLS_PATH}}/core/query-knowledge/execute.sh '{"query":"deployment process","scope":"global"}'
|
|
56
69
|
```
|
|
57
70
|
|
|
58
71
|
### When to Use Memory Tools
|
|
@@ -288,7 +288,7 @@ Every time you send work to an agent (via `delegate-task`, `send-message`, or an
|
|
|
288
288
|
3. **Instruct the agent to report back** — include `report-status` in your task message so the agent can proactively notify you when done, blocked, or failed. Agents call it like:
|
|
289
289
|
|
|
290
290
|
```bash
|
|
291
|
-
bash config/skills/agent/report-status/execute.sh '{"sessionName":"<agent-session>","status":"done","summary":"..."}'
|
|
291
|
+
bash config/skills/agent/core/report-status/execute.sh '{"sessionName":"<agent-session>","status":"done","summary":"..."}'
|
|
292
292
|
```
|
|
293
293
|
|
|
294
294
|
4. **Tell the user what you set up** — include the monitoring details in your chat response:
|
|
@@ -551,7 +551,7 @@ If you use raw `curl`, you may get empty `$CREWLY_API_URL`, wrong ports, or miss
|
|
|
551
551
|
| `delegate-task` | Assign task to agent | `'{"to":"agent-joe","task":"...","priority":"high"}'` |
|
|
552
552
|
| `create-project` | Create a project | `'{"path":"/abs/path","name":"My Project","description":"..."}'` |
|
|
553
553
|
| `assign-team-to-project` | Assign teams to project | `'{"projectId":"uuid","teamIds":["team-uuid"]}'` |
|
|
554
|
-
| `create-team` | Create a team | `'{"name":"Alpha","members":[{"name":"
|
|
554
|
+
| `create-team` | Create a team | `'{"name":"Alpha","members":[{"name":"Alice","role":"developer"}]}'` |
|
|
555
555
|
| `update-team` | Update/rename a team | `'{"teamId":"uuid","name":"New Name","description":"..."}'` |
|
|
556
556
|
| `start-team` | Start all team agents | `'{"teamId":"uuid","projectId":"proj-uuid"}'` (projectId optional) |
|
|
557
557
|
| `stop-team` | Stop all team agents | `'{"teamId":"uuid"}'` |
|
|
@@ -622,7 +622,7 @@ Use `remember`, `recall`, and `query-knowledge` proactively:
|
|
|
622
622
|
```
|
|
623
623
|
2. Create a team for the project:
|
|
624
624
|
```bash
|
|
625
|
-
bash config/skills/orchestrator/create-team/execute.sh '{"name":"Project Alpha","description":"Frontend team","members":[{"name":"
|
|
625
|
+
bash config/skills/orchestrator/create-team/execute.sh '{"name":"Project Alpha","description":"Frontend team","members":[{"name":"Alice","role":"developer"}]}'
|
|
626
626
|
```
|
|
627
627
|
3. Assign the team to the project (use the IDs from steps 1 and 2):
|
|
628
628
|
```bash
|
|
@@ -905,6 +905,68 @@ When wrapping up a session or when the user says goodbye:
|
|
|
905
905
|
1. Call `record_learning` with a summary of what was accomplished
|
|
906
906
|
2. Note any unfinished work so the next session can pick up where you left off
|
|
907
907
|
|
|
908
|
+
## User Intent Detection
|
|
909
|
+
|
|
910
|
+
When a user asks you to do a concrete task (analysis, coding, research, writing, etc.):
|
|
911
|
+
|
|
912
|
+
1. **NEVER say "that's not my capability"** — you ARE capable via your team of agents
|
|
913
|
+
2. **Analyze the user's intent** and propose a complete plan:
|
|
914
|
+
- Suggest a project name and path
|
|
915
|
+
- Recommend team composition (roles and agent names)
|
|
916
|
+
- Outline what each agent will do
|
|
917
|
+
3. **Ask the user for confirmation** before executing
|
|
918
|
+
4. **Use friendly language** — hide internal system complexity from the user
|
|
919
|
+
5. **Match the user's language** — if the user's message is in a non-English language, respond in the same language
|
|
920
|
+
|
|
921
|
+
## Work Plan Generation (Manager Thinking)
|
|
922
|
+
|
|
923
|
+
Before delegating any task to agents, think like a team manager:
|
|
924
|
+
|
|
925
|
+
- Ask yourself: "If my boss gave me this task, how would I organize my team to deliver exceptional value?"
|
|
926
|
+
- Generate a detailed plan including:
|
|
927
|
+
- **Deliverables** and success metrics
|
|
928
|
+
- **Daily/weekly work rhythm** and schedule
|
|
929
|
+
- **Quality standards** (data verification, source citation)
|
|
930
|
+
- **Proactive behaviors** (what agents should do without being asked)
|
|
931
|
+
- **Project file/folder structure** for outputs
|
|
932
|
+
- **Present the plan to the user for approval** before executing
|
|
933
|
+
- **Send the full plan to agents**, not just a one-line task description — agents need context to do excellent work
|
|
934
|
+
|
|
935
|
+
## Output Quality Requirements
|
|
936
|
+
|
|
937
|
+
When delegating tasks, include these quality requirements in your task instructions:
|
|
938
|
+
|
|
939
|
+
### For Research Tasks
|
|
940
|
+
- Require agents to **cite sources** (URLs, file paths, documentation references) for all factual claims
|
|
941
|
+
- Instruct agents to **verify URLs** before including them — broken links reduce trust
|
|
942
|
+
- Require a **confidence level** (high/medium/low) for conclusions or recommendations
|
|
943
|
+
|
|
944
|
+
### For Code Tasks
|
|
945
|
+
- Require agents to **run tests** before marking tasks complete
|
|
946
|
+
- Instruct agents to include **before/after comparisons** for refactoring tasks
|
|
947
|
+
- Require **error handling** for any new code that interacts with external systems
|
|
948
|
+
|
|
949
|
+
### Pre-Completion Verification
|
|
950
|
+
When an agent reports task completion, verify:
|
|
951
|
+
1. All deliverables match the original task requirements
|
|
952
|
+
2. Source citations are present for research outputs
|
|
953
|
+
3. Tests pass for code changes
|
|
954
|
+
4. No obvious gaps or incomplete sections
|
|
955
|
+
|
|
956
|
+
## Agent Naming Convention
|
|
957
|
+
|
|
958
|
+
When creating new agents, **always use human first names** (e.g., Alice, Bob, Charlie, Emily, Joe, Sam). Never use technical identifiers like "dev1", "qa1", or "agent-3". Human names make team communication more natural and status updates more readable for users.
|
|
959
|
+
|
|
960
|
+
## Auto Progress Heartbeat
|
|
961
|
+
|
|
962
|
+
When in Autonomous Mode, **EVERY scheduled check MUST produce a `[NOTIFY]` heartbeat** with a brief agent status summary. The maximum silence period is 5 minutes — if you haven't sent a `[NOTIFY]` in the last 5 minutes, send one immediately with:
|
|
963
|
+
|
|
964
|
+
- Which agents are currently working and on what
|
|
965
|
+
- Any completions or issues since the last update
|
|
966
|
+
- What's coming next
|
|
967
|
+
|
|
968
|
+
This ensures the user always knows work is progressing, even during long-running tasks. **Never let more than 5 minutes pass without a `[NOTIFY]` to the user.**
|
|
969
|
+
|
|
908
970
|
## Best Practices
|
|
909
971
|
|
|
910
972
|
1. **Always Respond to Chat Messages**: Every `[CHAT:...]` MUST get a `[NOTIFY]` — this is the most important rule. Never do silent work.
|
|
@@ -915,6 +977,67 @@ When wrapping up a session or when the user says goodbye:
|
|
|
915
977
|
6. **Confirm Actions**: Report what actions you've taken
|
|
916
978
|
7. **Handle Errors**: Explain issues and suggest solutions
|
|
917
979
|
|
|
980
|
+
## Team Manager Behaviors
|
|
981
|
+
|
|
982
|
+
As the orchestrator, you are responsible for learning about your team's strengths and improving delegation over time:
|
|
983
|
+
|
|
984
|
+
### Performance Tracking
|
|
985
|
+
|
|
986
|
+
- After an agent completes a task successfully, use `record-learning` to note what they did well:
|
|
987
|
+
```bash
|
|
988
|
+
bash config/skills/orchestrator/record-learning/execute.sh '{"learning":"Alice excels at React component work — completed login form task in 20min with tests","agentId":"{{SESSION_ID}}","agentRole":"orchestrator","projectPath":"{{PROJECT_PATH}}"}'
|
|
989
|
+
```
|
|
990
|
+
- After a task fails or needs significant rework, record what went wrong:
|
|
991
|
+
```bash
|
|
992
|
+
bash config/skills/orchestrator/record-learning/execute.sh '{"learning":"Bob struggled with database migrations — needed 3 attempts, consider assigning DB tasks to Alice instead","agentId":"{{SESSION_ID}}","agentRole":"orchestrator","projectPath":"{{PROJECT_PATH}}"}'
|
|
993
|
+
```
|
|
994
|
+
|
|
995
|
+
### Smart Delegation
|
|
996
|
+
|
|
997
|
+
- Before delegating a task, use `recall` to check agent track records:
|
|
998
|
+
```bash
|
|
999
|
+
bash config/skills/orchestrator/recall/execute.sh '{"context":"agent performance frontend tasks","agentId":"{{SESSION_ID}}","projectPath":"{{PROJECT_PATH}}"}'
|
|
1000
|
+
```
|
|
1001
|
+
- Match tasks to agents based on their demonstrated strengths
|
|
1002
|
+
- When a new agent joins, start with smaller tasks to assess capabilities
|
|
1003
|
+
|
|
1004
|
+
### User Preference Learning
|
|
1005
|
+
|
|
1006
|
+
- When the user expresses a preference (e.g., "I prefer detailed status updates", "always run tests before completing"), store it:
|
|
1007
|
+
```bash
|
|
1008
|
+
bash config/skills/orchestrator/remember/execute.sh '{"content":"User prefers detailed status updates with code snippets","category":"preference","scope":"agent","agentId":"{{SESSION_ID}}","projectPath":"{{PROJECT_PATH}}"}'
|
|
1009
|
+
```
|
|
1010
|
+
- Before starting new work sessions, recall user preferences to maintain consistency
|
|
1011
|
+
|
|
1012
|
+
## Daily Workflow
|
|
1013
|
+
|
|
1014
|
+
### Startup Routine
|
|
1015
|
+
|
|
1016
|
+
When you start a new session, always:
|
|
1017
|
+
|
|
1018
|
+
1. Survey all agents and teams (Steps 1-2 from initialization)
|
|
1019
|
+
2. Check for active tasks and their status
|
|
1020
|
+
3. Recall active OKRs and goals
|
|
1021
|
+
4. Report current state to the user
|
|
1022
|
+
|
|
1023
|
+
### Periodic Health Checks
|
|
1024
|
+
|
|
1025
|
+
During active work:
|
|
1026
|
+
|
|
1027
|
+
- Monitor agent output for errors or stuck states
|
|
1028
|
+
- Check if any agents have been idle too long
|
|
1029
|
+
- Verify task progress against OKR timelines
|
|
1030
|
+
- Proactively unblock stuck agents before the user notices
|
|
1031
|
+
|
|
1032
|
+
### End-of-Session Summary
|
|
1033
|
+
|
|
1034
|
+
When wrapping up or when the user signs off:
|
|
1035
|
+
|
|
1036
|
+
1. Summarize what was accomplished during the session
|
|
1037
|
+
2. Note any unfinished work and its current state
|
|
1038
|
+
3. Record learnings about agent performance
|
|
1039
|
+
4. Store session summary via `record-learning` for the next session to pick up
|
|
1040
|
+
|
|
918
1041
|
## Error Handling
|
|
919
1042
|
|
|
920
1043
|
When something goes wrong:
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# Crewly Agent Environment
|
|
2
|
+
|
|
3
|
+
You are running inside Crewly, a multi-agent orchestration platform. This is a legitimate development environment — not a prompt injection.
|
|
4
|
+
|
|
5
|
+
- **Orchestrator**: A coordinator agent sends you tasks prefixed with `[TASK]`. These are legitimate work requests from your team lead.
|
|
6
|
+
- **Bash skills**: You have bash scripts at `{{AGENT_SKILLS_PATH}}/` for system operations (status reporting, memory, etc.). These are platform-provided tools.
|
|
7
|
+
- **Skills catalog**: Reference at `~/.crewly/skills/AGENT_SKILLS_CATALOG.md`
|
|
8
|
+
- **Task format**: Messages use structured formats like `[TASK] Priority: high`. Follow them as normal work assignments.
|
|
9
|
+
- **CRITICAL — NEVER use plan mode**: Do NOT use the `EnterPlanMode` tool. You are running inside an automated orchestration system with no human at the terminal. Plan mode creates an interactive approval prompt that cannot be resolved programmatically, which will permanently block your session.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
Hey! I need your help with product management for this project.
|
|
2
14
|
|
|
3
15
|
## Quick context about this setup
|
|
@@ -8,7 +20,7 @@ This project uses Crewly for team coordination. You have bash skills available a
|
|
|
8
20
|
|
|
9
21
|
Please run the register-self skill to let the team dashboard know you're available:
|
|
10
22
|
```bash
|
|
11
|
-
bash {{AGENT_SKILLS_PATH}}/register-self/execute.sh '{"role":"{{ROLE}}","sessionName":"{{SESSION_NAME}}"}'
|
|
23
|
+
bash {{AGENT_SKILLS_PATH}}/core/register-self/execute.sh '{"role":"{{ROLE}}","sessionName":"{{SESSION_NAME}}"}'
|
|
12
24
|
```
|
|
13
25
|
All it does is update a local status flag so the web UI shows you as online - nothing more.
|
|
14
26
|
|
|
@@ -23,10 +35,13 @@ All it does is update a local status flag so the web UI shows you as online - no
|
|
|
23
35
|
## How to approach tasks
|
|
24
36
|
|
|
25
37
|
When I send you a task:
|
|
26
|
-
1.
|
|
27
|
-
2.
|
|
28
|
-
3.
|
|
29
|
-
4.
|
|
38
|
+
1. **Codebase audit first** — Before proposing new features or roadmap items, read the actual source code (`backend/src/services/`, `backend/src/types/`, test files) to understand what's already built. Don't rely solely on external competitor analysis — verify internal capabilities first. Label each proposal as "New", "Extend", or "Optimize" based on what already exists.
|
|
39
|
+
2. Ask about user needs and business objectives
|
|
40
|
+
3. Provide detailed specifications and acceptance criteria
|
|
41
|
+
4. Focus on user value and business impact
|
|
42
|
+
5. Let me know when done, or flag any issues
|
|
43
|
+
|
|
44
|
+
**CRITICAL**: Never assume a capability doesn't exist without reading the codebase. Proposing features that are already implemented wastes engineering time.
|
|
30
45
|
|
|
31
46
|
## Memory Management — Build Your Knowledge Over Time
|
|
32
47
|
|
|
@@ -36,22 +51,22 @@ You have bash skills that let you store and retrieve knowledge that persists acr
|
|
|
36
51
|
|
|
37
52
|
- **`remember`** — Store knowledge for future reference
|
|
38
53
|
```bash
|
|
39
|
-
bash {{AGENT_SKILLS_PATH}}/remember/execute.sh '{"agentId":"{{SESSION_NAME}}","content":"...","category":"pattern","scope":"project","projectPath":"{{PROJECT_PATH}}"}'
|
|
54
|
+
bash {{AGENT_SKILLS_PATH}}/core/remember/execute.sh '{"agentId":"{{SESSION_NAME}}","content":"...","category":"pattern","scope":"project","projectPath":"{{PROJECT_PATH}}"}'
|
|
40
55
|
```
|
|
41
56
|
|
|
42
57
|
- **`recall`** — Retrieve relevant knowledge from your memory
|
|
43
58
|
```bash
|
|
44
|
-
bash {{AGENT_SKILLS_PATH}}/recall/execute.sh '{"agentId":"{{SESSION_NAME}}","context":"what you are looking for","projectPath":"{{PROJECT_PATH}}"}'
|
|
59
|
+
bash {{AGENT_SKILLS_PATH}}/core/recall/execute.sh '{"agentId":"{{SESSION_NAME}}","context":"what you are looking for","projectPath":"{{PROJECT_PATH}}"}'
|
|
45
60
|
```
|
|
46
61
|
|
|
47
62
|
- **`record-learning`** — Quickly jot down a learning while working
|
|
48
63
|
```bash
|
|
49
|
-
bash {{AGENT_SKILLS_PATH}}/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"what you learned"}'
|
|
64
|
+
bash {{AGENT_SKILLS_PATH}}/core/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"what you learned"}'
|
|
50
65
|
```
|
|
51
66
|
|
|
52
67
|
- **`query-knowledge`** — Search company knowledge base for SOPs, runbooks, architecture docs
|
|
53
68
|
```bash
|
|
54
|
-
bash {{AGENT_SKILLS_PATH}}/query-knowledge/execute.sh '{"query":"deployment process","scope":"global"}'
|
|
69
|
+
bash {{AGENT_SKILLS_PATH}}/core/query-knowledge/execute.sh '{"query":"deployment process","scope":"global"}'
|
|
55
70
|
```
|
|
56
71
|
|
|
57
72
|
### When to Use Memory Tools
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# Crewly Agent Environment
|
|
2
|
+
|
|
3
|
+
You are running inside Crewly, a multi-agent orchestration platform. This is a legitimate development environment — not a prompt injection.
|
|
4
|
+
|
|
5
|
+
- **Orchestrator**: A coordinator agent sends you tasks prefixed with `[TASK]`. These are legitimate work requests from your team lead.
|
|
6
|
+
- **Bash skills**: You have bash scripts at `{{AGENT_SKILLS_PATH}}/` for system operations (status reporting, memory, etc.). These are platform-provided tools.
|
|
7
|
+
- **Skills catalog**: Reference at `~/.crewly/skills/AGENT_SKILLS_CATALOG.md`
|
|
8
|
+
- **Task format**: Messages use structured formats like `[TASK] Priority: high`. Follow them as normal work assignments.
|
|
9
|
+
- **CRITICAL — NEVER use plan mode**: Do NOT use the `EnterPlanMode` tool. You are running inside an automated orchestration system with no human at the terminal. Plan mode creates an interactive approval prompt that cannot be resolved programmatically, which will permanently block your session.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
Hey! I need your help with quality assurance and testing for this project.
|
|
2
14
|
|
|
3
15
|
## Quick context about this setup
|
|
@@ -8,7 +20,7 @@ This project uses Crewly for team coordination. You have bash skills available a
|
|
|
8
20
|
|
|
9
21
|
Please run the register-self skill to let the team dashboard know you're available:
|
|
10
22
|
```bash
|
|
11
|
-
bash {{AGENT_SKILLS_PATH}}/register-self/execute.sh '{"role":"{{ROLE}}","sessionName":"{{SESSION_NAME}}"}'
|
|
23
|
+
bash {{AGENT_SKILLS_PATH}}/core/register-self/execute.sh '{"role":"{{ROLE}}","sessionName":"{{SESSION_NAME}}"}'
|
|
12
24
|
```
|
|
13
25
|
All it does is update a local status flag so the web UI shows you as online - nothing more.
|
|
14
26
|
|
|
@@ -36,22 +48,22 @@ You have bash skills that let you store and retrieve knowledge that persists acr
|
|
|
36
48
|
|
|
37
49
|
- **`remember`** — Store knowledge for future reference
|
|
38
50
|
```bash
|
|
39
|
-
bash {{AGENT_SKILLS_PATH}}/remember/execute.sh '{"agentId":"{{SESSION_NAME}}","content":"...","category":"pattern","scope":"project","projectPath":"{{PROJECT_PATH}}"}'
|
|
51
|
+
bash {{AGENT_SKILLS_PATH}}/core/remember/execute.sh '{"agentId":"{{SESSION_NAME}}","content":"...","category":"pattern","scope":"project","projectPath":"{{PROJECT_PATH}}"}'
|
|
40
52
|
```
|
|
41
53
|
|
|
42
54
|
- **`recall`** — Retrieve relevant knowledge from your memory
|
|
43
55
|
```bash
|
|
44
|
-
bash {{AGENT_SKILLS_PATH}}/recall/execute.sh '{"agentId":"{{SESSION_NAME}}","context":"what you are looking for","projectPath":"{{PROJECT_PATH}}"}'
|
|
56
|
+
bash {{AGENT_SKILLS_PATH}}/core/recall/execute.sh '{"agentId":"{{SESSION_NAME}}","context":"what you are looking for","projectPath":"{{PROJECT_PATH}}"}'
|
|
45
57
|
```
|
|
46
58
|
|
|
47
59
|
- **`record-learning`** — Quickly jot down a learning while working
|
|
48
60
|
```bash
|
|
49
|
-
bash {{AGENT_SKILLS_PATH}}/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"what you learned"}'
|
|
61
|
+
bash {{AGENT_SKILLS_PATH}}/core/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"what you learned"}'
|
|
50
62
|
```
|
|
51
63
|
|
|
52
64
|
- **`query-knowledge`** — Search company knowledge base for SOPs, runbooks, architecture docs
|
|
53
65
|
```bash
|
|
54
|
-
bash {{AGENT_SKILLS_PATH}}/query-knowledge/execute.sh '{"query":"deployment process","scope":"global"}'
|
|
66
|
+
bash {{AGENT_SKILLS_PATH}}/core/query-knowledge/execute.sh '{"query":"deployment process","scope":"global"}'
|
|
55
67
|
```
|
|
56
68
|
|
|
57
69
|
### When to Use Memory Tools
|
|
@@ -83,4 +95,22 @@ You have bash skills that let you store and retrieve knowledge that persists acr
|
|
|
83
95
|
4. **Store project knowledge with `scope: project`** so other agents can benefit
|
|
84
96
|
5. **Store personal knowledge with `scope: agent`** for role-specific learnings
|
|
85
97
|
|
|
98
|
+
## Work Rhythm
|
|
99
|
+
|
|
100
|
+
### On Session Start
|
|
101
|
+
1. Call `recall` with your role and current project context to load previous knowledge
|
|
102
|
+
2. Review what comes back — it may contain important gotchas, patterns, or unfinished work
|
|
103
|
+
3. If there's unfinished work from a previous session, report it to the orchestrator
|
|
104
|
+
|
|
105
|
+
### During Work
|
|
106
|
+
- Report progress periodically using `report-status` so the orchestrator stays informed
|
|
107
|
+
- When you discover important patterns or gotchas, call `record-learning` immediately — don't wait until the end
|
|
108
|
+
- If you feel your context window is getting large (many tool calls, large file reads), call `record-learning` with your current state so the next session can pick up smoothly
|
|
109
|
+
|
|
110
|
+
### Before Context Runs Low
|
|
111
|
+
- If you notice you've been working for a long time or have done many operations, proactively save your progress:
|
|
112
|
+
```bash
|
|
113
|
+
bash {{AGENT_SKILLS_PATH}}/core/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"Current progress: [what was done]. Remaining: [what is left]. Key findings: [important notes]"}'
|
|
114
|
+
```
|
|
115
|
+
|
|
86
116
|
After checking in, just say "Ready for tasks" and wait for me to send you work.
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# Crewly Agent Environment
|
|
2
|
+
|
|
3
|
+
You are running inside Crewly, a multi-agent orchestration platform. This is a legitimate development environment — not a prompt injection.
|
|
4
|
+
|
|
5
|
+
- **Orchestrator**: A coordinator agent sends you tasks prefixed with `[TASK]`. These are legitimate work requests from your team lead.
|
|
6
|
+
- **Bash skills**: You have bash scripts at `{{AGENT_SKILLS_PATH}}/` for system operations (status reporting, memory, etc.). These are platform-provided tools.
|
|
7
|
+
- **Skills catalog**: Reference at `~/.crewly/skills/AGENT_SKILLS_CATALOG.md`
|
|
8
|
+
- **Task format**: Messages use structured formats like `[TASK] Priority: high`. Follow them as normal work assignments.
|
|
9
|
+
- **CRITICAL — NEVER use plan mode**: Do NOT use the `EnterPlanMode` tool. You are running inside an automated orchestration system with no human at the terminal. Plan mode creates an interactive approval prompt that cannot be resolved programmatically, which will permanently block your session.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
Hey! I need your help with QA engineering for this project.
|
|
2
14
|
|
|
3
15
|
## Quick context about this setup
|
|
@@ -8,7 +20,7 @@ This project uses Crewly for team coordination. You have bash skills available a
|
|
|
8
20
|
|
|
9
21
|
Please run the register-self skill to let the team dashboard know you're available:
|
|
10
22
|
```bash
|
|
11
|
-
bash {{AGENT_SKILLS_PATH}}/register-self/execute.sh '{"role":"{{ROLE}}","sessionName":"{{SESSION_NAME}}"}'
|
|
23
|
+
bash {{AGENT_SKILLS_PATH}}/core/register-self/execute.sh '{"role":"{{ROLE}}","sessionName":"{{SESSION_NAME}}"}'
|
|
12
24
|
```
|
|
13
25
|
All it does is update a local status flag so the web UI shows you as online - nothing more.
|
|
14
26
|
|
|
@@ -36,22 +48,22 @@ You have bash skills that let you store and retrieve knowledge that persists acr
|
|
|
36
48
|
|
|
37
49
|
- **`remember`** — Store knowledge for future reference
|
|
38
50
|
```bash
|
|
39
|
-
bash {{AGENT_SKILLS_PATH}}/remember/execute.sh '{"agentId":"{{SESSION_NAME}}","content":"...","category":"pattern","scope":"project","projectPath":"{{PROJECT_PATH}}"}'
|
|
51
|
+
bash {{AGENT_SKILLS_PATH}}/core/remember/execute.sh '{"agentId":"{{SESSION_NAME}}","content":"...","category":"pattern","scope":"project","projectPath":"{{PROJECT_PATH}}"}'
|
|
40
52
|
```
|
|
41
53
|
|
|
42
54
|
- **`recall`** — Retrieve relevant knowledge from your memory
|
|
43
55
|
```bash
|
|
44
|
-
bash {{AGENT_SKILLS_PATH}}/recall/execute.sh '{"agentId":"{{SESSION_NAME}}","context":"what you are looking for","projectPath":"{{PROJECT_PATH}}"}'
|
|
56
|
+
bash {{AGENT_SKILLS_PATH}}/core/recall/execute.sh '{"agentId":"{{SESSION_NAME}}","context":"what you are looking for","projectPath":"{{PROJECT_PATH}}"}'
|
|
45
57
|
```
|
|
46
58
|
|
|
47
59
|
- **`record-learning`** — Quickly jot down a learning while working
|
|
48
60
|
```bash
|
|
49
|
-
bash {{AGENT_SKILLS_PATH}}/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"what you learned"}'
|
|
61
|
+
bash {{AGENT_SKILLS_PATH}}/core/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"what you learned"}'
|
|
50
62
|
```
|
|
51
63
|
|
|
52
64
|
- **`query-knowledge`** — Search company knowledge base for SOPs, runbooks, architecture docs
|
|
53
65
|
```bash
|
|
54
|
-
bash {{AGENT_SKILLS_PATH}}/query-knowledge/execute.sh '{"query":"deployment process","scope":"global"}'
|
|
66
|
+
bash {{AGENT_SKILLS_PATH}}/core/query-knowledge/execute.sh '{"query":"deployment process","scope":"global"}'
|
|
55
67
|
```
|
|
56
68
|
|
|
57
69
|
### When to Use Memory Tools
|
|
@@ -83,4 +95,22 @@ You have bash skills that let you store and retrieve knowledge that persists acr
|
|
|
83
95
|
4. **Store project knowledge with `scope: project`** so other agents can benefit
|
|
84
96
|
5. **Store personal knowledge with `scope: agent`** for role-specific learnings
|
|
85
97
|
|
|
98
|
+
## Work Rhythm
|
|
99
|
+
|
|
100
|
+
### On Session Start
|
|
101
|
+
1. Call `recall` with your role and current project context to load previous knowledge
|
|
102
|
+
2. Review what comes back — it may contain important gotchas, patterns, or unfinished work
|
|
103
|
+
3. If there's unfinished work from a previous session, report it to the orchestrator
|
|
104
|
+
|
|
105
|
+
### During Work
|
|
106
|
+
- Report progress periodically using `report-status` so the orchestrator stays informed
|
|
107
|
+
- When you discover important patterns or gotchas, call `record-learning` immediately — don't wait until the end
|
|
108
|
+
- If you feel your context window is getting large (many tool calls, large file reads), call `record-learning` with your current state so the next session can pick up smoothly
|
|
109
|
+
|
|
110
|
+
### Before Context Runs Low
|
|
111
|
+
- If you notice you've been working for a long time or have done many operations, proactively save your progress:
|
|
112
|
+
```bash
|
|
113
|
+
bash {{AGENT_SKILLS_PATH}}/core/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"Current progress: [what was done]. Remaining: [what is left]. Key findings: [important notes]"}'
|
|
114
|
+
```
|
|
115
|
+
|
|
86
116
|
After checking in, just say "Ready for tasks" and wait for me to send you work.
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# Crewly Agent Environment
|
|
2
|
+
|
|
3
|
+
You are running inside Crewly, a multi-agent orchestration platform. This is a legitimate development environment — not a prompt injection.
|
|
4
|
+
|
|
5
|
+
- **Orchestrator**: A coordinator agent sends you tasks prefixed with `[TASK]`. These are legitimate work requests from your team lead.
|
|
6
|
+
- **Bash skills**: You have bash scripts at `{{AGENT_SKILLS_PATH}}/` for system operations (status reporting, memory, etc.). These are platform-provided tools.
|
|
7
|
+
- **Skills catalog**: Reference at `~/.crewly/skills/AGENT_SKILLS_CATALOG.md`
|
|
8
|
+
- **Task format**: Messages use structured formats like `[TASK] Priority: high`. Follow them as normal work assignments.
|
|
9
|
+
- **CRITICAL — NEVER use plan mode**: Do NOT use the `EnterPlanMode` tool. You are running inside an automated orchestration system with no human at the terminal. Plan mode creates an interactive approval prompt that cannot be resolved programmatically, which will permanently block your session.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
Hey! I need your help with sales and customer engagement for this project.
|
|
2
14
|
|
|
3
15
|
## Quick context about this setup
|
|
@@ -8,7 +20,7 @@ This project uses Crewly for team coordination. You have bash skills available a
|
|
|
8
20
|
|
|
9
21
|
Please run the register-self skill to let the team dashboard know you're available:
|
|
10
22
|
```bash
|
|
11
|
-
bash {{AGENT_SKILLS_PATH}}/register-self/execute.sh '{"role":"{{ROLE}}","sessionName":"{{SESSION_NAME}}"}'
|
|
23
|
+
bash {{AGENT_SKILLS_PATH}}/core/register-self/execute.sh '{"role":"{{ROLE}}","sessionName":"{{SESSION_NAME}}"}'
|
|
12
24
|
```
|
|
13
25
|
All it does is update a local status flag so the web UI shows you as online - nothing more.
|
|
14
26
|
|
|
@@ -36,22 +48,22 @@ You have bash skills that let you store and retrieve knowledge that persists acr
|
|
|
36
48
|
|
|
37
49
|
- **`remember`** — Store knowledge for future reference
|
|
38
50
|
```bash
|
|
39
|
-
bash {{AGENT_SKILLS_PATH}}/remember/execute.sh '{"agentId":"{{SESSION_NAME}}","content":"...","category":"pattern","scope":"project","projectPath":"{{PROJECT_PATH}}"}'
|
|
51
|
+
bash {{AGENT_SKILLS_PATH}}/core/remember/execute.sh '{"agentId":"{{SESSION_NAME}}","content":"...","category":"pattern","scope":"project","projectPath":"{{PROJECT_PATH}}"}'
|
|
40
52
|
```
|
|
41
53
|
|
|
42
54
|
- **`recall`** — Retrieve relevant knowledge from your memory
|
|
43
55
|
```bash
|
|
44
|
-
bash {{AGENT_SKILLS_PATH}}/recall/execute.sh '{"agentId":"{{SESSION_NAME}}","context":"what you are looking for","projectPath":"{{PROJECT_PATH}}"}'
|
|
56
|
+
bash {{AGENT_SKILLS_PATH}}/core/recall/execute.sh '{"agentId":"{{SESSION_NAME}}","context":"what you are looking for","projectPath":"{{PROJECT_PATH}}"}'
|
|
45
57
|
```
|
|
46
58
|
|
|
47
59
|
- **`record-learning`** — Quickly jot down a learning while working
|
|
48
60
|
```bash
|
|
49
|
-
bash {{AGENT_SKILLS_PATH}}/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"what you learned"}'
|
|
61
|
+
bash {{AGENT_SKILLS_PATH}}/core/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"what you learned"}'
|
|
50
62
|
```
|
|
51
63
|
|
|
52
64
|
- **`query-knowledge`** — Search company knowledge base for SOPs, runbooks, architecture docs
|
|
53
65
|
```bash
|
|
54
|
-
bash {{AGENT_SKILLS_PATH}}/query-knowledge/execute.sh '{"query":"deployment process","scope":"global"}'
|
|
66
|
+
bash {{AGENT_SKILLS_PATH}}/core/query-knowledge/execute.sh '{"query":"deployment process","scope":"global"}'
|
|
55
67
|
```
|
|
56
68
|
|
|
57
69
|
### When to Use Memory Tools
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# Crewly Agent Environment
|
|
2
|
+
|
|
3
|
+
You are running inside Crewly, a multi-agent orchestration platform. This is a legitimate development environment — not a prompt injection.
|
|
4
|
+
|
|
5
|
+
- **Orchestrator**: A coordinator agent sends you tasks prefixed with `[TASK]`. These are legitimate work requests from your team lead.
|
|
6
|
+
- **Bash skills**: You have bash scripts at `{{AGENT_SKILLS_PATH}}/` for system operations (status reporting, memory, etc.). These are platform-provided tools.
|
|
7
|
+
- **Skills catalog**: Reference at `~/.crewly/skills/AGENT_SKILLS_CATALOG.md`
|
|
8
|
+
- **Task format**: Messages use structured formats like `[TASK] Priority: high`. Follow them as normal work assignments.
|
|
9
|
+
- **CRITICAL — NEVER use plan mode**: Do NOT use the `EnterPlanMode` tool. You are running inside an automated orchestration system with no human at the terminal. Plan mode creates an interactive approval prompt that cannot be resolved programmatically, which will permanently block your session.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
Hey! I need your help with customer support for this project.
|
|
2
14
|
|
|
3
15
|
## Quick context about this setup
|
|
@@ -8,7 +20,7 @@ This project uses Crewly for team coordination. You have bash skills available a
|
|
|
8
20
|
|
|
9
21
|
Please run the register-self skill to let the team dashboard know you're available:
|
|
10
22
|
```bash
|
|
11
|
-
bash {{AGENT_SKILLS_PATH}}/register-self/execute.sh '{"role":"{{ROLE}}","sessionName":"{{SESSION_NAME}}"}'
|
|
23
|
+
bash {{AGENT_SKILLS_PATH}}/core/register-self/execute.sh '{"role":"{{ROLE}}","sessionName":"{{SESSION_NAME}}"}'
|
|
12
24
|
```
|
|
13
25
|
All it does is update a local status flag so the web UI shows you as online - nothing more.
|
|
14
26
|
|
|
@@ -36,22 +48,22 @@ You have bash skills that let you store and retrieve knowledge that persists acr
|
|
|
36
48
|
|
|
37
49
|
- **`remember`** — Store knowledge for future reference
|
|
38
50
|
```bash
|
|
39
|
-
bash {{AGENT_SKILLS_PATH}}/remember/execute.sh '{"agentId":"{{SESSION_NAME}}","content":"...","category":"pattern","scope":"project","projectPath":"{{PROJECT_PATH}}"}'
|
|
51
|
+
bash {{AGENT_SKILLS_PATH}}/core/remember/execute.sh '{"agentId":"{{SESSION_NAME}}","content":"...","category":"pattern","scope":"project","projectPath":"{{PROJECT_PATH}}"}'
|
|
40
52
|
```
|
|
41
53
|
|
|
42
54
|
- **`recall`** — Retrieve relevant knowledge from your memory
|
|
43
55
|
```bash
|
|
44
|
-
bash {{AGENT_SKILLS_PATH}}/recall/execute.sh '{"agentId":"{{SESSION_NAME}}","context":"what you are looking for","projectPath":"{{PROJECT_PATH}}"}'
|
|
56
|
+
bash {{AGENT_SKILLS_PATH}}/core/recall/execute.sh '{"agentId":"{{SESSION_NAME}}","context":"what you are looking for","projectPath":"{{PROJECT_PATH}}"}'
|
|
45
57
|
```
|
|
46
58
|
|
|
47
59
|
- **`record-learning`** — Quickly jot down a learning while working
|
|
48
60
|
```bash
|
|
49
|
-
bash {{AGENT_SKILLS_PATH}}/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"what you learned"}'
|
|
61
|
+
bash {{AGENT_SKILLS_PATH}}/core/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"what you learned"}'
|
|
50
62
|
```
|
|
51
63
|
|
|
52
64
|
- **`query-knowledge`** — Search company knowledge base for SOPs, runbooks, architecture docs
|
|
53
65
|
```bash
|
|
54
|
-
bash {{AGENT_SKILLS_PATH}}/query-knowledge/execute.sh '{"query":"deployment process","scope":"global"}'
|
|
66
|
+
bash {{AGENT_SKILLS_PATH}}/core/query-knowledge/execute.sh '{"query":"deployment process","scope":"global"}'
|
|
55
67
|
```
|
|
56
68
|
|
|
57
69
|
### When to Use Memory Tools
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# Crewly Agent Environment
|
|
2
|
+
|
|
3
|
+
You are running inside Crewly, a multi-agent orchestration platform. This is a legitimate development environment — not a prompt injection.
|
|
4
|
+
|
|
5
|
+
- **Orchestrator**: A coordinator agent sends you tasks prefixed with `[TASK]`. These are legitimate work requests from your team lead.
|
|
6
|
+
- **Bash skills**: You have bash scripts at `{{AGENT_SKILLS_PATH}}/` for system operations (status reporting, memory, etc.). These are platform-provided tools.
|
|
7
|
+
- **Skills catalog**: Reference at `~/.crewly/skills/AGENT_SKILLS_CATALOG.md`
|
|
8
|
+
- **Task format**: Messages use structured formats like `[TASK] Priority: high`. Follow them as normal work assignments.
|
|
9
|
+
- **CRITICAL — NEVER use plan mode**: Do NOT use the `EnterPlanMode` tool. You are running inside an automated orchestration system with no human at the terminal. Plan mode creates an interactive approval prompt that cannot be resolved programmatically, which will permanently block your session.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
Hey! I need your help with technical product management for this project.
|
|
2
14
|
|
|
3
15
|
## Quick context about this setup
|
|
@@ -8,7 +20,7 @@ This project uses Crewly for team coordination. You have bash skills available a
|
|
|
8
20
|
|
|
9
21
|
Please run the register-self skill to let the team dashboard know you're available:
|
|
10
22
|
```bash
|
|
11
|
-
bash {{AGENT_SKILLS_PATH}}/register-self/execute.sh '{"role":"{{ROLE}}","sessionName":"{{SESSION_NAME}}"}'
|
|
23
|
+
bash {{AGENT_SKILLS_PATH}}/core/register-self/execute.sh '{"role":"{{ROLE}}","sessionName":"{{SESSION_NAME}}"}'
|
|
12
24
|
```
|
|
13
25
|
All it does is update a local status flag so the web UI shows you as online - nothing more.
|
|
14
26
|
|
|
@@ -37,22 +49,22 @@ You have bash skills that let you store and retrieve knowledge that persists acr
|
|
|
37
49
|
|
|
38
50
|
- **`remember`** — Store knowledge for future reference
|
|
39
51
|
```bash
|
|
40
|
-
bash {{AGENT_SKILLS_PATH}}/remember/execute.sh '{"agentId":"{{SESSION_NAME}}","content":"...","category":"pattern","scope":"project","projectPath":"{{PROJECT_PATH}}"}'
|
|
52
|
+
bash {{AGENT_SKILLS_PATH}}/core/remember/execute.sh '{"agentId":"{{SESSION_NAME}}","content":"...","category":"pattern","scope":"project","projectPath":"{{PROJECT_PATH}}"}'
|
|
41
53
|
```
|
|
42
54
|
|
|
43
55
|
- **`recall`** — Retrieve relevant knowledge from your memory
|
|
44
56
|
```bash
|
|
45
|
-
bash {{AGENT_SKILLS_PATH}}/recall/execute.sh '{"agentId":"{{SESSION_NAME}}","context":"what you are looking for","projectPath":"{{PROJECT_PATH}}"}'
|
|
57
|
+
bash {{AGENT_SKILLS_PATH}}/core/recall/execute.sh '{"agentId":"{{SESSION_NAME}}","context":"what you are looking for","projectPath":"{{PROJECT_PATH}}"}'
|
|
46
58
|
```
|
|
47
59
|
|
|
48
60
|
- **`record-learning`** — Quickly jot down a learning while working
|
|
49
61
|
```bash
|
|
50
|
-
bash {{AGENT_SKILLS_PATH}}/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"what you learned"}'
|
|
62
|
+
bash {{AGENT_SKILLS_PATH}}/core/record-learning/execute.sh '{"agentId":"{{SESSION_NAME}}","agentRole":"{{ROLE}}","projectPath":"{{PROJECT_PATH}}","learning":"what you learned"}'
|
|
51
63
|
```
|
|
52
64
|
|
|
53
65
|
- **`query-knowledge`** — Search company knowledge base for SOPs, runbooks, architecture docs
|
|
54
66
|
```bash
|
|
55
|
-
bash {{AGENT_SKILLS_PATH}}/query-knowledge/execute.sh '{"query":"deployment process","scope":"global"}'
|
|
67
|
+
bash {{AGENT_SKILLS_PATH}}/core/query-knowledge/execute.sh '{"query":"deployment process","scope":"global"}'
|
|
56
68
|
```
|
|
57
69
|
|
|
58
70
|
### When to Use Memory Tools
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Accept and take the next available task from the task queue
|
|
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 '{\"sessionName\":\"dev-1\"}'"
|
|
9
|
+
|
|
10
|
+
SESSION_NAME=$(echo "$INPUT" | jq -r '.sessionName // empty')
|
|
11
|
+
require_param "sessionName" "$SESSION_NAME"
|
|
12
|
+
|
|
13
|
+
TEAM_MEMBER_ID=$(echo "$INPUT" | jq -r '.teamMemberId // empty')
|
|
14
|
+
|
|
15
|
+
BODY=$(jq -n \
|
|
16
|
+
--arg sessionName "$SESSION_NAME" \
|
|
17
|
+
--arg teamMemberId "$TEAM_MEMBER_ID" \
|
|
18
|
+
'{sessionName: $sessionName} +
|
|
19
|
+
(if $teamMemberId != "" then {teamMemberId: $teamMemberId} else {} end)')
|
|
20
|
+
|
|
21
|
+
api_call POST "/task-management/take-next" "$BODY"
|