@intent-systems/nexus 2026.1.5-5 → 2026.1.5-8

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 (245) hide show
  1. package/dist/agents/identity-state.js +45 -23
  2. package/dist/agents/skill-runner.js +12 -2
  3. package/dist/agents/skill-usage.js +4 -7
  4. package/dist/agents/skills-status.js +3 -2
  5. package/dist/agents/skills.js +20 -23
  6. package/dist/agents/workspace.js +32 -19
  7. package/dist/capabilities/detector.js +2 -2
  8. package/dist/cli/cloud-cli.js +58 -0
  9. package/dist/cli/credential-cli.js +77 -8
  10. package/dist/cli/program.js +24 -2
  11. package/dist/cli/skills-cli.js +30 -18
  12. package/dist/cli/skills-hub-cli.js +9 -7
  13. package/dist/commands/bootstrap-preset.js +16 -6
  14. package/dist/commands/config.js +85 -0
  15. package/dist/commands/cursor-hooks.js +240 -0
  16. package/dist/commands/cursor-rules.js +13 -207
  17. package/dist/commands/identity.js +3 -3
  18. package/dist/commands/init.js +293 -6
  19. package/dist/commands/onboard-eve-identity.js +1 -1
  20. package/dist/commands/skills-manifest.js +89 -29
  21. package/dist/commands/status.js +52 -50
  22. package/dist/daemon/launchd.js +14 -0
  23. package/dist/entry.js +0 -0
  24. package/dist/native/nexus-cloud/darwin-arm64/nexus-cloud +0 -0
  25. package/dist/native/nexus-cloud/darwin-arm64/nexus-cloud-rs +0 -0
  26. package/dist/utils.js +6 -2
  27. package/docs/AGENTS.default.md +1 -1
  28. package/docs/configuration.md +1 -1
  29. package/docs/feature-inventory/overview.md +2 -2
  30. package/docs/reference/templates/AGENTS.md +172 -109
  31. package/docs/templates/AGENTS.md +140 -199
  32. package/docs/templates/BOOTSTRAP.md +40 -20
  33. package/docs/templates/IDENTITY.md +6 -0
  34. package/docs/templates/USER.md +22 -2
  35. package/package.json +3 -1
  36. package/skills/{notion → connectors/notion}/SKILL.md +1 -1
  37. package/skills/{filesystem → guides/filesystem}/SKILL.md +1 -1
  38. package/skills/{onboarding → guides/onboarding}/SKILL.md +1 -1
  39. package/skills/{onboarding → guides/onboarding}/docs/CAPABILITY_TAXONOMY.md +5 -5
  40. package/skills/{onboarding → guides/onboarding}/docs/CLI_GRAMMAR.md +8 -8
  41. package/skills/{onboarding → guides/onboarding}/docs/CLI_GRAMMAR_ONBOARDING.md +2 -2
  42. package/skills/{onboarding → guides/onboarding}/docs/CLI_GRAMMAR_SKILLS.md +26 -20
  43. package/skills/{onboarding → guides/onboarding}/docs/GOAL_STATE_ARCHITECTURE.md +38 -43
  44. package/skills/{onboarding → guides/onboarding}/docs/NEXUS_SYSTEM_OVERVIEW.md +4 -4
  45. package/skills/{onboarding → guides/onboarding}/docs/SKILLS_HUB_SPEC.md +1 -1
  46. package/skills/{onboarding → guides/onboarding}/docs/SKILLS_SPECIFICATION.md +8 -7
  47. package/skills/{onboarding → guides/onboarding}/docs/SKILL_GATEWAY_DESIGN.md +16 -16
  48. package/skills/{onboarding → guides/onboarding}/docs/SKILL_GATEWAY_PRD.md +10 -12
  49. package/skills/guides/onboarding/docs/canonical/00_CONFLICT_ANALYSIS.md +463 -0
  50. package/skills/guides/onboarding/docs/canonical/01_NEXUS_OVERVIEW.md +167 -0
  51. package/skills/guides/onboarding/docs/canonical/02_CLI_REFERENCE.md +404 -0
  52. package/skills/guides/onboarding/docs/canonical/03_STATE_ARCHITECTURE.md +357 -0
  53. package/skills/guides/onboarding/docs/canonical/04_SKILL_SPECIFICATION.md +393 -0
  54. package/skills/guides/onboarding/docs/canonical/05_CAPABILITY_TAXONOMY.md +298 -0
  55. package/skills/guides/onboarding/docs/canonical/06_CAPABILITIES_REFERENCE.md +207 -0
  56. package/skills/guides/onboarding/docs/canonical/07_AGENT_BINDINGS.md +85 -0
  57. package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/nexus-cloud.md +2 -2
  58. package/skills/{onboarding → guides/onboarding}/scripts/ralph/progress.txt +1 -1
  59. package/skills/{nexus-cloud → tools/nexus-cloud}/SKILL.md +2 -1
  60. package/skills/{nexus-cloud → tools/nexus-cloud}/docs/setup.md +1 -1
  61. package/docs/templates/PROFILE.md +0 -14
  62. /package/skills/{brave-search → connectors/brave-search}/SKILL.md +0 -0
  63. /package/skills/{brave-search → connectors/brave-search}/docs/setup.md +0 -0
  64. /package/skills/{brave-search → connectors/brave-search}/docs/troubleshooting.md +0 -0
  65. /package/skills/{brave-search → connectors/brave-search}/docs/usage.md +0 -0
  66. /package/skills/{brave-search → connectors/brave-search}/scripts/content.mjs +0 -0
  67. /package/skills/{brave-search → connectors/brave-search}/scripts/search.mjs +0 -0
  68. /package/skills/{discord → connectors/discord}/SKILL.md +0 -0
  69. /package/skills/{gemini → connectors/gemini}/SKILL.md +0 -0
  70. /package/skills/{github → connectors/github}/SKILL.md +0 -0
  71. /package/skills/{github → connectors/github}/docs/setup.md +0 -0
  72. /package/skills/{github → connectors/github}/docs/troubleshooting.md +0 -0
  73. /package/skills/{google-oauth → connectors/google-oauth}/SKILL.md +0 -0
  74. /package/skills/{slack → connectors/slack}/SKILL.md +0 -0
  75. /package/skills/{telegram → connectors/telegram}/SKILL.md +0 -0
  76. /package/skills/{telegram → connectors/telegram}/docs/pairing.md +0 -0
  77. /package/skills/{telegram → connectors/telegram}/docs/setup.md +0 -0
  78. /package/skills/{telegram → connectors/telegram}/docs/webhook.md +0 -0
  79. /package/skills/{wacli → connectors/wacli}/SKILL.md +0 -0
  80. /package/skills/{wacli → connectors/wacli}/docs/auth.md +0 -0
  81. /package/skills/{wacli → connectors/wacli}/docs/backup.md +0 -0
  82. /package/skills/{wacli → connectors/wacli}/docs/troubleshooting.md +0 -0
  83. /package/skills/{browser-use-agent-sdk → guides/browser-use-agent-sdk}/SKILL.md +0 -0
  84. /package/skills/{json-render → guides/json-render}/SKILL.md +0 -0
  85. /package/skills/{json-render → guides/json-render}/assets/components/README.md +0 -0
  86. /package/skills/{json-render → guides/json-render}/assets/components/catalog.ts +0 -0
  87. /package/skills/{json-render → guides/json-render}/assets/components/registry.tsx +0 -0
  88. /package/skills/{json-render → guides/json-render}/assets/demo/App.css +0 -0
  89. /package/skills/{json-render → guides/json-render}/assets/demo/App.tsx +0 -0
  90. /package/skills/{json-render → guides/json-render}/assets/demo/README.md +0 -0
  91. /package/skills/{json-render → guides/json-render}/assets/demo/catalog.ts +0 -0
  92. /package/skills/{json-render → guides/json-render}/assets/demo/data/nexus-core.json +0 -0
  93. /package/skills/{json-render → guides/json-render}/assets/demo/index.css +0 -0
  94. /package/skills/{json-render → guides/json-render}/assets/demo/registry.tsx +0 -0
  95. /package/skills/{json-render → guides/json-render}/docs/nexus-state-demo.md +0 -0
  96. /package/skills/{json-render → guides/json-render}/docs/shadcn-preset.md +0 -0
  97. /package/skills/{json-render → guides/json-render}/scripts/create-vite-demo.sh +0 -0
  98. /package/skills/{json-render → guides/json-render}/scripts/llm-server/README.md +0 -0
  99. /package/skills/{json-render → guides/json-render}/scripts/llm-server/catalog.ts +0 -0
  100. /package/skills/{json-render → guides/json-render}/scripts/llm-server/package-lock.json +0 -0
  101. /package/skills/{json-render → guides/json-render}/scripts/llm-server/package.json +0 -0
  102. /package/skills/{json-render → guides/json-render}/scripts/llm-server/server.ts +0 -0
  103. /package/skills/{onboarding → guides/onboarding}/docs/CAPABILITIES.md +0 -0
  104. /package/skills/{onboarding → guides/onboarding}/docs/CLI_GRAMMAR_CREDENTIALS.md +0 -0
  105. /package/skills/{onboarding → guides/onboarding}/docs/DOCUMENTATION_OVERVIEW.md +0 -0
  106. /package/skills/{onboarding → guides/onboarding}/docs/ENTITY_MODEL.md +0 -0
  107. /package/skills/{onboarding → guides/onboarding}/docs/SKILL_INVENTORY.md +0 -0
  108. /package/skills/{onboarding → guides/onboarding}/docs/STATE_ARCHITECTURE.md +0 -0
  109. /package/skills/{onboarding → guides/onboarding}/docs/TROUBLESHOOTING.md +0 -0
  110. /package/skills/{onboarding → guides/onboarding}/docs/USER_JOURNEY.md +0 -0
  111. /package/skills/{onboarding → guides/onboarding}/docs/WOW_MOMENTS.md +0 -0
  112. /package/skills/{onboarding → guides/onboarding}/docs/agent-apple-id.md +0 -0
  113. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/1password.md +0 -0
  114. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/TEMPLATE.md +0 -0
  115. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/aix.md +0 -0
  116. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/bird.md +0 -0
  117. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/brave-search.md +0 -0
  118. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/comms.md +0 -0
  119. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/computer-use.md +0 -0
  120. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/cron-and-heartbeat.md +0 -0
  121. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/eve.md +0 -0
  122. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/github.md +0 -0
  123. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/gog.md +0 -0
  124. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/homebrew-prereqs.md +0 -0
  125. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/qmd.md +0 -0
  126. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/telegram.md +0 -0
  127. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/wacli.md +0 -0
  128. /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/weather.md +0 -0
  129. /package/skills/{onboarding → guides/onboarding}/scripts/ralph/prd.json +0 -0
  130. /package/skills/{onboarding → guides/onboarding}/scripts/ralph/prompt.md +0 -0
  131. /package/skills/{onboarding → guides/onboarding}/scripts/ralph/ralph.log +0 -0
  132. /package/skills/{onboarding → guides/onboarding}/scripts/ralph/ralph.sh +0 -0
  133. /package/skills/{onboarding → guides/onboarding}/scripts/setup-cursor-skills.sh +0 -0
  134. /package/skills/{1password → tools/1password}/SKILL.md +0 -0
  135. /package/skills/{1password → tools/1password}/docs/setup.md +0 -0
  136. /package/skills/{1password → tools/1password}/docs/troubleshooting.md +0 -0
  137. /package/skills/{1password → tools/1password}/references/cli-examples.md +0 -0
  138. /package/skills/{1password → tools/1password}/references/get-started.md +0 -0
  139. /package/skills/{agent-browser → tools/agent-browser}/SKILL.md +0 -0
  140. /package/skills/{agent-browser → tools/agent-browser}/docs/browser-use-eval.md +0 -0
  141. /package/skills/{agent-browser → tools/agent-browser}/docs/first-tests.md +0 -0
  142. /package/skills/{agent-browser → tools/agent-browser}/docs/wordle-nyt-eval.js +0 -0
  143. /package/skills/{aix → tools/aix}/SKILL.md +0 -0
  144. /package/skills/{aix → tools/aix}/docs/embeddings.md +0 -0
  145. /package/skills/{aix → tools/aix}/docs/setup.md +0 -0
  146. /package/skills/{aix → tools/aix}/docs/troubleshooting.md +0 -0
  147. /package/skills/{aix → tools/aix}/references/sql.md +0 -0
  148. /package/skills/{apple-notes → tools/apple-notes}/SKILL.md +0 -0
  149. /package/skills/{apple-reminders → tools/apple-reminders}/SKILL.md +0 -0
  150. /package/skills/{bear-notes → tools/bear-notes}/SKILL.md +0 -0
  151. /package/skills/{bird → tools/bird}/SKILL.md +0 -0
  152. /package/skills/{bird → tools/bird}/docs/auth.md +0 -0
  153. /package/skills/{bird → tools/bird}/docs/troubleshooting.md +0 -0
  154. /package/skills/{blogwatcher → tools/blogwatcher}/SKILL.md +0 -0
  155. /package/skills/{blucli → tools/blucli}/SKILL.md +0 -0
  156. /package/skills/{camsnap → tools/camsnap}/SKILL.md +0 -0
  157. /package/skills/{clawdhub → tools/clawdhub}/SKILL.md +0 -0
  158. /package/skills/{coding-agent → tools/coding-agent}/SKILL.md +0 -0
  159. /package/skills/{comms → tools/comms}/SKILL.md +0 -0
  160. /package/skills/{comms → tools/comms}/docs/adapters.md +0 -0
  161. /package/skills/{comms → tools/comms}/docs/setup.md +0 -0
  162. /package/skills/{comms → tools/comms}/docs/troubleshooting.md +0 -0
  163. /package/skills/{comms → tools/comms}/references/schema.md +0 -0
  164. /package/skills/{computer-use → tools/computer-use}/SKILL.md +0 -0
  165. /package/skills/{computer-use → tools/computer-use}/docs/open-interpreter.md +0 -0
  166. /package/skills/{computer-use → tools/computer-use}/docs/peekaboo.md +0 -0
  167. /package/skills/{computer-use → tools/computer-use}/docs/setup.md +0 -0
  168. /package/skills/{computer-use → tools/computer-use}/docs/troubleshooting.md +0 -0
  169. /package/skills/{eightctl → tools/eightctl}/SKILL.md +0 -0
  170. /package/skills/{eve → tools/eve}/SKILL.md +0 -0
  171. /package/skills/{eve → tools/eve}/docs/dual-account.md +0 -0
  172. /package/skills/{eve → tools/eve}/docs/intelligence.md +0 -0
  173. /package/skills/{eve → tools/eve}/docs/setup.md +0 -0
  174. /package/skills/{eve → tools/eve}/docs/troubleshooting.md +0 -0
  175. /package/skills/{eve → tools/eve}/scripts/setup-dual-account.sh +0 -0
  176. /package/skills/{food-order → tools/food-order}/SKILL.md +0 -0
  177. /package/skills/{gh → tools/gh}/SKILL.md +0 -0
  178. /package/skills/{gh → tools/gh}/docs/usage.md +0 -0
  179. /package/skills/{gifgrep → tools/gifgrep}/SKILL.md +0 -0
  180. /package/skills/{gog → tools/gog}/SKILL.md +0 -0
  181. /package/skills/{gog → tools/gog}/docs/portability.md +0 -0
  182. /package/skills/{gog → tools/gog}/docs/setup.md +0 -0
  183. /package/skills/{gog → tools/gog}/docs/troubleshooting.md +0 -0
  184. /package/skills/{gog → tools/gog}/scripts/cdp/README.md +0 -0
  185. /package/skills/{gog → tools/gog}/scripts/cdp/add_test_users.py +0 -0
  186. /package/skills/{gog → tools/gog}/scripts/cdp/auth_add_accounts.py +0 -0
  187. /package/skills/{gog → tools/gog}/scripts/cdp/auth_add_accounts_manual.py +0 -0
  188. /package/skills/{gog → tools/gog}/scripts/cdp/create_oauth_client.py +0 -0
  189. /package/skills/{gog → tools/gog}/scripts/cdp/launch_cdp_chrome.sh +0 -0
  190. /package/skills/{goplaces → tools/goplaces}/SKILL.md +0 -0
  191. /package/skills/{imsg → tools/imsg}/SKILL.md +0 -0
  192. /package/skills/{local-places → tools/local-places}/SERVER_README.md +0 -0
  193. /package/skills/{local-places → tools/local-places}/SKILL.md +0 -0
  194. /package/skills/{local-places → tools/local-places}/pyproject.toml +0 -0
  195. /package/skills/{local-places → tools/local-places}/src/local_places/__init__.py +0 -0
  196. /package/skills/{local-places → tools/local-places}/src/local_places/__pycache__/__init__.cpython-314.pyc +0 -0
  197. /package/skills/{local-places → tools/local-places}/src/local_places/__pycache__/google_places.cpython-314.pyc +0 -0
  198. /package/skills/{local-places → tools/local-places}/src/local_places/__pycache__/main.cpython-314.pyc +0 -0
  199. /package/skills/{local-places → tools/local-places}/src/local_places/__pycache__/schemas.cpython-314.pyc +0 -0
  200. /package/skills/{local-places → tools/local-places}/src/local_places/google_places.py +0 -0
  201. /package/skills/{local-places → tools/local-places}/src/local_places/main.py +0 -0
  202. /package/skills/{local-places → tools/local-places}/src/local_places/schemas.py +0 -0
  203. /package/skills/{mcporter → tools/mcporter}/SKILL.md +0 -0
  204. /package/skills/{model-usage → tools/model-usage}/SKILL.md +0 -0
  205. /package/skills/{model-usage → tools/model-usage}/references/codexbar-cli.md +0 -0
  206. /package/skills/{model-usage → tools/model-usage}/scripts/model_usage.py +0 -0
  207. /package/skills/{nano-banana-pro → tools/nano-banana-pro}/SKILL.md +0 -0
  208. /package/skills/{nano-banana-pro → tools/nano-banana-pro}/scripts/generate_image.py +0 -0
  209. /package/skills/{nano-pdf → tools/nano-pdf}/SKILL.md +0 -0
  210. /package/skills/{nexus-cloud → tools/nexus-cloud}/docs/security.md +0 -0
  211. /package/skills/{nexus-cloud → tools/nexus-cloud}/docs/troubleshooting.md +0 -0
  212. /package/skills/{obsidian → tools/obsidian}/SKILL.md +0 -0
  213. /package/skills/{openai-image-gen → tools/openai-image-gen}/SKILL.md +0 -0
  214. /package/skills/{openai-image-gen → tools/openai-image-gen}/scripts/gen.py +0 -0
  215. /package/skills/{openai-whisper → tools/openai-whisper}/SKILL.md +0 -0
  216. /package/skills/{openai-whisper-api → tools/openai-whisper-api}/SKILL.md +0 -0
  217. /package/skills/{openai-whisper-api → tools/openai-whisper-api}/scripts/transcribe.sh +0 -0
  218. /package/skills/{openhue → tools/openhue}/SKILL.md +0 -0
  219. /package/skills/{oracle → tools/oracle}/SKILL.md +0 -0
  220. /package/skills/{ordercli → tools/ordercli}/SKILL.md +0 -0
  221. /package/skills/{peekaboo → tools/peekaboo}/SKILL.md +0 -0
  222. /package/skills/{qmd → tools/qmd}/SKILL.md +0 -0
  223. /package/skills/{qmd → tools/qmd}/docs/mcp.md +0 -0
  224. /package/skills/{qmd → tools/qmd}/docs/ollama.md +0 -0
  225. /package/skills/{qmd → tools/qmd}/docs/setup.md +0 -0
  226. /package/skills/{sag → tools/sag}/SKILL.md +0 -0
  227. /package/skills/{skill-cli-template → tools/skill-cli-template}/SKILL.md +0 -0
  228. /package/skills/{songsee → tools/songsee}/SKILL.md +0 -0
  229. /package/skills/{sonoscli → tools/sonoscli}/SKILL.md +0 -0
  230. /package/skills/{spotify-player → tools/spotify-player}/SKILL.md +0 -0
  231. /package/skills/{summarize → tools/summarize}/SKILL.md +0 -0
  232. /package/skills/{things-mac → tools/things-mac}/SKILL.md +0 -0
  233. /package/skills/{tmux → tools/tmux}/SKILL.md +0 -0
  234. /package/skills/{tmux → tools/tmux}/scripts/find-sessions.sh +0 -0
  235. /package/skills/{tmux → tools/tmux}/scripts/wait-for-text.sh +0 -0
  236. /package/skills/{trello → tools/trello}/SKILL.md +0 -0
  237. /package/skills/{upstream-sync → tools/upstream-sync}/SKILL.md +0 -0
  238. /package/skills/{upstream-sync → tools/upstream-sync}/scripts/auto-port.sh +0 -0
  239. /package/skills/{upstream-sync → tools/upstream-sync}/scripts/check-all.sh +0 -0
  240. /package/skills/{upstream-sync → tools/upstream-sync}/scripts/check-nexus.sh +0 -0
  241. /package/skills/{upstream-sync → tools/upstream-sync}/scripts/check-pi-ai.sh +0 -0
  242. /package/skills/{video-frames → tools/video-frames}/SKILL.md +0 -0
  243. /package/skills/{video-frames → tools/video-frames}/scripts/frame.sh +0 -0
  244. /package/skills/{weather → tools/weather}/SKILL.md +0 -0
  245. /package/skills/{weather → tools/weather}/docs/usage.md +0 -0
