kip-cognitive-nexus

kip-cognitive-nexus is a skill for Claude Code, Codex from ldclabs/KIP. It costs 101 tokens per session (974 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.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Historical archive.** Frozen at the repository layout migration; see the [v1 archive notice](../../README.md). Current KIP 2.0 documentation is at the reposit.

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

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ldclabs/KIP
agentmods
npx agentmods add skills/ldclabs/kip/kip-cognitive-nexus

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 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 974 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.00101 $0.00974
Opus 5.5 $0.00040 $0.00390
Sonnet 5.5 $0.00020 $0.00195
Haiku 4.5 $0.00010 $0.00097

Measured 1mo ago against content hash 09d4ec5ba8cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

v1/skill/kip-cognitive-nexus/SKILL.md · 99 lines

How it starts

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

KIP Cognitive Nexus

Historical archive. Frozen at the repository layout migration; see the v1 archive notice. Current KIP 2.0 documentation is at the repository root.

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 }

Read the full file on GitHub · 99 lines

Files

What ships with it

3 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. 1mo ago Changed · +2 lines · +11 tokens per session 09d4ec5ba8cd
  2. 1mo 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 (88 stars, last pushed yesterday), licensed MIT. It adds 101 tokens to every session and 974 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

linglu-discipline

A set of 16 operating rules for an AI coding agent, including when to read or write long-term memory and how to report completed actions. It is designed to work with the Lingshu memory service through an MCP connection.

FuRongJun-1999/dsh-memory · 73 tokens

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 · 135 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