/pai:PAIfrom PAI Knowledge OS
Guides usage of the PAI MCP server for federated memory, project registry, session management, and worker delegation. Use when tasks reference past work, project status, session handover, or delegating code changes.
Ships in PAI Knowledge OS. 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.
PAI is federated memory, a project registry, session management and a worker engine behind one MCP server. The same text is served as the resource skill://pai/SKILL.md and the prompt pai-skill.
Before answering about past work, decisions, people or project status, call memory_search. Run project_detect at session start.
memory_search (find), memory_get (read a hit), memory_outline, memory_wakeup, memory_lessons, memory_taxonomy, memory_tunnels, memory_kg_search, memory_feedback.project_detect (which project is this cwd), project_info, project_list, registry_search, project_health, project_setup, project_todo.session_list, session_profile_get / session_profile_set.issue_claims, issue_stale.code_explore, code_search, code_callers, code_summary, graph_related. Use these before grep.In a delegating session, Edit/Write on code files is denied; you choose the size.
queue_add (one sentence plus files), queue_run, then queue_review and accept / reject / queue_again.plan_save, plan_run, follow with plan_status; at a needs-decision, clarify with plan_amend and plan_run again. plan_stop ends it.brainstorm_start, follow with brainstorm_status; the result arrives as a message.worker_run. Never use a subagent instead.findings for jobs whose result is an answer or report, change for jobs whose result is a commit.worker_status, worker_ps, worker_queue, worker_replay, worker_say (message a running worker), worker_mode, worker_priority, worker_reroute, worker_pause, worker_resume, worker_kill, worker_merge (bring a finished worker's branch back), worker_gc, workers_freeze / workers_thaw, workers_stop / workers_resume, build_queue, pool_status, battery_status, urgency_set / urgency_clear. A worker that needs a decision uses worker_handoff.
Providers and models: worker_providers, worker_fallback, worker_classes, worker_model, worker_capability, models_list, local_status, worker_toggle, model_runtime.
Per-session models: session_profile_get / session_profile_set answer "switch workers to glm", "what happens if kimi runs out" (fallback list), "use opus for this session by default", per named session, without touching the global config. "Run them one after the other" -> session_profile_set max_parallel 1 (local workers wait for each other; cloud workers are not capped unless max_parallel_scope "all"); "in parallel again" -> max_parallel null. "Two local workers" -> worker_providers cap N.
tests_audit, tests_keep (ledger entry required before a new test file), tests_prune.release, update_check, daemon_service, router_service, memory_run, audit_export.config_list, config_get, config_set, config_unset. Before hand-editing ~/.pai/config.yaml or ~/.pai/workers.yaml run pai config arm (snapshot, 10 min deadline); after the edit run pai config confirm. Without a passing confirm the daemon restores the old file. config_set and the cockpit editor do both by themselves.
Other skills are prompts: fetch with prompts/get { name }. Reference docs are resources: resources/read { uri } (pai://constitution, pai://skill-system, pai://hook-system, pai://worker-setup and others).
Git: no AI signatures, commit format "type: description", run git remote -v before pushing, never commit private data. Mark unverified AI claims with "Unverified". Long Bash waits run in the background; never sleep-loop.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pai, mcp-server, memory, project-management, worker-delegation
6 skills in this plugin
/BrainstormRun a round table: one moderator and several cloud participants discuss a goal on a shared board and return a ranked synthesis. USE WHEN user says 'brainstorm', 'round table', 'let us think this through with several views', OR /brainstorm./ReconstructRetroactively create session notes from JSONL transcripts and git history when automatic capture failed or was incomplete. USE WHEN user says 'reconstruct sessions', 'rebuild session notes', 'recover session notes', 'retroactively create notes', 'create notes from git history', 'notes are missing', 'backfill session notes', 'reconstruct what we did', OR /reconstruct./setupInstall, configure and verify PAI Knowledge OS, including workers, the router and the cockpit. USE WHEN user says "set up PAI", "install PAI", "configure PAI", "give Claude a memory", "set up workers", "set up the cockpit", or asks whether their PAI install is healthy. Phase-based and idempotent: every phase checks its state first and only does what is missing.
npx claudepluginhub mnott/pai --plugin paiOther plugins' skills for the same job