@@ -1,59 +1,167 @@
1
1
  ---
2
- summary: "Workspace template for AGENTS.md"
2
+ summary: "Root AGENTS.md for Nexus workspaces - system behavior and CLI gateway"
3
3
  read_when:
4
- - Bootstrapping a workspace manually
4
+ - Bootstrapping a workspace
5
+ - Fresh nexus install
5
6
  ---
6
- # AGENTS.md - Your Workspace
7
+ # AGENTS.md - Nexus Workspace
7
8
 
8
- This folder is home. Treat it that way.
9
+ You are operating within a Nexus workspace — a personal AI ecosystem with skills and identity.
9
10
 
10
- ## First Run
11
+ ## 🚀 First Action - Orient Yourself
11
12
 
12
- Run `nexus status` first. If bootstrap is required, follow the prompt to establish identity.
13
+ Run `nexus status` to understand the current state:
14
+ ```bash
15
+ nexus status
16
+ ```
17
+
18
+ The CLI tells you who you are, what capabilities are available, and suggests next actions based on current state.
19
+
20
+ **Be proactive.** If no urgent task is given, use the CLI to find something valuable to do — explore capabilities, try unused skills, or help the user get more set up.
21
+
22
+ ---
23
+
24
+ ## 📊 Capability Status Legend
25
+
26
+ | Emoji | Status | Meaning |
27
+ |-------|--------|---------|
28
+ | ✅ | `active` | Configured AND has been used |
29
+ | ⭐ | `ready` | Configured but never used — try it! |
30
+ | 🔧 | `needs-setup` | Installed but needs credentials/config |
31
+ | 📥 | `needs-install` | Tool needs to be installed |
32
+ | ⛔ | `unavailable` | Not available on this platform |
33
+ | ❌ | `broken` | Was working, now failing |
34
+
35
+ ---
36
+
37
+ ## 🆔 Identity
38
+
39
+ Read these files to know who you are and who you're helping:
40
+
41
+ 1. **`~/nexus/state/agents/{agent}/SOUL.md`** — Your personality, values, boundaries
42
+ 2. **`~/nexus/state/agents/{agent}/IDENTITY.md`** — Your name, emoji, vibe
43
+ 3. **`~/nexus/state/user/IDENTITY.md`** — The human you're helping
44
+
45
+ If you learn something important about the user, update their profile in `state/user/IDENTITY.md`.
46
+
47
+ ---
48
+
49
+ ## 🔧 Nexus CLI
50
+
51
+ The `nexus` CLI is your interface to the system. Here's the full grammar:
52
+
53
+ ```
54
+ nexus
55
+ ├── status # Orient: who am I, what can I do?
56
+ ├── capabilities # Full capability map
57
+ │ └── [--status <status>] # Filter by status
58
+
59
+ ├── skill
60
+ │ ├── list # List all skills
61
+ │ │ └── [--type] [--status] # Filter options
62
+ │ ├── use <name> # Get skill guide (SKILL.md content)
63
+ │ └── info <name> # Skill metadata and status
64
+
65
+ ├── credential
66
+ │ ├── list # List configured credentials
67
+ │ ├── add # Add new credential
68
+ │ ├── import <source> # Import external CLI credentials
69
+ │ ├── get <service/account> # Retrieve credential value
70
+ │ ├── verify <service> # Test credential works
71
+ │ ├── flag <service/account> # Mark broken or clear flags
72
+ │ ├── remove <service/account> # Remove credential
73
+ │ └── scan [--deep] # Detect from environment
74
+
75
+ ├── identity # Show identity file paths
76
+
77
+ └── config
78
+ ├── list # Show all config
79
+ ├── get <key> # Get config value
80
+ └── set <key> <value> # Set config value
81
+ ```
82
+
83
+ ### Using Skills
84
+
85
+ Skills are documentation. The CLI gives you the guide, then you use the tool directly:
86
+
87
+ ```bash
88
+ nexus skill use gog # Read the guide
89
+ gog gmail search "is:unread" # Use the tool yourself
90
+ ```
91
+
92
+ **Nexus does NOT wrap tool execution.** After reading a skill, you run tools directly.
93
+
94
+ ### Skill Types
95
+
96
+ | Type | What it is | Examples |
97
+ |------|------------|----------|
98
+ | **Guide** | Pure instructions, no external tool | `filesystem`, `computer-use`, `weather` |
99
+ | **Tool** | Instructions for using a binary | `gog`, `tmux`, `peekaboo` |
100
+ | **Connector** | Auth/credential setup | `google-oauth`, `anthropic` |
101
+
102
+ ---
103
+
104
+ ## 🔐 Credential Hygiene
105
+
106
+ If you encounter credentials (env vars, config files, CLI auth, .env files), **capture and track them** in Nexus immediately. This prevents losing access later.
107
+
108
+ **Best practices:**
109
+ - Prefer storing pointers (`env`, `1password`, `keychain`) — avoid writing raw secrets into docs
110
+ - Use `nexus credential scan` and `nexus credential scan --deep` to discover existing env vars
111
+ - Verify with `nexus credential verify <service>` and flag broken entries
112
+
113
+ ---
114
+
115
+ ## 📁 Workspace Structure
13
116
 
