Rename claude backend toggles to the new agent-memory/agent-skills shape
Mirrors the azos-core change: azos.claude.enable now sets azos.agent-memory.backends.claude.enable and azos.agent-skills.backends.claude.enable instead of the old azos.claude-memory.enable/azos.claude-skills.enable. The new agent-shell memory backend needs no wiring here -- it's bundled directly in azos-core's editor/emacs module, alongside wherever agent-shell itself gets installed.
This commit is contained in:
@@ -215,17 +215,21 @@ specialisation = {
|
||||
> cd azos-core && git add suites/<suite>/<name>/
|
||||
> ```
|
||||
|
||||
## Claude Integration
|
||||
## Agent Memory/Skills Integration
|
||||
|
||||
Claude Code is integrated with this environment via several azos-core features:
|
||||
Memory (org-roam) and skills (slash commands/CLAUDE.md) are backend-pluggable, not
|
||||
Claude-specific, even though Claude is currently the only skills backend and one of two
|
||||
memory backends:
|
||||
|
||||
| Feature | Option | What it does |
|
||||
|---------|--------|--------------|
|
||||
| `azos-core/suites/base/claude-memory` | `azos.claude-memory.enable` | Registers org-roam-mcp as a global MCP server in `~/.claude.json` |
|
||||
| `azos-core/suites/base/claude-skills` | `azos.claude-skills.enable` | Deploys skills to `~/.claude/commands/` and content to `~/.claude/CLAUDE.md` |
|
||||
| `azos/features/claude` | `azos.claude.enable` | Installs claude-code, auto-enables the above two |
|
||||
| `azos-core/suites/base/agent-memory` | `azos.agent-memory.backends.claude.enable` | Registers org-roam-mcp as a global MCP server in `~/.claude.json`; hooks resync org-roam's index on edit and inject project context at session start |
|
||||
| `azos-core/suites/base/agent-memory` | `azos.agent-memory.backends.agent-shell.enable` | Registers org-roam-mcp via `agent-shell-mcp-servers` and resyncs on `file-write` events — applies regardless of which ACP backend (Claude, Gemini CLI, Codex, ...) a given agent-shell session runs. Also marks Claude sessions agent-shell launches (`AZOS_AGENT_SHELL_SESSION=1`) so the claude backend's own hooks no-op for those sessions instead of double-acting |
|
||||
| `azos-core/suites/base/agent-skills` | `azos.agent-skills.backends.claude.enable` | Deploys skills to `~/.claude/commands/` and content to `~/.claude/CLAUDE.md` |
|
||||
| `azos/features/claude` | `azos.claude.enable` | Installs claude-code, auto-enables the claude backend for both of the above |
|
||||
| `azos-core/suites/editor/emacs` | (bundled, not a separate option) | Installs agent-shell, auto-enables `azos.agent-memory.backends.agent-shell.enable` |
|
||||
|
||||
Both claude-memory and claude-skills register `config.flake.modules.homeManager.base`
|
||||
Both agent-memory and agent-skills register `config.flake.modules.homeManager.base`
|
||||
(they live inside the `base` suite, since that's where agent-shell is introduced) — not
|
||||
standalone module names, so no separate `suiteModules.homeManager.*` import is needed for
|
||||
them in `home-manager/home.nix`.
|
||||
@@ -239,7 +243,9 @@ azos.claude.globalMdSections.my-rule = ''
|
||||
Always do X when Y.
|
||||
'';
|
||||
```
|
||||
See `azos-core/suites/base/claude-skills/README.md` for full documentation.
|
||||
`globalSkills`/`globalMdSections` stay Claude-specific (`~/.claude/commands/`,
|
||||
`~/.claude/CLAUDE.md`) deliberately — no other backend has a uniform equivalent yet. See
|
||||
`azos-core/suites/base/agent-skills/README.md` for full documentation.
|
||||
|
||||
## Key Files
|
||||
|
||||
|
||||
+1
-1
Submodule azos-core updated: 2a011bbb35...b821f588e8
@@ -11,8 +11,8 @@
|
||||
};
|
||||
config = lib.mkIf config.azos.claude.enable {
|
||||
home.packages = with pkgs; [claude-code claude-agent-acp];
|
||||
azos.claude-memory.enable = lib.mkDefault true;
|
||||
azos.claude-skills.enable = lib.mkDefault true;
|
||||
azos.agent-memory.backends.claude.enable = lib.mkDefault true;
|
||||
azos.agent-skills.backends.claude.enable = lib.mkDefault true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user