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.
Supply asset profile
Data, BI, and analytics
CSV, SQL, notebooks, dashboards, data pipelines, BI, ETL, and spreadsheet analysis.
Scenario
Database and SQL
I need my agent to inspect database schemas, write SQL, and explain query results.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add topoteretes/cognee --skill cognee-cli
Maintenance
fresh
Pushed today
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
30K
92/100 Quality · 74/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
Trust, audit, and install readiness at a glance
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
ExcellentHigh-confidence pick with strong adoption and healthy maintenance signals.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Human review before install
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
30K GitHub stars
Repo activity
30K stars, 3.0K forks
Maintenance
Pushed today
License
Apache-2.0
Install
npx skills add topoteretes/cognee --skill cognee-cli
Install safety
standard package or runtime install path
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Review before production
- 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
Install readiness
Install path available
- Install path is available
- Repository evidence is available
- License is declared
- No Agent Proven outcome evidence yet
Agent-readable metadata
Machine-readable decision data for this skill.
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
- Research agents workflows
- Claude Code teams
- teams that value GitHub adoption signals
- Search sources
Suited agents
Install decision
- Command
- npx skills add topoteretes/cognee --skill cognee-cli
- Policy
- review
- Human review
- yes
Trust and risk
- Trust
- 66/100
- Audit
- 83/100
- Risk level
- Needs review
Outcome loop
- Endpoint
- /api/agent/outcome
- Event ID
- resolve
- Outcomes
- 5
Install command
npx skills add topoteretes/cognee --skill cognee-cliDo not use when
- teams that need a vendor-supported SLA
- 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
- High-risk permission hints: Shell or command execution, Secrets or environment access
Agent safety v2
39/100 · Avoid automatic install
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Shell or command execution
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Network access
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Filesystem access
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Secrets or environment access
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
- High-risk permission hints: Shell or command execution, Secrets or environment access
- Dependency or permission surface needs review
Install targets
Install this skill in your agent workflow
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
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 resolve plan
Let an agent verify fit before installing.
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/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
Install handoff
/api/skills/topoteretes-cognee-cli/install
Agent should check
- 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.
Copy 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.Agent handoff
Give an agent the install path, not another directory page.
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/topoteretes-cognee-cli/install
LLM text format
/api/skills/topoteretes-cognee-cli/install?format=text
Find alternatives
/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 metadata
Agent-readable profile for automatic skill selection.
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/topoteretes-cognee-cli
LLM text
/api/registry/manifest/topoteretes-cognee-cli?format=text
Install alias
/api/registry/install/topoteretes-cognee-cli
Recommend
/api/registry/recommend?task=Use%20cognee-cli%20in%20an%20agent%20workflow&limit=3
Agent fit
Research agents
Use-case tags
Platforms
Claude Code
Audit report
Needs review · 83/100
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Primary pick for Research agents
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Research agents
Trust label
Production-ready
Install path
Command ready
Use when
- Research agents workflows
- Claude Code teams
- teams that value GitHub adoption signals
Evidence
- 30,192 GitHub stars
- recent repository activity
- install command or GitHub repo available
- 92/100 quality profile
review first
- 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
Implementation path
- 1Install it in a sandbox agent and run one Research agents task end to end.
- 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.
Trust profile
Sandbox only
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS30K GitHub stars
Stars/forks activity
PASS30K stars, 3.0K forks; issue activity unavailable in current metadata
Recent maintenance
PASSPushed today
License clarity
PASSApache-2.0
Good signals
- AI review approved
- Install path is available
- Repository evidence is available
- Recently maintained repository
- Large GitHub adoption signal
- Install command has no obvious high-risk pattern
- Outcome loop is ready but needs first real agent run
Review before install
- 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
- No real agent outcome reports yet
- Human review required before unattended installation
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Excellent candidate for agent workflows
High-confidence pick with strong adoption and healthy maintenance signals.
Workflow fit
Use this skill in these scenarios
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 fit
Add it to a complete workflow
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.
Alternative shortlist
Compare before you install
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.
Overview
--- 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`.)
Technical details
- Version
- 1.0.0
- License
- Apache-2.0
- Last updated
- Aug 23, 2026
- Published
- Aug 23, 2026
Decision snapshot
Primary pick
30,192 GitHub stars
Audit
Install review
Install and adoption review
- Security
- 69/100
- Maintenance
- 100/100
- Install
- 92/100
Agent-proven evidence
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
- Success rate
- —
- Recent failure
- —
- Outcomes
- 0
- Output quality
- —
- Failed
- 0
- Not relevant
- 0
- Installs
- 0
- Risk blocked
- 0
- Setup needed
- 0
- Production
- 0
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Add to agent workflow
Free and open source. Review the report before installing into production agents.
Growth loop
Share kit
Scenario-led draft for cognee-cli, ready for a manual 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
Optional reply with install command
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
Listing source
Registry indexed
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
- Creator
- topoteretes
- Source
- topoteretes/cognee
- Indexed by
- OpenAgentSkill community index
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
Claim this skill listing
This Registry indexed listing is attributed to topoteretes but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Add the evidence badges to your README
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](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)Author
topoteretes
@topoteretes
Tags
Platform fit
Health signals
- GitHub stars
- 30.2K
- Quality score
- 55/100
- Last GitHub push
- Aug 23, 2026
- Framework hints
- Unknown
- OpenAgentSkill views
- 0
- Install copies
- 0
- Outbound clicks
- 0
Community signal
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Trust & safety
Sandbox only
- GitHub adoption30K GitHub starsPASS
- Stars/forks activity30K stars, 3.0K forks; issue activity unavailable in current metadataPASS
- Recent maintenancePushed todayPASS
- License clarityApache-2.0PASS
- README/SKILL.md completenessMetadata includes enough usage and workflow contextPASS
- Dependency/runtime riskcommand execution surface, credential or environment accessFIX
Related 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