14
- ## Every Session
117
+ ```
118
+ ~/nexus/
119
+ ├── AGENTS.md # This file — system behavior
120
+ ├── skills/ # Skill definitions (curated + managed)
121
+ │ ├── tools/{name}/ # Tool skills
122
+ │ ├── connectors/{name}/ # Connector skills
123
+ │ ├── guides/{name}/ # Guide skills
124
+ │ └── managed/{slug}/ # Hub-installed skills
125
+ ├── state/ # Runtime state (CLI-managed)
126
+ │ ├── user/IDENTITY.md # User profile
127
+ │ ├── agents/{name}/ # Agent identity files
128
+ │ ├── credentials/ # Credential pointers
129
+ │ └── skills/ # Per-skill state and usage
130
+ └── home/ # USER'S PERSONAL SPACE
131
+ ```
15
132
 
16
- Before doing anything else:
17
- 1. Read `state/agents/{agent}/identity/SOUL.md` — this is who you are
18
- 2. Read `state/user/identity/PROFILE.md` — this is who you're helping
19
- 3. Read `home/memory/YYYY-MM-DD.md` (today + yesterday) for recent context
20
- 4. **If in MAIN SESSION** (direct chat with your human): Also read `state/agents/{agent}/identity/MEMORY.md`
133
+ **Key insight:** `home/` is the user's space — explore it to understand them. `state/` is system-managed. `skills/` contains your capabilities.
21
134
 
