@intent-systems/nexus 2026.1.5-4 → 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/agent-id.js +41 -0
- package/dist/agents/auth-profiles.js +114 -25
- package/dist/agents/identity-state.js +101 -0
- package/dist/agents/model-auth.js +1 -0
- package/dist/agents/model-fallback.js +15 -9
- package/dist/agents/model-selection.js +1 -1
- package/dist/agents/models-config.js +17 -11
- package/dist/agents/pi-embedded-runner.js +101 -9
- package/dist/agents/sandbox.js +12 -3
- package/dist/agents/skill-runner.js +41 -6
- package/dist/agents/skill-usage.js +117 -17
- package/dist/agents/skills-status.js +4 -3
- package/dist/agents/skills.js +38 -30
- package/dist/agents/subagent-registry.js +25 -11
- package/dist/agents/system-prompt.js +16 -0
- package/dist/agents/tool-policy.js +19 -3
- package/dist/agents/tools/browser-tool.js +5 -2
- package/dist/agents/tools/image-tool.js +93 -8
- package/dist/agents/tools/sessions-announce-target.js +5 -1
- package/dist/agents/workspace.js +81 -59
- package/dist/auto-reply/command-detection.js +2 -1
- package/dist/auto-reply/reply/directive-handling.js +153 -28
- package/dist/auto-reply/reply/directives.js +17 -2
- package/dist/auto-reply/reply/model-selection.js +8 -3
- package/dist/auto-reply/reply/queue.js +2 -2
- package/dist/auto-reply/reply.js +1 -1
- package/dist/auto-reply/thinking.js +15 -0
- package/dist/browser/chrome.js +1 -1
- package/dist/browser/client.js +2 -0
- package/dist/browser/config.js +6 -2
- package/dist/browser/pw-tools-core.js +3 -0
- package/dist/browser/routes/agent.js +14 -0
- package/dist/canvas-host/server.js +1 -1
- package/dist/capabilities/detector.js +46 -15
- package/dist/capabilities/registry.js +2 -1
- package/dist/cli/cloud-cli.js +70 -7
- package/dist/cli/credential-cli.js +214 -23
- package/dist/cli/gateway-cli.js +1 -1
- package/dist/cli/log-cli.js +25 -0
- package/dist/cli/pairing-cli.js +1 -1
- package/dist/cli/program.js +82 -8
- package/dist/cli/run-main.js +1 -1
- package/dist/cli/skills-cli.js +165 -30
- package/dist/cli/skills-hub-cli.js +68 -36
- package/dist/cli/tool-connector-cli.js +99 -24
- package/dist/cli/upstream-sync-cli.js +253 -96
- package/dist/cli/usage-cli.js +14 -0
- package/dist/commands/auth-choice-options.js +6 -1
- package/dist/commands/auth-choice.js +157 -5
- package/dist/commands/bootstrap-preset.js +26 -12
- package/dist/commands/capabilities.js +33 -6
- package/dist/commands/claude-md.js +3 -2
- package/dist/commands/config-view.js +1 -1
- package/dist/commands/config.js +85 -0
- package/dist/commands/configure.js +4 -4
- package/dist/commands/credential.js +497 -36
- package/dist/commands/cursor-hooks.js +240 -0
- package/dist/commands/cursor-rules.js +14 -188
- package/dist/commands/doctor.js +5 -4
- package/dist/commands/identity.js +29 -32
- package/dist/commands/init.js +304 -20
- package/dist/commands/log.js +134 -0
- package/dist/commands/models/fallbacks.js +1 -1
- package/dist/commands/models/image-fallbacks.js +1 -1
- package/dist/commands/models/list.js +1 -1
- package/dist/commands/models/scan.js +1 -1
- package/dist/commands/onboard-auth.js +27 -2
- package/dist/commands/onboard-eve-identity.js +8 -9
- package/dist/commands/onboard-non-interactive.js +4 -2
- package/dist/commands/onboard-quickstart.js +18 -11
- package/dist/commands/quest-state.js +271 -0
- package/dist/commands/quest.js +53 -13
- package/dist/commands/reset.js +1 -1
- package/dist/commands/sessions-ingest.js +5 -4
- package/dist/commands/setup.js +4 -2
- package/dist/commands/skills-manifest.js +89 -29
- package/dist/commands/status.js +193 -73
- package/dist/commands/suggestions.js +1 -1
- package/dist/commands/usage-tracking.js +32 -0
- package/dist/commands/usage-upload.js +6 -1
- package/dist/config/defaults.js +1 -3
- package/dist/config/includes.js +5 -7
- package/dist/config/io.js +88 -16
- package/dist/config/legacy.js +4 -2
- package/dist/config/paths.js +16 -0
- package/dist/config/sessions.js +9 -5
- package/dist/config/zod-schema.js +4 -3
- package/dist/control-plane/broker/broker.js +131 -78
- package/dist/control-plane/compaction.js +3 -5
- package/dist/control-plane/factory.js +2 -2
- package/dist/control-plane/index.js +2 -2
- package/dist/control-plane/odu/agents.js +28 -23
- package/dist/control-plane/odu/interaction-tools.js +62 -50
- package/dist/control-plane/odu/prompt-loader.js +8 -8
- package/dist/control-plane/odu/runtime.js +87 -75
- package/dist/control-plane/odu-control-plane.js +14 -12
- package/dist/control-plane/single-agent.js +13 -13
- package/dist/credentials/store.js +133 -7
- package/dist/daemon/launchd.js +14 -0
- package/dist/entry.js +0 -0
- package/dist/gateway/server-browser.js +5 -4
- package/dist/gateway/server-methods/cron.js +11 -1
- package/dist/gateway/server.js +14 -7
- package/dist/infra/bonjour.js +1 -1
- package/dist/infra/event-log.js +8 -2
- package/dist/infra/path-env.js +1 -2
- package/dist/infra/provider-usage.auth.js +5 -3
- package/dist/infra/provider-usage.fetch.claude.js +16 -6
- package/dist/infra/provider-usage.fetch.minimax.js +8 -3
- package/dist/infra/provider-usage.js +9 -5
- package/dist/infra/restart.js +2 -2
- package/dist/infra/usage-settings.js +78 -0
- package/dist/infra/usage-suggestions.js +17 -5
- package/dist/infra/usage-upload.js +38 -1
- package/dist/infra/voicewake.js +2 -2
- package/dist/media/image-ops.js +3 -1
- package/dist/memory/index.js +2 -381
- 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/pairing/pairing-store.js +24 -0
- package/dist/providers/github-copilot-auth.js +1 -1
- package/dist/routing/resolve-route.js +6 -6
- package/dist/routing/session-key.js +3 -1
- package/dist/sessions/send-policy.js +5 -5
- package/dist/slack/monitor.js +22 -1
- package/dist/telegram/reaction-level.js +2 -1
- package/dist/utils.js +8 -3
- package/dist/wizard/onboarding.js +29 -7
- 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
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
# Nexus Documentation Conflict Analysis
|
|
2
|
+
|
|
3
|
+
> This document identifies all conflicts and inconsistencies across the existing onboarding documentation.
|
|
4
|
+
> Use this to make decisions, then build the canonical docs in this folder.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
After analyzing all 19 documentation files, I found **9 major conflict categories**. These need resolution before we can build a cohesive story.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Conflict 1: CLI Philosophy — Gateway vs Discovery
|
|
15
|
+
|
|
16
|
+
**This is the biggest conceptual conflict.** The docs fundamentally disagree on what the `nexus` CLI does.
|
|
17
|
+
|
|
18
|
+
### Option A: Execution Gateway
|
|
19
|
+
|
|
20
|
+
The CLI wraps ALL skill/tool execution. Every invocation is logged automatically.
|
|
21
|
+
|
|
22
|
+
**Documents supporting this:**
|
|
23
|
+
- `SKILL_GATEWAY_DESIGN.md`: "The skill gateway... wraps all skill execution. Every invocation is logged automatically"
|
|
24
|
+
- `SKILL_GATEWAY_PRD.md`: "Build a CLI gateway that wraps all skill execution"
|
|
25
|
+
- `GOAL_STATE_ARCHITECTURE.md`: "All skill access flows through `nexus skill use`"
|
|
26
|
+
|
|
27
|
+
**Implications:**
|
|
28
|
+
- Agent uses `nexus skill use gog` to get the guide, then runs `gog gmail search ...` directly
|
|
29
|
+
- Automatic usage logging without agent cooperation
|
|
30
|
+
- Gateway becomes single source of truth for skill state
|
|
31
|
+
- More overhead, but complete observability
|
|
32
|
+
|
|
33
|
+
### Option B: Discovery & Guidance System
|
|
34
|
+
|
|
35
|
+
The CLI helps agents discover and learn about skills. Agents then use tools directly.
|
|
36
|
+
|
|
37
|
+
**Documents supporting this:**
|
|
38
|
+
- `CLI_GRAMMAR.md`: "Nexus is a discovery and guidance system, not an execution gateway. Agents read guides via `nexus skill use`, then use tools directly"
|
|
39
|
+
- `DOCUMENTATION_OVERVIEW.md`: "Discovery + Guidance, Not Execution Gateway"
|
|
40
|
+
|
|
41
|
+
**Implications:**
|
|
42
|
+
- Agent runs `nexus skill use gog` to get the guide, then runs `gog gmail search ...` directly
|
|
43
|
+
- Tracking measures "how often agents needed guidance" not "tool executions"
|
|
44
|
+
- Honest model — agents can always use tools outside nexus anyway
|
|
45
|
+
- Less overhead, but relies on agent cooperation for some tracking
|
|
46
|
+
|
|
47
|
+
### Decision Needed
|
|
48
|
+
|
|
49
|
+
Which philosophy do you want?
|
|
50
|
+
|
|
51
|
+
| Aspect | Gateway | Discovery |
|
|
52
|
+
|--------|---------|-----------|
|
|
53
|
+
| **Tracking** | Automatic, complete | Voluntary, partial |
|
|
54
|
+
| **Agent overhead** | Higher (every call through CLI) | Lower (direct tool usage) |
|
|
55
|
+
| **Honesty** | Somewhat artificial (agent can bypass) | Honest about what we control |
|
|
56
|
+
| **Complexity** | More complex CLI | Simpler CLI |
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Conflict 2: CLI Command Naming
|
|
61
|
+
|
|
62
|
+
Different docs use different commands for the same operations.
|
|
63
|
+
|
|
64
|
+
### Get a Skill Guide
|
|
65
|
+
|
|
66
|
+
| Document | Command |
|
|
67
|
+
|----------|---------|
|
|
68
|
+
| `CLI_GRAMMAR.md` | `nexus skill use <name>` |
|
|
69
|
+
| `CLI_GRAMMAR_SKILLS.md` | `nexus skill show <name> --prompt` |
|
|
70
|
+
| `CLI_GRAMMAR_ONBOARDING.md` | `nexus guide use <name>` |
|
|
71
|
+
| `SKILL_GATEWAY_*.md` | `nexus skill use <name>` (returns SKILL.md guide) |
|
|
72
|
+
|
|
73
|
+
### View Full Capability Map
|
|
74
|
+
|
|
75
|
+
| Document | Command |
|
|
76
|
+
|----------|---------|
|
|
77
|
+
| `CLI_GRAMMAR.md` | `nexus capabilities` |
|
|
78
|
+
| `CLI_GRAMMAR_ONBOARDING.md` | `nexus map` |
|
|
79
|
+
|
|
80
|
+
### Primary Status Command
|
|
81
|
+
|
|
82
|
+
| Document | Command |
|
|
83
|
+
|----------|---------|
|
|
84
|
+
| `CLI_GRAMMAR.md` | `nexus status` |
|
|
85
|
+
| `GOAL_STATE_ARCHITECTURE.md` | `nexus skills status` |
|
|
86
|
+
| `NEXUS_SYSTEM_OVERVIEW.md` | `nexus skills status` |
|
|
87
|
+
|
|
88
|
+
### View Skill Details
|
|
89
|
+
|
|
90
|
+
| Document | Command |
|
|
91
|
+
|----------|---------|
|
|
92
|
+
| `CLI_GRAMMAR.md` | `nexus skill info <name>` |
|
|
93
|
+
| `CLI_GRAMMAR_SKILLS.md` | `nexus skill show <name>` |
|
|
94
|
+
| `SKILL_GATEWAY_*.md` | `nexus skill show <name>` |
|
|
95
|
+
|
|
96
|
+
### Decision Needed
|
|
97
|
+
|
|
98
|
+
Pick one command for each operation:
|
|
99
|
+
|
|
100
|
+
| Operation | Options | Recommendation |
|
|
101
|
+
|-----------|---------|----------------|
|
|
102
|
+
| Get guide | `use` / `show --prompt` / `run` | `use` (clearest intent) |
|
|
103
|
+
| Capability map | `capabilities` / `map` | `map` (shorter, more intuitive) |
|
|
104
|
+
| Status | `status` / `skills status` | `status` (main entry point) |
|
|
105
|
+
| Skill details | `info` / `show` | `info` (distinct from `use`) |
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## Conflict 3: Entity Type Terminology
|
|
110
|
+
|
|
111
|
+
The classification system for skills uses inconsistent names across documents.
|
|
112
|
+
|
|
113
|
+
### Comparison
|
|
114
|
+
|
|
115
|
+
| Document | Type 1 | Type 2 | Type 3 | Type 4 |
|
|
116
|
+
|----------|--------|--------|--------|--------|
|
|
117
|
+
| `ENTITY_MODEL.md` | **Tool** | **Connector** | **Guide** | — |
|
|
118
|
+
| `CAPABILITY_TAXONOMY.md` | Pure Skills | Tool Skills | Connector Skills | — |
|
|
119
|
+
| `SKILLS_SPECIFICATION.md` | Pure prompt | Tool-backed | Connector-backed | Script-backed |
|
|
120
|
+
| `DOCUMENTATION_OVERVIEW.md` | Pure/Guide | Tool | Connector | — |
|
|
121
|
+
|
|
122
|
+
### Key Questions
|
|
123
|
+
|
|
124
|
+
1. **Do we need a "Script-backed" type?**
|
|
125
|
+
- `SKILLS_SPECIFICATION.md` adds it as a 4th type
|
|
126
|
+
- Other docs don't mention it
|
|
127
|
+
- Examples: `brave-search` (node script), `openai-image-gen` (python script)
|
|
128
|
+
|
|
129
|
+
2. **What do we call them?**
|
|
130
|
+
- Noun form: Tool / Connector / Guide
|
|
131
|
+
- Adjective form: Tool-backed / Connector-backed / Pure
|
|
132
|
+
|
|
133
|
+
### Decision Needed
|
|
134
|
+
|
|
135
|
+
| Question | Options | Recommendation |
|
|
136
|
+
|----------|---------|----------------|
|
|
137
|
+
| Number of types | 3 or 4 | 3 (scripts are a subset of tools) |
|
|
138
|
+
| Naming convention | Noun / Adjective | Noun (Tool, Connector, Guide) |
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## Conflict 4: Skill Folder Structure
|
|
143
|
+
|
|
144
|
+
Are skill definitions split by type or kept in one folder?
|
|
145
|
+
|
|
146
|
+
### Option A: Unified (Current?)
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
~/nexus/skills/
|
|
150
|
+
├── gog/SKILL.md
|
|
151
|
+
├── eve/SKILL.md
|
|
152
|
+
├── google-oauth/SKILL.md
|
|
153
|
+
├── discord/SKILL.md
|
|
154
|
+
├── computer-use/SKILL.md
|
|
155
|
+
├── filesystem/SKILL.md
|
|
156
|
+
└── ...
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
**Documents using this:**
|
|
160
|
+
- `NEXUS_SYSTEM_OVERVIEW.md`
|
|
161
|
+
- `SKILLS_SPECIFICATION.md`
|
|
162
|
+
- Root `AGENTS.md`
|
|
163
|
+
|
|
164
|
+
### Option B: Split by Type (Chosen)
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
~/nexus/
|
|
168
|
+
└── skills/
|
|
169
|
+
├── tools/
|
|
170
|
+
│ ├── gog/SKILL.md
|
|
171
|
+
│ ├── eve/SKILL.md
|
|
172
|
+
│ └── ...
|
|
173
|
+
├── connectors/
|
|
174
|
+
│ ├── google-oauth/SKILL.md
|
|
175
|
+
│ ├── discord/SKILL.md
|
|
176
|
+
│ └── ...
|
|
177
|
+
└── guides/
|
|
178
|
+
├── computer-use/SKILL.md
|
|
179
|
+
├── filesystem/SKILL.md
|
|
180
|
+
└── ...
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
**Documents using this:**
|
|
184
|
+
- `ENTITY_MODEL.md`
|
|
185
|
+
- `SKILL_INVENTORY.md` (migration plan)
|
|
186
|
+
|
|
187
|
+
### Decision Needed
|
|
188
|
+
|
|
189
|
+
| Option | Pros | Cons |
|
|
190
|
+
|--------|------|------|
|
|
191
|
+
| **Unified** | Simpler, already working | Harder to see what type something is |
|
|
192
|
+
| **Split** | Clear separation, easier discovery | Requires migration, more complex paths |
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## Conflict 5: Identity File Paths
|
|
197
|
+
|
|
198
|
+
Minor but real inconsistency in how identity files are organized.
|
|
199
|
+
|
|
200
|
+
### User Identity
|
|
201
|
+
|
|
202
|
+
| Document | Path |
|
|
203
|
+
|----------|------|
|
|
204
|
+
| `STATE_ARCHITECTURE.md` | `state/user/IDENTITY.md` |
|
|
205
|
+
| `CAPABILITY_TAXONOMY.md` | `state/user/IDENTITY.md` |
|
|
206
|
+
| Root `AGENTS.md` | `~/nexus/state/user/IDENTITY.md` |
|
|
207
|
+
|
|
208
|
+
**Conflicts:**
|
|
209
|
+
- With or without `identity/` subdirectory?
|
|
210
|
+
- File named `IDENTITY.md` (PROFILE.md is legacy)?
|
|
211
|
+
|
|
212
|
+
### Agent Identity
|
|
213
|
+
|
|
214
|
+
| Document | Path |
|
|
215
|
+
|----------|------|
|
|
216
|
+
| `STATE_ARCHITECTURE.md` | `state/agents/{name}/IDENTITY.md` |
|
|
217
|
+
| `CAPABILITY_TAXONOMY.md` | `state/agents/{agent}/IDENTITY.md` |
|
|
218
|
+
| Root `AGENTS.md` | `~/nexus/state/agents/echo/IDENTITY.md` |
|
|
219
|
+
|
|
220
|
+
**Conflict:** With or without `identity/` subdirectory?
|
|
221
|
+
|
|
222
|
+
### Decision
|
|
223
|
+
|
|
224
|
+
| Component | Decision | Rationale |
|
|
225
|
+
|-----------|----------|-----------|
|
|
226
|
+
| User identity file | `state/user/IDENTITY.md` | Matches CLI and bootstrap behavior |
|
|
227
|
+
| User file name | `IDENTITY.md` | Consistent with agent identity naming |
|
|
228
|
+
| Agent identity | `state/agents/{name}/IDENTITY.md` | Simple, current implementation |
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
|
+
## Conflict 6: Credential Storage Path
|
|
233
|
+
|
|
234
|
+
One document has a typo that could cause confusion.
|
|
235
|
+
|
|
236
|
+
### Canonical (Correct)
|
|
237
|
+
|
|
238
|
+
```
|
|
239
|
+
state/credentials/{service}/accounts/{account}/auth/{type}.json
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
Example: `state/credentials/google/accounts/tyler@gmail.com/auth/oauth.json`
|
|
243
|
+
|
|
244
|
+
**Documents using this:**
|
|
245
|
+
- `CLI_GRAMMAR_CREDENTIALS.md`
|
|
246
|
+
- `STATE_ARCHITECTURE.md`
|
|
247
|
+
|
|
248
|
+
### Incorrect Reference
|
|
249
|
+
|
|
250
|
+
`ENTITY_MODEL.md` has one diagram showing:
|
|
251
|
+
```
|
|
252
|
+
state/connectors/google/accounts/user@gmail.com/auth/oauth.json
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
Note: Uses `connectors` instead of `credentials`.
|
|
256
|
+
|
|
257
|
+
### Decision
|
|
258
|
+
|
|
259
|
+
This is just a typo to fix. The canonical path uses `credentials/`.
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
263
|
+
## Conflict 7: Per-Skill State — Single File vs Folders
|
|
264
|
+
|
|
265
|
+
The skill state storage has two different approaches documented.
|
|
266
|
+
|
|
267
|
+
### Option A: Single File (Possibly Legacy)
|
|
268
|
+
|
|
269
|
+
```
|
|
270
|
+
~/nexus/state/skill-state.json # All skills in one file
|
|
271
|
+
~/nexus/state/skill-usage.log # All usage in one log
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
**Document mentioning this:**
|
|
275
|
+
- `SKILLS_SPECIFICATION.md`: Shows this as "Current implementation"
|
|
276
|
+
|
|
277
|
+
### Option B: Per-Skill Folders (Planned/Canonical)
|
|
278
|
+
|
|
279
|
+
```
|
|
280
|
+
~/nexus/state/nexus/skills/
|
|
281
|
+
├── manifest.json
|
|
282
|
+
├── gog/
|
|
283
|
+
│ ├── state.json
|
|
284
|
+
│ └── usage.log
|
|
285
|
+
├── eve/
|
|
286
|
+
│ ├── state.json
|
|
287
|
+
│ └── usage.log
|
|
288
|
+
└── ...
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
**Documents using this:**
|
|
292
|
+
- `STATE_ARCHITECTURE.md` (canonical)
|
|
293
|
+
- `SKILL_GATEWAY_DESIGN.md`
|
|
294
|
+
- `SKILL_GATEWAY_PRD.md`
|
|
295
|
+
|
|
296
|
+
### Decision Needed
|
|
297
|
+
|
|
298
|
+
What's the actual current state? If single-file is legacy, we should only document the per-skill folder approach.
|
|
299
|
+
|
|
300
|
+
---
|
|
301
|
+
|
|
302
|
+
## Conflict 8: Capability Definition Approach
|
|
303
|
+
|
|
304
|
+
How are capabilities defined and discovered?
|
|
305
|
+
|
|
306
|
+
### Option A: Predefined Taxonomy
|
|
307
|
+
|
|
308
|
+
All capabilities are predefined in a master list.
|
|
309
|
+
|
|
310
|
+
**Document:**
|
|
311
|
+
- `CAPABILITIES.md`: Exhaustive list of 58+ capabilities organized by category
|
|
312
|
+
|
|
313
|
+
### Option B: Emergent Discovery
|
|
314
|
+
|
|
315
|
+
Capabilities emerge organically from what tools/connectors declare.
|
|
316
|
+
|
|
317
|
+
**Document:**
|
|
318
|
+
- `ENTITY_MODEL.md`: "Capabilities are abstract interfaces — tags that describe what something enables. They emerge organically rather than being predefined."
|
|
319
|
+
|
|
320
|
+
### Decision Needed
|
|
321
|
+
|
|
322
|
+
These aren't necessarily contradictory — the taxonomy can be the current state while allowing organic emergence. But we should clarify:
|
|
323
|
+
|
|
324
|
+
1. Is `CAPABILITIES.md` the exhaustive list, or just documentation of what exists?
|
|
325
|
+
2. Can new capabilities be added without updating a master list?
|
|
326
|
+
|
|
327
|
+
---
|
|
328
|
+
|
|
329
|
+
## Conflict 9: What Documents Say About Each Other
|
|
330
|
+
|
|
331
|
+
Some documents explicitly reference others, creating dependencies:
|
|
332
|
+
|
|
333
|
+
| Document | References |
|
|
334
|
+
|----------|------------|
|
|
335
|
+
| `STATE_ARCHITECTURE.md` | Declared as canonical for paths and schemas |
|
|
336
|
+
| `SKILL_GATEWAY_DESIGN.md` | Points to `STATE_ARCHITECTURE.md` |
|
|
337
|
+
| `SKILL_GATEWAY_PRD.md` | Points to `STATE_ARCHITECTURE.md` |
|
|
338
|
+
| `NEXUS_SYSTEM_OVERVIEW.md` | Says "defer to `STATE_ARCHITECTURE.md`" |
|
|
339
|
+
| `DOCUMENTATION_OVERVIEW.md` | Maps all documents and their purposes |
|
|
340
|
+
|
|
341
|
+
This is good — `STATE_ARCHITECTURE.md` is already treated as canonical for file paths.
|
|
342
|
+
|
|
343
|
+
---
|
|
344
|
+
|
|
345
|
+
## Conflict 10: Agent Bootstrap Enforcement
|
|
346
|
+
|
|
347
|
+
Docs currently rely on the agent to remember to run `nexus status` and read
|
|
348
|
+
identity files. That is not deterministic.
|
|
349
|
+
|
|
350
|
+
### Option A: Rules + AGENTS.md Only
|
|
351
|
+
|
|
352
|
+
- **Pros:** Simple, no scripting
|
|
353
|
+
- **Cons:** Probabilistic, easy to miss
|
|
354
|
+
|
|
355
|
+
### Option B: Cursor SessionStart Hook (Recommended)
|
|
356
|
+
|
|
357
|
+
- **Pros:** Deterministic, runs before first response, can inject context
|
|
358
|
+
- **Cons:** Requires hook files + script
|
|
359
|
+
|
|
360
|
+
### Option C: Skills
|
|
361
|
+
|
|
362
|
+
- **Pros:** Reuses existing packaging
|
|
363
|
+
- **Cons:** Skills are doc-only; they do not execute
|
|
364
|
+
|
|
365
|
+
### Decision Needed
|
|
366
|
+
|
|
367
|
+
Use Cursor sessionStart hook as the authoritative bootstrap. Keep `AGENTS.md`
|
|
368
|
+
and `.cursor/rules` as the fallback contract.
|
|
369
|
+
|
|
370
|
+
---
|
|
371
|
+
|
|
372
|
+
## Summary: Decisions Checklist
|
|
373
|
+
|
|
374
|
+
| # | Decision | Options | Your Choice |
|
|
375
|
+
|---|----------|---------|-------------|
|
|
376
|
+
| 1 | CLI Philosophy | Gateway / Discovery | **Discovery** - CLI mediates skill docs, NOT tool execution |
|
|
377
|
+
| 2 | Get guide command | `use` / `show` / `run` | **`nexus skill use <name>`** |
|
|
378
|
+
| 3 | Capability map command | `map` / `capabilities` | **`nexus capabilities`** |
|
|
379
|
+
| 4 | Status command | `status` / `skills status` | **`nexus status`** |
|
|
380
|
+
| 5 | Skill details command | `info` / `show` | **`nexus skill info <name>`** |
|
|
381
|
+
| 6 | Entity type names | Tool/Connector/Guide / other | **Tool / Connector / Guide** |
|
|
382
|
+
| 7 | Number of entity types | 3 / 4 (include Script) | **3** (scripts can live in any skill) |
|
|
383
|
+
| 8 | Skill folder structure | Unified / Split by type | **Split** under `skills/`: `skills/tools`, `skills/connectors`, `skills/guides` |
|
|
384
|
+
| 9 | Identity subdirectory | With `identity/` / Without | **Without** subdirectory |
|
|
385
|
+
| 10 | User identity filename | `PROFILE.md` / `IDENTITY.md` | **`IDENTITY.md`** for user + agent |
|
|
386
|
+
| 11 | Per-skill state | Single file / Per-skill folders | **Per-skill folders** at `state/skills/{name}/` |
|
|
387
|
+
| 12 | Capability definition | Predefined only / Allow emergence | **Predefined taxonomy** initially, emergence later |
|
|
388
|
+
| 13 | Agent bootstrap enforcement | Rules / Hooks / Skills | **Hooks** (sessionStart), rules as fallback |
|
|
389
|
+
|
|
390
|
+
### Key Conceptual Clarification
|
|
391
|
+
|
|
392
|
+
**Skills ≠ Tools**
|
|
393
|
+
|
|
394
|
+
The CLI wraps all **skill** access (returning SKILL.md guides), but does NOT wrap **tool** execution.
|
|
395
|
+
|
|
396
|
+
```
|
|
397
|
+
nexus skill use gogcli
|
|
398
|
+
→ Returns the SKILL.md guide for gogcli
|
|
399
|
+
→ Agent reads guide, learns how to use the gog binary
|
|
400
|
+
→ Agent invokes `gog gmail search ...` DIRECTLY (not through nexus)
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
This distinction was the source of most confusion in the old docs.
|
|
404
|
+
|
|
405
|
+
---
|
|
406
|
+
|
|
407
|
+
## Canonical Documents Created
|
|
408
|
+
|
|
409
|
+
Based on the resolved decisions, these canonical documents have been created:
|
|
410
|
+
|
|
411
|
+
| Document | Purpose |
|
|
412
|
+
|----------|---------|
|
|
413
|
+
| `01_NEXUS_OVERVIEW.md` | Essential concepts, workspace structure |
|
|
414
|
+
| `02_CLI_REFERENCE.md` | Complete command documentation |
|
|
415
|
+
| `03_STATE_ARCHITECTURE.md` | File paths, schemas, storage |
|
|
416
|
+
| `04_SKILL_SPECIFICATION.md` | How to create skills |
|
|
417
|
+
| `05_CAPABILITY_TAXONOMY.md` | Onboarding journey |
|
|
418
|
+
| `06_CAPABILITIES_REFERENCE.md` | Exhaustive capability list |
|
|
419
|
+
| `07_AGENT_BINDINGS.md` | Agent bootstrap and binding flow |
|
|
420
|
+
|
|
421
|
+
---
|
|
422
|
+
|
|
423
|
+
## Old Documents to Delete
|
|
424
|
+
|
|
425
|
+
Once you're happy with the canonical docs, these can be deleted:
|
|
426
|
+
|
|
427
|
+
### Merge Complete - Delete
|
|
428
|
+
|
|
429
|
+
| Old Document | Merged Into |
|
|
430
|
+
|--------------|-------------|
|
|
431
|
+
| `CLI_GRAMMAR.md` | `02_CLI_REFERENCE.md` |
|
|
432
|
+
| `CLI_GRAMMAR_CREDENTIALS.md` | `02_CLI_REFERENCE.md` + `03_STATE_ARCHITECTURE.md` |
|
|
433
|
+
| `CLI_GRAMMAR_ONBOARDING.md` | `02_CLI_REFERENCE.md` |
|
|
434
|
+
| `CLI_GRAMMAR_SKILLS.md` | `02_CLI_REFERENCE.md` |
|
|
435
|
+
| `STATE_ARCHITECTURE.md` | `03_STATE_ARCHITECTURE.md` |
|
|
436
|
+
| `ENTITY_MODEL.md` | `04_SKILL_SPECIFICATION.md` |
|
|
437
|
+
| `SKILLS_SPECIFICATION.md` | `04_SKILL_SPECIFICATION.md` |
|
|
438
|
+
| `CAPABILITY_TAXONOMY.md` | `05_CAPABILITY_TAXONOMY.md` |
|
|
439
|
+
| `CAPABILITIES.md` | `06_CAPABILITIES_REFERENCE.md` |
|
|
440
|
+
| `DOCUMENTATION_OVERVIEW.md` | Obsolete |
|
|
441
|
+
| `NEXUS_SYSTEM_OVERVIEW.md` | `01_NEXUS_OVERVIEW.md` |
|
|
442
|
+
| `GOAL_STATE_ARCHITECTURE.md` | `01_NEXUS_OVERVIEW.md` |
|
|
443
|
+
|
|
444
|
+
### Keep Separately
|
|
445
|
+
|
|
446
|
+
| Document | Reason |
|
|
447
|
+
|----------|--------|
|
|
448
|
+
| `SKILLS_HUB_SPEC.md` | Future feature, not core docs |
|
|
449
|
+
| `SKILL_INVENTORY.md` | Reference list of actual skills |
|
|
450
|
+
| `USER_JOURNEY.md` | UX design reference |
|
|
451
|
+
| `WOW_MOMENTS.md` | UX design reference |
|
|
452
|
+
| `TROUBLESHOOTING.md` | Operational reference |
|
|
453
|
+
| `SKILL_GATEWAY_DESIGN.md` | Implementation reference (archive) |
|
|
454
|
+
| `SKILL_GATEWAY_PRD.md` | Implementation reference (archive) |
|
|
455
|
+
|
|
456
|
+
---
|
|
457
|
+
|
|
458
|
+
## Next Steps
|
|
459
|
+
|
|
460
|
+
1. **Review** the 6 canonical docs in this folder
|
|
461
|
+
2. **Iterate** if anything needs adjustment
|
|
462
|
+
3. **Delete** old docs from parent folder
|
|
463
|
+
4. **Move** canonical docs up (or keep in canonical/)
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
# Nexus Overview
|
|
2
|
+
|
|
3
|
+
> The essential concepts. Read this first.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## What is Nexus?
|
|
8
|
+
|
|
9
|
+
Nexus is a personal AI workspace that gives agents capabilities through skills. It's a folder structure, a CLI, and a set of conventions that let agents:
|
|
10
|
+
|
|
11
|
+
1. **Know who they are** (identity)
|
|
12
|
+
2. **Know who you are** (user profile)
|
|
13
|
+
3. **Discover what they can do** (skills → capabilities)
|
|
14
|
+
4. **Remember across sessions** (memory)
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Core Concepts
|
|
19
|
+
|
|
20
|
+
### Skills
|
|
21
|
+
|
|
22
|
+
A **skill** is a folder containing a `SKILL.md` file that teaches an agent how to do something. Skills follow the [Agent Skills Specification](https://agentskills.io/specification).
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
skill-name/
|
|
26
|
+
├── SKILL.md # Required: instructions + frontmatter
|
|
27
|
+
├── scripts/ # Optional: executable code
|
|
28
|
+
├── references/ # Optional: additional docs
|
|
29
|
+
└── assets/ # Optional: templates, images
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
**Key insight**: Skills are documentation, not execution wrappers. When an agent uses a skill, they get the guide. Then they act on it directly.
|
|
33
|
+
|
|
34
|
+
### Skill Types
|
|
35
|
+
|
|
36
|
+
Every skill has a `type` in its frontmatter:
|
|
37
|
+
|
|
38
|
+
| Type | What it is | Example |
|
|
39
|
+
|------|------------|---------|
|
|
40
|
+
| **Guide** | Pure instructions using built-in capabilities | `filesystem`, `computer-use`, `weather` |
|
|
41
|
+
| **Tool** | Instructions for installing and using a binary | `gog`, `eve`, `tmux`, `ffmpeg` |
|
|
42
|
+
| **Connector** | Instructions for setting up auth/credentials | `google-oauth`, `anthropic`, `discord` |
|
|
43
|
+
|
|
44
|
+
All three are skills. The type just indicates what kind of setup is needed.
|
|
45
|
+
|
|
46
|
+
### Capabilities
|
|
47
|
+
|
|
48
|
+
**Capabilities** are abstract goals: "Can the agent read email?" not "Is gog installed?"
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
Capability (abstract) → Provider (concrete)
|
|
52
|
+
email-read → gog + google-oauth
|
|
53
|
+
messaging-read → eve, imsg, wacli
|
|
54
|
+
web-search → brave-search
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Multiple providers can satisfy the same capability. The capability taxonomy defines what's possible and tracks what's configured.
|
|
58
|
+
|
|
59
|
+
### The CLI
|
|
60
|
+
|
|
61
|
+
The `nexus` CLI is how agents interact with the system:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
nexus status # Orient: who am I, what can I do?
|
|
65
|
+
nexus skill use <name> # Get a skill's guide (SKILL.md)
|
|
66
|
+
nexus skill info <name> # Get metadata about a skill
|
|
67
|
+
nexus capabilities # See full capability map
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**Important**: The CLI provides skill guides. It does NOT wrap tool execution. After reading a skill guide, agents use tools directly.
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
# This is what happens:
|
|
74
|
+
nexus skill use gog # → Returns SKILL.md guide
|
|
75
|
+
gog gmail search "..." # → Agent runs tool directly
|
|
76
|
+
|
|
77
|
+
# The CLI does not execute tools.
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## Workspace Structure
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
~/nexus/
|
|
86
|
+
├── AGENTS.md # Root instructions for agents
|
|
87
|
+
├── .cursor/rules # Cursor-specific config
|
|
88
|
+
├── .cursor/hooks.json # Cursor hooks config
|
|
89
|
+
│ └── hooks/ # Hook scripts
|
|
90
|
+
│ └── nexus-session-start.js
|
|
91
|
+
│
|
|
92
|
+
├── skills/ # Skill definitions (curated + managed)
|
|
93
|
+
│ ├── tools/{name}/SKILL.md # Tool skills
|
|
94
|
+
│ ├── connectors/{name}/SKILL.md # Connector skills
|
|
95
|
+
│ ├── guides/{name}/SKILL.md # Guide skills
|
|
96
|
+
│ └── managed/{slug}/ # Hub-installed skills
|
|
97
|
+
│
|
|
98
|
+
├── state/ # All runtime state
|
|
99
|
+
│ ├── user/
|
|
100
|
+
│ │ └── IDENTITY.md # User identity
|
|
101
|
+
│ │
|
|
102
|
+
│ ├── agents/
|
|
103
|
+
│ │ └── {name}/
|
|
104
|
+
│ │ ├── IDENTITY.md # Agent name, emoji, nature
|
|
105
|
+
│ │ ├── SOUL.md # Personality, values
|
|
106
|
+
│ │ └── MEMORY.md # Long-term memories
|
|
107
|
+
│ │
|
|
108
|
+
│ ├── credentials/ # All secrets (linked to manager)
|
|
109
|
+
│ │ └── {service}/accounts/{account}/auth/{type}.json
|
|
110
|
+
│ │
|
|
111
|
+
│ └── skills/ # Per-skill runtime state
|
|
112
|
+
│ └── {name}/
|
|
113
|
+
│ ├── state.json # Configured, last used, etc.
|
|
114
|
+
│ └── usage.log # Invocation history
|
|
115
|
+
│
|
|
116
|
+
└── home/ # User's personal space
|
|
117
|
+
├── memory/ # Daily logs (YYYY-MM-DD.md)
|
|
118
|
+
└── projects/ # User's repos/projects
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## How It Works
|
|
124
|
+
|
|
125
|
+
### Agent Session Start
|
|
126
|
+
|
|
127
|
+
1. Cursor sessionStart hook runs (if configured)
|
|
128
|
+
2. Hook runs `nexus status --json` and injects identity + memory context
|
|
129
|
+
3. Agent reviews injected context and is ready to help
|
|
130
|
+
4. If hooks are missing, follow `AGENTS.md` and run `nexus status` manually
|
|
131
|
+
|
|
132
|
+
### Using a Skill
|
|
133
|
+
|
|
134
|
+
1. Agent needs to do something (e.g., read email)
|
|
135
|
+
2. Agent runs `nexus skill use gog`
|
|
136
|
+
3. CLI returns the `gog/SKILL.md` content
|
|
137
|
+
4. Agent follows the guide to use the `gog` binary
|
|
138
|
+
5. Usage is logged to `state/skills/gog/usage.log`
|
|
139
|
+
|
|
140
|
+
### Capability Discovery
|
|
141
|
+
|
|
142
|
+
1. Agent runs `nexus capabilities`
|
|
143
|
+
2. CLI shows all capabilities grouped by category
|
|
144
|
+
3. Each capability shows status: active, ready, needs-setup, etc.
|
|
145
|
+
4. Agent knows what's possible and what needs configuration
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## Key Design Decisions
|
|
150
|
+
|
|
151
|
+
| Decision | Choice | Why |
|
|
152
|
+
|----------|--------|-----|
|
|
153
|
+
| Skills are docs, not wrappers | Discovery, not execution | Honest model - agents can always use tools directly |
|
|
154
|
+
| Split by type | `skills/tools`, `skills/connectors`, `skills/guides` | Clearer organization, easier to understand |
|
|
155
|
+
| Capabilities are abstract | `email-read`, not `gog` | Portability - swap providers without changing skills |
|
|
156
|
+
| Per-skill state folders | `state/skills/{name}/` | Isolation, git-friendly, extensible |
|
|
157
|
+
| Credentials link to managers | 1Password, Keychain, etc. | Security - no plaintext secrets |
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## What's Next
|
|
162
|
+
|
|
163
|
+
- **[CLI Reference](./02_CLI_REFERENCE.md)** - Complete command documentation
|
|
164
|
+
- **[State Architecture](./03_STATE_ARCHITECTURE.md)** - File paths and schemas
|
|
165
|
+
- **[Skill Specification](./04_SKILL_SPECIFICATION.md)** - How to create skills
|
|
166
|
+
- **[Capability Taxonomy](./05_CAPABILITY_TAXONOMY.md)** - Onboarding journey
|
|
167
|
+
- **[Agent Bindings](./07_AGENT_BINDINGS.md)** - Hooks, rules, and bootstrap flow
|