kip-cognitive-nexus

kip-cognitive-nexus is a skill for Claude Code, Codex from ldclabs/KIP. It costs 90 tokens per session (924 once invoked), scanned A, original, MIT.

A persistent graph-based memory system for AI agents using the Knowledge Interaction Protocol, or KIP. It supports searching stored knowledge, saving durable facts, discovering the memory schema, and maintaining memory quality.

In plain words
What is it for?
Use it to inspect available memory, find concepts and relationships, save selected knowledge, and manage persistent agent memory.
Why use it?
It lets an agent retrieve relevant past information instead of treating every conversation as completely new. It also provides a structured way to store only stable, useful facts.

Skill for Claude CodeCodex

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

Good fit Use it to inspect available memory, find concepts and relationships, save selected knowledge, and manage persistent agent memory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ldclabs/kip/kip-cognitive-nexus
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 ldclabs/KIP --skill kip-cognitive-nexus
Clone the repo
git clone --depth 1 https://github.com/ldclabs/KIP

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 kip-cognitive-nexus

README.md
[![agentmods](https://agentmods.dev/badge/skills/ldclabs/kip/kip-cognitive-nexus/github.svg)](https://agentmods.dev/skills/ldclabs/kip/kip-cognitive-nexus)
Your own site
<a href="https://agentmods.dev/skills/ldclabs/kip/kip-cognitive-nexus"><img src="https://agentmods.dev/badge/skills/ldclabs/kip/kip-cognitive-nexus/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 kip-cognitive-nexus

Your own site · 80×15
<a href="https://agentmods.dev/skills/ldclabs/kip/kip-cognitive-nexus"><img src="https://agentmods.dev/badge/skills/ldclabs/kip/kip-cognitive-nexus.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 924 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00090 $0.00924
Opus 5 $0.00045 $0.00462
Sonnet 5 $0.00018 $0.00185
Haiku 4.5 $0.00009 $0.00092

Measured 9d ago against content hash 0ccec8987f31, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

kip-cognitive-nexus 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 9d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/execute_kip.py, scripts/test_integration.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skill/kip-cognitive-nexus/SKILL.md · 97 lines

How it starts

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

KIP Cognitive Nexus

You have a Cognitive Nexus (external persistent memory) accessible via KIP commands.

Operating Principle

You are not stateless—you have persistent memory. Your job:

  1. Retrieve first: Before answering non-trivial questions, check memory
  2. Store selectively: Capture stable facts, preferences, relationships
  3. Use silently: Do not expose KIP syntax to users

Script Interface

# Single command
python scripts/execute_kip.py --command 'DESCRIBE PRIMER'

# With parameters (safe substitution)
python scripts/execute_kip.py \
  --command 'FIND(?p) WHERE { ?p {type: :type} } LIMIT :limit' \
  --params '{"type": "Person", "limit": 5}'

# Batch commands
python scripts/execute_kip.py \
  --commands '["DESCRIBE PRIMER", "FIND(?t.name) WHERE { ?t {type: \"$ConceptType\"} }"]'

# Dry run (validation only, use before DELETE)
python scripts/execute_kip.py --command 'DELETE CONCEPT ?n DETACH WHERE {...}' --dry-run

Environment: KIP_SERVER_URL (default: http://127.0.0.1:8080/kip), KIP_API_KEY (optional)

Core Operations

1. Schema Discovery (Start Here)

DESCRIBE PRIMER                      // Global summary + domain map
DESCRIBE CONCEPT TYPE "Person"       // Type schema
SEARCH CONCEPT "alice" LIMIT 5       // Fuzzy entity search

2. Query (KQL)

FIND(?p, ?p.attributes.role) WHERE { ?p {type: "Person"} } LIMIT 10
FIND(?e) WHERE { ?e {type: "Event"} (?e, "belongs_to_domain", {type: "Domain", name: "Projects"}) }

3. Store (KML)

UPSERT {
  CONCEPT ?e {
    {type: "Event", name: "conv:2025-01-09T10:00:topic"}  // minute-precision: distinct same-day sessions never merge
    SET ATTRIBUTES { event_class: "Conversation", content_summary: "..." }
    SET PROPOSITIONS { ("belongs_to_domain", {type: "Domain", name: "Projects"}) }
  }
}
WITH METADATA { source: "conversation", author: "$self", confidence: 0.9 }

4. Delete (Carefully)

DELETE CONCEPT ?n DETACH WHERE { ?n {type: "Event", name: "old_event"} }
// Always use --dry-run first; DETACH is mandatory

Read the full file on GitHub · 97 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 97 lines · 90 tokens per session scan A 0ccec8987f31

Subscribe to this mod's changes

kip-cognitive-nexus is a skill published in the GitHub repository ldclabs/KIP (81 stars, last pushed 2d ago), licensed MIT. It adds 90 tokens to every session and 924 once invoked, about $0.0005 per session on Opus 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-08-30.

Related

Other skills, from other repositories

memesh

Use MeMesh to remember, recall, and manage AI knowledge across sessions, and to exchange task-focused messages with local agents. Triggers when the user asks to remember something, recall past decisions, forget outdated info, learn from mistakes, analyze work patterns, contact another agent, or handle a memeshmessage…

PCIRCLE-AI/memesh · 136 tokens

memesh-review

Review and optimize the MeMesh memory database. Analyzes health score, finds stale or noisy memories, shows work patterns, and suggests human-reviewed cleanup actions. Use when asked to "review memories", "check memory health", "clean up knowledge", or "what's in my memory".

PCIRCLE-AI/memesh · 62 tokens

distill

Turn what was just worked out into a C Brain note — filed in the right zone, linked to what it relates to, indexed. Use when the user says "remember this", "save that", "note it down", "distill this session", or when a non-obvious problem has just been solved and the reasoning would otherwise be lost.

Yuno15-bb/c-brain · 70 tokens

doctor

Check the health of the C Brain installation and trunk — dead links, unindexed notes, broken hooks, stale state. Use when recall seems to return nothing, when notes are not being saved, when the user says C Brain "is not working", or before trusting the trunk for something important.

Yuno15-bb/c-brain · 59 tokens

using-lwc

Use when substantive project work, structural code questions, research, planning, debugging, architecture, decisions, document ingest, incident recovery, or verified context and results should survive future sessions; also when the user invokes $using-lwc or asks to search, update, repair, configure, or maintain an…

JanYork/using-lwc · 76 tokens

user-general-facts

Capture and organize general facts about the user by topic.

memodb-io/Acontext · 15 tokens