Repository navigation
SLM's agents and skills reach memory from the shell in every harness - #350
Merged
Merged
Conversation
…cked
Every SLM agent now has Bash and a short "When SLM's MCP tools are not in your
tool list" section: run `slm status` first, never report SLM unavailable because
an MCP tool is missing, and call any tool with `slm tool list`, `slm tool describe
<name>` and `slm tool <name> --json '{...}'` (shortcuts `slm recall` / `slm
remember`). The memory advisor had no Bash at all, so its fallback could not run.
`/slm-loop` and the loop runner name `slm tool slm_loop_run`, and the memory
advisor's stale "no CLI form returns a session_id" line now points at `slm tool
session_init`. Agents a user edited by hand are kept by `slm upgrade-hosts` as before.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…mory One fragment, plugin-src/fragments/no-mcp-cli.md, now sits in all 17 skills and so ships to Claude Code, Cursor, Copilot, VS Code, Codex, Antigravity, Hermes and Muse. It says to run `slm status --json` first, never to report SLM unavailable because an MCP tool is missing, to call any tool with `slm tool <name> --json`, and how every command answers in JSON (`--json`, `slm --json <command>`, `SLM_JSON=1`). scripts/sync-skill-fallback.mjs is the new first build step (with --check), and the slm-cli generator writes the same fragment, so no skill can drift. The two bot skills may now run `slm` (Bash(slm:*)), which they could not before. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… to SLM The same no-MCP fragment now sits inside the SuperLocalMemory section of the shared rules (the Copilot instructions and the universal AGENTS.md) and of Codex's AGENTS.md, written there by the sync step, so a harness that reads rules rather than skills learns the route too. llms.txt says how any agent, bot or framework that can run a command reaches every tool and command in JSON. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…li cannot go stale The fragment now states the real reply shapes: `slm tool` prints the MCP tool's own result on success and `success: false` with `error.code`/`error.message` on failure; other commands answer in the JSON envelope; `slm tool list` lists the tools available now (pictures and documents once turned on). `sync-skill-fallback --check` (and so `build-all-plugins --check`) now fails when the generated slm-cli skill lacks the current fragment. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e exit codes and the one streamed export Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Where local MCP is blocked, or never existed, SLM's agents and skills now teach the shell route.
slm statusfirst;slm tool list|describe|<name> --json)./slm-loopnamesslm tool slm_loop_run.plugin-src/fragments/no-mcp-cli.md) sits in all 17 skills and in the shared rules (Copilot instructions, universal AGENTS.md, Codex AGENTS.md), so it reaches Claude Code, Cursor, Copilot, VS Code, Codex, Antigravity, Hermes and Muse.llms.txtnames the route too.scripts/sync-skill-fallback.mjsis the first build step;build-all-plugins --checkfails on any drift, including the generated slm-cli skill.slm.Depends on the JSON-everywhere PR: merge and release them together.
🤖 Generated with Claude Code