/cognee-memory:cognee-keysfrom Cognee Memory
List and revoke per-machine API keys for a Cognee agent to free slots when the agent is full. Useful when a new machine cannot get a key and runs on a personal key instead.
Ships in Cognee Memory. 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.
Every machine this plugin runs on holds its own API key for the plugin's Cognee agent. The server caps how many keys an agent may hold; when it is full of keys still in use, a new machine is refused one and runs on the user's personal key instead (session start says so). Freeing a slot means revoking an old machine's key — a key that is still in use on another machine stops working there, so the user chooses which one.
All server access goes through plugin-keys.py, which authenticates as the user
principal (the agent cannot manage its own keys) the same way the other skills resolve
credentials. Do not bypass it with raw curl.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/plugin-keys.py" list --json
Each key has id, created_at, last_used_at (empty when never used) and
this_machine (true for the key this machine holds). Show the user the list as a numbered
table — last used, created, and a short id — and mark this machine's key. Keys never used
sort last. --all lists every plugin agent of the user (Claude Code, Codex, …) with a
plugin column; --plugin <key> lists one other plugin's.
Exit code 5 means the server has no key routes for this plugin (it predates per-machine keys, or does not register the plugin); say so and stop.
Never pick a key for the user: the one with the oldest last_used_at is the usual
candidate (an old laptop, a wiped container), but only the user knows which machines are
still theirs. Confirm the choice, then:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/plugin-keys.py" revoke <id> --json
Add --plugin <key> for another plugin's key. Revoking the key marked this_machine
is refused unless the user explicitly wants it (--force); the next session start then
provisions a new one. Exit code 3 means the key was already gone.
If the session start had reported the key limit, a new session now gets its own key. Revocation is immediate: the revoked machine falls back to the personal key at its next session start.
What SKILL.md sets; muted values are Claude Code's defaults
E.g. "list the Cognee keys", "which machines have a Cognee key?", "revoke an old machine's Cognee key", "the agent is full of keys", "free a Cognee key slot", or when a session start says this machine is on the personal key because the agent is full. Not for the LLM or server API key in ~/.cognee/.env (cognee-how-it-works), or for datasets and permissions (cognee-switch-datasets).
Three short reads, in order
14 skills in this plugin
/cognee-architectureExplain a repository's architecture (modules, routes, storage, services), find risky hotspots, draw a Mermaid diagram of the code graph, or review how far a change reaches, from Cognee's code graph./cognee-codeIndex a repository (local path or git URL) into Cognee's code graph and answer exact structural queries with no LLM calls: callers, dependencies, impact of changing a symbol, call paths, endpoints, re-index changes./cognee-digestA digest of a week or more of the user's own coding-agent sessions (default 7 days): sessions per day and project, most-edited files and the lessons Cognee learned, written up as shipped, decided and still open.npx claudepluginhub topoteretes/cognee-integrations --plugin cognee-memoryOther plugins' skills for the same job