cognee-cli

Tinjau · 66
Diindeks di Registry

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.

Verified installs0
Star30.2K
Versi1.0.0
Kualitas92/100 · Sangat baik
Kepercayaan66/100 · Hanya sandbox
Audit83/100 · Perlu ditinjau

Profil aset

Data, BI, dan analitik

CSV, SQL, notebooks, dashboards, data pipelines, BI, ETL, and spreadsheet analysis.

Lihat kategori

Skenario

Database and SQL

I need my agent to inspect database schemas, write SQL, and explain query results.

Kecocokan Agent

Claude Code + CLI + Codex

Cocok untuk Codex, Claude Code, Cursor, CLI, atau Agent khusus.

Pasang

Siap

npx skills add topoteretes/cognee --skill cognee-cli

Pemeliharaan

Terkini

Diperbarui hari ini

Risiko

Perlu ditinjau

Dependency or permission surface needs review

Kualitas GitHub

30K

92/100 Kualitas · 74/100 Kepercayaan

Tag cakupan

DataDatabase and SQLdata-analysisagent-skill

Catatan ulasan

Dependency or permission surface needs review · Permission surface may require sandboxing

Kartu adopsi Agent

Kepercayaan, audit, dan kesiapan pemasangan dalam sekali lihat

Skor ini menggabungkan metadata repositori publik, sinyal ulasan OpenAgentSkill, kebaruan pemeliharaan, dan kesiapan pemasangan. Ini adalah sinyal shortlist, bukan pengganti peninjauan manusia.

Kualitas

Sangat baik
92

High-confidence pick with strong adoption and healthy maintenance signals.

Kepercayaan

Hanya sandbox
66

Kandidat berguna dengan sinyal kepercayaan yang kurang atau bercampur. Gunakan di ruang kerja terisolasi hingga loop hasil membuktikan kecocokan tugas.

Audit

Perlu ditinjau
83

Tinjauan yang dapat dibaca mesin tentang kesiapan pemasangan, metadata keamanan, pemeliharaan, dan risiko adopsi.

Trust Score OpenAgentSkill v5

Tinjauan manusia sebelum pemasangan

Jalankan hanya dalam sandbox dan bandingkan alternatif terdekat sebelum digunakan untuk kerja nyata.

CodexClaude CodeCursorOpenAgentSkill CLI

Star

30K star GitHub

Aktivitas repositori

30K star dan 3.0K fork

Pemeliharaan

Diperbarui hari ini

Lisensi

Apache-2.0

Pasang

npx skills add topoteretes/cognee --skill cognee-cli

Keamanan pemasangan

Jalur pemasangan paket atau runtime standar

Cakupan izin

secrets or environment access, shell or command execution

Hasil Agent

Belum ada data hasil Agent

Dokumentasi

Konteks README/SKILL.md kuat

Ringkasan risiko

Tinjau sebelum produksi

  • 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

Kesiapan pemasangan

Jalur pemasangan tersedia

  • Jalur pemasangan tersedia
  • Bukti repositori tersedia
  • Lisensi dinyatakan
  • Belum ada bukti hasil Agent-Proven

Metadata yang dapat dibaca Agent

Data keputusan yang dapat dibaca mesin untuk skill ini.

Gunakan blok ini atau JSON tersemat untuk memutuskan apakah Agent perlu memasang skill ini, memilih alternatif, atau meminta tinjauan manusia terlebih dahulu.

Buka JSON

Tugas yang sesuai

  • Alur kerja Agent riset
  • Tim Claude Code
  • Tim yang menghargai sinyal adopsi GitHub
  • Sumber pencarian

Agent yang sesuai

CodexClaude CodeCursorOpenAgentSkill CLICLI

Keputusan pemasangan

Perintah
npx skills add topoteretes/cognee --skill cognee-cli
Kebijakan
Tinjau
Tinjauan manusia
Ya

Kepercayaan dan risiko

Kepercayaan
66/100
Audit
83/100
Tingkat risiko
Perlu ditinjau

Lingkar hasil

Endpoint
/api/agent/outcome
ID event
resolve
Hasil
5

Perintah pemasangan

npx skills add topoteretes/cognee --skill cognee-cli

Jangan gunakan ketika

  • Tim yang membutuhkan SLA dengan dukungan vendor
  • 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
  • Petunjuk izin berisiko tinggi: Shell or command execution, Secrets or environment access

Keamanan Agent v2

39/100 · Hindari pemasangan otomatis

EksperimentalTinjau

Sparse or mixed signals. Useful for discovery, but not for autonomous installation.

Test manually in an isolated workspace and compare against safer alternatives.

Selesaikan via API

Tinggi

Eksekusi shell atau perintah

