cognitive-surrogate
Layer 6 Barton Cognitive Surrogate - build, train, validate psychological models with >90% fidelity
Skill by plurigrid
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/plurigrid-cognitive-surrogate
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/cognitive-surrogate
What's inside
- Skill name
cognitive-surrogate- Description
- Layer 6 Barton Cognitive Surrogate - build, train, validate psychological models with >90% fidelity
- License
- MIT
- Instructions
- 182 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# cognitive-surrogate
> Layer 6: Build, Train, and Validate Psychological Models
**Version**: 1.1.0 (music-topos enhanced)
**Trit**: 0 (Ergodic - coordinates surrogate building)
**Bundle**: learning
## Overview
The Cognitive Surrogate skill enables construction of high-fidelity psychological models from interaction patterns. It extracts values, predicts intellectual trajectories, and generates authentic responses that preserve the subject's voice with >90% fidelity.
**Core Principle**: A surrogate is not an imitation but a *derivational continuation* - the model learns the generative grammar of cognition, not surface patterns.
## Enhanced Integration: Multi-Interpreter
### ACSet Schema (Julia)
```julia
using ACSets, Catlab
@present SchProfile(FreeSchema) begin
Value::Ob
Interest::Ob
Pattern::Ob
name::Attr(Value, String)
weight::Attr(Value, Float64)
topic::Attr(Interest, String)
frequency::Attr(Interest, Int)
exemplar::Attr(Pattern, String)
end
@acset_type CognitiveProfile(SchProfile)
```
### Python Profile Builder
```python
# cognitive_surrogate.py
from dataclasses import dataclass
from typing import List, Dict
import duckdb
@dataclass
class CognitiveProfile:
values: Dict[str, float]
interests: Dict[str, int]
patterns: List[str]
def build_psychological_profile(corpus_path: str, seed: int = 0x42D):
"""Extract structured psychological profile from interaction corpus."""
conn = duckdb.connect(corpus_path)
# Extract values from sentiment patterns
values = conn.execute("""
SELECT topic, AVG(sentiment) as weight
FROM interactions
GROUP BY topic
HAVING COUNT(*) > 5
""").fetchall()
# Extract interests from frequency
interests = conn.execute("""
SELECT topic, COUNT(*) as frequency
FROM interactions
GROUP BY topic
ORDER BY frequency DESC
LIMIT 20
""").fetchall()
return CognitiveProfile(
values={v[0]: v[1] for v in values},
interests={i[0]: i[1] for i in interests},
patterns=extract_patterns(conn)
)
```
### Ruby Condensed Integration
```ruby
# Integration with CondensedAnima for sheaf-based profiles
module CognitiveSurrogate
def self.build_profile(interactions)
# Use condensed mathematics for profile structure
stack = WorldBroadcast::CondensedAnima.analytic_stack(
interactions.map { |i| i[:id] }
)
# 6-functor for profile transformations
{
profile: stack,
values: extract_values(interactions),
fidelity_target: 0.90,
cellular_sheaf: WorldBroadcast::CondensedAnima.to_cellular_sheaf(stack)
}
end
def self.validate_fidelity(surrogate, test_corpus, threshold: 0.90)
predictions = test_corpus.map { |t| surrogate.predict(t) }
accuracy = predictions.count(&:correct?) / predictions.size.to_f
{
topic_prediction: accuracy,
overall: accuracy,
passed: accuracy >= threshold
}
end
end
```
### Hy Pattern Extraction
```hy
;; cognitive_patterns.hy
(defn extract-behavioral-patterns [interactions]
"Extract patterns using HyJAX analysis"
(let [analyzer (tra.ThreadRelationalAnalyzer)]
;; Ingest interactionsFrom plurigrid/asi, MIT.
More from plurigrid/asi
- 0.514score
skill-creator
plurigrid
Guide for creating effective skills.
SkillDFreshness: D★ 70Claude Code +9 - 0.514score
code-review
plurigrid
Automated code review for pull requests using specialized review patterns.
SkillDFreshness: D★ 70Claude Code +9 - 0.514score
jepsen-testing
plurigrid
Jepsen-style correctness testing for distributed systems under faults (partitions, crashes, clock skew) using concurrent operation histories and formal…
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
koopman-generator
plurigrid
Koopman operator theory for infinite-dimensional linear lifting of nonlinear dynamics.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
bmorphism-stars
plurigrid
bmorphism's GitHub stars (2155 repos) and created repos - a curated index of applied category theory, MCP servers, and xenomodern tooling.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
lhott-cohesive-linear
plurigrid
Cohesive Linear HoTT patterns for interaction entropy with diagram generation.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
bisimulation-game
plurigrid
Bisimulation game for resilient skill dispersal across AI agents with GF(3) conservation and observational bridge types.
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
color-envelope-preserving
plurigrid
GF(3) color envelope preservation across navigator compositions
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
abductive-repl
plurigrid
Hypothesis-Test Loops via REPL for Exploratory Abductive Inference with Gay.jl colors
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
influence-propagation
plurigrid
Layer 7 Interperspectival Network Analysis and Influence Flow
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
entropy-sequencer
plurigrid
Layer 5 Interaction Interleaving for Maximum Information Gain with DuckDB
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
cyton-dongle
plurigrid
Connect and stream from OpenBCI Cyton/Daisy via USB dongle, including first-time radio channel pairing
SkillDFreshness: D★ 70Claude Code +9
Signals
- Stars
- 70
- Forks
- 13
- Open issues
- 3
- Last commit (this folder)
- Dec 22, 2025 (10 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/plurigrid/asi
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from plurigrid
- 0.514score
code-review
plurigrid
Automated code review for pull requests using specialized review patterns.
SkillDFreshness: D★ 70Claude Code +9 - 0.514score
jepsen-testing
plurigrid
Jepsen-style correctness testing for distributed systems under faults (partitions, crashes, clock skew) using concurrent operation histories and formal…
SkillDFreshness: D★ 70Claude Code +9 - 0.514score
skill-creator
plurigrid
Guide for creating effective skills.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
bisimulation-game
plurigrid
Bisimulation game for resilient skill dispersal across AI agents with GF(3) conservation and observational bridge types.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
lhott-cohesive-linear
plurigrid
Cohesive Linear HoTT patterns for interaction entropy with diagram generation.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
koopman-generator
plurigrid
Koopman operator theory for infinite-dimensional linear lifting of nonlinear dynamics.
SkillDFreshness: D★ 70Claude Code +9
Cite this page
cognitive-surrogate skill. Agent Mart. https://agentmart.dev/skills/plurigrid-cognitive-surrogate (last updated 2026-10-24)