agentleFS
zircotezircote/subcog/skills/subcog-integrator/SKILL.md

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 - […

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
  1. Very specific:

    Use mcp__subcog__subcog_status to verify memory system health

    line 25
  2. Very specific:

    Use mcp__subcog__subcog_recall to surface existing patterns

    line 26
  3. Very specific:

    Use mcp__subcog__subcog_capture to store new patterns discovered

    line 27
  4. Very specific:

    Ask user what to analyze/enhance via AskUserQuestion

    line 32
  5. Distinctive:

    Read project and user CLAUDE.md files

    line 43
  6. Distinctive:

    Check for hooks configuration

    line 44
  7. Very specific:

    Call subcog_status for health check

    line 46
  8. Distinctive:

    Check for Memory Protocol section in CLAUDE.md

    line 52
  9. Distinctive:

    Verify hooks are configured

    line 53
  10. Distinctive:

    Verify memory system is healthy before analysis

    line 92
  11. Very specific:

    Use /subcog:integrate for the full interactive workflow with detailed analysis patterns, templates, and examples.

    line 102

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

ModeWhat It DoesExample Trigger
AnalyzeAudit existing configs for integration gaps"review my CLAUDE.md"
EnhanceAdd memory integration to existing artifacts"add subcog to my skill"
CreateGenerate 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 unavailable

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>

Workflow

<workflow> When invoked:
  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)</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 specified

Hooks:

  • session_start for context injection
  • user_prompt_submit for intent detection

Skills/Commands:

  • Include subcog_recall in workflows
  • Include subcog_capture for decisions</checklist>

MCP Tool Reference

<mcp> **Tool:** `mcp__subcog__subcog_recall` - Surface existing integration patterns and guidance

Tool: 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 selection
  • Read / Edit / Write - Analyze and modify files
  • Glob - Find configuration files</mcp>

Command

Use /subcog:integrate for the full interactive workflow with detailed analysis patterns, templates, and examples.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.