subcog-integrator

subcog-integrator is a skill for Claude Code from zircote/subcog. It costs 0 tokens per session (785 once invoked), scanned A, original, MIT.

A skill for reviewing and improving prompts, skills, commands, hooks, and system settings so they use Subcog, a persistent memory system, more effectively.

In plain words
What is it for?
It is for auditing existing agent setup, adding memory support, and creating memory-aware prompts or skills.
Why use it?
It helps find missing memory integration and suggests changes without requiring you to inspect every configuration yourself.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool.

Part of the subcog plugin — 4 skills, 9 commands, 5 hooks shipped together

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.

agentmods
npx agentmods add skills/zircote/subcog/subcog-integrator
Any agent
npx skills add zircote/subcog --skill subcog-integrator
Clone the repo
git clone --depth 1 https://github.com/zircote/subcog

Made for: Claude Code.

Or install subcog, the plugin that ships this one along with the rest of its 4 skills, 9 commands, 5 hooks.

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 subcog-integrator

README.md
[![agentmods](https://agentmods.dev/badge/skills/zircote/subcog/subcog-integrator.svg)](https://agentmods.dev/skills/zircote/subcog/subcog-integrator)
Your own site
<a href="https://agentmods.dev/skills/zircote/subcog/subcog-integrator"><img src="https://agentmods.dev/badge/skills/zircote/subcog/subcog-integrator.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 785 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.00785
Opus 5 $0.00000 $0.00392
Sonnet 5 $0.00000 $0.00157
Haiku 4.5 $0.00000 $0.00078

Measured 6d ago against content hash 38d17aac2e2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

subcog-integrator 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 6d 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.

skills/subcog-integrator/SKILL.md · 103 lines

How it starts

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

Subcog Integrator Skill

Analyze and enhance AI prompts, skills, commands, hooks, and system configurations to leverage Subcog's persistent memory system effectively.

Trigger Phrases

  • "enhance my prompts with subcog", "integrate subcog"
  • "improve memory usage", "optimize for subcog"
  • "add memory support", "memory-aware prompts"
  • "review my CLAUDE.md", "analyze my hooks"
  • "help me use subcog better", "subcog best practices"

Quick Reference

Mode What It Does Example Trigger
Analyze Audit existing configs for integration gaps "review my CLAUDE.md"
Enhance Add memory integration to existing artifacts "add subcog to my skill"
Create Generate new memory-aware artifacts "create a memory-aware skill"

Execution Strategy

Interactive Workflow:

  1. Discover current integration state (CLAUDE.md, hooks, skills)
  2. Ask user what to analyze/enhance via AskUserQuestion
  3. Generate recommendations with code snippets
  4. Offer to apply changes

Workflow

  1. Discover current state

    • Read project and user CLAUDE.md files
    • Check for hooks configuration
    • Scan skills/ and commands/ directories
    • Call subcog_status for health check
  2. Surface existing patterns

    • subcog_recall with "subcog integration patterns"
  3. Analyze and recommend

    • Check for Memory Protocol section in CLAUDE.md
    • Verify hooks are configured
    • Review skills for recall/capture integration
  4. Present report

    • Current state summary
    • Missing integration points
    • Priority-ranked recommendations
  5. Apply changes (with user approval)

Read the full file on GitHub · 103 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. 6d ago First seen · 103 lines · 0 tokens per session scan A 38d17aac2e2c

Subscribe to this mod's changes

subcog-integrator is a skill published in the GitHub repository zircote/subcog (28 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 785 tokens. 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

clawmem

ClawMem operational reference for agents at query time — the 3-rule escalation gate, MCP tool routing, the 4 query-optimization levers, pipeline behavior (query vs intentsearch), composite scoring, and memory lifecycle (pin/snooze/forget). Use when tuning retrieval, troubleshooting recall quality, or any ClawMem…

yoloshii/ClawMem · 120 tokens

engrama-onboard

Build a personalized Engrama memory graph for any user through a conversational interview. Use this skill whenever someone says "set up Engrama", "create my graph", "onboard", "build my profile", "configure Engrama for me", or asks how to start using Engrama. Also use when the user mentions they have a different role…

scops/engrama · 104 tokens

ariadne

Mandatory long-term memory workflow for Codex, Claude Code, and MCP clients backed by the local Ariadne server (Qdrant + bge-m3). Always use at the start or resumption of substantive project work, after context compaction, when prior work or decisions may matter, and immediately after durable decisions, gotchas…

mclaut/ariadne · 95 tokens

check-memory-before-acting

Search this project's own memory before doing something it may already have opinions about. Use before running a build/test/deploy command, before choosing a library or approach, before changing configuration or CI, and before re-opening a decision that may already have been settled. Also use when a task resembles…

GiulioDER/RE-call · 72 tokens

keep-memory-current

Load this project's memory when you start, and write back what you learned before you stop. Use at the beginning of a work session, when finishing a task or about to end a session, after debugging something non-obvious, after a decision that took argument to reach, and whenever you catch yourself thinking "I should…

GiulioDER/RE-call · 81 tokens

kb-log

결정·삽질 즉시 기록 — 아키텍처/기술 결정을 내렸거나 버그의 원인을 규명한 "직후" 팀 지식베이스에 기록한다(recorddecision/recordlearning). kb MCP를 못 쓰는 상황(미연결, 서브에이전트)이면 .kb/ledger.jsonl 원장에 append해 유실을 막는다. "이 결정 기록해줘", "방금 삽질 남겨" 요청 시, 또는 중요한 결정·디버깅 완료 직후 자발적으로 사용.

riemannulus/knowledge-base · 124 tokens