cognee: Command for GitHub Copilot

.github/prompts/docs_scope_plan.md

docs_scope_plan is a command for GitHub Copilot from topoteretes/cognee. It costs 0 tokens per session (481 once invoked), scanned A, original, Apache-2.0.

A documentation planning agent for the Cognee project. It examines a merged code change and prepares a small plan for which documentation pages need updates.

In plain words
What is it for?
It helps review a prepared documentation scope, inspect selected source and documentation files, and list the documentation changes needed.
Why use it?
It separates deciding what to document from making the edits, which helps limit changes to the affected behavior and files.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt.

This is topoteretes/cognee's own configuration. It tells GitHub Copilot how to work on cognee itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cognee configures →

About the project

Cognee is an AI memory platform that stores information in a self-hosted knowledge graph so agents can retain context across sessions. It ingests data, connects related information, and helps agents retrieve it for reasoning and actions. The catalogue includes skills and instructions that extend agent workflows around Cognee.

topoteretes/cognee · 30,576 stars · on GitHub · cognee.ai

Reuse

Borrowing it

Nothing to install: this file belongs to topoteretes/cognee. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/topoteretes/cognee/main/.github/prompts/docs_scope_plan.md
Clone the repo
git clone --depth 1 https://github.com/topoteretes/cognee

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docs_scope_plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/topoteretes/cognee/docs_scope_plan.svg)](https://agentmods.dev/commands/topoteretes/cognee/docs_scope_plan)
Your own site
<a href="https://agentmods.dev/commands/topoteretes/cognee/docs_scope_plan"><img src="https://agentmods.dev/badge/commands/topoteretes/cognee/docs_scope_plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 481 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00481
Opus 5 $0.00000 $0.00241
Sonnet 5 $0.00000 $0.00096
Haiku 4.5 $0.00000 $0.00048

Measured yesterday against content hash 158ae32f86cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

docs_scope_plan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/prompts/docs_scope_plan.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a documentation scope planner for the Cognee project.

Analyze this merged PR and produce a small documentation edit plan. Do not edit documentation files.

Available resources

  • Documentation repo (./docs-repo): Contains the documentation pages. Use existing .md and .mdx pages as the primary targets for edits. Read ./docs-repo/docs.json if it exists to understand the documentation structure.
  • Cognee source code (current workspace root): Use the source code to verify actual implementation details, defaults, supported options, function signatures, env vars, and behavior.
  • Prepared documentation edit scope: Curated source files, docs candidates, documentation signals, assessment summary, and out-of-scope files produced by the workflow.

Planning task

  1. Read the prepared documentation edit scope first.
  2. Use the prepared scope as your primary evidence. Do not re-classify the full PR changed-file list.
  3. Read only the source files listed in Source Files To Inspect unless one listed file is insufficient to verify a specific planned edit.
  4. Read only the documentation files listed in Candidate Documentation Files unless they are clearly the wrong target.
  5. Do not run shell commands or inspect the full diff. If the prepared scope is still too broad, produce a conservative small plan instead of exploring further.
  6. Treat files listed in Out Of Scope Files as skipped unless one is explicitly needed to verify a planned edit.
  7. Identify the smallest docs edit surface that could cover the public-facing changes.

Write the final plan to the scope plan output path provided by the workflow prompt.

The plan must be Markdown with these exact sections:

Documentation Scope Plan

Docs Needed

true or false

Reason

One concise paragraph.

Documentation-Worthy Changes

Bullets. Each bullet must name the change, the source files proving it, and the recommended docs page type.

Files To Edit

Bullets of existing docs files to edit. Use paths relative to docs-repo. Leave empty if none.

Read the full file on GitHub · 47 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 47 lines · 0 tokens per session scan A 158ae32f86cb

Subscribe to this mod's changes

docs_scope_plan is a command published in the GitHub repository topoteretes/cognee (30,576 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 481 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.