/cognee-memory:cognee-architecturefrom Cognee Memory
Explains a repository's architecture (modules, routes, storage, services), identifies risky hotspots, generates Mermaid diagrams of the code graph, and analyzes change impact before merging, using Cognee's code graph.
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.
Before running a Cognee search, send one short user-visible progress sentence, for example: "Searching Cognee for the earlier decision…" or "Checking Cognee's code graph for callers of this function…". Name Cognee in the normal working text before the tool call; keep this to one update per related search batch. Afterwards, describe relevant findings, an empty result, or a failed search accurately. Do not claim Cognee improved the answer merely because a search ran.
Run "${CLAUDE_PLUGIN_ROOT}/scripts/cognee-doctor.sh" --json and check
cognee_server before these queries. architecture, insights, and diagram output
require server 1.6.3 or newer. For an older or unknown version, explain the
requirement and stop these operations; do not silently replace them with invented
architecture. Index with the existing cognee-code skill if no graph exists.
Cloud indexing requires a git URL, for example:
"${CLAUDE_PLUGIN_ROOT}/scripts/cognee-index-repo.sh" https://github.com/org/repo --wait 60
Cloud facts reflect pushed commits. Identify that revision/freshness when local changes have not been pushed and re-indexed. Cloud servers cannot read local paths.
Use these existing search commands (the code dataset resolves from the checkout;
add --dataset <name> for a different indexed repository):
"${CLAUDE_PLUGIN_ROOT}/scripts/cognee-search.sh" "architecture" --code --code-query '{"operation":"architecture","diagram":"mermaid"}'
"${CLAUDE_PLUGIN_ROOT}/scripts/cognee-search.sh" "hotspots" --code --code-query '{"operation":"insights","diagram":"mermaid"}'
"${CLAUDE_PLUGIN_ROOT}/scripts/cognee-search.sh" "process_payment" --code --code-query '{"operation":"impact_analysis","targets":["process_payment"],"diagram":"mermaid"}'
"${CLAUDE_PLUGIN_ROOT}/scripts/cognee-search.sh" "changes" --code --code-query '{"operation":"delta"}'
architecture gives the module, route, storage, and service map. insights gives
Enola explainer findings and their supporting facts. impact_analysis follows the
named target's dependencies; replace the example with the user's actual symbol.
delta describes changes from the last index, not an arbitrary unindexed diff.
Cite fact names, files, and lines when explaining findings. Separate structural
facts from your interpretation of risk. Render diagram.source in a Mermaid block
when requested; if the result has no diagram, say so. Ask for an exact candidate
when a seed is ambiguous. Verify important claims against source before editing.
What SKILL.md sets; muted values are Claude Code's defaults
E.g. "explain the architecture of this repo", "how is this codebase structured?", "where are the hotspots?", "which parts are riskiest to change?", "draw a diagram of the code graph", "review my change's impact before I merge". Not for exact lookups like callers or endpoints, or indexing (cognee-code); FigJam diagrams; a bug or security review of a diff; or writing CLAUDE.md.
14 skills in this plugin
/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./cognee-forgetForget something stored in Cognee memory: find the documents in the current dataset whose content matches by meaning, confirm, then delete them and their graph knowledge. Deletes a whole dataset only on explicit request./cognee-handoffWrite a concise handoff note for the current work (goal, decisions, open items, next steps, branch and PRs) and save it in Cognee so a later session can pick up where the work stopped./cognee-how-it-worksExplain what the Cognee plugin captures, recalls, stores and sends, where its data and logs live, and how to inspect or turn off each behavior; check its local or cloud connection and settings./cognee-keysList and revoke the per-machine API keys of this plugin's Cognee agent, so a full agent can give a new machine a key again.npx claudepluginhub topoteretes/cognee-integrations --plugin cognee-memoryOther plugins' skills for the same job