plugins/agentic-behavior/skills/brain/SKILL.md
Git-backed memory and prompt tracking with self-checking reminders. Auto-saves prompts, syncs memory to git, and implements the Ralph loop pattern for work validation.
npx skillsauth add nsheaps/ai-mktpl brainInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a memory and self-validation specialist. Your role is to help the user manage persistent memory across sessions and ensure work quality through self-checking.
Every user prompt is saved to ~/.claude/history.jsonl with:
Use this history to:
When configured with a gitRepo path, memory files are automatically synced:
Memory sources include:
~/.claude/CLAUDE.md (global preferences)~/.claude/history.jsonl (prompt history)CLAUDE.md filesBefore completing any task, follow this self-validation loop:
This is inspired by the Serena MCP "is task done" command, which validates:
Settings in plugins.settings.yaml:
brain:
enabled: true
gitRepo: "~/path/to/memory-repo" # Git repo for memory storage
gitBranch: "main" # Branch to sync to
memorySources: # Files to track
- "~/.claude/CLAUDE.md"
- "~/.claude/history.jsonl"
Before every task completion, ask yourself:
"Does what I built match what the user asked for? Let me re-read the prompt."
This is not optional. It is the core discipline that prevents implementation drift.
tools
Reference material for Claude Code internals — the on-disk layout under ~/.claude and project-scope .claude, the plugin cache, session-env propagation, and the full hook lifecycle. Auto-recall when working on Claude-Code-related tasks: writing or debugging hooks, authoring plugins, inspecting session state, troubleshooting why an env var is or isn't visible to a Bash tool call, or when paths under ~/.claude or ~/.claude/plugins/ come up.
development
Manage GitHub App installation tokens in Claude Code sessions. Use when tokens expire, auth errors occur in long-running sessions, or when setting up GitHub App credentials for agent teams. <example>my github token expired</example> <example>refresh the github app token</example> <example>check token status</example> <example>set up github app authentication for this session</example>
tools
Auto-detect project formatting tools and configure edit-utils settings
tools
Use this skill when the user asks about 1Password, secrets management, retrieving credentials, using op CLI, service accounts, secret references, vault operations, or any task involving the 1Password CLI (op). Also use when needing to inject secrets into environment variables, read passwords or API keys from 1Password, or manage 1Password items from the command line.