Skip to content
Skills Library
AI & agents · Building & coding

cognify

/cognify

Use when you need durable memory over documents — ingest files/notes into a typed knowledge graph and recall facts with their relationships. Build a knowledge base from PDFs, markdown, or pasted text, then ask grounded questions.

Author
S3YED ↗
Repository
appie-kit ↗
Licence
MIT
Last repository change
26.08.2026

Assessment and security

95/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 26.08.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when you need durable memory over documents — ingest files/notes into a typed knowledge graph and recall facts with their relationships. Build a knowledge base from PDFs, markdown, or pasted text, then ask grounded questions.

Original author description

Use when you need durable memory over documents — ingest files/notes into a typed knowledge graph and recall facts with their relationships. Build a knowledge base from PDFs, markdown, or pasted text, then ask grounded questions.

How it works

  1. Setup (once per box)
  2. Use it from the shell (simplest)
  3. Use it over HTTP (for a shared graph or a long-running agent)
  4. Rules
Original SKILL.md headings · 49 lines, 270 words
SKILL.md preview
---
name: cognify
description: Use when you need durable memory over documents — ingest files/notes into a typed knowledge graph and recall facts with their relationships. Build a knowledge base from PDFs, markdown, or pasted text, then ask grounded questions.
---

# Cognify (Hermes skill)

Give yourself a knowledge graph. `ingest` documents, `recall` facts plus how they
connect. Backed by ChromaDB + networkx locally (no external services), or
TurboVec + Neo4j for a shared graph.

## Setup (once per box)

```bash
pip install 'cognify-kg[local]'          # or [claude] to also use Claude as extractor
export ANTHROPIC_API_KEY=...             # Claude extractor (auto-detected)
# or: export OPENROUTER_API_KEY=...      # any OpenAI-compatible model
export COGNIFY_DATA_DIR="$HOME/.cognify" # where the graph lives
```

## Use it from the shell (simplest)

```bash
# ingest a file, a folder, or piped text — pick a tenant to isolate this agent's data
cognify ingest /path/to/handbook.pdf --tenant myagent --namespace docs
cognify ingest-dir ~/notes --glob '**/*.md' --tenant myagent --cache
echo "free text to remember" | cognify ingest - --tenant myagent

# recall: returns chunks + connected entities/relations as grounded context
cognify recall "who owns onboarding and what tool do they use?" --tenant myagent
cognify stats --tenant myagent
```

Parse the JSON from `recall` and use the `entities`/`relations`/`chunks` as
context for your answer.

## Use it over HTTP (for a shared graph or a long-running agent)

```bash
cognify-serve &      # 127.0.0.1:8799  (set COGNIFY_BACKEND=neo4j for a shared graph)
curl -s localhost:8799/ingest -d '{"path":"/docs/policy.md","tenant":"myagent"}' -H 'content-type: application/json'
curl -s localhost:8799/recall -d '{"query":"refund policy?","tenant":"myagent"}' -H 'content-type: application/json'
```

## Rules

- Always pass a stable `--tenant` for this agent so your memory stays isolated
  from other agents on the box.
- Ingesting calls the LLM once per chunk (cost). Use `--cache` on `ingest-dir` so
  re-runs skip unchanged files.
- For a fleet-shared graph use `COGNIFY_BACKEND=neo4j` with `NEO4J_*` set; for a
  private per-box graph use the default `local` backend.

Versions

The database has no other skills named cognify.

Database snapshot: 13.11.2026 · package version 28a08e6ad21e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100understand-chat
    Use when you need to ask questions about a codebase or understand code using a knowledge graph
  • 90understand-chat
    Use when you need to ask questions about a codebase or understand code using a knowledge graph
  • 90knowledge-graph-memory
    Store facts as entities and relationships when questions depend on connections rather than similarity. Use when retrieval must answer who relates to what rather than find similar text.
  • 100oms-cognee
    Builds apps on cognee v1.6.2, the knowledge-graph memory engine for AI agents. Use when ingesting text/files/URLs into memory, building knowledge graphs, searching memory with SearchType modes, enriching graphs with memify/improve, scoping memory with datasets and node_sets,…
  • 100knowledge-graph-creation
    Build structured knowledge graphs from unstructured text by extracting entities, mapping relationships, generating graph triples, and visualizing the result. Use when the user requests knowledge graph creation or provides relevant inputs for this workflow.
  • 100ask
    Route questions to appropriate intelligence. Use for "ask", "query", and "external knowledge".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.