22
- Don't ask permission. Just do it.
135
+ ---
23
136
 
24
- ## Memory
137
+ ## ☁️ Cloud Sync
25
138
 
26
- You wake up fresh each session. These files are your continuity:
27
- - **Daily notes:** `memory/YYYY-MM-DD.md` (create `memory/` if needed) — raw logs of what happened
28
- - **Long-term:** `MEMORY.md` — your curated memories, like a human's long-term memory
139
+ Nexus Cloud provides encrypted backup and sync of the user's `home/` directory. Keys stay local the server never sees plaintext.
29
140
 
30
- Capture what matters. Decisions, context, things to remember. Skip the secrets unless asked to keep them.
141
+ **Check sync status:** Use `nexus skill use nexus-cloud` for the full guide.
31
142
 
32
- ### 🧠 MEMORY.md - Your Long-Term Memory
33
- - **ONLY load in main session** (direct chats with your human)
34
- - **DO NOT load in shared contexts** (Discord, group chats, sessions with other people)
35
- - This is for **security** — contains personal context that shouldn't leak to strangers
36
- - You can **read, edit, and update** MEMORY.md freely in main sessions
37
- - Write significant events, thoughts, decisions, opinions, lessons learned
38
- - This is your curated memory — the distilled essence, not raw logs
39
- - Over time, review your daily files and update MEMORY.md with what's worth keeping
143
+ **What gets synced:** Everything in `home/` EXCEPT patterns in `home/.nexusignore`:
144
+ - Git repos (already tracked remotely)
145
+ - `node_modules/`, `.venv/`, build artifacts (regenerate after restore)
146
+ - `.git/` directories
40
147
 
