/agent-kernel:agent-kernel-opsfrom Agent Kernel
Operational guide for agents using Agent Kernel v1.20.0+ covering environment vault management, memory proposals, policies, installation, and diagnostics.
Ships in Agent Kernel. 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.
None: SKILL.md is the whole skill.
Use this skill when the user mentions agent-kernel, .env, Environment Vault, memory proposals, agent rules, policies, or runtime diagnostics
agent-kernel env status [project]agent-kernel env doctor [project] when the vault is unhealthy or permissions drift--force until the user understands that a differing local file will be replacedunlink to detach a project path while retaining stored filespurge --yes only after an explicit request to delete the stored vaultLink the project and discover eligible environment files
agent-kernel env link [project]
Link exact Monorepo files
agent-kernel env link [project] \
--include apps/api/.env \
--include apps/web/.env.local
Check identity, health, and file states
agent-kernel env status [project]
agent-kernel env status [project] --json
Store local edits
agent-kernel env push [project]
agent-kernel env push [project] --file apps/api/.env
Preview without writing
agent-kernel env push [project] --dry-run
Restore missing files
agent-kernel env pull [project]
Handle an intentional overwrite with a backup
agent-kernel env pull [project] --force
Run health checks and repair POSIX permissions
agent-kernel env doctor [project]
agent-kernel env doctor [project] --repair-permissions
Migrate a matching legacy vault after inspection
agent-kernel env doctor [project] --migrate
Inspect vault health in JSON
agent-kernel env doctor [project] --json
Watch environment files edited outside an Agent Kernel hook
agent-kernel env watch [project]
Inspect revisions without secret contents
agent-kernel env history [project] --file .env
Restore one revision with normal conflict handling
agent-kernel env restore [project] --file .env --revision <revision-id>
Detach automatic behavior while retaining stored data
agent-kernel env unlink [project]
Delete stored data only after explicit confirmation
agent-kernel env purge [project] --yes
List all local vault identities
agent-kernel env list --json
Read the complete command and security guide at docs/ENVIRONMENT_VAULT.md
With npm (requires Node.js >=18.18.0):
npm install -g @mamdouh-aboammar/agent-kernel
agent-kernel --version
agent-kernel init --sync
With Bun:
bun install -g @mamdouh-aboammar/agent-kernel
agent-kernel --version
agent-kernel init --sync
If agent-kernel is not found after Bun install, add Bun's bin directory to PATH:
export PATH="$HOME/.bun/bin:$PATH"
One-off (no global install):
npx -y @mamdouh-aboammar/agent-kernel --version
bunx @mamdouh-aboammar/agent-kernel --version
Current stable release: 1.20.0
Propose a new rule
agent-kernel propose --from <agentName> --text "Your rule text" --reason "Why"
Inspect the approval inbox
agent-kernel inbox
Approve and publish a proposal
agent-kernel approve <proposalId> --publish
Run file and policy guards
agent-kernel guard [--staged|--file path]
Verify a named policy
agent-kernel policy check mandatory-bun-package-manager
Check Kernel status
agent-kernel status
Run the main health doctor
agent-kernel doctor
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/agent-kernelLocal-first governance, memory, runtime evidence, project isolation, architecture conformance,
and release safety for AI coding agents. Use Agent Kernel when a user wants Claude Code,
Codex, Cursor, OpenCode, Antigravity, Gemini CLI, or AGENTS.md-compatible agents to share
persistent rules, reviewed workflows, Failure Lessons, episodes, bounded runtime context,
project connection manifests, provider approvals, generated guidance, MCP tools, hooks,
command guards, or architecture contracts. Strong triggers include: remember this rule,
make every coding agent follow this workflow, capture this recurring failure, search previous
debugging evidence, prevent architecture drift, search before creating a service, connect this
repository safely, configure local MCP, secure the runtime daemon, inspect project provider
boundaries, or prepare and verify an Agent Kernel release.
/agent-kernel-evolveUniversal Self-Evolve & Self-Learning guide for AI agents. Enables any agent (Claude, Antigravity, Cursor, Codex, Gemini, OpenCode) to automatically capture learning moments, synthesize repeatable Playbooks, and evolve workflows./architecture-guardianPrevent AI coding agents from introducing architecture drift. Use before non-trivial features,
refactors, cross-module fixes, new services, repositories, validators, state stores, dependencies,
schema changes, public API changes, or edits governed by a change contract. Architecture Guardian
provides bounded discovery, reuse-first search, dependency rules, reviewed baselines, short-lived
change contracts, scoped expiring exceptions, deterministic reports, and optional strict gates.
Generated from the plugin's indexed repository (immamdouhaboammar/agent-kernel) — no native marketplace selected
npx claudepluginhub p/immamdouhaboammar-agent-kernel