Metadata skill merujuk terminal, CLI, shell, subprocess, atau alur kerja eksekusi perintah.

Sedang

Akses jaringan

Skill kemungkinan mengambil halaman jarak jauh, API, repositori, atau layanan eksternal.

Sedang

Akses sistem file

Skill dapat membaca atau menulis file proyek, dokumen, artefak yang dihasilkan, atau status workspace lokal.

Tinggi

Secrets or environment access

Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.

  • Petunjuk izin berisiko tinggi: Shell or command execution, Secrets or environment access
  • Dependency or permission surface needs review

Target pemasangan

Pasang skill ini di alur Agent Anda

Gunakan endpoint publik untuk mengambil perintah, checklist keamanan, prompt target, dan tautan kanonis.

skill install

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-cli

Rencana resolusi Agent

Biarkan Agent memverifikasi kecocokan sebelum memasang.

API Resolve mengembalikan skill utama, alternatif, kebijakan keamanan, catatan audit, target pemasangan, dan prompt siap pakai.

Buka rencana teks

Agent harus memeriksa

  • 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.

Salin prompt

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.

Serah-terima Agent

Berikan jalur pemasangan kepada Agent, bukan direktori lain.

Gunakan endpoint publik untuk mengambil perintah, checklist keamanan, prompt target, dan tautan kanonis.

Buka API pemasangan

Prompt Agent

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-cli

Metadata Registry

Profil yang dapat dibaca Agent untuk pemilihan skill otomatis.

API Registry menyediakan sinyal keputusan, kepercayaan, audit, use case, dan pemasangan tanpa mengikis UI.

Buka Manifest

Kecocokan Agent

100/100

Agent riset

Platform

Claude Code

Laporan audit

Perlu ditinjau · 83/100

Tinjauan yang dapat dibaca mesin tentang kesiapan pemasangan, metadata keamanan, pemeliharaan, dan risiko adopsi.

Lihat laporan auditLihat laporan evaluasi

Panel keputusan Agent

Pilihan utama untuk Agent riset

Use this as a leading candidate, then validate the README and install path in your own agent stack.

100
Kesiapan
Adopsi
Tahap

Peran di stack

Pilihan utama

Kecocokan utama

Agent riset

Label kepercayaan

Siap produksi

Jalur pemasangan

Perintah siap

Gunakan saat

  • Alur kerja Agent riset
  • Tim Claude Code
  • Tim yang menghargai sinyal adopsi GitHub

Bukti

  • 30,192 star GitHub
  • recent repository activity
  • install command or GitHub repo available
  • profil kualitas 92/100

tinjau dulu

  • 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

Jalur implementasi

  1. 1Pasang di Agent sandbox dan jalankan satu tugas Agent riset dari awal hingga akhir.
  2. 2Compare output quality, latency, and failure behavior against at least one alternative.
  3. 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.

Profil kepercayaan

Hanya sandbox

Kandidat berguna dengan sinyal kepercayaan yang kurang atau bercampur. Gunakan di ruang kerja terisolasi hingga loop hasil membuktikan kecocokan tugas.

66
Trust Score OpenAgentSkill

Adopsi GitHub

Lulus

30K star GitHub

Aktivitas star/fork

Lulus

30K star dan 3.0K fork; aktivitas issue tidak tersedia dalam metadata saat ini

Pemeliharaan terbaru

Lulus

Diperbarui hari ini

Kejelasan lisensi

Lulus

Apache-2.0

Sinyal positif

  • Tinjauan AI disetujui
  • Jalur pemasangan tersedia
  • Bukti repositori tersedia
  • Repositori yang baru dipelihara
  • Large GitHub adoption signal
  • Perintah pemasangan tidak memiliki pola berisiko tinggi yang jelas
  • Loop hasil siap tetapi membutuhkan eksekusi Agent nyata pertama

Tinjau sebelum memasang

  • 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
  • Belum ada laporan hasil Agent nyata
  • Tinjauan manusia diperlukan sebelum pemasangan tanpa pengawasan

Tindakan yang disarankan

Jalankan hanya dalam sandbox dan bandingkan alternatif terdekat sebelum digunakan untuk kerja nyata.

Profil kualitas

Sangat baik kandidat untuk alur kerja Agent

High-confidence pick with strong adoption and healthy maintenance signals.

92
Star GitHub
30K
Keterkinian
Hari ini
Siap dipasang
Ya
Lisensi
Apache-2.0
Tinjau sebelum memasang: The skill documents `forget --all` as a destructive command without confirmation, but it clearly warns users about this risk, so it's acceptable.

Kecocokan alur kerja

Gunakan skill ini pada skenario berikut

Kecocokan alur kerja

Tambahkan ke alur kerja lengkap

Daftar alternatif

Bandingkan sebelum memasang

