cognify

cognify is a skill for Claude Code, Codex from S3YED/appie-kit. It costs 47 tokens per session (609 once invoked), scanned B, original, MIT.

A local knowledge base that turns documents and notes into connected facts, entities, and relationships. A knowledge graph is a way to store information together with the links between related things.

In plain words
What is it for?
Use it to ingest PDFs, Markdown files, folders, or pasted text, then recall grounded answers and the relationships between stored facts.
Why use it?
It gives an agent durable, searchable context instead of requiring it to reread source files or rely only on the current conversation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to ingest PDFs, Markdown files, folders, or pasted text, then recall grounded answers and the relationships between stored facts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s3yed/appie-kit/hermes
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add S3YED/appie-kit --skill hermes
Clone the repo
git clone --depth 1 https://github.com/S3YED/appie-kit

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 cognify

README.md
[![agentmods](https://agentmods.dev/badge/skills/s3yed/appie-kit/hermes/github.svg)](https://agentmods.dev/skills/s3yed/appie-kit/hermes)
Your own site
<a href="https://agentmods.dev/skills/s3yed/appie-kit/hermes"><img src="https://agentmods.dev/badge/skills/s3yed/appie-kit/hermes/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 cognify

Your own site · 80×15
<a href="https://agentmods.dev/skills/s3yed/appie-kit/hermes"><img src="https://agentmods.dev/badge/skills/s3yed/appie-kit/hermes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 609 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00047 $0.00609
Opus 5.5 $0.00019 $0.00244
Sonnet 5.5 $0.00009 $0.00122
Haiku 4.5 $0.00005 $0.00061

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

Security

Grade B, and why

cognify scanned grade B with 2 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 3mo 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

curl -s localhost:8799/ingest -d '{"path":"/docs/policy.md","tenant":"myagent"}' -H 'content-type: application/json'

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s localhost:8799/ingest -d '{"path":"/docs/policy.md","tenant":"myagent"}' -H 'content-type: application/json'
packages/cognify/integrations/hermes/SKILL.md · 53 lines

What it actually says

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)

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)

# 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)

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.
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. 3mo ago First seen · 53 lines · 47 tokens per session scan B efeded0b67db

Subscribe to this mod's changes

cognify is a skill published in the GitHub repository S3YED/appie-kit (14 stars, last pushed 3mo ago), licensed MIT. It adds 47 tokens to every session and 609 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

cognify compared with skills from other repositories

cognify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cognifyS3YED/appie-kitSkill143mo agoMITB47Claude Code, Codex
emerging-techniques-long-contextdavila7/claude-code-templatesSkill35ktodayMITA78Claude Code, Codex
hive.note-takingaden-hive/hiveSkill11kyesterdayApache-2.0A30Claude Code, Codex
vellum-memory-v3-migrationvellum-ai/vellum-assistantSkill1.5k5d agoMITA63Claude Code, Codex
hive-mind-advancedfrankxai/claude-skills-librarySkill51yesterdayMITA47Claude Code
ccc-memoryKevinZai/commanderSkill6yesterdayMITA55Claude Code, Codex
context-mgmtariaxhan/kernel-claudeSkill16yesterdayMITA37Claude Code