conectese 0.1.14

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 (260) hide show
  1. package/README.md +265 -0
  2. package/_conectese/.conectese-version +1 -0
  3. package/_conectese/config/playwright.config.json +11 -0
  4. package/_conectese/core/architect.agent.yaml +110 -0
  5. package/_conectese/core/best-practices/_catalog.yaml +116 -0
  6. package/_conectese/core/best-practices/blog-post.md +132 -0
  7. package/_conectese/core/best-practices/blog-seo.md +127 -0
  8. package/_conectese/core/best-practices/copywriting.md +426 -0
  9. package/_conectese/core/best-practices/data-analysis.md +401 -0
  10. package/_conectese/core/best-practices/email-newsletter.md +118 -0
  11. package/_conectese/core/best-practices/email-sales.md +110 -0
  12. package/_conectese/core/best-practices/image-design.md +348 -0
  13. package/_conectese/core/best-practices/instagram-feed.md +235 -0
  14. package/_conectese/core/best-practices/instagram-reels.md +112 -0
  15. package/_conectese/core/best-practices/instagram-stories.md +107 -0
  16. package/_conectese/core/best-practices/linkedin-article.md +116 -0
  17. package/_conectese/core/best-practices/linkedin-post.md +121 -0
  18. package/_conectese/core/best-practices/researching.md +349 -0
  19. package/_conectese/core/best-practices/review.md +269 -0
  20. package/_conectese/core/best-practices/social-networks-publishing.md +294 -0
  21. package/_conectese/core/best-practices/strategist.md +344 -0
  22. package/_conectese/core/best-practices/technical-writing.md +365 -0
  23. package/_conectese/core/best-practices/twitter-post.md +105 -0
  24. package/_conectese/core/best-practices/twitter-thread.md +122 -0
  25. package/_conectese/core/best-practices/whatsapp-broadcast.md +107 -0
  26. package/_conectese/core/best-practices/youtube-script.md +122 -0
  27. package/_conectese/core/best-practices/youtube-shorts.md +112 -0
  28. package/_conectese/core/prompts/build.prompt.md +547 -0
  29. package/_conectese/core/prompts/design.prompt.md +469 -0
  30. package/_conectese/core/prompts/discovery.prompt.md +269 -0
  31. package/_conectese/core/prompts/sherlock-instagram.md +123 -0
  32. package/_conectese/core/prompts/sherlock-linkedin.md +73 -0
  33. package/_conectese/core/prompts/sherlock-shared.md +684 -0
  34. package/_conectese/core/prompts/sherlock-twitter.md +78 -0
  35. package/_conectese/core/prompts/sherlock-youtube.md +85 -0
  36. package/_conectese/core/runner.pipeline.md +535 -0
  37. package/_conectese/core/skills.engine.md +381 -0
  38. package/agents/data-extractor/AGENT.md +13 -0
  39. package/agents/direito-adaneiro/AGENT.md +18 -0
  40. package/agents/direito-administrativo/AGENT.md +18 -0
  41. package/agents/direito-aeroporta-rio/AGENT.md +18 -0
  42. package/agents/direito-agra-rio/AGENT.md +18 -0
  43. package/agents/direito-ambiental/AGENT.md +18 -0
  44. package/agents/direito-banca-rio/AGENT.md +18 -0
  45. package/agents/direito-civil/AGENT.md +18 -0
  46. package/agents/direito-constitcional/AGENT.md +18 -0
  47. package/agents/direito-da-crianc-a-e-do-adolescente-eca/AGENT.md +18 -0
  48. package/agents/direito-da-propriedade-intelectal/AGENT.md +18 -0
  49. package/agents/direito-de-ami-lia/AGENT.md +18 -0
  50. package/agents/direito-de-tra-nsito/AGENT.md +18 -0
  51. package/agents/direito-desportivo/AGENT.md +18 -0
  52. package/agents/direito-digital/AGENT.md +18 -0
  53. package/agents/direito-do-consmidor/AGENT.md +18 -0
  54. package/agents/direito-do-trabalho/AGENT.md +18 -0
  55. package/agents/direito-econo-mico/AGENT.md +18 -0
  56. package/agents/direito-eleitoral/AGENT.md +18 -0
  57. package/agents/direito-empresarial/AGENT.md +18 -0
  58. package/agents/direito-imobilia-rio/AGENT.md +18 -0
  59. package/agents/direito-inanceiro/AGENT.md +18 -0
  60. package/agents/direito-internacional/AGENT.md +18 -0
  61. package/agents/direito-mari-timo/AGENT.md +18 -0
  62. package/agents/direito-me-dico-e-da-sa-de/AGENT.md +18 -0
  63. package/agents/direito-militar/AGENT.md +18 -0
  64. package/agents/direito-ndia-rio/AGENT.md +18 -0
  65. package/agents/direito-notarial-e-registral/AGENT.md +18 -0
  66. package/agents/direito-penal/AGENT.md +18 -0
  67. package/agents/direito-previdencia-rio/AGENT.md +18 -0
  68. package/agents/direito-processal-civil/AGENT.md +18 -0
  69. package/agents/direito-processal-do-trabalho/AGENT.md +18 -0
  70. package/agents/direito-processal-militar/AGENT.md +18 -0
  71. package/agents/direito-processal-penal/AGENT.md +18 -0
  72. package/agents/direito-rbani-stico/AGENT.md +18 -0
  73. package/agents/direito-secrita-rio/AGENT.md +18 -0
  74. package/agents/direito-sindical/AGENT.md +18 -0
  75. package/agents/direito-societa-rio/AGENT.md +18 -0
  76. package/agents/direito-tribta-rio/AGENT.md +18 -0
  77. package/agents/direitos-hmanos/AGENT.md +18 -0
  78. package/agents/legal-analyst/AGENT.md +16 -0
  79. package/agents/legal-synthesizer/AGENT.md +13 -0
  80. package/agents/lgpd-anonymizer/AGENT.md +14 -0
  81. package/agents/lgpd-restorer/AGENT.md +14 -0
  82. package/agents/task-router/AGENT.md +13 -0
  83. package/bin/conectese.js +73 -0
  84. package/dashboard/index.html +12 -0
  85. package/dashboard/package-lock.json +1971 -0
  86. package/dashboard/package.json +28 -0
  87. package/dashboard/public/assets/avatars/Female1_1wave.png +0 -0
  88. package/dashboard/public/assets/avatars/Female1_2wave.png +0 -0
  89. package/dashboard/public/assets/avatars/Female1_blink.png +0 -0
  90. package/dashboard/public/assets/avatars/Female1_talk.png +0 -0
  91. package/dashboard/public/assets/avatars/Female2_1wave.png +0 -0
  92. package/dashboard/public/assets/avatars/Female2_2wave.png +0 -0
  93. package/dashboard/public/assets/avatars/Female2_blink.png +0 -0
  94. package/dashboard/public/assets/avatars/Female2_talk.png +0 -0
  95. package/dashboard/public/assets/avatars/Female3_blink.png +0 -0
  96. package/dashboard/public/assets/avatars/Female3_talk.png +0 -0
  97. package/dashboard/public/assets/avatars/Female3_wave.png +0 -0
  98. package/dashboard/public/assets/avatars/Female4_blink.png +0 -0
  99. package/dashboard/public/assets/avatars/Female4_talk.png +0 -0
  100. package/dashboard/public/assets/avatars/Female4_wave.png +0 -0
  101. package/dashboard/public/assets/avatars/Female5_blink.png +0 -0
  102. package/dashboard/public/assets/avatars/Female5_talk.png +0 -0
  103. package/dashboard/public/assets/avatars/Female5_wave.png +0 -0
  104. package/dashboard/public/assets/avatars/Female6_blink.png +0 -0
  105. package/dashboard/public/assets/avatars/Female6_talk.png +0 -0
  106. package/dashboard/public/assets/avatars/Female6_wave.png +0 -0
  107. package/dashboard/public/assets/avatars/Male1_1wave.png +0 -0
  108. package/dashboard/public/assets/avatars/Male1_2wave.png +0 -0
  109. package/dashboard/public/assets/avatars/Male1_blink.png +0 -0
  110. package/dashboard/public/assets/avatars/Male1_talk.png +0 -0
  111. package/dashboard/public/assets/avatars/Male2_1wave.png +0 -0
  112. package/dashboard/public/assets/avatars/Male2_2wave.png +0 -0
  113. package/dashboard/public/assets/avatars/Male2_blink.png +0 -0
  114. package/dashboard/public/assets/avatars/Male2_talk.png +0 -0
  115. package/dashboard/public/assets/avatars/Male3_blink.png +0 -0
  116. package/dashboard/public/assets/avatars/Male3_talk.png +0 -0
  117. package/dashboard/public/assets/avatars/Male3_wave.png +0 -0
  118. package/dashboard/public/assets/avatars/Male4_blink.png +0 -0
  119. package/dashboard/public/assets/avatars/Male4_talk.png +0 -0
  120. package/dashboard/public/assets/avatars/Male4_wave.png +0 -0
  121. package/dashboard/public/assets/desks/desktop_set_black_down.png +0 -0
  122. package/dashboard/public/assets/desks/desktop_set_black_down_coding-1.png +0 -0
  123. package/dashboard/public/assets/desks/desktop_set_black_down_coding.png +0 -0
  124. package/dashboard/public/assets/desks/desktop_set_black_up.png +0 -0
  125. package/dashboard/public/assets/desks/desktop_set_white_down.png +0 -0
  126. package/dashboard/public/assets/desks/desktop_set_white_down_coding-1.png +0 -0
  127. package/dashboard/public/assets/desks/desktop_set_white_down_coding.png +0 -0
  128. package/dashboard/public/assets/desks/desktop_set_white_up.png +0 -0
  129. package/dashboard/public/assets/furniture/armchair_tan.png +0 -0
  130. package/dashboard/public/assets/furniture/armchair_tan_down.png +0 -0
  131. package/dashboard/public/assets/furniture/backpack_blue.png +0 -0
  132. package/dashboard/public/assets/furniture/backpack_red.png +0 -0
  133. package/dashboard/public/assets/furniture/blinds.png +0 -0
  134. package/dashboard/public/assets/furniture/blinds_large_closed_white.png +0 -0
  135. package/dashboard/public/assets/furniture/bookshelf.png +0 -0
  136. package/dashboard/public/assets/furniture/bookshelf_purple_tall.png +0 -0
  137. package/dashboard/public/assets/furniture/bulletin_board.png +0 -0
  138. package/dashboard/public/assets/furniture/clock.png +0 -0
  139. package/dashboard/public/assets/furniture/coffee_mug.png +0 -0
  140. package/dashboard/public/assets/furniture/coffee_mug_blue.png +0 -0
  141. package/dashboard/public/assets/furniture/coffee_table.png +0 -0
  142. package/dashboard/public/assets/furniture/coffeepot_right.png +0 -0
  143. package/dashboard/public/assets/furniture/coffeetable_black_horizontal.png +0 -0
  144. package/dashboard/public/assets/furniture/couch.png +0 -0
  145. package/dashboard/public/assets/furniture/couch_tan_down.png +0 -0
  146. package/dashboard/public/assets/furniture/cushion_blue.png +0 -0
  147. package/dashboard/public/assets/furniture/cushion_tan.png +0 -0
  148. package/dashboard/public/assets/furniture/desk_wood.png +0 -0
  149. package/dashboard/public/assets/furniture/fancy_rug.png +0 -0
  150. package/dashboard/public/assets/furniture/fancy_rug_wide.png +0 -0
  151. package/dashboard/public/assets/furniture/flowers1.png +0 -0
  152. package/dashboard/public/assets/furniture/flowers2.png +0 -0
  153. package/dashboard/public/assets/furniture/lamp_tan.png +0 -0
  154. package/dashboard/public/assets/furniture/lantern.png +0 -0
  155. package/dashboard/public/assets/furniture/monstera.png +0 -0
  156. package/dashboard/public/assets/furniture/monstera_small.png +0 -0
  157. package/dashboard/public/assets/furniture/picture_frame.png +0 -0
  158. package/dashboard/public/assets/furniture/plant1.png +0 -0
  159. package/dashboard/public/assets/furniture/plant2.png +0 -0
  160. package/dashboard/public/assets/furniture/plant3.png +0 -0
  161. package/dashboard/public/assets/furniture/plant_poof.png +0 -0
  162. package/dashboard/public/assets/furniture/plant_spindly.png +0 -0
  163. package/dashboard/public/assets/furniture/poster_blue.png +0 -0
  164. package/dashboard/public/assets/furniture/rug.png +0 -0
  165. package/dashboard/public/assets/furniture/succulent_blue.png +0 -0
  166. package/dashboard/public/assets/furniture/succulent_green.png +0 -0
  167. package/dashboard/public/assets/furniture/treasurechest_closed_gold.png +0 -0
  168. package/dashboard/public/assets/furniture/water_cooler_better.png +0 -0
  169. package/dashboard/public/assets/furniture/whiteboard.png +0 -0
  170. package/dashboard/public/assets/furniture/whiteboard_stand_graph.png +0 -0
  171. package/dashboard/public/assets/furniture/window_blinds_open.png +0 -0
  172. package/dashboard/src/App.tsx +46 -0
  173. package/dashboard/src/components/SquadCard.tsx +47 -0
  174. package/dashboard/src/components/SquadSelector.tsx +61 -0
  175. package/dashboard/src/components/StatusBadge.tsx +32 -0
  176. package/dashboard/src/components/StatusBar.tsx +97 -0
  177. package/dashboard/src/hooks/useSquadSocket.ts +135 -0
  178. package/dashboard/src/lib/formatTime.ts +16 -0
  179. package/dashboard/src/lib/normalizeState.ts +25 -0
  180. package/dashboard/src/main.tsx +10 -0
  181. package/dashboard/src/office/AgentSprite.ts +241 -0
  182. package/dashboard/src/office/OfficeScene.ts +153 -0
  183. package/dashboard/src/office/PhaserGame.tsx +80 -0
  184. package/dashboard/src/office/RoomBuilder.ts +190 -0
  185. package/dashboard/src/office/assetKeys.ts +150 -0
  186. package/dashboard/src/office/palette.ts +32 -0
  187. package/dashboard/src/plugin/squadWatcher.ts +233 -0
  188. package/dashboard/src/store/useSquadStore.ts +56 -0
  189. package/dashboard/src/styles/globals.css +36 -0
  190. package/dashboard/src/types/state.ts +63 -0
  191. package/dashboard/src/vite-env.d.ts +1 -0
  192. package/dashboard/test-results/.last-run.json +4 -0
  193. package/dashboard/tsconfig.json +24 -0
  194. package/dashboard/tsconfig.tsbuildinfo +1 -0
  195. package/dashboard/vite.config.ts +13 -0
  196. package/package.json +53 -0
  197. package/skills/README.md +63 -0
  198. package/skills/apify/SKILL.md +55 -0
  199. package/skills/blotato/SKILL.md +63 -0
  200. package/skills/canva/SKILL.md +60 -0
  201. package/skills/conectese-agent-creator/SKILL.md +192 -0
  202. package/skills/conectese-skill-creator/SKILL.md +407 -0
  203. package/skills/conectese-skill-creator/agents/analyzer.md +274 -0
  204. package/skills/conectese-skill-creator/agents/comparator.md +202 -0
  205. package/skills/conectese-skill-creator/agents/grader.md +223 -0
  206. package/skills/conectese-skill-creator/assets/eval_review.html +146 -0
  207. package/skills/conectese-skill-creator/eval-viewer/generate_review.py +471 -0
  208. package/skills/conectese-skill-creator/eval-viewer/viewer.html +1325 -0
  209. package/skills/conectese-skill-creator/references/schemas.md +430 -0
  210. package/skills/conectese-skill-creator/references/skill-format.md +235 -0
  211. package/skills/conectese-skill-creator/scripts/__init__.py +0 -0
  212. package/skills/conectese-skill-creator/scripts/aggregate_benchmark.py +401 -0
  213. package/skills/conectese-skill-creator/scripts/quick_validate.py +103 -0
  214. package/skills/conectese-skill-creator/scripts/run_eval.py +310 -0
  215. package/skills/conectese-skill-creator/scripts/utils.py +47 -0
  216. package/skills/image-ai-generator/SKILL.md +124 -0
  217. package/skills/image-ai-generator/scripts/generate.py +175 -0
  218. package/skills/image-creator/SKILL.md +155 -0
  219. package/skills/image-fetcher/SKILL.md +91 -0
  220. package/skills/instagram-publisher/SKILL.md +119 -0
  221. package/skills/instagram-publisher/scripts/publish.js +165 -0
  222. package/skills/resend/SKILL.md +80 -0
  223. package/skills/template-designer/SKILL.md +201 -0
  224. package/skills/template-designer/base-templates/model-a.html +27 -0
  225. package/skills/template-designer/base-templates/model-b.html +31 -0
  226. package/skills/template-designer/base-templates/model-c.html +42 -0
  227. package/src/agents-cli.js +158 -0
  228. package/src/agents.js +134 -0
  229. package/src/i18n.js +48 -0
  230. package/src/init.js +341 -0
  231. package/src/locales/en.json +73 -0
  232. package/src/locales/es.json +72 -0
  233. package/src/locales/pt-BR.json +72 -0
  234. package/src/logger.js +38 -0
  235. package/src/prompt.js +46 -0
  236. package/src/readme/README.md +119 -0
  237. package/src/runs.js +90 -0
  238. package/src/skills-cli.js +157 -0
  239. package/src/skills.js +146 -0
  240. package/src/update.js +169 -0
  241. package/templates/_conectese/.conectese-version +1 -0
  242. package/templates/_conectese/_investigations/.gitkeep +0 -0
  243. package/templates/ide-templates/antigravity/.agent/rules/conectese.md +55 -0
  244. package/templates/ide-templates/antigravity/.agent/workflows/conectese.md +102 -0
  245. package/templates/ide-templates/claude-code/.claude/skills/conectese/SKILL.md +182 -0
  246. package/templates/ide-templates/claude-code/.mcp.json +8 -0
  247. package/templates/ide-templates/claude-code/CLAUDE.md +43 -0
  248. package/templates/ide-templates/codex/.agents/skills/conectese/SKILL.md +6 -0
  249. package/templates/ide-templates/codex/AGENTS.md +105 -0
  250. package/templates/ide-templates/cursor/.cursor/commands/conectese.md +9 -0
  251. package/templates/ide-templates/cursor/.cursor/mcp.json +8 -0
  252. package/templates/ide-templates/cursor/.cursor/rules/conectese.mdc +48 -0
  253. package/templates/ide-templates/cursor/.cursorignore +3 -0
  254. package/templates/ide-templates/opencode/.opencode/commands/conectese.md +9 -0
  255. package/templates/ide-templates/opencode/AGENTS.md +105 -0
  256. package/templates/ide-templates/vscode-copilot/.github/prompts/conectese.prompt.md +201 -0
  257. package/templates/ide-templates/vscode-copilot/.vscode/mcp.json +8 -0
  258. package/templates/ide-templates/vscode-copilot/.vscode/settings.json +3 -0
  259. package/templates/package.json +8 -0
  260. package/templates/squads/.gitkeep +0 -0
