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.
npx agentmods add skills/zircote/subcog/subcog-integratornpx skills add zircote/subcog --skill subcog-integratorgit clone --depth 1 https://github.com/zircote/subcogWrote 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.
[](https://agentmods.dev/skills/zircote/subcog/subcog-integrator)<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>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.
| Model | Per session | Once 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 |
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.
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:
- Discover current integration state (CLAUDE.md, hooks, skills)
- Ask user what to analyze/enhance via
AskUserQuestion - Generate recommendations with code snippets
- Offer to apply changes
Workflow
-
Discover current state
- Read project and user CLAUDE.md files
- Check for hooks configuration
- Scan skills/ and commands/ directories
- Call
subcog_statusfor health check
-
Surface existing patterns
subcog_recallwith "subcog integration patterns"
-
Analyze and recommend
- Check for Memory Protocol section in CLAUDE.md
- Verify hooks are configured
- Review skills for recall/capture integration
-
Present report
- Current state summary
- Missing integration points
- Priority-ranked recommendations
-
Apply changes (with user approval)
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.
- 6d ago First seen · 103 lines · 0 tokens per session scan A 38d17aac2e2c
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.
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…
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…
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…
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…
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…
kb-log
결정·삽질 즉시 기록 — 아키텍처/기술 결정을 내렸거나 버그의 원인을 규명한 "직후" 팀 지식베이스에 기록한다(recorddecision/recordlearning). kb MCP를 못 쓰는 상황(미연결, 서브에이전트)이면 .kb/ledger.jsonl 원장에 append해 유실을 막는다. "이 결정 기록해줘", "방금 삽질 남겨" 요청 시, 또는 중요한 결정·디버깅 완료 직후 자발적으로 사용.