subcog-integrator
Skill29 starsChanged 9 months agoMITView on GitHub
Analyze and enhance AI prompts, skills, commands, hooks, and system configurations to leverage Subcog's persistent memory system effectively. 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 </strategy> 5. Apply changes (with user approval) </workflow> Hooks: - [ ] session_start for context injection - [ ] user_prompt_submit for intent detection Skills/Commands: - [ ] Include subcog_recall in workflows - […
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- test-runnerSkill
- memory-captureSkill
- memory-recallSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Use mcp__subcog__subcog_status to verify memory system health
- Very specific: line 26
Use mcp__subcog__subcog_recall to surface existing patterns
- Very specific: line 27
Use mcp__subcog__subcog_capture to store new patterns discovered
- Very specific: line 32
Ask user what to analyze/enhance via AskUserQuestion
- Distinctive: line 43
Read project and user CLAUDE.md files
- Distinctive: line 44
Check for hooks configuration
- Very specific: line 46
Call subcog_status for health check
- Distinctive: line 52
Check for Memory Protocol section in CLAUDE.md
- Distinctive: line 53
Verify hooks are configured
- Distinctive: line 92
Verify memory system is healthy before analysis
- Very specific: line 102
Use /subcog:integrate for the full interactive workflow with detailed analysis patterns, templates, and examples.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
<strategy>
**MCP-First Approach:**
1. Use `mcp__subcog__subcog_status` to verify memory system health
2. Use `mcp__subcog__subcog_recall` to surface existing patterns
3. Use `mcp__subcog__subcog_capture` to store new patterns discovered
4. Fall back to CLI: `subcog integrate --analyze` if MCP unavailableInteractive 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
</strategy>
Workflow
<workflow>
When invoked:- 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)
</workflow>
Analysis Checklist
<checklist>
**CLAUDE.md:**
- [ ] Subcog Memory Protocol section exists
- [ ] `subcog_init` instruction at session start
- [ ] Recall-before-implement pattern documented
- [ ] MCP-only access pattern specifiedHooks:
session_startfor context injectionuser_prompt_submitfor intent detection
Skills/Commands:
- Include
subcog_recallin workflows - Include
subcog_capturefor decisions</checklist>
MCP Tool Reference
<mcp>
**Tool:** `mcp__subcog__subcog_recall`
- Surface existing integration patterns and guidanceTool: mcp__subcog__subcog_capture
- Store new patterns discovered during analysis
Tool: mcp__subcog__subcog_status
- Verify memory system is healthy before analysis
Other Tools:
AskUserQuestion- Interactive artifact selectionRead/Edit/Write- Analyze and modify filesGlob- Find configuration files</mcp>
Command
Use /subcog:integrate for the full interactive workflow with detailed analysis patterns, templates, and examples.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