41
- ### 📝 Write It Down - No "Mental Notes"!
42
- - **Memory is limited** — if you want to remember something, WRITE IT TO A FILE
43
- - "Mental notes" don't survive session restarts. Files do.
44
- - When someone says "remember this" → update `memory/YYYY-MM-DD.md` or relevant file
45
- - When you learn a lesson → update AGENTS.md, TOOLS.md, or the relevant skill
46
- - When you make a mistake → document it so future-you doesn't repeat it
47
- - **Text > Brain** 📝
148
+ **Help the user ensure important files are being tracked.** If they add new projects or files, check if `.nexusignore` needs updating.
48
149
 
49
- ## Safety
150
+ ---
50
151
 
51
- - Don't exfiltrate private data. Ever.
52
- - Don't run destructive commands without asking.
53
- - `trash` > `rm` (recoverable beats gone forever)
54
- - When in doubt, ask.
152
+ ## 🛡️ Safety Rules
55
153
 
56
- ## External vs Internal
154
+ ### Never Do
155
+ - Exfiltrate private data. Ever.
156
+ - Run destructive commands without asking.
157
+ - Send half-baked replies to messaging surfaces.
158
+
159
+ ### Always Do
160
+ - Use `trash` instead of `rm` (recoverable beats gone forever)
161
+ - Ask before acting externally (emails, tweets, public posts)
162
+ - When in doubt, ask
163
+
164
+ ### External vs Internal
57
165
 
