cognee: Skill for Claude Code

.agents/skills/personalized-email/SKILL.md

personalized-email is a skill for Claude Code, Codex from topoteretes/cognee. It costs 72 tokens per session (693 once invoked), scanned A, original, Apache-2.0.

An email-reply drafting workflow that uses your newest Gmail message, Granola meeting notes, earlier mail, and your writing style. It reads Gmail without changing it and prints a draft instead of sending it.

In plain words
What is it for?
Drafting a reply to the newest Gmail message in your own tone, using relevant meeting context and prior correspondence.
Why use it?
It avoids searching through meetings and old messages to remember what you promised or how you usually write. You can review the reply before sending it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is topoteretes/cognee's own configuration. It tells Claude Code and Codex 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 · 33,094 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/.agents/skills/personalized-email/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/topoteretes/cognee

Made for: Claude Code, Codex.

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 personalized-email

README.md
[![agentmods](https://agentmods.dev/badge/skills/topoteretes/cognee/personalized-email/github.svg)](https://agentmods.dev/skills/topoteretes/cognee/personalized-email)
Your own site
<a href="https://agentmods.dev/skills/topoteretes/cognee/personalized-email"><img src="https://agentmods.dev/badge/skills/topoteretes/cognee/personalized-email/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for personalized-email

Your own site · 80×15
<a href="https://agentmods.dev/skills/topoteretes/cognee/personalized-email"><img src="https://agentmods.dev/badge/skills/topoteretes/cognee/personalized-email.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 693 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.00072 $0.00693
Opus 5.5 $0.00029 $0.00277
Sonnet 5.5 $0.00014 $0.00139
Haiku 4.5 $0.00007 $0.00069

Measured 1mo ago against content hash c407a9596cb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

personalized-email 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 1mo ago.

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.

.agents/skills/personalized-email/SKILL.md · 55 lines

How it starts

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

Personalized email

Runs the personalized email cookbook in examples/cookbooks/personalized_email/. It remembers your Granola meeting notes and your Gmail inbox and sent mail in the cognee dataset personalized_email, then drafts a reply to the newest inbox email. Setup, the scripts and what each one does are in the cookbook's README.md.

Run every command from the repo root.

Steps

With neither Gmail nor Granola set up, the commands below run on a sample mailbox (the [setup] line says so) and draft a reply to a fictional email; only LLM_API_KEY is needed. Tell the user the reply is to sample data. Add --sample to use the sample even when their accounts are set up.

  1. Run uv run python examples/cookbooks/personalized_email/personalized_email.py --check.
    • Exit 0: go to step 2.
    • Exit 2: each [setup] MISSING: line names one fix. Don't create credentials yourself. Tell the user exactly which line to fix, using the README's "What it needs" table, and stop. If only the Granola line is missing, ask whether to run with --no-granola instead.
  2. Run uv run python examples/cookbooks/personalized_email/personalized_email.py. Add --days N if the user named a time range for meetings, and --no-granola if they don't want Granola used.
  3. The draft is everything after the line [draft] Reply:. Give it to the user, and say which email it answers (the [draft] Answering: line) and which sources went in (the [ingest_granola] and [ingest_email] lines). The draft is never sent: hand it to the user to send.
  4. If a script fails, personalized_email.py exits 1 with a line naming what went wrong. Run that script from examples/cookbooks/personalized_email/scripts/ on its own to look closer.

Rules

  • Gmail access is read-only and nothing is sent.
  • Don't print the contents of credentials.json, token.json or .env.
  • A sample run forgets the cookbook's dataset personalized_email before it ingests (the [clear] line). On the user's own data, pass --clear only when they asked to start over: it forgets everything the dataset holds.
  • Ingesting reads the user's real meetings and mailbox, and every run uses LLM credits, so run it only when the user asked for it.

Read the full file on GitHub · 55 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. 1mo ago First seen · 55 lines · 72 tokens per session scan A c407a9596cb6

Subscribe to this mod's changes

personalized-email is a skill published in the GitHub repository topoteretes/cognee (33,094 stars, last pushed today), licensed Apache-2.0. It adds 72 tokens to every session and 693 once invoked, about $0.0003 per session on Opus 5.5. 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-10-08.

Related

personalized-email compared with skills from other repositories

personalized-email next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
personalized-emailtopoteretes/cogneeSkill33ktodayApache-2.0A72Claude Code, Codex
openmemoryCaviraOSS/OpenMemorySkill4.6k19d agoApache-2.0A96Claude Code, Codex
memseek-remembermemseekai/memseekSkill11yesterdayApache-2.0A24Claude Code
memseek-explainmemseekai/memseekSkill11yesterdayApache-2.0A25Claude Code
memseek-searchmemseekai/memseekSkill11yesterdayApache-2.0A22Claude Code
surface-learningsterrizoaguimor/celiums-memorySkill232mo agoApache-2.0A60Claude Code
context-recoveryterrizoaguimor/celiums-memorySkill232mo agoApache-2.0A37Claude Code