/mad-skills:prime [domain hints: comma-separated directory or topic names to focus on]from mad-skills
Loads project context before coding by scanning AGENTS.md, CLAUDE.md, README, specs/, docs/, and source structure. Supports domain hints to focus on specific codebase areas.
Ships in mad-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
When this skill is invoked, IMMEDIATELY output the banner below before doing anything else.
Pick ONE tagline at random — vary your choice each time.
CRITICAL: Reproduce the banner EXACTLY character-for-character, including the diagonal / glyph before the name.
{tagline}
/$$ /$$$$$$$ /$$$$$$$ /$$$$$$ /$$ /$$ /$$$$$$$$
/$$/| $$__ $$| $$__ $$|_ $$_/| $$$ /$$$| $$_____/
/$$/ | $$ \ $$| $$ \ $$ | $$ | $$$$ /$$$$| $$
/$$/ | $$$$$$$/| $$$$$$$/ | $$ | $$ $$/$$ $$| $$$$$
/$$/ | $$____/ | $$__ $$ | $$ | $$ $$$| $$| $$__/
/$$/ | $$ | $$ \ $$ | $$ | $$\ $ | $$| $$
/$$/ | $$ | $$ | $$ /$$$$$$| $$ \/ | $$| $$$$$$$$
|__/ |__/ |__/ |__/|______/|__/ |__/|________/
Taglines:
After the banner, display parsed input:
┌─ Input ────────────────────────────────────────
│ {Field}: {value}
│ Flags: {parsed flags or "none"}
└────────────────────────────────────────────────
Pre-flight results:
── Pre-flight ───────────────────────────────────
✅ {dep} {version or "found"}
⚠️ {dep} not found → {fallback detail}
❌ {dep} missing → stopping
──────────────────────────────────────────────────
Stage/phase headers: ━━ {N} · {Name} ━━━━━━━━━━━━━━━━━━━━━━━━━
Status icons: ✅ done · ❌ failed · ⚠️ degraded · ⏳ working · ⏭️ skipped
Load project context to inform agent decisions. Raw file contents stay in a subagent — the primary thread only sees a structured PRIME_REPORT.
Extract domain hints from the request (comma-separated). These are directory names or topic keywords to focus the context scan on. If no domain specified, load core context only (project instructions, README, specs/).
Launch a general-purpose subagent to read files and build the report:
Task(
subagent_type: "general-purpose",
description: "Load and summarise project context",
prompt: <see below>
)
Load project context and return a structured summary. Raw file contents must
NOT appear in the report — summarise only.
Limit PRIME_REPORT to 30 lines maximum.
## Core Files (always load)
1. Project instructions — read AGENTS.md if it exists. Then read CLAUDE.md
if it exists and holds anything beyond an `@AGENTS.md` line (a legacy
CLAUDE.md, or Claude-only notes under the import). If either file has
other `@path` lines, read those files too
2. README.md — Project overview, setup, usage
3. specs/ — Project specifications and roadmap (scan directory if present)
4. docs/ — Documentation directory (scan if present)
If a file is missing, record as NOT FOUND and continue.
## Domain Files
{For each requested domain hint, use Glob to find relevant files:}
- Search for directories matching the hint name (e.g., "auth" → src/auth/, lib/auth/)
- Search for files matching *{hint}*.md, *{hint}*.yaml, *{hint}*.json
- Read the most relevant matches (max 5 files per domain)
For each file:
- If it exists: read and summarise (2-3 lines max per domain)
- If it doesn't exist: record as NOT FOUND and continue
## Graphify Awareness (existence check only)
Check whether a `graphify-out/` directory exists at the project root
(existence only — do NOT run any graphify query, read its contents, or treat
it as a dependency). Record the boolean in the report. This is purely additive:
when absent, the report is unchanged.
## Output Format
PRIME_REPORT:
- core_files_loaded: {count}/{total}
- missing_files: {list or "none"}
- domains_loaded: {list}
- per_domain_summary:
- {domain}: {2-3 line summary}
- branch: {current branch from git branch --show-current}
- graphify_out_present: {true|false}
- ready_for: {inferred from loaded context}
Parse PRIME_REPORT and present a clean summary to the user:
┌─ Prime · Report ───────────────────────────────
│
│ ✅ Context loaded
│
│ 📚 Core: {count}/{total} files loaded
│ 🌐 Branch: {branch}
│
│ 📝 Domains
│ {domain}: {2-3 line summary}
│ {domain}: {2-3 line summary}
│
│ ⚠️ Missing: {list or "none"}
│
│ 🎯 Ready to assist with: {ready_for}
│
└─────────────────────────────────────────────────
If graphify_out_present is true, add a single passive line after the report
box (omit entirely when false):
graphify-out/ detected — codebase questions can be answered via /graphify
This is a hint only — never execute a graphify query on the user's behalf.
If neither AGENTS.md nor CLAUDE.md was found, warn the user and note that only domain context was loaded.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
14 skills in this plugin
/braceInitialize any project directory with a standard scaffold for AI-assisted development. Creates specs/ and context/ directories, a project AGENTS.md with development workflow and guardrails (plus a CLAUDE.md that just points at it), .gitignore, and branch protection. Idempotent — safe to run on existing projects. Triggers: "init project", "setup brace", "brace", "initialize", "bootstrap", "scaffold"./buildContext-isolated feature development pipeline. Takes a detailed design/plan as argument and executes the full feature-dev lifecycle (explore, question, architect, implement, review, ship) inside subagents so the primary conversation stays compact. Use when you have a well-defined plan and want autonomous execution with minimal context window consumption./distilGenerate multiple unique web design variations for any website or web application. Accepts site specifications from a file (--spec path) or pasted text block. Creates a Vite + React + TypeScript + Tailwind project with Bun and produces N different creative designs accessible at /1, /2, /3, etc. Use when prototyping or exploring design directions for any web interface./dockGenerate container-based release pipelines that build once and promote immutable artifacts through environments (dev → staging → prod). Detects your stack, interviews for infrastructure choices, then outputs deterministic CI/CD files (Dockerfile, workflows, deployment manifests) that run without an LLM. Use when setting up deployment pipelines, containerizing an app, creating release workflows, or connecting CI to container-friendly infrastructure (Azure Container Apps, AWS Fargate, Google Cloud Run, Kubernetes, Dokku, Coolify, CapRover, etc.)./ferryFerry a session's live state across a context reset — persist a waybill document and arm a one-shot handoff so the next fresh session resumes from it. Use when the user types /ferry, says they want to hand off, checkpoint, wrap up, clear context, or start fresh while preserving state, or asks to carry work into a new session with clean optimised context. Captures task, status, next steps, key files, decisions, gotchas and repo state, writes a waybill (outside the repo by default), arms the handoff, and tells the user to /clear. "/ferry clean" lists and removes leftover waybills this skill created./hoistGenerate secure, low-infrastructure release pipelines that publish artifacts directly — language packages (npm, PyPI, crates, RubyGems, NuGet, Go), GitHub Releases with binaries, static sites/Pages, or serverless functions — without building a container image. OIDC/trusted publishing, provenance, idempotent publish guards, and three trigger models (auto-bump with optional approval, tag, manual). The non-container sibling of /dock. Use when releasing a package or app that doesn't ship as a container.npx claudepluginhub slamb2k/mad-skills --plugin mad-skills