cognitive-surrogate

cognitive-surrogate is a skill for Claude Code, Codex from plurigrid/asi. It costs 25 tokens per session (1,318 once invoked), scanned A, original, MIT.

A system for building psychological models from interaction patterns, including profiles of values, interests, and recurring examples. It can train and validate a model intended to produce responses in a person’s style.

In plain words
What is it for?
Extracting profiles from interactions and building models that continue a person’s characteristic responses.
Why use it?
It organises interaction evidence into a structured profile instead of relying only on surface text. The description claims a fidelity target, but does not explain how it is measured.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Extracting profiles from interactions and building models that continue a person’s characteristic responses.

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

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 cognitive-surrogate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/plurigrid/asi/cognitive-surrogate"><img src="https://agentmods.dev/badge/skills/plurigrid/asi/cognitive-surrogate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,318 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.00025 $0.01318
Opus 5.5 $0.00010 $0.00527
Sonnet 5.5 $0.00005 $0.00264
Haiku 4.5 $0.00003 $0.00132

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

Security

Grade A, and why

cognitive-surrogate 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 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.

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.

ies/music-topos/.agents/skills/cognitive-surrogate/SKILL.md · 186 lines

How it starts

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

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)

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

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

Read the full file on GitHub · 186 lines

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 · 186 lines · 25 tokens per session scan A 563e1848a302

Subscribe to this mod's changes

cognitive-surrogate is a skill published in the GitHub repository plurigrid/asi (73 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 1,318 once invoked, about $0.0001 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-09-01.

Related

cognitive-surrogate compared with skills from other repositories

cognitive-surrogate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cognitive-surrogateplurigrid/asiSkill731mo agoMITA25Claude Code, Codex
agent-platform-model-registrygoogle/skillsSkill25ktodayApache-2.0A60Claude Code, Codex
llm-evaluationsickn33/agentic-awesome-skillsSkill51ktodayMITA25Claude Code
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
training-checkwanshuiyin/Auto-claude-code-research-in-sleepSkill20kyesterdayMITA35Claude Code
tao-run-inference-serviceNVIDIA/skillsSkill4.3ktodayApache-2.0A92Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill4.3ktodayApache-2.0A30Claude Code