Capture decisions, learnings, patterns, and context as persistent memories that survive across sessions.
Capture decisions, learnings, and patterns as persistent memories that survive across sessions. Triggers on phrases like "remember this", "TIL", "we decided", or "don't forget" to preserve important context.
/plugin marketplace add zircote/subcog/plugin install zircote-subcog@zircote/subcogThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Capture decisions, learnings, patterns, and context as persistent memories that survive across sessions.
| Namespace | Use When | Signal Words |
|---|---|---|
decisions | Making architectural or design choices | "decided", "chose", "going with" |
patterns | Establishing recurring practices | "always", "never", "when X do Y" |
learnings | Discovering something new | "TIL", "gotcha", "discovered" |
context | Recording background information | "because", "constraint", "requirement" |
tech-debt | Noting future work | "TODO", "FIXME", "temporary" |
apis | Documenting API contracts | "endpoint", "API", "schema" |
config | Recording configuration details | "config", "environment", "setting" |
security | Security-related information | "auth", "vulnerability", "permission" |
performance | Performance insights | "optimization", "benchmark", "latency" |
testing | Testing strategies | "edge case", "fixture", "coverage" |
Capture Quality Guidelines:
For learnings:
[Discovery]: {what was learned}
[Situation]: {when/how it was discovered}
[Impact]: {why it matters}
For patterns:
[Pattern]: {the practice or convention}
[When]: {situations where it applies}
[Why]: {benefits of following this pattern}
</templates>
Parameters:
namespace (required): One of the 10 namespacescontent (required): The memory contenttags (optional): Array of tags for discoverabilitysource (optional): Source reference (file path, URL, etc.)priority (optional): 1-5, higher = more importantReturns:
memory_id: Unique identifierurn: Memory URN for referencetimestamp: Capture time
</mcp>
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.