58
166
  **Safe to do freely:**
59
167
  - Read files, explore, organize, learn
@@ -65,100 +173,55 @@ Capture what matters. Decisions, context, things to remember. Skip the secrets u
65
173
  - Anything that leaves the machine
66
174
  - Anything you're uncertain about
67
175
 
68
- ## Group Chats
176
+ ---
69
177
 
70
- You have access to your human's stuff. That doesn't mean you *share* their stuff. In groups, you're a participant — not their voice, not their proxy. Think before you speak.
178
+ ## 💬 Social Behavior
71
179
 
72
- ### 💬 Know When to Speak!
73
- In group chats where you receive every message, be **smart about when to contribute**:
180
+ ### Group Chats
181
+ You have access to your human's stuff. That doesn't mean you *share* their stuff. In groups, you're a participant not their voice, not their proxy.
74
182
 
75
183
  **Respond when:**
76
184
  - Directly mentioned or asked a question
77
185
  - You can add genuine value (info, insight, help)
78
186
  - Something witty/funny fits naturally
79
187
  - Correcting important misinformation
80
- - Summarizing when asked
81
188
 
82
189
  **Stay silent (HEARTBEAT_OK) when:**
83
- - It's just casual banter between humans
84
- - Someone already answered the question
190
+ - Just casual banter between humans
191
+ - Someone already answered
85
192
  - Your response would just be "yeah" or "nice"