Similar skills that may fit this task.

Bandingkan semua

Ringkasan

--- 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`.)

Detail teknis

Versi
1.0.0
Lisensi
Apache-2.0
Pembaruan terakhir
23 Agu 2026
Diterbitkan
23 Agu 2026

Ringkasan keputusan

Pilihan utama

100
Siap
Adopsi
Tahap

30,192 star GitHub

Audit

Tinjauan pemasangan

Tinjauan pemasangan dan adopsi

83
Perlu ditinjau
Keamanan
69/100
Pemeliharaan
100/100
Pasang
92/100
Buka audit lengkapLihat laporan evaluasi

Bukti tervalidasi Agent

Bukti tervalidasi Agent

Laporan hasil setelah resolve, tinjau, pasang, dan satu eksekusi terbatas.

0
Terbukti
Needs first agent runPasang otomatis: tinjau duluTerakhir: Tidak diketahui
Tingkat sukses
Kegagalan terbaru
Hasil
0
Kualitas output
Gagal
0
Tidak relevan
0
Pemasangan
0
Diblokir risiko
0
Perlu penyiapan
0
Produksi
0

Belum ada data hasil Agent. Eksekusi pertama dapat melaporkan keberhasilan, kebutuhan setup, blok risiko, kegagalan, atau tidak relevan melalui /api/agent/outcome.

Pasang

Tambahkan ke alur Agent

Gratis dan sumber terbuka. Tinjau laporan sebelum memasang pada Agent produksi.

Siklus pertumbuhan

Kit berbagi

X

Draf berbasis skenario untuk cognee-cli, siap untuk posting manual di X.

Catatan kurator
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
Buka draf X
Balasan opsional dengan perintah pemasangan
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
Buka draf balasan

Sumber listing

Diindeks Registry

Dapat diklaim

Listing ini diindeks dari sumber publik dan belum ditandai resmi hingga klaim pemelihara disetujui.

Diindeks oleh
Indeks komunitas OpenAgentSkill

Atribusi menautkan ke repositori publik atau profil kreator. Kreator dapat mengklaim listing untuk memperbarui sinyal kepemilikan.

Klaim skill ini

Klaim pemilik

Klaim listing skill ini

Listing Diindeks Registry ini dikaitkan dengan topoteretes, tetapi belum ditandai resmi. Klaim untuk menambahkan sinyal pemilik terverifikasi dan membuat pembaruan peluncuran, pemasangan, serta audit berikutnya lebih tepercaya.

Kit backlink kreator

Tambahkan badge bukti ke README Anda

Tampilkan listing kanonis, sinyal kepercayaan dan audit saat ini, serta bukti Agent-Proven nyata di tempat pengembang mengevaluasi repositori.

[![Listed on OpenAgentSkill](https://www.openagentskill.com/api/badge/topoteretes-cognee-cli?metric=listed&label=Listed)](https://www.openagentskill.com/skills/topoteretes-cognee-cli)
[![OpenAgentSkill Trust](https://www.openagentskill.com/api/badge/topoteretes-cognee-cli?metric=trust&label=Trust)](https://www.openagentskill.com/skills/topoteretes-cognee-cli)
[![OpenAgentSkill Audit](https://www.openagentskill.com/api/badge/topoteretes-cognee-cli?metric=audit&label=Audit)](https://www.openagentskill.com/skills/topoteretes-cognee-cli/audit)
[![Agent Proven](https://www.openagentskill.com/api/badge/topoteretes-cognee-cli?metric=proven&label=Agent%20Proven)](https://www.openagentskill.com/skills/topoteretes-cognee-cli)

Penulis

T

topoteretes

@topoteretes

Kecocokan platform

Sinyal kesehatan

Star GitHub
30.2K
Skor kualitas
55/100
Push GitHub terakhir
23 Agu 2026
Petunjuk framework
Tidak diketahui
Tampilan OpenAgentSkill
0
Salinan pemasangan
0
Klik keluar
0

Sinyal komunitas

Bagikan apakah skill ini bermanfaat untuk alur kerja Agent Anda. Masukan gabungan meningkatkan peringkat dari waktu ke waktu.

Kepercayaan & keamanan

Hanya sandbox

66
  • Adopsi GitHub30K star GitHubLulus
  • Aktivitas star/fork30K star dan 3.0K fork; aktivitas issue tidak tersedia dalam metadata saat iniLulus
  • Pemeliharaan terbaruDiperbarui hari iniLulus
  • Kejelasan lisensiApache-2.0Lulus
  • Kelengkapan README/SKILL.mdMetadata memuat konteks penggunaan dan alur kerja yang cukupLulus
  • Risiko dependensi/runtimecommand execution surface, credential or environment accessPerbaiki