How to wire coding-kit into ZCode (Z.ai Agentic Development Environment & CLI).
- Global instructions:
~/.zcode/AGENTS.md(and~/.zcode/CLAUDE.mdfor compatibility). - Global skills:
~/.zcode/skills/— directories with Hermes-compatibleSKILL.md. - Workspace instructions:
<project-root>/AGENTS.md. - Workspace skills:
<project-root>/.zcode/skills/.
Copy the kit router to ~/.zcode/AGENTS.md:
cp <kit>/AGENTS.md ~/.zcode/AGENTS.mdOr on Windows PowerShell:
Copy-Item "<kit>\AGENTS.md" "$env:USERPROFILE\.zcode\AGENTS.md"New-Item -ItemType Junction -Path "$env:USERPROFILE\.zcode\skills" -Target "<kit>\skills"On Linux/macOS:
ln -s <kit>/skills ~/.zcode/skillsMemory lives outside the kit: ~/.memory/ (Wiki + db-tools + research.db).
Rebuild indexes:
python ~/.memory/db-tools/build.pyIn ZCode chat or CLI:
- Ask the agent to show its method (plan → TDD → implement → verify → report): superpowers, YAGNI, cross-chat memory via database.
- Ask it to search memory for X — must route through a database search (
search_all.py), not answer from conversation.