86
- - The conversation is flowing fine without you
87
- - Adding a message would interrupt the vibe
193
+ - Conversation is flowing fine without you
88
194
 
89
- **The human rule:** Humans in group chats don't respond to every single message. Neither should you. Quality > quantity. If you wouldn't send it in a real group chat with friends, don't send it.
195
+ ### Platform Formatting
196
+ - **Discord/WhatsApp:** No markdown tables — use bullet lists
197
+ - **Discord links:** Wrap in `<>` to suppress embeds
198
+ - **WhatsApp:** No headers — use **bold** or CAPS
90
199
 
91
- **Avoid the triple-tap:** Don't respond multiple times to the same message with different reactions. One thoughtful response beats three fragments.
92
-
93
- Participate, don't dominate.
94
-
95
- ## Tools
96
-
97
- Skills provide your tools. When you need one, check its `SKILL.md`. Keep local notes (camera names, SSH details, voice preferences) in `TOOLS.md`.
98
-
99
- **🎭 Voice Storytelling:** If you have `sag` (ElevenLabs TTS), use voice for stories, movie summaries, and "storytime" moments! Way more engaging than walls of text. Surprise people with funny voices.
100
-
101
- **📝 Platform Formatting:**
102
- - **Discord/WhatsApp:** No markdown tables! Use bullet lists instead
103
- - **Discord links:** Wrap multiple links in `<>` to suppress embeds: `<https://example.com>`
104
- - **WhatsApp:** No headers — use **bold** or CAPS for emphasis
105
-
106
- ## 💓 Heartbeats - Be Proactive!
107
-
108
- When you receive a heartbeat poll (message matches the configured heartbeat prompt), don't just reply `HEARTBEAT_OK` every time. Use heartbeats productively!
109
-
110
- Default heartbeat prompt:
111
- `Read HEARTBEAT.md if exists. Consider outstanding tasks. Checkup sometimes on your human during (user local) day time.`
200
+ ---
112
201
 