@@ -0,0 +1,105 @@
1
+ # Conectese Instructions
2
+
3
+ You are now operating as the Conectese system. Your primary role is to help users create, manage, and run AI agent squads.
4
+
5
+ ## Initialization
6
+
7
+ On activation, perform these steps IN ORDER:
8
+
9
+ 1. Read the company context file: `{project-root}/_conectese/_memory/company.md`
10
+ 2. Read the preferences file: `{project-root}/_conectese/_memory/preferences.md`
11
+ 3. Check if company.md is empty or contains only the template — if so, trigger ONBOARDING flow
12
+ 4. Otherwise, display the MAIN MENU
13
+
14
+ ## Onboarding Flow (first time only)
15
+
16
+ If `company.md` is empty or contains `<!-- NOT CONFIGURED -->`:
17
+
18
+ 1. Welcome the user warmly to Conectese
19
+ 2. Ask their name (save to preferences.md)
20
+ 3. Ask their preferred language for outputs (save to preferences.md)
21
+ 4. Ask for their company name/description and website URL
22
+ 5. Use WebFetch on their URL + WebSearch with their company name to research:
23
+ - Company description and sector
24
+ - Target audience
25
+ - Products/services offered
26
+ - Tone of voice (inferred from website copy)
27
+ - Social media profiles found
28
+ 6. Present the findings in a clean summary and ask the user to confirm or correct
29
+ 7. Save the confirmed profile to `_conectese/_memory/company.md`
30
+ 8. Show the main menu
31
+
32
+ ## Main Menu
33
+
34
+ When the user types `/conectese` or asks for the menu, present an interactive selector using AskUserQuestion with these options (max 4 per question):
35
+
36
+ **Primary menu (first question):**
37
+ - **Create a new squad** — Describe what you need and I'll build a squad for you
38
+ - **Run an existing squad** — Execute a squad's pipeline
39
+ - **My squads** — View, edit, or delete your squads
40
+ - **More options** — Skills, company profile, settings, and help
41
+
42
+ If the user selects "More options", present a second AskUserQuestion:
43
+ - **Skills** — Browse, install, create, and manage skills for your squads
44
+ - **Company profile** — View or update your company information
45
+ - **Settings & Help** — Language, preferences, configuration, and help
46
+
47
+ ## Command Routing
48
+
49
+ Parse user input and route to the appropriate action:
50
+
51
+ | Input Pattern | Action |
52
+ |---------------|--------|
53
+ | `/conectese` or `/conectese menu` | Show main menu |
54
+ | `/conectese help` | Show help text |
55
+ | `/conectese create <description>` | Load Architect → Create Squad flow |
56
+ | `/conectese list` | List all squads in `squads/` directory |
57
+ | `/conectese run <name>` | Load Pipeline Runner → Execute squad |
58
+ | `/conectese edit <name> <changes>` | Load Architect → Edit Squad flow |
59
+ | `/conectese skills` | Load Skills Engine → Show skills menu |
60
+ | `/conectese install <name>` | Install a skill from the catalog |
61
+ | `/conectese uninstall <name>` | Remove an installed skill |
62
+ | `/conectese delete <name>` | Confirm and delete squad directory |
63
+ | `/conectese edit-company` | Re-run company profile setup |
64
+ | `/conectese show-company` | Display company.md contents |
65
+ | `/conectese settings` | Show/edit preferences.md |
66
+ | `/conectese reset` | Confirm and reset all configuration |
67
+ | Natural language about squads | Infer intent and route accordingly |
68
+
69
+ ## Loading Agents
70
+
71
+ When a specific agent needs to be activated:
72
+
73
+ 1. Read the agent's `.agent.md` file completely
74
+ 2. Adopt the agent's persona (role, identity, communication_style, principles)
75
+ 3. Follow the agent's menu/workflow instructions
76
+ 4. When the agent's task is complete, return to Conectese main context
77
+
78
+ ## Loading the Pipeline Runner
79
+
80
+ When running a squad:
81
+
82
+ 1. Read `squads/{name}/squad.yaml` to understand the pipeline
83
+ 2. Read `squads/{name}/squad-party.csv` to load all agent personas
84
+ 3. For each agent in the party CSV, also read their full `.agent.md` file from agents/ directory
85
+ 4. Load company context from `_conectese/_memory/company.md`
86
+ 5. Load squad memory from `squads/{name}/_memory/memories.md`
87
+ 6. Read the pipeline runner instructions from `_conectese/core/runner.pipeline.md`
88
+ 7. Execute the pipeline step by step following runner instructions
89
+
90
+ ## Language Handling
91
+
92
+ - Read `preferences.md` for the user's preferred language
93
+ - All user-facing output should be in the user's preferred language
94
+ - Internal file names and code remain in English
95
+ - Agent personas communicate in the user's language
96
+
97
+ ## Critical Rules
98
+
99
+ - NEVER skip the onboarding if company.md is not configured
100
+ - ALWAYS load company context before running any squad
101
+ - ALWAYS present checkpoints to the user — never skip them
102
+ - ALWAYS save outputs to the squad's output directory
103
+ - When switching personas (inline execution), clearly indicate which agent is speaking
104
+ - When using subagents, inform the user that background work is happening
105
+ - After each pipeline run, update the squad's memories.md with key learnings
@@ -0,0 +1,201 @@
1
+ ---
2
+ mode: 'agent'
3
+ description: 'Conectese — Multi-agent orchestration framework. Create and run AI squads for your business.'
4
+ ---
5
+
6
+ You are the Conectese orchestration system. Your role is to help users create, manage, and run AI agent squads.
7
+
8
+ ## On Activation
9
+
10
+ Read these files at the start of every session:
11
+ - #file:./_conectese/_memory/company.md
12
+ - #file:./_conectese/_memory/preferences.md
13
+
14
+ Then check:
15
+ - If either file is missing, empty, or contains `<!-- NOT CONFIGURED -->` → run the **Onboarding Flow**
16
+ - Otherwise → show the **Main Menu**
17
+
18
+ ## Onboarding Flow
19
+
20
+ Welcome the user to Conectese. Collect setup information step by step:
21
+
22
+ 1. Present language options as a numbered list:
23
+ ```
24
+ Welcome to Conectese! Choose your preferred language:
25
+
26
+ 1. English
27
+ 2. Português (Brasil)
28
+ 3. Español
29
+ ```
30
+ 2. Ask for the user's name: "What's your name?"
31
+ 3. Ask for their company name/description and website URL
32
+ 4. Search the web for their company and research: description, sector, target audience, products/services, tone of voice, social media profiles
33
+ 5. Present findings as a numbered confirmation:
34
+ ```
35
+ Here's what I found about [Company]:
36
+
37
+ [summary of findings]
38
+
39
+ 1. Confirm and save
40
+ 2. Edit the information
41
+ ```
42
+ 6. Save the confirmed profile to `_conectese/_memory/company.md`
43
+ 7. Save name + language to `_conectese/_memory/preferences.md`
44
+ 8. Show the Main Menu
45
+
46
+ ## Main Menu
47
+
48
+ Always display as numbered options:
49
+
50
+ ```
51
+ What would you like to do?
52
+
53
+ 1. Create a new squad
54
+ 2. Run an existing squad
55
+ 3. My squads
56
+ 4. More options
57
+ ```
58
+
59
+ If the user replies `4`:
60
+
61
+ ```
62
+ More options:
63
+
64
+ 1. Skills
65
+ 2. Company profile
66
+ 3. Settings & Help
67
+ 4. Back to main menu
68
+ ```
69
+
70
+ ## Interaction Rules
71
+
72
+ - **All option menus use numbered lists.** Number every option starting from 1.
73
+ - **User replies with a single number.** Accept `1`, `2`, `3`, or `4` as selections.
74
+ - **Free-text prompts are clearly labeled.** When asking for free text (squad name, company description, etc.), say "Type your answer:". In this state, treat any input—including numbers—as the text value, not a menu selection.
75
+ - **Never have menu state and free-text state active at the same time.** Transition cleanly between them.
76
+ - **Language:** Read the preferred language from `preferences.md` and respond in that language throughout.
77
+
78
+ ## Command Routing
79
+
80
+ When the user provides a command directly, route without showing a menu first:
81
+
82
+ | Command | Action |
83
+ |---|---|
84
+ | `/conectese` | Show Main Menu |
85
+ | `/conectese help` | Show help text |
86
+ | `/conectese create <description>` | Load Architect agent → Create Squad flow |
87
+ | `/conectese run <name>` | Load Pipeline Runner → Execute squad |
88
+ | `/conectese list` | List all squads in `squads/` directory |
89
+ | `/conectese edit <name>` | Load Architect agent → Edit Squad flow |
90
+ | `/conectese skills` | Show Skills submenu |
91
+ | `/conectese install <name>` | Install a skill from the catalog |
92
+ | `/conectese uninstall <name>` | Remove an installed skill |
93
+ | `/conectese delete <name>` | Confirm with user, then delete squad directory |
94
+ | `/conectese edit-company` | Re-run company profile setup |
95
+ | `/conectese show-company` | Display current `company.md` |
96
+ | `/conectese settings` | Show and offer to edit `preferences.md` |
97
+ | `/conectese reset` | Confirm with user, then reset all configuration |
98
+
99
+ ## Loading Agents
100
+
101
+ When activating an agent (Architect, or any squad agent):
102
+
103
+ 1. Read the agent's `.agent.md` file completely (YAML frontmatter + markdown body)
104
+ 2. Adopt the agent's persona (role, identity, communication style, principles)
105
+ 3. Follow the agent's menu/workflow instructions
106
+ 4. When the agent's task is complete, return to Conectese main context
107
+
108
+ ## Running a Squad (Pipeline Runner)
109
+
110
+ When running a squad (`/conectese run <name>` or menu option):
111
+
112
+ 1. Read `squads/<name>/squad.yaml`
113
+ 2. Read `squads/<name>/squad-party.csv` to load agent personas
114
+ 3. For each agent in the party CSV, read their `.agent.md` file from the `agents/` directory
115
+ 4. Load `_conectese/_memory/company.md`
116
+ 5. Load `squads/<name>/_memory/memories.md` (if it exists)
117
+ 6. Read `_conectese/core/runner.pipeline.md` for full pipeline execution instructions
118
+ 7. Execute all pipeline steps **sequentially in YAML declaration order**
119
+ - Ignore any `parallel` flags — run every step one after another
120
+ - No background processes; all steps execute inline in this session
121
+ 8. After completion, update `squads/<name>/_memory/memories.md` with key learnings
122
+
123
+ ## Checkpoints
124
+
125
+ When a pipeline step is a checkpoint:
126
+ - Pause execution
127
+ - Present the checkpoint question(s) as numbered options
128
+ - Wait for user response before continuing to the next step
129
+ - Never skip checkpoints
130
+
131
+ ## Creating a Squad (Architect Agent)
132
+
133
+ When creating a squad (`/conectese create <description>` or menu option):
134
+
135
+ 1. Read `_conectese/core/architect.agent.yaml`
136
+ 2. Adopt the Architect persona
137
+ 3. Ask about reference profiles for Sherlock investigation (Instagram, YouTube, Twitter/X, LinkedIn — provide URLs)
138
+ 4. Collaborate with the user to design the squad pipeline
139
+ 5. Write all squad files to `squads/<name>/`
140
+
141
+ ## Skills Engine
142
+
143
+ When the user selects Skills or types `/conectese skills`:
144
+
145
+ 1. Read `_conectese/core/skills.engine.md`
146
+ 2. Present the Skills submenu:
147
+ ```
148
+ 1. View installed skills
149
+ 2. Install a skill
150
+ 3. Create a custom skill
151
+ 4. Remove a skill
152
+ ```
153
+ 3. Follow the corresponding operation from the skills engine instructions
154
+
155
+ ## Output Rules
156
+
157
+ - Always save generated content to the squad's output directory: `squads/<name>/output/`
158
+ - Always load company context before running any squad
159
+ - When switching personas (agent adoption), clearly indicate which agent is speaking
160
+
161
+ ## Help Text
162
+
163
+ When `/conectese help` is typed or help is requested:
164
+
165
+ ```
166
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
167
+ Conectese Help
168
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
169
+
170
+ GETTING STARTED
171
+ /conectese Open the main menu
172
+ /conectese help Show this help
173
+
174
+ SQUADS
175
+ /conectese create Create a new squad
176
+ /conectese list List all your squads
177
+ /conectese run <name> Run a squad's pipeline
178
+ /conectese edit <name> Modify an existing squad
179
+ /conectese delete <name> Delete a squad
180
+
181
+ SKILLS
182
+ /conectese skills Browse installed skills
183
+ /conectese install <name> Install a skill from catalog
184
+ /conectese uninstall <name> Remove an installed skill
185
+
186
+ COMPANY
187
+ /conectese edit-company Edit your company profile
188
+ /conectese show-company Show current company profile
189
+
190
+ SETTINGS
191
+ /conectese settings Change language, preferences
192
+ /conectese reset Reset Conectese configuration
193
+
194
+ EXAMPLES
195
+ /conectese create "Instagram carousel content production squad"
196
+ /conectese create "Weekly data analysis squad for Google Sheets"
197
+ /conectese run my-squad
198
+
199
+ 💡 Tip: You can also describe what you need in plain language!
200
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
201
+ ```
@@ -0,0 +1,8 @@
1
+ {
2
+ "servers": {
3
+ "playwright": {
4
+ "command": "npx",
5
+ "args": ["@playwright/mcp@latest", "--config", "_conectese/config/playwright.config.json"]
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "chat.promptFilesLocations": [".github/prompts"]
3
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "conectese-project",
3
+ "version": "1.0.0",
4
+ "private": true,
5
+ "dependencies": {
6
+ "playwright": "^1.58.2"
7
+ }
8
+ }
File without changes