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.
供給アセットの概要
データ・BI・分析
CSV, SQL, notebooks, dashboards, data pipelines, BI, ETL, and spreadsheet analysis.
シナリオ
Database and SQL
I need my agent to inspect database schemas, write SQL, and explain query results.
Agent 適合
Claude Code + CLI + Codex
Codex、Claude Code、Cursor、CLI、またはカスタム Agent に対応します。
インストール
準備完了
npx skills add topoteretes/cognee --skill cognee-cli
メンテナンス
新しい
本日プッシュ
リスク
要レビュー
Dependency or permission surface needs review
GitHub 品質
30K
92/100 品質 · 74/100 信頼
対象タグ
レビュー注記
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent 導入スコアカード
信頼、監査、インストール準備状況を一目で確認
公開リポジトリのメタデータ、OpenAgentSkill のレビューシグナル、保守の鮮度、インストール準備状況を組み合わせたスコアです。候補選定の目安であり、人によるレビューの代替ではありません。
品質
優秀採用度と保守性のシグナルが強い高信頼候補です。
信頼
サンドボックス限定信頼シグナルが不足または混在する有用な候補です。結果ループがタスク適合を示すまで、隔離されたワークスペースで使用してください。
監査
要レビューインストール準備、安全メタデータ、保守、採用リスクの機械可読なレビュー。
OpenAgentSkill Trust Score v5
インストール前に人のレビュー
実作業で使う前に、サンドボックスでのみ実行し、近い代替と比較してください。
スター
GitHub スター 30K
リポジトリ活動
スター 30K、フォーク 3.0K
メンテナンス
本日プッシュ
ライセンス
Apache-2.0
インストール
npx skills add topoteretes/cognee --skill cognee-cli
インストール安全性
標準パッケージまたはランタイムのインストールパス
権限範囲
secrets or environment access, shell or command execution
Agent の成果
Agent の成果データはまだありません
ドキュメント
README/SKILL.md の文脈が十分です
リスク概要
本番前にレビュー
- 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
インストール準備状況
インストールパスを利用可能
- インストールパスを利用できます
- リポジトリの根拠を利用できます
- ライセンスが明示されています
- Agent-Proven の成果エビデンスはまだありません
Agent 可読メタデータ
このスキルの機械可読な判断データ。
このブロックまたは埋め込み JSON を使い、Agent がこのスキルをインストールすべきか、代替を選ぶべきか、先に人のレビューを求めるべきかを判断できます。
適したタスク
- リサーチ Agent ワークフロー
- Claude Code チーム
- GitHub 採用シグナルを重視するチーム
- 検索ソース
適した Agent
インストール判断
- コマンド
- npx skills add topoteretes/cognee --skill cognee-cli
- ポリシー
- レビュー
- 人によるレビュー
- はい
信頼とリスク
- 信頼
- 66/100
- 監査
- 83/100
- リスクレベル
- 要レビュー
成果ループ
- エンドポイント
- /api/agent/outcome
- イベント ID
- resolve
- 成果
- 5
使わない場合
- ベンダー提供の 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.
- OpenAgentSkill の利用フィードバックはまだありません
- 高リスク権限のヒント: Shell or command execution, Secrets or environment access
Agent セーフティ v2
39/100 · 自動インストールを避ける
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
高
Shell またはコマンド実行
Skill メタデータに端末、CLI、Shell、サブプロセス、またはコマンド実行のワークフローが含まれます。
中
ネットワークアクセス
Skill はリモートページ、API、リポジトリ、外部サービスにアクセスする可能性があります。
中
ファイルシステムアクセス
Skill はプロジェクトファイル、ドキュメント、生成物、ローカルワークスペース状態を読み書きする可能性があります。
高
Secrets or environment access
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
- 高リスク権限のヒント: Shell or command execution, Secrets or environment access
- Dependency or permission surface needs review
インストール先
Agent ワークフローにこのスキルをインストール
公開インストールエンドポイントからコマンド、安全チェックリスト、対象プロンプト、正規リンクを取得します。
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 解決プラン
インストール前に Agent に適合性を検証させます。
Resolve API は第一候補、代替、安全ポリシー、監査メモ、インストール先、Agent がそのまま使えるプロンプトを返します。
JSON を開く
/api/agent/resolve?task=Use%20cognee-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve テキスト
/api/agent/resolve?task=Use%20cognee-cli%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
インストール引き継ぎ
/api/skills/topoteretes-cognee-cli/install
Agent が確認すべきこと
- Resolve API でタスク適合と代替を確認。
- 監査・信頼スコアと安全ポリシーの警告を確認。
- Codex、Claude Code、Cursor、CLI のインストール先互換性を確認。
プロンプトをコピー
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 引き継ぎ
別のディレクトリではなく、インストール経路を Agent に渡します。
公開インストールエンドポイントからコマンド、安全チェックリスト、対象プロンプト、正規リンクを取得します。
インストール引き継ぎ
/api/skills/topoteretes-cognee-cli/install
LLM テキスト形式
/api/skills/topoteretes-cognee-cli/install?format=text
代替を探す
/api/skills/search?q=cognee-cli&limit=3
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-cliRegistry メタデータ
自動スキル選択用の Agent 可読プロファイル。
Registry API 経由で判断、信頼、監査、ユースケース、インストールのシグナルを提供し、UI をスクレイピングせずに Agent が順位付けできます。
Agent 判断パネル
リサーチ Agent 向けの第一候補
有力候補として扱い、自分の Agent スタックで README とインストール経路を検証してください。
スタック内の役割
第一候補
主な適合
リサーチ Agent
信頼ラベル
本番対応
インストールパス
コマンド準備済み
使う場面
- リサーチ Agent ワークフロー
- Claude Code チーム
- GitHub 採用シグナルを重視するチーム
根拠
- GitHub スター 30,192
- 最近のリポジトリ活動
- インストールコマンドまたは GitHub リポジトリが利用可能
- 品質プロファイル 92/100
先にレビュー
- The skill documents `forget --all` as a destructive command without confirmation, but it clearly warns users about this risk, so it's acceptable.
- OpenAgentSkill の利用フィードバックはまだありません
実装パス
- 1サンドボックスの Agent にインストールし、リサーチ Agent タスクを一度最初から最後まで実行します。
- 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.
信頼プロファイル
サンドボックス限定
信頼シグナルが不足または混在する有用な候補です。結果ループがタスク適合を示すまで、隔離されたワークスペースで使用してください。
GitHub 採用度
合格GitHub スター 30K
スター/フォーク活動
合格スター 30K、フォーク 3.0K; 現在のメタデータでは Issue 活動を利用できません
最近のメンテナンス
合格本日プッシュ
ライセンスの明確さ
合格Apache-2.0
良いシグナル
- AI レビュー承認済み
- インストールパスを利用できます
- リポジトリの根拠を利用できます
- 最近保守されたリポジトリ
- Large GitHub adoption signal
- インストールコマンドに明確な高リスクパターンはありません
- 成果ループは準備済みですが、最初の実行が必要です
インストール前にレビュー
- 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
- 実際の Agent 成果レポートはまだありません
- 無人インストールの前に人によるレビューが必要です
推奨アクション
実作業で使う前に、サンドボックスでのみ実行し、近い代替と比較してください。
品質プロファイル
優秀 Agent ワークフロー向けの候補
採用度と保守性のシグナルが強い高信頼候補です。
ワークフロー適合
このスキルを使うシナリオ
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.
ワークフロー適合
完全なワークフローに追加
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.
代替候補
インストール前に比較
このタスクに適する可能性のある類似スキル。
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.
概要
--- 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`.)
技術詳細
- バージョン
- 1.0.0
- ライセンス
- Apache-2.0
- 最終更新
- 2026年8月23日
- 公開日
- 2026年8月23日
判断の要約
第一候補
GitHub スター 30,192
Agent 実証エビデンス
Agent 実証エビデンス
Resolve、レビュー、インストール、限定実行後の成果レポート。
- 成功率
- —
- 直近の失敗
- —
- 成果
- 0
- 出力品質
- —
- 失敗
- 0
- 非該当
- 0
- インストール数
- 0
- リスクによりブロック
- 0
- 設定が必要
- 0
- 本番
- 0
Agent の実行結果はまだありません。最初の実行では /api/agent/outcome を通じて成功、設定要件、リスクによるブロック、失敗、非該当を報告できます。
成長ループ
共有キット
cognee-cli 用のシナリオベース草案です。X へ手動投稿できます。
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
任意:インストールコマンド付きの返信
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
掲載元
Registry により登録
この掲載は公開ソースから登録されており、メンテナー申請が承認されるまで公式として表示されません。
- 作成者
- topoteretes
- インデックス作成者
- OpenAgentSkill コミュニティインデックス
帰属は公開リポジトリまたは作成者プロフィールにリンクされています。作成者は掲載を申請して所有権シグナルを更新できます。
このスキルを申請所有者の申請
このスキル掲載を申請
この Registry により登録 掲載は topoteretes に帰属していますが、まだ公式として表示されていません。申請すると、確認済み所有者シグナルが追加され、今後の公開、インストール、監査更新の信頼性が高まります。
クリエイター被リンクキット
README にエビデンスバッジを追加
開発者がリポジトリを評価する場所で、正規掲載、現在の信頼・監査シグナル、実際の Agent-Proven エビデンスを表示します。
[](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)作者
topoteretes
@topoteretes
プラットフォーム適合
健全性シグナル
- GitHub スター
- 30.2K
- 品質スコア
- 55/100
- 最終 GitHub プッシュ
- 2026年8月23日
- フレームワークのヒント
- 不明
- OpenAgentSkill 閲覧数
- 0
- インストールコピー数
- 0
- 外部クリック
- 0
コミュニティシグナル
このスキルが Agent ワークフローに役立つかを共有してください。集約されたフィードバックがランキングを改善します。
信頼と安全性
サンドボックス限定
- GitHub 採用度GitHub スター 30K合格
- スター/フォーク活動スター 30K、フォーク 3.0K; 現在のメタデータでは Issue 活動を利用できません合格
- 最近のメンテナンス本日プッシュ合格
- ライセンスの明確さApache-2.0合格
- README/SKILL.md の完全性メタデータには十分な利用・ワークフロー文脈があります合格
- 依存関係/ランタイムのリスクcommand execution surface, credential or environment access修正
関連スキル
D3
Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
113.1K スターEcharts
Apache ECharts is a powerful, interactive charting and data visualization library for browser
66.6K スターData Science For Beginners
10 Weeks, 20 Lessons, Data Science for All!
35.6K スター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.
30.4K スター