Insights
rohitg00/pro-workflow
Show session analytics, learning patterns, correction trends, heatmaps, and productivity metrics.
Cognitive AI tools for HyperspaceDB: Chain-of-Thought stability analysis, Koopman momentum prediction, trust scoring, and Lyapunov convergence for agent reasoning.
$ npx skills add YARlabs/hyperspace-db --skill hyperspacedb-cognitive -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install YARlabs/hyperspace-db hyperspacedb-cognitive --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/YARlabs/hyperspace-db.git skills-src && mkdir -p .claude/skills && cp -r skills-src/integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive .claude/skills/hyperspacedb-cognitive && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "hyperspacedb-cognitive" agent skill from https://github.com/YARlabs/hyperspace-db/tree/main/integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive into .claude/skills/hyperspacedb-cognitive/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hyperspacedb-cognitive", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/YARlabs/hyperspace-db/tree/main/integrations/hyperspacedb-skills/skills/hyperspacedb-cognitiveType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add YARlabs/hyperspace-db --skill hyperspacedb-cognitive -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install YARlabs/hyperspace-db hyperspacedb-cognitive --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/YARlabs/hyperspace-db.git skills-src && mkdir -p .agents/skills && cp -r skills-src/integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive .agents/skills/hyperspacedb-cognitive && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "hyperspacedb-cognitive" agent skill from https://github.com/YARlabs/hyperspace-db/tree/main/integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive into .agents/skills/hyperspacedb-cognitive/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hyperspacedb-cognitive", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add YARlabs/hyperspace-db --skill hyperspacedb-cognitive -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install YARlabs/hyperspace-db hyperspacedb-cognitive --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/YARlabs/hyperspace-db.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive .cursor/skills/hyperspacedb-cognitive && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "hyperspacedb-cognitive" agent skill from https://github.com/YARlabs/hyperspace-db/tree/main/integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive into .cursor/skills/hyperspacedb-cognitive/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hyperspacedb-cognitive", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/YARlabs/hyperspace-db.git --path integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add YARlabs/hyperspace-db --skill hyperspacedb-cognitive -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install YARlabs/hyperspace-db hyperspacedb-cognitive --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/YARlabs/hyperspace-db.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive .gemini/skills/hyperspacedb-cognitive && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "hyperspacedb-cognitive" agent skill from https://github.com/YARlabs/hyperspace-db/tree/main/integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive into .gemini/skills/hyperspacedb-cognitive/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hyperspacedb-cognitive", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install YARlabs/hyperspace-db hyperspacedb-cognitiveInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add YARlabs/hyperspace-db --skill hyperspacedb-cognitive -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/YARlabs/hyperspace-db.git skills-src && mkdir -p .github/skills && cp -r skills-src/integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive .github/skills/hyperspacedb-cognitive && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "hyperspacedb-cognitive" agent skill from https://github.com/YARlabs/hyperspace-db/tree/main/integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive into .github/skills/hyperspacedb-cognitive/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hyperspacedb-cognitive", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add YARlabs/hyperspace-db --skill hyperspacedb-cognitive -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install YARlabs/hyperspace-db hyperspacedb-cognitive --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/YARlabs/hyperspace-db.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive .opencode/skills/hyperspacedb-cognitive && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "hyperspacedb-cognitive" agent skill from https://github.com/YARlabs/hyperspace-db/tree/main/integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive into .opencode/skills/hyperspacedb-cognitive/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hyperspacedb-cognitive", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
hyperspacedb-cognitiveCognitive AI tools for HyperspaceDB: Chain-of-Thought stability analysis, Koopman momentum prediction, trust scoring, and Lyapunov convergence for agent reasoning.
Hyperspacedb Cognitive is an agent skill from YARlabs/hyperspace-db. Cognitive AI tools for HyperspaceDB: Chain-of-Thought stability analysis, Koopman momentum prediction, trust scoring, and Lyapunov convergence for agent reasoning. Use this skill when working with AI agent memory, reasoning stability, hallucination detection, thought trajectory forecasting, or Koopman operator theory. Trigger on: "thought stability", "chain of thought", "CoT", "hallucination detection", "reasoning loop", "Lyapunov", "momentum", "trust score", "agent memory", "attractor".
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Agent memory and Forecasting and time series. The repository describes itself as: [H] HyperspaceDB is a high-performance, vector database. It features 1-bit quantization, async replication, and native support for hierarchical datasets (Lorentz, Poincaré ball &… The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a43ccf7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Hyperspacedb Cognitive loads about 1.6k tokens when it runs. Until then it costs about 129 tokens; SKILL.md has 373 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from YARlabs/hyperspace-db at commit a43ccf7, republished under its MIT licence (© YARlabs). 373 words, ~1,570 tokens.
.claude/skills/hyperspacedb-cognitive/SKILL.md (or your agent's skills folder).HyperspaceDB provides first-class cognitive primitives for AI agents.
These tools are implemented as client-side computations in the SDK:
they fetch stored vectors via getPoints() and then apply mathematical analysis locally.
This means they work against any version of the HyperspaceDB server.
Supported geometry for cognitive tools:
lorentz, poincare — full Lorentz/hyperbolic mathhybrid — applies Lorentz math to first 33 dims, Euclidean to the restcosine, l2 — Euclidean approximationsA thought trajectory is a sequence of vector IDs representing the progression of an agent's reasoning (e.g., each step of a Chain of Thought stored as a vector).
[id_1: "observe problem"] → [id_2: "form hypothesis"] → [id_3: "test hypothesis"] → ...By storing CoT steps in HyperspaceDB, you can then apply mathematical analysis to detect hallucination, measure convergence, and predict future reasoning direction.
Determines whether a reasoning trajectory is converging (stable attractor) or diverging (hallucination / reasoning loop).
Implementation:
analyzeThoughtStabilityfetches the vectors for the given IDs viagetPoints(), then computes Lyapunov exponent client-side in the SDK.
// trajectoryIds: ordered IDs of reasoning steps stored in the collection
const stability = await client.analyzeThoughtStability(
trajectoryIds, // number[] — ordered IDs of reasoning steps
1.0, // curvature parameter (1.0 for Lorentz/hybrid space)
"reasoning_memory"
);
// returns: { lyapunov_exponent: number, is_stable: boolean, attractor_id?: number }Interpretation:
lyapunov_exponent | Meaning |
|---|---|
< 0 | Stable — converging on a logical conclusion |
≈ 0 | Neutral — bounded but not converging |
> 0 | Unstable — potential hallucination or infinite loop |
Use case: After each N steps of a reasoning chain, check stability. If unstable, trigger self-correction or inject a grounding prompt.
Extrapolates future reasoning direction using Koopman operator theory. Given a trajectory, predicts where the agent's thought process will move next.
Implementation: Fetches the last two trajectory vectors via
getPoints(), callsMetric::extrapolate_momentum()client-side. Forhybridcollections, Lorentz and Euclidean parts are extrapolated independently then recombined.
const forecast = await client.predictMomentum(
trajectoryIds, // number[] — past reasoning steps (min 2 IDs needed)
1.0, // steps ahead to predict
"reasoning_memory",
1.0 // curvature
);
// returns: number[] — predicted next vector in the collection's geometryUse case: Pre-fetch relevant context before the agent needs it, based on where its reasoning is heading — reducing latency in agentic loops.
Calculates a composite stability and coherence score (0.0 – 1.0) for a trajectory. Combines Lyapunov exponent with geometric consistency.
Implementation: Client-side computation on vectors fetched via
getPoints().
const trust = await client.getTrustScore(
trajectoryIds, // number[]
"reasoning_memory",
1.0 // curvature
);
// returns: number (0.0 – 1.0)Use case: Gate critical decisions on trust score — only take action when
reasoning confidence exceeds a threshold (e.g., trust > 0.75).
Analyzes a set of raw vectors to determine the optimal database geometry. Ports the Gromov 4-point condition test.
import { CognitiveMathExport } from 'hyperspace-sdk-ts';
const { delta, recommendation } = CognitiveMathExport.analyzeDeltaHyperbolicity(
vectorSamples, // number[][]
100 // numSamples
);
// recommendation: "lorentz" | "poincare" | "cosine" | "l2"// 1. Store reasoning steps as vectors
const stepIds: number[] = [];
for (const step of chainOfThought) {
const id = await client.insertText(step.text, { step: step.index }, "agent_cot");
stepIds.push(id);
}
// 2. Check stability after every 5 steps
if (stepIds.length % 5 === 0) {
const { is_stable, lyapunov_exponent } = await client.analyzeThoughtStability(
stepIds.slice(-10), 1.0, "agent_cot"
);
if (!is_stable) {
// Inject grounding: retrieve most stable past conclusion
const trustScores = await client.getTrustScore(stepIds.slice(-10), "agent_cot");
console.warn(`Reasoning diverging (λ=${lyapunov_exponent}). Trust: ${trustScores.score}`);
}
}
// 3. Predict next topic cluster
const forecast = await client.predictMomentum(stepIds, 1.0, "agent_cot");
// Pre-fetch related documents for the predicted direction
const upcoming = await client.search(forecast.predicted_vector, 5, "knowledge_base");import { CognitiveMathExport as CognitiveMath, HyperbolicMath } from 'hyperspace-sdk-ts';
// Lorentz inner product
const inner = CognitiveMath.lorentzInner(v1, v2);
// Geodesic distance in Lorentz space
const dist = CognitiveMath.lorentzDist(v1, v2);
// Project to Lorentz hyperboloid
const projected = HyperbolicMath.toLorentz(euclideanVec);© YARlabs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive of YARlabs/hyperspace-db.
Open the folder on GitHubat commit a43ccf7
Hyperspacedb Cognitive next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Hyperspacedb Cognitive this skillYARlabs/hyperspace-db | 162 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Insightsrohitg00/pro-workflow | 2.9k | — | ~719 | Automated safety check: Pass | None | |
| Learning LoopLeoYeAI/openclaw-master-skills | 2.2k | — | ~4.4k | Automated safety check: Pass | MIT | |
| Tiktok Shop Inventorynexscope-ai/eCommerce-Skills | 1.1k | — | ~444 | Automated safety check: Pass | MIT | |
| TimesFM Forecastinggoogle-research/timesfm | 34k | — | ~4.7k | Automated safety check: Pass | Apache-2.0 | |
| Custom Mode Creator for claude-memthedotmack/claude-mem | 99k | — | ~2.4k | Automated safety check: Pass | Apache-2.0 |
rohitg00/pro-workflow
Show session analytics, learning patterns, correction trends, heatmaps, and productivity metrics.
LeoYeAI/openclaw-master-skills
Structured self-improvement system for AI agents with confidence decay, cross-agent sharing, and anomaly detection.
nexscope-ai/eCommerce-Skills
Inventory management for TikTok Shop — demand forecasting, viral stock planning, FBT optimization
google-research/timesfm
Forecasts any univariate time series zero-shot with Google's TimesFM model, returning point forecasts and calibrated prediction intervals without training.
thedotmack/claude-mem
Walks you through creating, installing and verifying a custom claude-mem mode, including note types, tags and optional Telegram alerts for chosen memories.
cursor/plugins
Starts three parallel reviewer subagents over the current conversation transcript, then turns their findings into concrete edits to existing skills.
YARlabs/hyperspace-db
Core operations for HyperspaceDB — a multi-geometry vector database.
YARlabs/hyperspace-db
Graph traversal, Lorentz hierarchy, and concept relationship operations for HyperspaceDB.
YARlabs/hyperspace-db
Model Context Protocol (MCP) server for HyperspaceDB. An agent skill from YARlabs/hyperspace-db.
YARlabs/hyperspace-db
Zero-overhead cognitive long-term and episodic memory for AI agents (Mem0 drop-in and mcp-hyperspace-memory).
Categories
Cognitive AI tools for HyperspaceDB: Chain-of-Thought stability analysis, Koopman momentum prediction, trust scoring, and Lyapunov convergence for agent reasoning. Hyperspacedb Cognitive is an agent skill from YARlabs/hyperspace-db. Cognitive AI tools for HyperspaceDB: Chain-of-Thought stability analysis, Koopman momentum prediction, trust scoring, and Lyapunov convergence for agent reasoning.
Hyperspacedb Cognitive fits situations like: working with AI agent memory; reasoning stability; hallucination detection; thought trajectory forecasting.
Run `npx skills add YARlabs/hyperspace-db --skill hyperspacedb-cognitive -a claude-code`. Or copy the skill folder (integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive in YARlabs/hyperspace-db) into .claude/skills/hyperspacedb-cognitive in your project. Claude Code loads it when a task matches its description.
Run `npx skills add YARlabs/hyperspace-db --skill hyperspacedb-cognitive -a codex`. Or copy the skill folder (integrations/hyperspacedb-skills/skills/hyperspacedb-cognitive in YARlabs/hyperspace-db) into .agents/skills/hyperspacedb-cognitive in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add YARlabs/hyperspace-db --skill hyperspacedb-cognitive -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hyperspacedb-cognitive, .gemini/skills/hyperspacedb-cognitive, .github/skills/hyperspacedb-cognitive and .opencode/skills/hyperspacedb-cognitive in your project.
SKILL.md names no scripts, command-line tools or credentials: Hyperspacedb Cognitive is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Hyperspacedb Cognitive is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Hyperspacedb Cognitive: Insights (rohitg00/pro-workflow, 2.9k stars), Learning Loop (LeoYeAI/openclaw-master-skills, 2.2k stars), Tiktok Shop Inventory (nexscope-ai/eCommerce-Skills, 1.1k stars) and TimesFM Forecasting (google-research/timesfm, 34k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
YARlabs (a GitHub user) maintains it in YARlabs/hyperspace-db, which has 162 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 9, 2026.
Source: YARlabs/hyperspace-db on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.