本文へ移動
cccskills
無料GitHub で公開

cognee-keys

Manage the API keys of this plugin's Cognee agent, one per machine. Use when the user asks to list, clean up or revoke Cognee plugin keys, when a session start says this machine is on the personal key because the agent is full, or when "cognee keys" / "key limit" / "revoke a key" comes up.

日本語の概要は準備中です。原文の説明を表示しています。

topoteretes/cognee-integrationsスター 101(GitHub 101 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Cognee Keys

Every machine this plugin runs on holds its own API key for the plugin's Cognee agent. The server caps how many keys an agent may hold; when it is full of keys still in use, a new machine is refused one and runs on the user's personal key instead (session start says so). Freeing a slot means revoking an old machine's key — a key that is still in use on another machine stops working there, so the user chooses which one.

All server access goes through plugin-keys.py, which authenticates as the user principal (the agent cannot manage its own keys) the same way the other skills resolve credentials. Do not bypass it with raw curl.

Instructions

1. List the keys, most recently used first

python3 "${COGNEE_ANTIGRAVITY_PLUGIN_ROOT:-$HOME/.gemini/config/plugins/cognee}/scripts/plugin-keys.py" list --json

Each key has id, created_at, last_used_at (empty when never used) and this_machine (true for the key this machine holds). Show the user the list as a numbered table — last used, created, and a short id — and mark this machine's key. Keys never used sort last. --all lists every plugin agent of the user (Claude Code, Codex, …) with a plugin column; --plugin <key> lists one other plugin's.

Exit code 5 means the server has no key routes for this plugin (it predates per-machine keys, or does not register the plugin); say so and stop.

2. Let the user choose, then revoke

Never pick a key for the user: the one with the oldest last_used_at is the usual candidate (an old laptop, a wiped container), but only the user knows which machines are still theirs. Confirm the choice, then:

python3 "${COGNEE_ANTIGRAVITY_PLUGIN_ROOT:-$HOME/.gemini/config/plugins/cognee}/scripts/plugin-keys.py" revoke <id> --json

Add --plugin <key> for another plugin's key. Revoking the key marked this_machine is refused unless the user explicitly wants it (--force); the next session start then provisions a new one. Exit code 3 means the key was already gone.

3. Tell the user what happens next

If the session start had reported the key limit, a new session now gets its own key. Revocation is immediate: the revoked machine falls back to the personal key at its next session start.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

codebase

無料

Use when indexing a code repository into Cognee's code graph or querying it (callers, impact analysis, paths, endpoints) from Codex.

日本語の概要は準備中です。原文の説明を表示しています。

topoteretes/cognee-integrations1012026年10月28日 更新

codebase

無料

Use when indexing a code repository into Cognee's code graph or querying it (callers, impact analysis, paths, endpoints) from Cursor.

日本語の概要は準備中です。原文の説明を表示しています。

topoteretes/cognee-integrations1012026年10月28日 更新

codebase

無料

Use when indexing a code repository into Cognee's code graph or querying it (callers, impact analysis, paths, endpoints) from Antigravity.

日本語の概要は準備中です。原文の説明を表示しています。

topoteretes/cognee-integrations1012026年10月28日 更新

Explain a repository's architecture (modules, routes, storage, services), find risky hotspots, draw a Mermaid diagram of the code graph, or review how far a change reaches, from Cognee's code graph.

日本語の概要は準備中です。原文の説明を表示しています。

topoteretes/cognee-integrations1012026年10月28日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

topoteretes/cognee-integrations1012026年10月28日 更新

A multi-day digest of the user's own coding-agent sessions — sessions per day and project, most-edited files, and every lesson Cognee distilled into the knowledge graph in that window. Use only when the user explicitly asks for a weekly digest, a retro, a recap or report of their recent sessions, or asks for the `cognee-digest` skill by name. Not for questions about code or the current task.

日本語の概要は準備中です。原文の説明を表示しています。

topoteretes/cognee-integrations1012026年10月28日 更新

topoteretes のスキルをすべて見る

このスキルの問題を報告する