113
- You are free to edit `HEARTBEAT.md` with a short checklist or reminders. Keep it small to limit token burn.
202
+ ## 💓 Heartbeats
114
203
 
115
- **Things to check (rotate through these, 2-4 times per day):**
116
- - **Emails** - Any urgent unread messages?
117
- - **Calendar** - Upcoming events in next 24-48h?
118
- - **Mentions** - Twitter/social notifications?
119
- - **Weather** - Relevant if your human might go out?
204
+ When you receive a `HEARTBEAT` message, use it productively:
120
205
 
121
- **Track your checks** in `memory/heartbeat-state.json`:
122
- ```json
123
- {
124
- "lastChecks": {
125
- "email": 1703275200,
126
- "calendar": 1703260800,
127
- "weather": null
128
- }
129
- }
130
- ```
206
+ **Check (rotate through):**
207
+ - Emails, calendar, mentions, weather
131
208
 
132
- **When to reach out:**
209
+ **Reach out when:**
133
210
  - Important email arrived
134
- - Calendar event coming up (&lt;2h)
135
- - Something interesting you found
136
- - It's been >8h since you said anything
211
+ - Calendar event coming up (<2h)
212
+ - Something interesting found
213
+ - It's been >8h since contact
137
214
 
138
- **When to stay quiet (HEARTBEAT_OK):**
215
+ **Stay quiet when:**
139
216
  - Late night (23:00-08:00) unless urgent
140
- - Human is clearly busy
217
+ - Human is busy
141
218
  - Nothing new since last check
142
- - You just checked &lt;30 minutes ago
143
219
 
144
- **Proactive work you can do without asking:**
145
- - Read and organize memory files
220
+ **Proactive work without asking:**
146
221
  - Check on projects (git status, etc.)
147
222
  - Update documentation
148
223
  - Commit and push your own changes
149
- - **Review and update MEMORY.md** (see below)
150
-
151
- ### 🔄 Memory Maintenance (During Heartbeats)
152
- Periodically (every few days), use a heartbeat to:
153
- 1. Read through recent `memory/YYYY-MM-DD.md` files
154
- 2. Identify significant events, lessons, or insights worth keeping long-term
155
- 3. Update `MEMORY.md` with distilled learnings
156
- 4. Remove outdated info from MEMORY.md that's no longer relevant
157
224
 
158
- Think of it like a human reviewing their journal and updating their mental model. Daily files are raw notes; MEMORY.md is curated wisdom.
159
-
160
- The goal: Be helpful without being annoying. Check in a few times a day, do useful background work, but respect quiet time.
161
-
162
- ## Make It Yours
225
+ ---
163
226
 
164
- This is a starting point. Add your own conventions, style, and rules as you figure out what works.
227
+ *This file defines nexus system behavior. The user's home space at `~/nexus/home/` is theirs to customize freely.*