cognee-cli
Use when the user wants to drive cognee from the terminal with cognee-cli — remember/recall/forget/improve memory commands, managing datasets and config, or database migrations.
Asset-Profil
Daten, BI und Analytik
CSV, SQL, notebooks, dashboards, data pipelines, BI, ETL, and spreadsheet analysis.
Szenario
Database and SQL
I need my agent to inspect database schemas, write SQL, and explain query results.
Agent-Fit
Claude Code + CLI + Codex
Geeignet für Codex, Claude Code, Cursor, CLI oder benutzerdefinierte Agents.
Installieren
Bereit
npx skills add topoteretes/cognee --skill cognee-cli
Wartung
Aktuell
Heute gepusht
Risiko
Prüfung nötig
Dependency or permission surface needs review
GitHub-Qualität
30K
92/100 Qualität · 74/100 Vertrauen
Abdeckungs-Tags
Review-Notizen
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent-Adoptionskarte
Vertrauen, Audit und Installationsbereitschaft auf einen Blick
Diese Werte kombinieren öffentliche Repository-Metadaten, OpenAgentSkill-Reviewsignale, Wartungsaktualität und Installationsbereitschaft. Sie helfen bei der Vorauswahl, ersetzen aber keine menschliche Prüfung.
Qualität
AusgezeichnetHigh-confidence pick with strong adoption and healthy maintenance signals.
Vertrauen
Nur SandboxNützlicher Kandidat mit fehlenden oder gemischten Vertrauenssignalen. Bis der Ergebniszyklus die Passung belegt, in einem isolierten Arbeitsbereich verwenden.
Audit
Prüfung nötigMaschinenlesbare Prüfung von Installationsbereitschaft, Sicherheitsmetadaten, Wartung und Akzeptanzrisiko.
OpenAgentSkill Trust Score v5
Menschliche Prüfung vor Installation
Nur in einer Sandbox ausführen und nahe Alternativen vergleichen, bevor sie produktiv eingesetzt wird.
Stars
30K GitHub-Stars
Repository-Aktivität
30K Stars und 3.0K Forks
Wartung
Heute gepusht
Lizenz
Apache-2.0
Installieren
npx skills add topoteretes/cognee --skill cognee-cli
Installationssicherheit
Standard-Paket- oder Laufzeit-Installationspfad
Berechtigungsfläche
secrets or environment access, shell or command execution
Agent-Ergebnisse
Noch keine Agent-Ergebnisdaten
Dokumentation
Starker README/SKILL.md-Kontext
Risikoübersicht
Vor Produktion prüfen
- The skill documents `forget --all` as a destructive command without confirmation, but it clearly warns users about this risk, so it's acceptable.
- Quality score needs review
- Permission surface needs review: secrets or environment access, shell or command execution
- Dependency/runtime risk: command execution surface, credential or environment access
Installationsbereitschaft
Installationspfad verfügbar
- Installationspfad ist verfügbar
- Repository-Belege sind verfügbar
- Lizenz ist angegeben
- Noch keine Agent-Proven-Ergebnisbelege
Agent-lesbare Metadaten
Maschinenlesbare Entscheidungsdaten für diesen Skill.
Nutze diesen Block oder das eingebettete JSON, um zu entscheiden, ob ein Agent diesen Skill installieren, eine Alternative wählen oder zuerst menschliche Prüfung anfordern soll.
Geeignete Aufgaben
- Research-Agent-Workflows
- Claude-Code-Teams
- Teams, die GitHub-Adoptionssignale schätzen
- Suchquellen
Geeignete Agents
Installationsentscheidung
- Befehl
- npx skills add topoteretes/cognee --skill cognee-cli
- Richtlinie
- Prüfen
- Menschliche Prüfung
- Ja
Vertrauen und Risiko
- Vertrauen
- 66/100
- Audit
- 83/100
- Risikoebene
- Prüfung nötig
Ergebnis-Loop
- Endpoint
- /api/agent/outcome
- Event-ID
- resolve
- Ergebnisse
- 5
Installationsbefehl
npx skills add topoteretes/cognee --skill cognee-cliNicht verwenden, wenn
- Teams, die ein vom Anbieter unterstütztes SLA benötigen
- production agents without a repository review
- The skill documents `forget --all` as a destructive command without confirmation, but it clearly warns users about this risk, so it's acceptable.
- No OpenAgentSkill engagement data yet
- Hinweise auf Hochrisiko-Berechtigungen: Shell or command execution, Secrets or environment access
Agent-Sicherheit v2
39/100 · Automatische Installation vermeiden
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
Hoch
Shell- oder Befehlsausführung
Die Skill-Metadaten verweisen auf Terminal-, CLI-, Shell-, Subprozess- oder Befehlsausführungs-Workflows.
Mittel
Netzwerkzugriff
Die Skill ruft wahrscheinlich Remote-Seiten, APIs, Repositories oder externe Dienste ab.
Mittel
Dateisystemzugriff
Die Skill kann Projektdateien, Dokumente, generierte Artefakte oder den lokalen Arbeitsbereich lesen oder schreiben.
Hoch
Secrets or environment access
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
- Hinweise auf Hochrisiko-Berechtigungen: Shell or command execution, Secrets or environment access
- Dependency or permission surface needs review
Installationsziele
Diesen Skill im Agent-Workflow installieren
Über den öffentlichen Endpunkt erhältst du Befehl, Sicherheitscheckliste, Ziel-Prompts und kanonische Links.
OpenAgentSkill CLI
Resolve policy, run the source installer safely, and report a verified install receipt.
$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install topoteretes-cognee-cliAgent-Auflösungsplan
Lass einen Agent die Eignung vor der Installation prüfen.
Die Resolve API liefert die beste Skill, Alternativen, Sicherheitsrichtlinien, Auditnotizen, Installationsziel und einen direkt nutzbaren Prompt.
JSON öffnen
/api/agent/resolve?task=Use%20cognee-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve-Text
/api/agent/resolve?task=Use%20cognee-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Installationsübergabe
/api/skills/topoteretes-cognee-cli/install
Agent sollte prüfen
- Task fit and alternatives from Resolve API.
- Audit score, trust score, and safety policy warnings.
- Install target compatibility for Codex, Claude Code, Cursor, or CLI.
Prompt kopieren
Task: Use cognee-cli in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20cognee-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/topoteretes-cognee-cli/install
Install command: npx skills add topoteretes/cognee --skill cognee-cli
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent-Übergabe
Gib dem Agent den Installationspfad, nicht noch ein Verzeichnis.
Über den öffentlichen Endpunkt erhältst du Befehl, Sicherheitscheckliste, Ziel-Prompts und kanonische Links.
Installationsübergabe
/api/skills/topoteretes-cognee-cli/install
LLM-Textformat
/api/skills/topoteretes-cognee-cli/install?format=text
Alternativen finden
/api/skills/search?q=cognee-cli&limit=3
Agent-Prompt
Use cognee-cli for this task. Review https://www.openagentskill.com/api/skills/topoteretes-cognee-cli/install, then install with: npx skills add topoteretes/cognee --skill cognee-cliRegistry-Metadaten
Agent-lesbares Profil für die automatische Skill-Auswahl.
Die Registry API stellt Entscheidungs-, Vertrauens-, Audit-, Use-Case- und Installationssignale ohne UI-Scraping bereit.
Manifest
/api/registry/manifest/topoteretes-cognee-cli
LLM-Text
/api/registry/manifest/topoteretes-cognee-cli?format=text
Installationsalias
/api/registry/install/topoteretes-cognee-cli
Empfehlen
/api/registry/recommend?task=Use%20cognee-cli%20in%20an%20agent%20workflow&limit=3
Agent-Fit
Recherche-Agents
Use-Case-Tags
Plattformen
Claude Code
Audit-Bericht
Prüfung nötig · 83/100
Maschinenlesbare Prüfung von Installationsbereitschaft, Sicherheitsmetadaten, Wartung und Akzeptanzrisiko.
Agent-Entscheidungspanel
Primäre Wahl für Recherche-Agents
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Rolle im Stack
Primäre Wahl
Primäre Eignung
Recherche-Agents
Vertrauenslabel
Produktionsbereit
Installationspfad
Befehl bereit
Verwenden wenn
- Research-Agent-Workflows
- Claude-Code-Teams
- Teams, die GitHub-Adoptionssignale schätzen
Evidenz
- 30,192 GitHub-Stars
- recent repository activity
- install command or GitHub repo available
- Qualitätsprofil 92/100
zuerst prüfen
- The skill documents `forget --all` as a destructive command without confirmation, but it clearly warns users about this risk, so it's acceptable.
- No OpenAgentSkill engagement data yet
Implementierungspfad
- 1Installieren Sie es in einem Sandbox-Agent und führen Sie eine Recherche-Agents-Aufgabe vollständig aus.
- 2Compare output quality, latency, and failure behavior against at least one alternative.
- 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.
Vertrauensprofil
Nur Sandbox
Nützlicher Kandidat mit fehlenden oder gemischten Vertrauenssignalen. Bis der Ergebniszyklus die Passung belegt, in einem isolierten Arbeitsbereich verwenden.
GitHub-Akzeptanz
Bestanden30K GitHub-Stars
Star-/Fork-Aktivität
Bestanden30K Stars und 3.0K Forks; Issue-Aktivität ist in den aktuellen Metadaten nicht verfügbar
Aktuelle Wartung
BestandenHeute gepusht
Lizenzklarheit
BestandenApache-2.0
Positive Signale
- KI-Prüfung genehmigt
- Installationspfad ist verfügbar
- Repository-Belege sind verfügbar
- Kürzlich gewartetes Repository
- Large GitHub adoption signal
- Der Installationsbefehl weist kein offensichtliches Hochrisikomuster auf
- Ergebniszyklus ist bereit, benötigt aber den ersten echten Agent-Lauf
Vor Installation prüfen
- The skill documents `forget --all` as a destructive command without confirmation, but it clearly warns users about this risk, so it's acceptable.
- Quality score needs review
- Permission surface needs review: secrets or environment access, shell or command execution
- Dependency/runtime risk: command execution surface, credential or environment access
- Permission surface: secrets or environment access, shell or command execution
- Noch keine echten Agent-Ergebnisberichte
- Vor unbeaufsichtigter Installation ist menschliche Prüfung erforderlich
Empfohlene Aktion
Nur in einer Sandbox ausführen und nahe Alternativen vergleichen, bevor sie produktiv eingesetzt wird.
Qualitätsprofil
Ausgezeichnet Kandidat für Agent-Workflows
High-confidence pick with strong adoption and healthy maintenance signals.
Workflow-Eignung
Diese Skill in diesen Szenarien nutzen
Investigate faster
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Work with data stores
Database and SQL
I need my agent to inspect database schemas, write SQL, and explain query results.
Operate local tools
Local desktop
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow-Eignung
Zum vollständigen Workflow hinzufügen
Find, compare, and synthesize
Research report agent
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Ingest, retrieve, and cite
RAG knowledge base
A workflow for document-heavy agents that ingest files, create searchable knowledge, retrieve relevant context, and answer with grounded sources.
Operate and verify web apps
Browser QA agent
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternativen-Shortlist
Vor Installation vergleichen
Similar skills that may fit this task.
D3
Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
Echarts
Apache ECharts is a powerful, interactive charting and data visualization library for browser
Data Science For Beginners
10 Weeks, 20 Lessons, Data Science for All!
Sequelize
Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB, DB2 and DB2 for IBM i.
Übersicht
--- name: cognee-cli description: Use when the user wants to drive cognee from the terminal with cognee-cli — remember/recall/forget/improve memory commands, managing datasets and config, or database migrations. ---
# Use the cognee CLI
`cognee-cli` ships with the package (entry point in `cognee/cli/_cognee.py`; each command lives in `cognee/cli/commands/`). Every command has `--help` with examples — prefer that over guessing flags. Needs `LLM_API_KEY` configured, same as the SDK.
## Core flow
The memory commands are the primary surface as of cognee 1.x:
```bash cognee-cli remember "Your text here" # also accepts file paths / URLs cognee-cli remember ./docs --dataset-name my_project cognee-cli recall "Your question" # query the graph cognee-cli recall "keyword" --query-type CHUNKS cognee-cli forget --all # wipe local state ```
`remember` is ingest + graph build in one step (`add` + `cognify` under the hood); `--background`/`-b` runs the cognify stage in the background, and `--dry-run` estimates LLM tokens/cost without ingesting. `recall` takes `--datasets`/`-d`, `--top-k`/`-k` (default 10), and `--session-id`/`-s`.
`forget` targets `--dataset`, `--dataset-id`, `--data-id` (needs a dataset), or `--everything`/`--all` — one unified command covering what `delete`, `prune`, and `empty_dataset` used to do separately.
> **`forget --all` does not ask for confirmation.** It deletes every dataset > immediately, even on a non-interactive stdin. The legacy `delete --all` > prompts `Delete ALL data from cognee? [y/N]` first, so switching to `forget` > silently drops that safety net — script it with care.
Search types match exactly 7 of the SDK's `SearchType` enum (`cognee/modules/search/types/SearchType.py`), those 7 being chosen in (`cognee/cli/config.py:SEARCH_TYPE_CHOICES`): GRAPH_COMPLETION, RAG_COMPLETION, CHUNKS, SUMMARIES, CODE, CYPHER, GRAPH_REPORT Others must be reached from the SDK, not CLI; e.g. call cognee.recall with `query_type=SearchType.TEMPORAL`
Note the CLI defaults `--query-type` to `GRAPH_COMPLETION`, whereas the SDK's `cognee.recall()` auto-routes when `query_type` is omitted.
## Session memory and enrichment
Session entries are currently written from the SDK — `cognee.remember(..., session_id="chat_1")` — not the CLI (`cognee-cli remember` has no session flag). The CLI side of session memory is reading and bridging:
```bash cognee-cli recall "question" -s chat_1 # session cache first: without -d/-t # this searches the session directly cognee-cli sessions get # retrieve session Q&A history cognee-cli improve -d my_project -s chat_1 # bridge session content into the graph cognee-cli improve -d my_project # enrich/index the graph (no session) cognee-cli feedback ... # attach feedback to results ```
`improve` also takes `--node-name`, `--feedback-alpha` (default 0.1), and `--background`/`-b`. `remember`/`improve` build their graphs through `cognify()`, so cognify-level settings (e.g. `CONTRADICTION_DETECTION=true`) apply to them too.
## Legacy / lower-level commands
`add`, `cognify`, `search`, `memify`, and `delete` still ship and are what the memory commands call underneath. Use them only to drive a single stage in isolation; prefer `remember`/`recall`/`forget`/`improve` otherwise.
```bash cognee-cli add "text" && cognee-cli cognify # what `remember` does in one step cognee-cli search "question" # `recall` minus routing/scope/session sources cognee-cli memify -d my_project # custom extraction/enrichment tasks cognee-cli delete --all # superseded by `forget --all` ```
## Management
```bash cognee-cli datasets list # dataset operations cognee-cli config get [key] [--show-secrets] # view one/all settings (API keys masked by default) cognee-cli config set <key> <value> # set + persist to ./.env in the cwd cognee-cli config unset <key> # reset a key to its default (also persisted) cognee-cli -ui # launch API server + UI (see cognee-server skill) cognee-cli serve --url http://localhost:8000 # connect CLI/SDK to a running instance ```
## Relational DB migrations (Alembic)
```bash cognee-cli upgrade # apply migrations cognee-cli downgrade cognee-cli history cognee-cli current ```
Typically needed after version upgrades when the server refuses to start on an old schema.
## Gotchas
- The CLI initializes cognee lazily; the first command in a fresh environment is slow (DB + model setup), later ones are fast. - `remember` (and `add`) without `--dataset-name` targets the default dataset `main_dataset`; `recall`/`search` operate across your accessible datasets unless a dataset is given. - `forget` refuses to run bare — pass `--dataset`, `--dataset-id`, `--data-id` (with a dataset), or `--everything`/`--all`. - Session commands (`recall -s`, `sessions get`, `improve -s`) require `CACHING=true` (the default) — with it off, session reads return nothing and SDK session writes raise. To cut read latency and token cost while keeping session memory, `cognee-cli config set AUTO_FEEDBACK false` — by default cognee makes one structured-output LLM call per answered query to self-tune its memory. - `memify` requires one of the arguments -d/--dataset-name --dataset-id - `config set`/`config unset` write to the `.env` file in whatever directory you run the command from (creating it if missing). `config reset` (reset *all* keys) is still not implemented. - **Which `.env` actually wins is not always the cwd one.** At import, cognee calls `dotenv.load_dotenv(override=True)`, which resolves relative to the *cognee package location*, not your working directory. In a source/editable checkout (`uv pip install -e .`) a `.env` at the repo root therefore shadows the `.env` in the directory you ran from — and because `override=True`, it also beats variables you `export`ed. Symptom: `config set` appears to do nothing, or the CLI connects to a backend you thought you had overridden. To test against different settings, move the repo `.env` aside, or set values programmatically after import (`cognee.config.set_*`). (Under `python -c` the cwd `.env` does win, because dotenv falls back to the cwd when `__main__` has no `__file__` — which is why the same command can behave differently as a script vs. `-c`.)
Technische Details
- Version
- 1.0.0
- Lizenz
- Apache-2.0
- Letzte Aktualisierung
- 23. Aug. 2026
- Veröffentlicht
- 23. Aug. 2026
Entscheidungsübersicht
Primäre Wahl
30,192 GitHub-Stars
Audit
Installationsprüfung
Installations- und Adoptionsprüfung
- Sicherheit
- 69/100
- Wartung
- 100/100
- Installieren
- 92/100
Von Agent belegte Evidenz
Von Agent belegte Evidenz
Ergebnisberichte nach Resolve, Prüfung, Installation und einem begrenzten Lauf.
- Erfolgsrate
- —
- Letzter Fehler
- —
- Ergebnisse
- 0
- Ausgabequalität
- —
- Fehlgeschlagen
- 0
- Nicht relevant
- 0
- Installationen
- 0
- Durch Risiko blockiert
- 0
- Einrichtung erforderlich
- 0
- Produktion
- 0
Noch keine Agent-Ergebnisdaten. Der erste Lauf kann Erfolg, Einrichtungsbedarf, Risikoblockaden, Fehler oder Irrelevanz über /api/agent/outcome melden.
Installieren
Zum Agent-Workflow hinzufügen
Kostenlos und Open Source. Bericht vor der Installation in Produktions-Agents prüfen.
Wachstums-Loop
Share-Kit
Szenariobasierter Entwurf für cognee-cli, bereit für einen manuellen X-Post.
cognee-cli: Use when the user wants to drive cognee from the terminal with cognee-cli — remember/recall/f... 30.2K stars https://www.openagentskill.com/skills/topoteretes-cognee-cli?ref=x
Optionale Antwort mit Installationsbefehl
Listing + install path for cognee-cli: https://www.openagentskill.com/skills/topoteretes-cognee-cli?ref=x Install: npx skills add topoteretes/cognee --skill cognee-cli
Quelle des Eintrags
Registry-indexiert
Dieser Eintrag wurde aus öffentlichen Quellen indexiert und ist erst nach Genehmigung eines Maintainer-Anspruchs offiziell.
- Ersteller
- topoteretes
- Quelle
- topoteretes/cognee
- Indexiert von
- OpenAgentSkill Community-Index
Die Zuordnung verlinkt auf das öffentliche Repository oder Creator-Profil. Creator können den Eintrag beanspruchen, um Eigentümersignale zu aktualisieren.
Diesen Skill beanspruchenEigentümeranspruch
Diesen Skill-Eintrag beanspruchen
Dieser Registry-indexiert-Eintrag wird topoteretes zugeschrieben, ist aber noch nicht offiziell markiert. Beanspruche ihn, um ein verifiziertes Eigentümersignal hinzuzufügen und künftige Launch-, Installations- und Audit-Updates vertrauenswürdiger zu machen.
Creator-Backlink-Kit
Evidenz-Badges in deine README einfügen
Zeige den kanonischen Eintrag, aktuelle Vertrauens- und Audit-Signale sowie echte Agent-Proven-Evidenz dort, wo Entwickler das Repository bewerten.
[](https://www.openagentskill.com/skills/topoteretes-cognee-cli)
[](https://www.openagentskill.com/skills/topoteretes-cognee-cli)
[](https://www.openagentskill.com/skills/topoteretes-cognee-cli/audit)
[](https://www.openagentskill.com/skills/topoteretes-cognee-cli)Autor
topoteretes
@topoteretes
Tags
Plattform-Fit
Gesundheitssignale
- GitHub-Stars
- 30.2K
- Qualitätswert
- 55/100
- Letzter GitHub-Push
- 23. Aug. 2026
- Framework-Hinweise
- Unbekannt
- OpenAgentSkill-Aufrufe
- 0
- Installationskopien
- 0
- Externe Klicks
- 0
Community-Signal
Teile mit, ob dieser Skill für deinen Agent-Workflow nützlich ist. Zusammengefasstes Feedback verbessert das Ranking im Laufe der Zeit.
Vertrauen & Sicherheit
Nur Sandbox
- GitHub-Akzeptanz30K GitHub-StarsBestanden
- Star-/Fork-Aktivität30K Stars und 3.0K Forks; Issue-Aktivität ist in den aktuellen Metadaten nicht verfügbarBestanden
- Aktuelle WartungHeute gepushtBestanden
- LizenzklarheitApache-2.0Bestanden
- README/SKILL.md-VollständigkeitMetadaten enthalten ausreichend Nutzungs- und Workflow-KontextBestanden
- Abhängigkeits-/Laufzeitrisikocommand execution surface, credential or environment accessBeheben
Ähnliche Skills
D3
Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
113.1K StarsEcharts
Apache ECharts is a powerful, interactive charting and data visualization library for browser
66.6K StarsData Science For Beginners
10 Weeks, 20 Lessons, Data Science for All!
35.6K StarsSequelize
Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB, DB2 and DB2 for IBM i.
30.4K Stars