/delegate-team:agent-kernelfrom delegate-team
Local-first memory and governance kernel for AI coding agents. Provides shared memory, episodic archive, approval inbox for rules, generated instruction files, and deterministic policy guard to enforce standards across sessions.
Ships in delegate-team. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The memory backbone of delegate-team. A vendored, version-pinned copy of @mamdouh/[email protected] ships inside this repo at
agent-kernel/dist/cli.mjs. Installed by default with./install.sh --allin delegate-team v2.5.0+.
A single Node.js CLI (agent-kernel / ak) that gives every coding agent you use:
~/.agent-kernel/source/memories/*.json~/.agent-kernel/episodes/ (with search/show/stats)AGENTS.md (Claude Code / Codex / Cursor / OpenCode)CLAUDE.md.cursor/rules/00-agent-kernel.mdc.agents/agents.mdGEMINI.mdPreToolUse + PostToolUse, git pre-commit, optional CI guardagent_kernel_search_episodes, agent_kernel_read_episode,
agent_kernel_capture_episode, agent_kernel_sync_episodesrm -rf, curl|sh, force-push to main,
secret leaks, and any rule you adddelegate-team orchestrates many agents. Without a shared memory, each session starts cold — the same standards get repeated every conversation. agent-kernel solves that:
| Without agent-kernel | With agent-kernel |
|---|---|
| Standards repeated in every prompt | Standards live in ~/.agent-kernel/source/memories/*.json and auto-attach |
| Lost context after session end | Episodes saved locally; searchable later |
| Agent writes whatever rule it wants | Proposal inbox; you approve before publish |
Manual git commit may leak secrets | Pre-commit hook + agent-kernel guard --staged blocks |
| Different agents see different rules | One JSON-first source compiles to all platforms |
# One command — link + init + link the project + install hooks
./install.sh --kernel
# Or auto-installed via:
./install.sh --all
# Verify
agent-kernel doctor
agent-kernel status
After installation, in any project:
agent-kernel init --sync --enforce # First time in a project
agent-kernel link . --hooks # Link AGENTS.md + git hook
# Save a rule
agent-kernel remember "Never add local SQLite fallback to production Supabase apps." \
--type policy --level critical --tags supabase,database --publish
# Search episodes
agent-kernel episode search "SQLite fallback Supabase"
agent-kernel episode show <episode-id>
agent-kernel/
dist/cli.mjs # The CLI — single ~85KB ESM file
docs/ # 8 architecture + protocol docs
examples/ # CI guard workflow, sample memory rules, sample episode
develpment/ # Backlog + epics + milestones + sprint plan + backlog.json
LICENSE # MIT
README.md # Upstream README (verbatim)
scripts/build.mjs # Build script (not used here — cli.mjs is shipped pre-built)
SKILL.md # THIS FILE — Skills.sh manifest
install.sh # Local installer
wrapper.sh # Bash shim — prefers global agent-kernel, falls back to vendored
MEMORY.md # How delegate-team uses this for memory
VERSION # 0.0.5
| Agent | Memory source | Hook install | Compile target |
|---|---|---|---|
| Claude Code | ✅ via AGENTS.md + CLAUDE.md | ✅ ~/.claude/hooks/ | PreToolUse + PostToolUse |
| Codex | ✅ via AGENTS.md | n/a (read-only) | AGENTS.md |
| Cursor | ✅ via .cursor/rules/00-agent-kernel.mdc | n/a | .mdc rule |
| OpenCode | ✅ via AGENTS.md | n/a | AGENTS.md |
| Antigravity | ✅ via .agents/agents.md | n/a | .agents/ |
| Gemini CLI | ✅ via GEMINI.md | n/a | GEMINI.md |
| 60+ others | ✅ see Skills.sh index | depends on agent | via AGENTS.md |
Memory layout: fully backward compatible with v0.0.1 (auto-migrates flat files via
agent-kernel migrate json --publish).
| Path | When |
|---|---|
Global npm install -g @mamdouh/agent-kernel (when published) | Preferred when user wants the latest |
Vendored at agent-kernel/dist/cli.mjs | Default with delegate-team — guaranteed version match |
npx -y agent-kernel | One-off use, no install |
The wrapper.sh shim picks the right one:
agent-kernel on $PATH → use it (user's preferred version)node agent-kernel/dist/cli.mjs works → use vendored copyinstall.shMEMORY.md — how delegate-team uses agent-kernel for the /apeiron memory layerdocs/MEMORY_PROTOCOL.md — rule + episode data modeldocs/MCP_SERVER.md — MCP tool definitions for non-CLI integrationdocs/EPISODIC_MEMORY.md — episode sync from Claude/Codex JSONL transcriptsdocs/STRICT_MODE.md — when to flip --enforcedocs/JSON_FIRST_STORAGE.md — storage schemaMIT (© Mamdouh Aboammar) — upstream agent-kernel v0.0.5.
https://github.com/imMamdouhaboammar/delegate-team/tree/master/agent-kernel
LICENSE (opens in a new tab)MEMORY.md (opens in a new tab)README.md (opens in a new tab)VERSION (opens in a new tab)develpment/BACKLOG.md (opens in a new tab)develpment/EPICS.md (opens in a new tab)develpment/MILESTONES.md (opens in a new tab)develpment/README.md (opens in a new tab)develpment/RELEASE-GATES.md (opens in a new tab)develpment/SPRINT-PLAN.md (opens in a new tab)develpment/backlog.json (opens in a new tab)dist/cli.mjs (opens in a new tab)docs/ARCHITECTURE.md (opens in a new tab)docs/EPISODIC_MEMORY.md (opens in a new tab)docs/INTEGRATIONS.md (opens in a new tab)docs/JSON_FIRST_STORAGE.md (opens in a new tab)docs/MCP_SERVER.md (opens in a new tab)docs/MEMORY_PROTOCOL.md (opens in a new tab)docs/STRICT_MODE.md (opens in a new tab)examples/github-agent-kernel-guard.yml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (immamdouhaboammar/delegate-team) — no native marketplace selected
npx claudepluginhub p/immamdouhaboammar-delegate-team-27 skills in this plugin
/aonios-agentRoute heavy coding tasks to premium multi-model backends (Codex GPT-5.5/5.4 high, GLM-5.2
max, Qwen 3.7 max, Kimi K2.7 code-max, MiniMax M3 high-thinking). Mirrors vertex-coder's
structure but shells out to local CLI binaries (codex, opencode) instead of Vertex AI.
Two modes: direct (single-file) and interactive (multi-file autonomous with tool use).
Use when delegating heavy code generation, debugging, or refactoring tasks to the strongest
available model. Triggers on: "delegate to aonios agent", "use the strongest model",
"premium model coding", "opencode glm", "codex gpt-5 high", "minimax m3 thinking",
"aonios agent direct", "aonios agent interactive". Do NOT use for trivial edits (do them locally)
or when the user explicitly forbids external delegation.
/minimax-coderLocal MiniMax-powered coding agent. Uses the official `mmx` CLI (https://github.com/MiniMax-AI/cli)
to call MiniMax models (M3 flagship, M2.7, M2.7-highspeed) for direct single-file edits and
multi-file autonomous work with full tool use. Sibling backend to vertex-coder inside
delegate-team; mirrors its structure (direct + interactive + tools registry) but routes
through mmx instead of an SDK. The Python scripts in this directory are local-agent helpers —
Apeiron (M3) can also invoke `mmx text chat` directly via bash for fast ad-hoc calls. Three
MiniMax models supported. Use when delegating coding work to MiniMax models. Triggers on:
"use minimax coder", "MiniMax M3", "MiniMax M2.7", "minimax direct", "minimax interactive",
"mmx text chat". Do NOT use for trivial edits (do them locally).
/apeiron-teamApeiron Multi-Agent System (MMAS) — spawn a team of specialized AI agents under your
direct command. Each agent has a specific power + model (Atlas orchestrator, Forge deep
worker, Scout searcher, Oracle debugger, Librarian docs-finder, Reviewer validator,
Visionary media-analyzer, Sentinel security-auditor). A watchdog polls every 30s
and reports status back to you. Inspired by oh-my-openagent's specialized agent team
+ hermes-agent's self-improving learning loop. Use when you want parallel agents
working on a complex task while you stay the boss. Triggers on: "spawn team",
"multi-agent", "MMAS", "parallel agents", "team of agents", "boss mode", "watchdog",
"/apeiron-team". Do NOT use for single-file edits (do them locally).
/apeironThe ONE-COMMAND orchestrator that wires the full delegate-team arsenal for any task in any
project. Use when the user says "use everything you got", "use full engineering
arsenal", "go all-in", "/Apeiron <task>", "/ship <task>", "use all capabilities",
"full stack", "end to end", "everything intelligently". Composes: Waza /think →
unslop audit → superpowers writing-plans → autoresearch | /delegate-team | /apeiron-team
(routed by task signature) → Waza /check → quality-guard. Skip this skill only when
the user wants a SPECIFIC tool (e.g. "run /autoresearch with metric X" or "delegate
to aonios-agent").
/skill-scaffoldScaffold a new Apeiron skill with proper frontmatter, section structure, and optional companion
artifacts (PreToolUse hook, slash command, bash test stub). Use when creating a new skill,
bootstrapping a capability for the Apeiron agent arsenal, or standardizing an existing skill's
structure. Triggers on: "create a new skill", "scaffold a skill", "add a Apeiron skill",
"standardize this skill", "skill-scaffold", "apeiron-skill-scaffold". Backed by the
`apeiron-skill-scaffold` bash script at `~/.apeiron/bin/apeiron-skill-scaffold`. Do NOT use for
editing existing skills (use `skill-refiner`) or for creating agents (use `create-agent`).
/vertex-coderUse Google Vertex AI high-end coding models (Gemini 3.5 Flash and Gemini 3.1 Pro) directly on local files. Bypasses standard LLM token limits and bills to GCP. Supports direct coding and fully autonomous interactive agent loops.2 plugins in one repository ship this exact skill · first indexed Jul 17, 2026