@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.
- package/dist/agents/identity-state.js +45 -23
- package/dist/agents/skill-runner.js +12 -2
- package/dist/agents/skill-usage.js +4 -7
- package/dist/agents/skills-status.js +3 -2
- package/dist/agents/skills.js +20 -23
- package/dist/agents/workspace.js +32 -19
- package/dist/capabilities/detector.js +2 -2
- package/dist/cli/cloud-cli.js +58 -0
- package/dist/cli/credential-cli.js +77 -8
- package/dist/cli/program.js +24 -2
- package/dist/cli/skills-cli.js +30 -18
- package/dist/cli/skills-hub-cli.js +9 -7
- package/dist/commands/bootstrap-preset.js +16 -6
- package/dist/commands/config.js +85 -0
- package/dist/commands/cursor-hooks.js +240 -0
- package/dist/commands/cursor-rules.js +13 -207
- package/dist/commands/identity.js +3 -3
- package/dist/commands/init.js +293 -6
- package/dist/commands/onboard-eve-identity.js +1 -1
- package/dist/commands/skills-manifest.js +89 -29
- package/dist/commands/status.js +52 -50
- package/dist/daemon/launchd.js +14 -0
- package/dist/entry.js +0 -0
- package/dist/native/nexus-cloud/darwin-arm64/nexus-cloud +0 -0
- package/dist/native/nexus-cloud/darwin-arm64/nexus-cloud-rs +0 -0
- package/dist/utils.js +6 -2
- package/docs/AGENTS.default.md +1 -1
- package/docs/configuration.md +1 -1
- package/docs/feature-inventory/overview.md +2 -2
- package/docs/reference/templates/AGENTS.md +172 -109
- package/docs/templates/AGENTS.md +140 -199
- package/docs/templates/BOOTSTRAP.md +40 -20
- package/docs/templates/IDENTITY.md +6 -0
- package/docs/templates/USER.md +22 -2
- package/package.json +3 -1
- package/skills/{notion → connectors/notion}/SKILL.md +1 -1
- package/skills/{filesystem → guides/filesystem}/SKILL.md +1 -1
- package/skills/{onboarding → guides/onboarding}/SKILL.md +1 -1
- package/skills/{onboarding → guides/onboarding}/docs/CAPABILITY_TAXONOMY.md +5 -5
- package/skills/{onboarding → guides/onboarding}/docs/CLI_GRAMMAR.md +8 -8
- package/skills/{onboarding → guides/onboarding}/docs/CLI_GRAMMAR_ONBOARDING.md +2 -2
- package/skills/{onboarding → guides/onboarding}/docs/CLI_GRAMMAR_SKILLS.md +26 -20
- package/skills/{onboarding → guides/onboarding}/docs/GOAL_STATE_ARCHITECTURE.md +38 -43
- package/skills/{onboarding → guides/onboarding}/docs/NEXUS_SYSTEM_OVERVIEW.md +4 -4
- package/skills/{onboarding → guides/onboarding}/docs/SKILLS_HUB_SPEC.md +1 -1
- package/skills/{onboarding → guides/onboarding}/docs/SKILLS_SPECIFICATION.md +8 -7
- package/skills/{onboarding → guides/onboarding}/docs/SKILL_GATEWAY_DESIGN.md +16 -16
- package/skills/{onboarding → guides/onboarding}/docs/SKILL_GATEWAY_PRD.md +10 -12
- package/skills/guides/onboarding/docs/canonical/00_CONFLICT_ANALYSIS.md +463 -0
- package/skills/guides/onboarding/docs/canonical/01_NEXUS_OVERVIEW.md +167 -0
- package/skills/guides/onboarding/docs/canonical/02_CLI_REFERENCE.md +404 -0
- package/skills/guides/onboarding/docs/canonical/03_STATE_ARCHITECTURE.md +357 -0
- package/skills/guides/onboarding/docs/canonical/04_SKILL_SPECIFICATION.md +393 -0
- package/skills/guides/onboarding/docs/canonical/05_CAPABILITY_TAXONOMY.md +298 -0
- package/skills/guides/onboarding/docs/canonical/06_CAPABILITIES_REFERENCE.md +207 -0
- package/skills/guides/onboarding/docs/canonical/07_AGENT_BINDINGS.md +85 -0
- package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/nexus-cloud.md +2 -2
- package/skills/{onboarding → guides/onboarding}/scripts/ralph/progress.txt +1 -1
- package/skills/{nexus-cloud → tools/nexus-cloud}/SKILL.md +2 -1
- package/skills/{nexus-cloud → tools/nexus-cloud}/docs/setup.md +1 -1
- package/docs/templates/PROFILE.md +0 -14
- /package/skills/{brave-search → connectors/brave-search}/SKILL.md +0 -0
- /package/skills/{brave-search → connectors/brave-search}/docs/setup.md +0 -0
- /package/skills/{brave-search → connectors/brave-search}/docs/troubleshooting.md +0 -0
- /package/skills/{brave-search → connectors/brave-search}/docs/usage.md +0 -0
- /package/skills/{brave-search → connectors/brave-search}/scripts/content.mjs +0 -0
- /package/skills/{brave-search → connectors/brave-search}/scripts/search.mjs +0 -0
- /package/skills/{discord → connectors/discord}/SKILL.md +0 -0
- /package/skills/{gemini → connectors/gemini}/SKILL.md +0 -0
- /package/skills/{github → connectors/github}/SKILL.md +0 -0
- /package/skills/{github → connectors/github}/docs/setup.md +0 -0
- /package/skills/{github → connectors/github}/docs/troubleshooting.md +0 -0
- /package/skills/{google-oauth → connectors/google-oauth}/SKILL.md +0 -0
- /package/skills/{slack → connectors/slack}/SKILL.md +0 -0
- /package/skills/{telegram → connectors/telegram}/SKILL.md +0 -0
- /package/skills/{telegram → connectors/telegram}/docs/pairing.md +0 -0
- /package/skills/{telegram → connectors/telegram}/docs/setup.md +0 -0
- /package/skills/{telegram → connectors/telegram}/docs/webhook.md +0 -0
- /package/skills/{wacli → connectors/wacli}/SKILL.md +0 -0
- /package/skills/{wacli → connectors/wacli}/docs/auth.md +0 -0
- /package/skills/{wacli → connectors/wacli}/docs/backup.md +0 -0
- /package/skills/{wacli → connectors/wacli}/docs/troubleshooting.md +0 -0
- /package/skills/{browser-use-agent-sdk → guides/browser-use-agent-sdk}/SKILL.md +0 -0
- /package/skills/{json-render → guides/json-render}/SKILL.md +0 -0
- /package/skills/{json-render → guides/json-render}/assets/components/README.md +0 -0
- /package/skills/{json-render → guides/json-render}/assets/components/catalog.ts +0 -0
- /package/skills/{json-render → guides/json-render}/assets/components/registry.tsx +0 -0
- /package/skills/{json-render → guides/json-render}/assets/demo/App.css +0 -0
- /package/skills/{json-render → guides/json-render}/assets/demo/App.tsx +0 -0
- /package/skills/{json-render → guides/json-render}/assets/demo/README.md +0 -0
- /package/skills/{json-render → guides/json-render}/assets/demo/catalog.ts +0 -0
- /package/skills/{json-render → guides/json-render}/assets/demo/data/nexus-core.json +0 -0
- /package/skills/{json-render → guides/json-render}/assets/demo/index.css +0 -0
- /package/skills/{json-render → guides/json-render}/assets/demo/registry.tsx +0 -0
- /package/skills/{json-render → guides/json-render}/docs/nexus-state-demo.md +0 -0
- /package/skills/{json-render → guides/json-render}/docs/shadcn-preset.md +0 -0
- /package/skills/{json-render → guides/json-render}/scripts/create-vite-demo.sh +0 -0
- /package/skills/{json-render → guides/json-render}/scripts/llm-server/README.md +0 -0
- /package/skills/{json-render → guides/json-render}/scripts/llm-server/catalog.ts +0 -0
- /package/skills/{json-render → guides/json-render}/scripts/llm-server/package-lock.json +0 -0
- /package/skills/{json-render → guides/json-render}/scripts/llm-server/package.json +0 -0
- /package/skills/{json-render → guides/json-render}/scripts/llm-server/server.ts +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/CAPABILITIES.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/CLI_GRAMMAR_CREDENTIALS.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/DOCUMENTATION_OVERVIEW.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/ENTITY_MODEL.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/SKILL_INVENTORY.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/STATE_ARCHITECTURE.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/TROUBLESHOOTING.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/USER_JOURNEY.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/WOW_MOMENTS.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/agent-apple-id.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/1password.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/TEMPLATE.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/aix.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/bird.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/brave-search.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/comms.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/computer-use.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/cron-and-heartbeat.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/eve.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/github.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/gog.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/homebrew-prereqs.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/qmd.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/telegram.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/wacli.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/docs/skill-deep-dives/weather.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/scripts/ralph/prd.json +0 -0
- /package/skills/{onboarding → guides/onboarding}/scripts/ralph/prompt.md +0 -0
- /package/skills/{onboarding → guides/onboarding}/scripts/ralph/ralph.log +0 -0
- /package/skills/{onboarding → guides/onboarding}/scripts/ralph/ralph.sh +0 -0
- /package/skills/{onboarding → guides/onboarding}/scripts/setup-cursor-skills.sh +0 -0
- /package/skills/{1password → tools/1password}/SKILL.md +0 -0
- /package/skills/{1password → tools/1password}/docs/setup.md +0 -0
- /package/skills/{1password → tools/1password}/docs/troubleshooting.md +0 -0
- /package/skills/{1password → tools/1password}/references/cli-examples.md +0 -0
- /package/skills/{1password → tools/1password}/references/get-started.md +0 -0
- /package/skills/{agent-browser → tools/agent-browser}/SKILL.md +0 -0
- /package/skills/{agent-browser → tools/agent-browser}/docs/browser-use-eval.md +0 -0
- /package/skills/{agent-browser → tools/agent-browser}/docs/first-tests.md +0 -0
- /package/skills/{agent-browser → tools/agent-browser}/docs/wordle-nyt-eval.js +0 -0
- /package/skills/{aix → tools/aix}/SKILL.md +0 -0
- /package/skills/{aix → tools/aix}/docs/embeddings.md +0 -0
- /package/skills/{aix → tools/aix}/docs/setup.md +0 -0
- /package/skills/{aix → tools/aix}/docs/troubleshooting.md +0 -0
- /package/skills/{aix → tools/aix}/references/sql.md +0 -0
- /package/skills/{apple-notes → tools/apple-notes}/SKILL.md +0 -0
- /package/skills/{apple-reminders → tools/apple-reminders}/SKILL.md +0 -0
- /package/skills/{bear-notes → tools/bear-notes}/SKILL.md +0 -0
- /package/skills/{bird → tools/bird}/SKILL.md +0 -0
- /package/skills/{bird → tools/bird}/docs/auth.md +0 -0
- /package/skills/{bird → tools/bird}/docs/troubleshooting.md +0 -0
- /package/skills/{blogwatcher → tools/blogwatcher}/SKILL.md +0 -0
- /package/skills/{blucli → tools/blucli}/SKILL.md +0 -0
- /package/skills/{camsnap → tools/camsnap}/SKILL.md +0 -0
- /package/skills/{clawdhub → tools/clawdhub}/SKILL.md +0 -0
- /package/skills/{coding-agent → tools/coding-agent}/SKILL.md +0 -0
- /package/skills/{comms → tools/comms}/SKILL.md +0 -0
- /package/skills/{comms → tools/comms}/docs/adapters.md +0 -0
- /package/skills/{comms → tools/comms}/docs/setup.md +0 -0
- /package/skills/{comms → tools/comms}/docs/troubleshooting.md +0 -0
- /package/skills/{comms → tools/comms}/references/schema.md +0 -0
- /package/skills/{computer-use → tools/computer-use}/SKILL.md +0 -0
- /package/skills/{computer-use → tools/computer-use}/docs/open-interpreter.md +0 -0
- /package/skills/{computer-use → tools/computer-use}/docs/peekaboo.md +0 -0
- /package/skills/{computer-use → tools/computer-use}/docs/setup.md +0 -0
- /package/skills/{computer-use → tools/computer-use}/docs/troubleshooting.md +0 -0
- /package/skills/{eightctl → tools/eightctl}/SKILL.md +0 -0
- /package/skills/{eve → tools/eve}/SKILL.md +0 -0
- /package/skills/{eve → tools/eve}/docs/dual-account.md +0 -0
- /package/skills/{eve → tools/eve}/docs/intelligence.md +0 -0
- /package/skills/{eve → tools/eve}/docs/setup.md +0 -0
- /package/skills/{eve → tools/eve}/docs/troubleshooting.md +0 -0
- /package/skills/{eve → tools/eve}/scripts/setup-dual-account.sh +0 -0
- /package/skills/{food-order → tools/food-order}/SKILL.md +0 -0
- /package/skills/{gh → tools/gh}/SKILL.md +0 -0
- /package/skills/{gh → tools/gh}/docs/usage.md +0 -0
- /package/skills/{gifgrep → tools/gifgrep}/SKILL.md +0 -0
- /package/skills/{gog → tools/gog}/SKILL.md +0 -0
- /package/skills/{gog → tools/gog}/docs/portability.md +0 -0
- /package/skills/{gog → tools/gog}/docs/setup.md +0 -0
- /package/skills/{gog → tools/gog}/docs/troubleshooting.md +0 -0
- /package/skills/{gog → tools/gog}/scripts/cdp/README.md +0 -0
- /package/skills/{gog → tools/gog}/scripts/cdp/add_test_users.py +0 -0
- /package/skills/{gog → tools/gog}/scripts/cdp/auth_add_accounts.py +0 -0
- /package/skills/{gog → tools/gog}/scripts/cdp/auth_add_accounts_manual.py +0 -0
- /package/skills/{gog → tools/gog}/scripts/cdp/create_oauth_client.py +0 -0
- /package/skills/{gog → tools/gog}/scripts/cdp/launch_cdp_chrome.sh +0 -0
- /package/skills/{goplaces → tools/goplaces}/SKILL.md +0 -0
- /package/skills/{imsg → tools/imsg}/SKILL.md +0 -0
- /package/skills/{local-places → tools/local-places}/SERVER_README.md +0 -0
- /package/skills/{local-places → tools/local-places}/SKILL.md +0 -0
- /package/skills/{local-places → tools/local-places}/pyproject.toml +0 -0
- /package/skills/{local-places → tools/local-places}/src/local_places/__init__.py +0 -0
- /package/skills/{local-places → tools/local-places}/src/local_places/__pycache__/__init__.cpython-314.pyc +0 -0
- /package/skills/{local-places → tools/local-places}/src/local_places/__pycache__/google_places.cpython-314.pyc +0 -0
- /package/skills/{local-places → tools/local-places}/src/local_places/__pycache__/main.cpython-314.pyc +0 -0
- /package/skills/{local-places → tools/local-places}/src/local_places/__pycache__/schemas.cpython-314.pyc +0 -0
- /package/skills/{local-places → tools/local-places}/src/local_places/google_places.py +0 -0
- /package/skills/{local-places → tools/local-places}/src/local_places/main.py +0 -0
- /package/skills/{local-places → tools/local-places}/src/local_places/schemas.py +0 -0
- /package/skills/{mcporter → tools/mcporter}/SKILL.md +0 -0
- /package/skills/{model-usage → tools/model-usage}/SKILL.md +0 -0
- /package/skills/{model-usage → tools/model-usage}/references/codexbar-cli.md +0 -0
- /package/skills/{model-usage → tools/model-usage}/scripts/model_usage.py +0 -0
- /package/skills/{nano-banana-pro → tools/nano-banana-pro}/SKILL.md +0 -0
- /package/skills/{nano-banana-pro → tools/nano-banana-pro}/scripts/generate_image.py +0 -0
- /package/skills/{nano-pdf → tools/nano-pdf}/SKILL.md +0 -0
- /package/skills/{nexus-cloud → tools/nexus-cloud}/docs/security.md +0 -0
- /package/skills/{nexus-cloud → tools/nexus-cloud}/docs/troubleshooting.md +0 -0
- /package/skills/{obsidian → tools/obsidian}/SKILL.md +0 -0
- /package/skills/{openai-image-gen → tools/openai-image-gen}/SKILL.md +0 -0
- /package/skills/{openai-image-gen → tools/openai-image-gen}/scripts/gen.py +0 -0
- /package/skills/{openai-whisper → tools/openai-whisper}/SKILL.md +0 -0
- /package/skills/{openai-whisper-api → tools/openai-whisper-api}/SKILL.md +0 -0
- /package/skills/{openai-whisper-api → tools/openai-whisper-api}/scripts/transcribe.sh +0 -0
- /package/skills/{openhue → tools/openhue}/SKILL.md +0 -0
- /package/skills/{oracle → tools/oracle}/SKILL.md +0 -0
- /package/skills/{ordercli → tools/ordercli}/SKILL.md +0 -0
- /package/skills/{peekaboo → tools/peekaboo}/SKILL.md +0 -0
- /package/skills/{qmd → tools/qmd}/SKILL.md +0 -0
- /package/skills/{qmd → tools/qmd}/docs/mcp.md +0 -0
- /package/skills/{qmd → tools/qmd}/docs/ollama.md +0 -0
- /package/skills/{qmd → tools/qmd}/docs/setup.md +0 -0
- /package/skills/{sag → tools/sag}/SKILL.md +0 -0
- /package/skills/{skill-cli-template → tools/skill-cli-template}/SKILL.md +0 -0
- /package/skills/{songsee → tools/songsee}/SKILL.md +0 -0
- /package/skills/{sonoscli → tools/sonoscli}/SKILL.md +0 -0
- /package/skills/{spotify-player → tools/spotify-player}/SKILL.md +0 -0
- /package/skills/{summarize → tools/summarize}/SKILL.md +0 -0
- /package/skills/{things-mac → tools/things-mac}/SKILL.md +0 -0
- /package/skills/{tmux → tools/tmux}/SKILL.md +0 -0
- /package/skills/{tmux → tools/tmux}/scripts/find-sessions.sh +0 -0
- /package/skills/{tmux → tools/tmux}/scripts/wait-for-text.sh +0 -0
- /package/skills/{trello → tools/trello}/SKILL.md +0 -0
- /package/skills/{upstream-sync → tools/upstream-sync}/SKILL.md +0 -0
- /package/skills/{upstream-sync → tools/upstream-sync}/scripts/auto-port.sh +0 -0
- /package/skills/{upstream-sync → tools/upstream-sync}/scripts/check-all.sh +0 -0
- /package/skills/{upstream-sync → tools/upstream-sync}/scripts/check-nexus.sh +0 -0
- /package/skills/{upstream-sync → tools/upstream-sync}/scripts/check-pi-ai.sh +0 -0
- /package/skills/{video-frames → tools/video-frames}/SKILL.md +0 -0
- /package/skills/{video-frames → tools/video-frames}/scripts/frame.sh +0 -0
- /package/skills/{weather → tools/weather}/SKILL.md +0 -0
- /package/skills/{weather → tools/weather}/docs/usage.md +0 -0
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
# CLI Grammar: Skills, Tools, Connectors, Guides
|
|
2
2
|
|
|
3
3
|
> Defines the nexus CLI interface for entity discovery, verification, and execution.
|
|
4
|
-
>
|
|
4
|
+
>
|
|
5
|
+
> **Legacy note:** The current CLI uses `nexus skill list|info|use|verify` and
|
|
6
|
+
> does not execute skills through the CLI. This document is pending a full refresh
|
|
7
|
+
> to match the core CLI spec.
|
|
8
|
+
>
|
|
5
9
|
> **Scope:** This document covers skill-related commands only. Credentials and onboarding are defined separately.
|
|
6
10
|
|
|
7
11
|
## Design Principles
|
|
8
12
|
|
|
9
|
-
1. **Unified discovery, type-specific actions** - Use `nexus skill` for common operations (list,
|
|
13
|
+
1. **Unified discovery, type-specific actions** - Use `nexus skill` for common operations (list, info, use, verify). Use type-specific commands for actions unique to that type.
|
|
10
14
|
|
|
11
15
|
2. **Progressive disclosure** - `nexus skill list` shows everything. Filters and type-specific commands reveal more detail.
|
|
12
16
|
|
|
@@ -135,22 +139,22 @@ To fix:
|
|
|
135
139
|
Run 'nexus connector setup google-oauth'
|
|
136
140
|
```
|
|
137
141
|
|
|
138
|
-
#### `nexus skill
|
|
142
|
+
#### `nexus skill use <name>`
|
|
139
143
|
|
|
140
|
-
|
|
144
|
+
Return the SKILL.md guide for a skill. All usages are logged.
|
|
141
145
|
|
|
142
146
|
```bash
|
|
143
|
-
nexus skill
|
|
144
|
-
nexus skill
|
|
145
|
-
nexus skill
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
nexus skill use gog # Output tool guide
|
|
148
|
+
nexus skill use filesystem # Output guide prompt
|
|
149
|
+
nexus skill use computer-use # Output guide prompt
|
|
150
|
+
|
|
151
|
+
# After reading the guide, run the tool directly:
|
|
152
|
+
gog gmail search "is:unread"
|
|
149
153
|
```
|
|
150
154
|
|
|
151
155
|
**Behavior by type:**
|
|
152
|
-
- **Tool**:
|
|
153
|
-
- **Connector**: Outputs setup guide
|
|
156
|
+
- **Tool**: Outputs usage/installation guide
|
|
157
|
+
- **Connector**: Outputs setup guide
|
|
154
158
|
- **Guide**: Outputs the prompt/instructions
|
|
155
159
|
|
|
156
160
|
#### `nexus skill stats [name]`
|
|
@@ -329,11 +333,11 @@ Used by tools:
|
|
|
329
333
|
|
|
330
334
|
### `nexus guide` - Guide-Specific Operations
|
|
331
335
|
|
|
332
|
-
Guides are mostly accessed via `nexus skill
|
|
336
|
+
Guides are mostly accessed via `nexus skill info/use`, but have one specific command.
|
|
333
337
|
|
|
334
338
|
#### `nexus guide use <name>`
|
|
335
339
|
|
|
336
|
-
Shortcut to output a guide's prompt (same as `nexus skill
|
|
340
|
+
Shortcut to output a guide's prompt (same as `nexus skill use <name>` for guides).
|
|
337
341
|
|
|
338
342
|
```bash
|
|
339
343
|
nexus guide use computer-use # Output the guide
|
|
@@ -345,9 +349,9 @@ nexus guide use filesystem # Output the guide
|
|
|
345
349
|
## Entity Resolution
|
|
346
350
|
|
|
347
351
|
When a name is provided, nexus searches in order:
|
|
348
|
-
1. `tools/<name>/SKILL.md`
|
|
349
|
-
2. `connectors/<name>/SKILL.md`
|
|
350
|
-
3. `guides/<name>/SKILL.md`
|
|
352
|
+
1. `skills/tools/<name>/SKILL.md`
|
|
353
|
+
2. `skills/connectors/<name>/SKILL.md`
|
|
354
|
+
3. `skills/guides/<name>/SKILL.md`
|
|
351
355
|
4. Legacy `skills/<name>/SKILL.md` (during migration)
|
|
352
356
|
|
|
353
357
|
If ambiguous (same name in multiple locations), prefer the explicit type command:
|
|
@@ -360,7 +364,7 @@ nexus connector show myname
|
|
|
360
364
|
|
|
361
365
|
## State Tracking
|
|
362
366
|
|
|
363
|
-
All `nexus skill
|
|
367
|
+
All `nexus skill use` invocations are logged to:
|
|
364
368
|
```
|
|
365
369
|
~/nexus/state/nexus/skills/<name>/
|
|
366
370
|
├── state.json # configured, lastUsed, lastVerified, errors
|
|
@@ -402,7 +406,8 @@ nexus skill list --provides email --locked
|
|
|
402
406
|
nexus skill verify gog
|
|
403
407
|
|
|
404
408
|
# Use gog
|
|
405
|
-
nexus skill
|
|
409
|
+
nexus skill use gog
|
|
410
|
+
gog gmail search "is:unread" --max 5
|
|
406
411
|
```
|
|
407
412
|
|
|
408
413
|
### User setting up a new tool
|
|
@@ -421,7 +426,8 @@ nexus connector setup google-oauth
|
|
|
421
426
|
nexus skill verify gog
|
|
422
427
|
|
|
423
428
|
# Use it
|
|
424
|
-
nexus skill
|
|
429
|
+
nexus skill use gog
|
|
430
|
+
gog gmail search "is:unread"
|
|
425
431
|
```
|
|
426
432
|
|
|
427
433
|
### Checking what needs configuration
|
|
@@ -47,14 +47,14 @@ System works without full configuration. Pure prompt-only skills work immediatel
|
|
|
47
47
|
**Characteristics**:
|
|
48
48
|
- **Static content** - Rarely changes, contains protocols not state
|
|
49
49
|
- **Nexus-managed** - Created by `nexus init`, can be repopulated if deleted
|
|
50
|
-
- **Points to nexus CLI** - Agent's first action is always `nexus
|
|
50
|
+
- **Points to nexus CLI** - Agent's first action is always `nexus status`
|
|
51
51
|
- **Contains**: Identity file pointers, safety rules, memory protocols, gateway instructions
|
|
52
52
|
|
|
53
53
|
**Key Instruction**:
|
|
54
54
|
```markdown
|
|
55
55
|
## First Action - Always
|
|
56
56
|
Before doing ANYTHING else, run:
|
|
57
|
-
nexus
|
|
57
|
+
nexus status
|
|
58
58
|
|
|
59
59
|
This tells you who you are, what you can do, and what to do next.
|
|
60
60
|
```
|
|
@@ -108,25 +108,22 @@ home/
|
|
|
108
108
|
state/
|
|
109
109
|
├── nexus/
|
|
110
110
|
│ ├── gateway.json # Gateway configuration
|
|
111
|
-
│ ├── skills/ # Per-skill state and usage logs
|
|
112
|
-
│ │ ├── manifest.json
|
|
113
|
-
│ │ └── {skill}/
|
|
114
|
-
│ │ ├── state.json
|
|
115
|
-
│ │ └── usage.log
|
|
116
111
|
│ └── onboarding/
|
|
117
112
|
│ ├── progress.json
|
|
118
113
|
│ └── wizard.json
|
|
114
|
+
├── skills/ # Per-skill state and usage logs
|
|
115
|
+
│ ├── manifest.json
|
|
116
|
+
│ └── {skill}/
|
|
117
|
+
│ ├── state.json
|
|
118
|
+
│ └── usage.log
|
|
119
119
|
├── credentials/ # Centralized credentials tree
|
|
120
120
|
├── user/
|
|
121
|
-
│ └──
|
|
122
|
-
│ └── PROFILE.md # User profile
|
|
121
|
+
│ └── IDENTITY.md # User profile
|
|
123
122
|
└── agents/
|
|
124
123
|
└── {agent}/
|
|
125
|
-
├──
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
│ └── MEMORY.md
|
|
129
|
-
└── config.json
|
|
124
|
+
├── IDENTITY.md
|
|
125
|
+
├── SOUL.md
|
|
126
|
+
└── MEMORY.md
|
|
130
127
|
```
|
|
131
128
|
|
|
132
129
|
### skills/ (Nexus-Owned)
|
|
@@ -135,8 +132,8 @@ state/
|
|
|
135
132
|
|
|
136
133
|
**Characteristics**:
|
|
137
134
|
- Read-only for agents (they execute, don't modify)
|
|
138
|
-
- Discovered via `nexus
|
|
139
|
-
-
|
|
135
|
+
- Discovered via `nexus status` or `nexus skill list`
|
|
136
|
+
- Accessed via `nexus skill use`
|
|
140
137
|
|
|
141
138
|
---
|
|
142
139
|
|
|
@@ -151,9 +148,9 @@ New installations have no identity configured. How does the agent know to bootst
|
|
|
151
148
|
### Detection Flow
|
|
152
149
|
|
|
153
150
|
```
|
|
154
|
-
Agent runs: nexus
|
|
151
|
+
Agent runs: nexus status
|
|
155
152
|
│
|
|
156
|
-
├─► Nexus checks:
|
|
153
|
+
├─► Nexus checks: Do state/agents/{agent}/IDENTITY.md and state/user/IDENTITY.md exist and have content?
|
|
157
154
|
│
|
|
158
155
|
├─► If NO → Return: "Identity not configured. Starting bootstrap conversation..."
|
|
159
156
|
│ Include: BOOTSTRAP.md contents or instructions
|
|
@@ -170,11 +167,11 @@ The agent discovers:
|
|
|
170
167
|
2. **Who the user is** - Name, preferences, how to address them
|
|
171
168
|
3. **Shared values** - What matters, boundaries, working style
|
|
172
169
|
|
|
173
|
-
Output: Agent writes to `state/agents/{agent}
|
|
170
|
+
Output: Agent writes to `state/agents/{agent}/` and `state/user/`
|
|
174
171
|
|
|
175
172
|
### Agent Identity Tracking
|
|
176
173
|
|
|
177
|
-
**Location**: `state/agents/{agent}
|
|
174
|
+
**Location**: `state/agents/{agent}/`
|
|
178
175
|
|
|
179
176
|
**Files**:
|
|
180
177
|
- `IDENTITY.md` - Name, emoji, creature type, vibe
|
|
@@ -182,7 +179,7 @@ Output: Agent writes to `state/agents/{agent}/identity/` and `state/user/identit
|
|
|
182
179
|
- `MEMORY.md` - Curated long-term memories
|
|
183
180
|
|
|
184
181
|
**User Understanding**:
|
|
185
|
-
The agent's understanding of the user lives in `state/user/
|
|
182
|
+
The agent's understanding of the user lives in `state/user/IDENTITY.md`:
|
|
186
183
|
- How to address them
|
|
187
184
|
- Timezone
|
|
188
185
|
- Communication preferences
|
|
@@ -207,25 +204,23 @@ Creates the following structure with sensible defaults:
|
|
|
207
204
|
│ └── rules # Cursor-specific config (pointer + extras)
|
|
208
205
|
├── state/
|
|
209
206
|
│ ├── nexus/
|
|
210
|
-
│ │ ├── skills/
|
|
211
|
-
│ │ │ └── manifest.json
|
|
212
207
|
│ │ └── onboarding/
|
|
213
208
|
│ │ └── progress.json
|
|
209
|
+
│ ├── skills/
|
|
210
|
+
│ │ └── manifest.json
|
|
214
211
|
│ ├── credentials/
|
|
215
212
|
│ │ └── index.json
|
|
216
213
|
│ ├── user/
|
|
217
|
-
│ │ └──
|
|
218
|
-
│ │ └── PROFILE.md # Empty template
|
|
214
|
+
│ │ └── IDENTITY.md # Empty template
|
|
219
215
|
│ └── agents/
|
|
220
216
|
│ └── default/
|
|
221
|
-
│
|
|
222
|
-
│
|
|
223
|
-
│
|
|
224
|
-
│ └── MEMORY.md # Empty
|
|
217
|
+
│ ├── IDENTITY.md # Empty template
|
|
218
|
+
│ ├── SOUL.md # Template content
|
|
219
|
+
│ └── MEMORY.md # Empty
|
|
225
220
|
├── home/
|
|
226
221
|
│ ├── memory/ # For daily logs
|
|
227
222
|
│ └── projects/ # For user's repos
|
|
228
|
-
└── skills/ #
|
|
223
|
+
└── skills/ # Skill definitions (bundled + managed)
|
|
229
224
|
```
|
|
230
225
|
|
|
231
226
|
### Automatic Setup
|
|
@@ -233,7 +228,7 @@ Creates the following structure with sensible defaults:
|
|
|
233
228
|
- **AGENTS.md** - Populated from template, contains full protocols
|
|
234
229
|
- **.cursor/rules** - Populated with pointer pattern + cursor specifics
|
|
235
230
|
- **State folders** - Created with empty/template files
|
|
236
|
-
- **Skills** -
|
|
231
|
+
- **Skills** - Copied into `~/nexus/skills`
|
|
237
232
|
|
|
238
233
|
### Idempotent Behavior
|
|
239
234
|
|
|
@@ -255,7 +250,7 @@ Running `nexus init` on existing workspace:
|
|
|
255
250
|
- Raw daily logs of what happened
|
|
256
251
|
- Agent reads today + yesterday on session start
|
|
257
252
|
|
|
258
|
-
**Long-term Memory**: `state/agents/{agent}/
|
|
253
|
+
**Long-term Memory**: `state/agents/{agent}/MEMORY.md`
|
|
259
254
|
- Curated by agent
|
|
260
255
|
- Distilled insights, not raw logs
|
|
261
256
|
- Security: only loaded in main sessions (not shared contexts)
|
|
@@ -282,7 +277,7 @@ For simplicity, assume one agent per workspace:
|
|
|
282
277
|
|
|
283
278
|
### Agent Name Discovery
|
|
284
279
|
|
|
285
|
-
When `nexus
|
|
280
|
+
When `nexus status` runs:
|
|
286
281
|
1. Look for agents in `state/agents/`
|
|
287
282
|
2. If exactly one → use that
|
|
288
283
|
3. If zero → use "default"
|
|
@@ -294,7 +289,7 @@ When `nexus skills status` runs:
|
|
|
294
289
|
|
|
295
290
|
### Why Gateway?
|
|
296
291
|
|
|
297
|
-
All skill
|
|
292
|
+
All skill access flows through `nexus skill use`:
|
|
298
293
|
- **Automatic logging** - No agent cooperation needed
|
|
299
294
|
- **State tracking** - lastUsed, errors, success rate
|
|
300
295
|
- **Verification** - Check configuration before first run
|
|
@@ -304,14 +299,14 @@ All skill execution flows through `nexus skill run`:
|
|
|
304
299
|
|
|
305
300
|
```bash
|
|
306
301
|
# Status and discovery
|
|
307
|
-
nexus
|
|
308
|
-
nexus
|
|
309
|
-
nexus
|
|
302
|
+
nexus status # What's ready, what's locked, recommendations
|
|
303
|
+
nexus skill list --ready # Only configured skills
|
|
304
|
+
nexus skill list --needs-setup # Only unconfigured skills
|
|
310
305
|
|
|
311
306
|
# Skill operations
|
|
312
307
|
nexus skill show <name> # Details and prompt
|
|
313
308
|
nexus skill verify <name> # Check configuration
|
|
314
|
-
nexus skill
|
|
309
|
+
nexus skill use <name> # Return guide (logged)
|
|
315
310
|
nexus skill stats [name] # Usage analytics
|
|
316
311
|
|
|
317
312
|
# Identity and credentials
|
|
@@ -334,7 +329,7 @@ The existing BOOTSTRAP.md and SOUL.md templates are good. Changes:
|
|
|
334
329
|
| Current | Goal State |
|
|
335
330
|
|---------|------------|
|
|
336
331
|
| .cursor/rules has full instructions | Points to AGENTS.md |
|
|
337
|
-
| Agent reads multiple config files | Agent queries `nexus
|
|
332
|
+
| Agent reads multiple config files | Agent queries `nexus status` |
|
|
338
333
|
| Onboarding is separate skill | Built into nexus core |
|
|
339
334
|
| Manual skill verification | Automatic via gateway |
|
|
340
335
|
|
|
@@ -347,9 +342,9 @@ The existing BOOTSTRAP.md and SOUL.md templates are good. Changes:
|
|
|
347
342
|
│
|
|
348
343
|
2. IDE loads .cursor/rules (or AGENTS.md)
|
|
349
344
|
│
|
|
350
|
-
3. Agent sees: "Run nexus
|
|
345
|
+
3. Agent sees: "Run nexus status first"
|
|
351
346
|
│
|
|
352
|
-
4. Agent runs: nexus
|
|
347
|
+
4. Agent runs: nexus status
|
|
353
348
|
│
|
|
354
349
|
├─► No identity? → Nexus returns bootstrap instructions
|
|
355
350
|
│ Agent starts identity conversation
|
|
@@ -374,9 +369,9 @@ The existing BOOTSTRAP.md and SOUL.md templates are good. Changes:
|
|
|
374
369
|
|
|
375
370
|
| Decision | Choice | Rationale |
|
|
376
371
|
|----------|--------|-----------|
|
|
377
|
-
| Where does identity live? | `state/agents/{agent}
|
|
372
|
+
| Where does identity live? | `state/agents/{agent}/` | Protected from user accidents |
|
|
378
373
|
| Who owns home/? | User entirely | Clean separation |
|
|
379
|
-
| How does agent know state? | `nexus
|
|
374
|
+
| How does agent know state? | `nexus status` | Single source of truth |
|
|
380
375
|
| What triggers bootstrap? | Nexus detects missing identity | Minimal agent responsibility |
|
|
381
376
|
| AGENTS.md vs .cursorrules? | Cursor rules points to AGENTS.md | Avoid duplication |
|
|
382
377
|
| Multi-agent support? | Defer, assume single agent | Simplicity first |
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
│ │ • Memory protocols (daily logs, long-term memory, qmd) │ │
|
|
34
34
|
│ │ • Safety rules (external vs internal actions) │ │
|
|
35
35
|
│ │ • Social behavior (group chats, heartbeats) │ │
|
|
36
|
-
│ │ • Gateway instructions (nexus skill
|
|
36
|
+
│ │ • Gateway instructions (nexus skill use) │ │
|
|
37
37
|
│ │ • First action: run `nexus skills status` │ │
|
|
38
38
|
│ └─────────────────────────────────────────────────────────────────────────┘ │
|
|
39
39
|
│ │ │
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
│ │
|
|
144
144
|
│ nexus skill show <name> # Skill details + prompt │
|
|
145
145
|
│ nexus skill verify <name> # Check if configured correctly │
|
|
146
|
-
│ nexus skill
|
|
146
|
+
│ nexus skill use <name> # Return guide (logged) │
|
|
147
147
|
│ nexus skill stats [name] # Usage analytics │
|
|
148
148
|
│ │
|
|
149
149
|
├─────────────────────────────────────────────────────────────────────────────────┤
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
│ Agent wants to use a skill │
|
|
154
154
|
│ │ │
|
|
155
155
|
│ ▼ │
|
|
156
|
-
│ nexus skill
|
|
156
|
+
│ nexus skill use <name> │
|
|
157
157
|
│ │ │
|
|
158
158
|
│ ├──► Is this first run? ──► YES ──► Verify skill ──► Pass? ──► Continue │
|
|
159
159
|
│ │ └──► Fail? ──► Show setup │
|
|
@@ -184,7 +184,7 @@ nexus status # Convenience alias (planned)
|
|
|
184
184
|
nexus skills list [--ready|--locked] # Discovery
|
|
185
185
|
nexus skill show <name> # Prompt + metadata + setup
|
|
186
186
|
nexus skill verify <name> # Check configuration
|
|
187
|
-
nexus skill
|
|
187
|
+
nexus skill use <name> # Guide retrieval (logged)
|
|
188
188
|
nexus skill stats [name] # Usage analytics
|
|
189
189
|
|
|
190
190
|
# Credentials + ownership
|
|
@@ -402,7 +402,7 @@ CLI integration (nexus)
|
|
|
402
402
|
Local usage (existing):
|
|
403
403
|
- `nexus skill use <name>` -> show SKILL.md (alias of show)
|
|
404
404
|
- `nexus skill verify <name>`
|
|
405
|
-
- `nexus skill
|
|
405
|
+
- `nexus skill use <name>`
|
|
406
406
|
- `nexus skill stats [name]`
|
|
407
407
|
|
|
408
408
|
Hub operations (new/extend `nexus skills`):
|
|
@@ -216,7 +216,7 @@ const PROMPT_ONLY_SKILLS = new Set([
|
|
|
216
216
|
|
|
217
217
|
**Characteristics:**
|
|
218
218
|
- Always "configured" (no verification needed)
|
|
219
|
-
- Prompt is returned directly via `nexus skill
|
|
219
|
+
- Prompt is returned directly via `nexus skill use <name>`
|
|
220
220
|
- Zero dependencies
|
|
221
221
|
|
|
222
222
|
### 3.2 Tool-Backed Skills
|
|
@@ -256,9 +256,9 @@ type ToolSkillConfig = {
|
|
|
256
256
|
```
|
|
257
257
|
|
|
258
258
|
**Characteristics:**
|
|
259
|
-
- `nexus skill
|
|
259
|
+
- `nexus skill use <name>` returns the guide
|
|
260
|
+
- Tool execution happens directly (outside the CLI)
|
|
260
261
|
- Verification runs the verify command
|
|
261
|
-
- Gateway captures stdout/stderr/exit code
|
|
262
262
|
|
|
263
263
|
### 3.3 Script-Backed Skills
|
|
264
264
|
|
|
@@ -286,7 +286,8 @@ type ScriptSkillConfig = {
|
|
|
286
286
|
```
|
|
287
287
|
|
|
288
288
|
**Characteristics:**
|
|
289
|
-
- `nexus skill
|
|
289
|
+
- `nexus skill use <name>` returns the guide
|
|
290
|
+
- Script execution happens directly (outside the CLI)
|
|
290
291
|
- Working directory is the skill folder
|
|
291
292
|
- Requires both interpreter and env vars
|
|
292
293
|
|
|
@@ -540,11 +541,11 @@ nexus skills refresh
|
|
|
540
541
|
# Per-skill
|
|
541
542
|
nexus skill show <name> # Details + prompt
|
|
542
543
|
nexus skill verify <name> [--force] # Check configuration
|
|
543
|
-
nexus skill
|
|
544
|
+
nexus skill use <name> # Return guide (logged)
|
|
544
545
|
nexus skill stats [name] # Usage statistics
|
|
545
546
|
```
|
|
546
547
|
|
|
547
|
-
### 6.2 `nexus skill
|
|
548
|
+
### 6.2 `nexus skill use` Flow
|
|
548
549
|
|
|
549
550
|
```
|
|
550
551
|
1. Load skill from manifest
|
|
@@ -929,7 +930,7 @@ See `docs/setup.md` for initial configuration.
|
|
|
929
930
|
| **Three conceptual layers** | Skills (prompts), Tools (binaries), Connectors (auth) |
|
|
930
931
|
| **Skills are stateless** | Runtime state tracks execution, not skill data |
|
|
931
932
|
| **Static mappings** in code | Simple now, migrate to SKILL.md frontmatter later |
|
|
932
|
-
| **Gateway pattern** |
|
|
933
|
+
| **Gateway pattern** | Guide access via `nexus skill use` for observability |
|
|
933
934
|
| **Automatic logging** | No agent reporting required, capture everything |
|
|
934
935
|
| **Deferred: abstract deps** | Use concrete dependencies now, add interfaces later |
|
|
935
936
|
| **Deferred: crystallization** | Interesting optimization for repeated workflows |
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
|
|
13
13
|
The skill gateway is a CLI interface that:
|
|
14
14
|
1. **Gates all skill discovery** — Agent sees only what's available/configured
|
|
15
|
-
2. **Wraps
|
|
15
|
+
2. **Wraps skill access** — Every guide retrieval is logged automatically
|
|
16
16
|
3. **Tracks usage patterns** — Build "neural pathways" of what works
|
|
17
|
-
4. **Simplifies agent instructions** — Just "use `nexus skill
|
|
17
|
+
4. **Simplifies agent instructions** — Just "use `nexus skill use X`"
|
|
18
18
|
|
|
19
19
|
This solves both hard problems:
|
|
20
20
|
- **Problem 1 (Tracking State)**: Automatic via usage logging + execution gating
|
|
@@ -50,8 +50,8 @@ nexus skills path # Existing
|
|
|
50
50
|
nexus skill show <name> # Show prompt + metadata + setup guide
|
|
51
51
|
nexus skill verify <name> # Check if configured/working
|
|
52
52
|
|
|
53
|
-
# Skill
|
|
54
|
-
nexus skill
|
|
53
|
+
# Skill access (NEW - THE GATEWAY)
|
|
54
|
+
nexus skill use <name> # Return SKILL.md guide
|
|
55
55
|
|
|
56
56
|
# Usage statistics (NEW)
|
|
57
57
|
nexus skill stats [name] # Usage statistics (all or per-skill)
|
|
@@ -172,7 +172,7 @@ To configure this skill:
|
|
|
172
172
|
|
|
173
173
|
---
|
|
174
174
|
|
|
175
|
-
### `nexus skill
|
|
175
|
+
### `nexus skill use <name>`
|
|
176
176
|
|
|
177
177
|
**Purpose**: The gateway. Execute a skill's tool or return its prompt.
|
|
178
178
|
|
|
@@ -180,7 +180,7 @@ To configure this skill:
|
|
|
180
180
|
|
|
181
181
|
```
|
|
182
182
|
┌─────────────────────────────────────────────────────────────────┐
|
|
183
|
-
│ nexus skill
|
|
183
|
+
│ nexus skill use <name> │
|
|
184
184
|
├─────────────────────────────────────────────────────────────────┤
|
|
185
185
|
│ │
|
|
186
186
|
│ 1. Load skill metadata │
|
|
@@ -476,7 +476,7 @@ NEXUS SKILLS (47 total)
|
|
|
476
476
|
experimental Experimental features disabled in nexus.json
|
|
477
477
|
|
|
478
478
|
Run 'nexus skill show <name>' for details on any skill.
|
|
479
|
-
Run 'nexus skill
|
|
479
|
+
Run 'nexus skill use <name>' to read a skill guide.
|
|
480
480
|
```
|
|
481
481
|
|
|
482
482
|
**New Flags**:
|
|
@@ -492,7 +492,7 @@ Run 'nexus skill run <name>' to use a skill.
|
|
|
492
492
|
|
|
493
493
|
1. **`src/cli/skills-cli.ts`**
|
|
494
494
|
- Add `skill show <name>` subcommand
|
|
495
|
-
- Add `skill
|
|
495
|
+
- Add `skill use <name>` subcommand
|
|
496
496
|
- Add `skill verify <name>` subcommand
|
|
497
497
|
- Add `skill stats` subcommand
|
|
498
498
|
- Enhance `skills list` with status indicators
|
|
@@ -543,7 +543,7 @@ nexus skills list --ready
|
|
|
543
543
|
nexus skill show <name>
|
|
544
544
|
|
|
545
545
|
# Use a skill
|
|
546
|
-
nexus skill
|
|
546
|
+
nexus skill use <name>
|
|
547
547
|
```
|
|
548
548
|
|
|
549
549
|
If a skill isn't configured, the CLI will tell you what's needed.
|
|
@@ -558,7 +558,7 @@ If a skill isn't configured, the CLI will tell you what's needed.
|
|
|
558
558
|
Store daily memory in `home/memory/` and curated memory in `state/agents/{agent}/identity/MEMORY.md`
|
|
559
559
|
```
|
|
560
560
|
|
|
561
|
-
That's the entire protocol. Everything else flows through `nexus skill
|
|
561
|
+
That's the entire protocol. Everything else flows through `nexus skill use`.
|
|
562
562
|
|
|
563
563
|
---
|
|
564
564
|
|
|
@@ -581,7 +581,7 @@ nexus skills list --ready
|
|
|
581
581
|
nexus skill show <skill-name>
|
|
582
582
|
|
|
583
583
|
# Run a skill
|
|
584
|
-
nexus skill
|
|
584
|
+
nexus skill use <skill-name>
|
|
585
585
|
```
|
|
586
586
|
|
|
587
587
|
The CLI will handle verification and logging automatically.
|
|
@@ -614,7 +614,7 @@ The existing infrastructure already symlinks skills to where Cursor can find the
|
|
|
614
614
|
### Phase 3: Core Commands (Day 2)
|
|
615
615
|
- [ ] `nexus skill show <name>` in `skills-cli.ts`
|
|
616
616
|
- [ ] `nexus skill verify <name>` in `skills-cli.ts`
|
|
617
|
-
- [ ] `nexus skill
|
|
617
|
+
- [ ] `nexus skill use <name>` in `skills-cli.ts`
|
|
618
618
|
- [ ] Pure prompt handling
|
|
619
619
|
- [ ] Tool execution with capture
|
|
620
620
|
- [ ] First-run verification
|
|
@@ -657,7 +657,7 @@ The existing infrastructure already symlinks skills to where Cursor can find the
|
|
|
657
657
|
|
|
658
658
|
## Open Questions
|
|
659
659
|
|
|
660
|
-
### 1. Should `skill
|
|
660
|
+
### 1. Should `skill use` log access separately?
|
|
661
661
|
|
|
662
662
|
**Current design**: Combined output (stdout + stderr to stdout)
|
|
663
663
|
**Alternative**: Keep them separate, let agent see both
|
|
@@ -690,11 +690,11 @@ Example: `gog` is also known as `google`, `gmail`, etc.
|
|
|
690
690
|
|
|
691
691
|
The gateway is successful when:
|
|
692
692
|
|
|
693
|
-
1. ✅ `nexus skill
|
|
694
|
-
2. ✅ `nexus skill
|
|
693
|
+
1. ✅ `nexus skill use gog` returns the guide and logs
|
|
694
|
+
2. ✅ `nexus skill use filesystem` returns the prompt
|
|
695
695
|
3. ✅ First-run verification works for unconfigured skills
|
|
696
696
|
4. ✅ `nexus skill stats` shows meaningful usage data
|
|
697
|
-
5. ✅ Agent can use skills with only "nexus skill
|
|
697
|
+
5. ✅ Agent can use skills with only "nexus skill use" instructions
|
|
698
698
|
6. ✅ Cursor integration works via cursor-rules
|
|
699
699
|
|
|
700
700
|
---
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
## TL;DR
|
|
15
15
|
|
|
16
|
-
Build a CLI gateway (`nexus skill *`) that wraps
|
|
16
|
+
Build a CLI gateway (`nexus skill *`) that wraps skill access (guide retrieval), providing automatic usage tracking, state management, and gated discovery. This solves the "two hard problems" of onboarding: tracking state and injecting state into the agent.
|
|
17
17
|
|
|
18
|
-
**Key Insight**: Instead of asking agents to report usage (unreliable), we make them
|
|
18
|
+
**Key Insight**: Instead of asking agents to report usage (unreliable), we make them retrieve guides through the gateway (automatic). The gateway becomes the single source of truth for what skills exist, which are ready, and how they're being used.
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
@@ -25,7 +25,7 @@ Build a CLI gateway (`nexus skill *`) that wraps all skill execution, providing
|
|
|
25
25
|
2. **Gated Discovery** — Only show skills that are ready to use
|
|
26
26
|
3. **Verification on First Run** — Trust but verify, then cache the result
|
|
27
27
|
4. **Observable Skill Health** — Know which skills work, which fail, usage patterns
|
|
28
|
-
5. **Simple Agent Instructions** — Agent just needs to know `nexus skill
|
|
28
|
+
5. **Simple Agent Instructions** — Agent just needs to know `nexus skill use <name>`
|
|
29
29
|
|
|
30
30
|
---
|
|
31
31
|
|
|
@@ -57,7 +57,7 @@ See: [SKILL_GATEWAY_DESIGN.md](./SKILL_GATEWAY_DESIGN.md) for complete technical
|
|
|
57
57
|
nexus skills list [--ready] [--locked] # List skills with status
|
|
58
58
|
nexus skill show <name> # Show skill details + prompt
|
|
59
59
|
nexus skill verify <name> # Check if skill is configured
|
|
60
|
-
nexus skill
|
|
60
|
+
nexus skill use <name> # Return guide (logged)
|
|
61
61
|
nexus skill stats [name] # Usage statistics
|
|
62
62
|
nexus status # Quick status overview
|
|
63
63
|
```
|
|
@@ -102,10 +102,8 @@ nexus status # Quick status overview
|
|
|
102
102
|
- Update per-skill state.json with result
|
|
103
103
|
- Output: success/failure with details
|
|
104
104
|
|
|
105
|
-
- [x] **2.3** `nexus skill
|
|
106
|
-
-
|
|
107
|
-
- For tools: execute with arg passthrough
|
|
108
|
-
- Capture timing, exit code, stderr
|
|
105
|
+
- [x] **2.3** `nexus skill use <name>` command
|
|
106
|
+
- Return SKILL.md content
|
|
109
107
|
- Log to per-skill usage.log
|
|
110
108
|
- Update per-skill state.json (lastUsed, etc.)
|
|
111
109
|
|
|
@@ -163,7 +161,7 @@ nexus status # Quick status overview
|
|
|
163
161
|
|
|
164
162
|
There are skills in two locations that need reconciliation:
|
|
165
163
|
- `~/nexus/skills/` (user's active skills)
|
|
166
|
-
- `~/nexus/home/projects/nexus/skills/` (core nexus repo)
|
|
164
|
+
- `~/nexus/home/projects/nexus/nexus-cli/skills/` (core nexus repo)
|
|
167
165
|
|
|
168
166
|
### Tasks
|
|
169
167
|
|
|
@@ -234,14 +232,14 @@ filesystem, computer-use, weather, github, discord, coding-agent, gemini, model-
|
|
|
234
232
|
| State file corruption | Atomic writes (write to tmp, rename) |
|
|
235
233
|
| Log file grows unbounded | Prune to last 2000 entries / 2MB |
|
|
236
234
|
| Gateway adds latency | Minimal overhead (just logging) |
|
|
237
|
-
| Agent bypasses gateway | Agent instructions emphasize using `nexus skill
|
|
235
|
+
| Agent bypasses gateway | Agent instructions emphasize using `nexus skill use` |
|
|
238
236
|
|
|
239
237
|
---
|
|
240
238
|
|
|
241
239
|
## Success Criteria
|
|
242
240
|
|
|
243
241
|
1. ✅ `nexus skills list --ready` shows only configured skills
|
|
244
|
-
2. ✅ `nexus skill
|
|
242
|
+
2. ✅ `nexus skill use gog` works and logs
|
|
245
243
|
3. ✅ `nexus skill stats` shows usage patterns
|
|
246
244
|
4. ✅ Agent can discover and use skills via gateway
|
|
247
245
|
5. ✅ No manual reporting required from agent
|
|
@@ -260,7 +258,7 @@ filesystem, computer-use, weather, github, discord, coding-agent, gemini, model-
|
|
|
260
258
|
|
|
261
259
|
## Open Questions
|
|
262
260
|
|
|
263
|
-
1. **Should failed verifications block `skill
|
|
261
|
+
1. **Should failed verifications block `skill use`?**
|
|
264
262
|
- Current plan: Warn but allow (user might know something we don't)
|
|
265
263
|
|
|
266
264
|
2. **How to handle skills with multiple tools?**
|