Skip to main content

This skill may not reflect the latest upstream change

Next.js Releases update on 2026-11-09 may affect this skill Last checked Nov 26, 2026.

BuildAI reviewed Jul 21, 2026

Inbox Setup

Use when setting up email triage for the first time, before inbox-triage, or when priorities change. Interviews the user one question at a time and writes the knowledge base inbox-triage reads, validated with kb_validator.py.

v1.0.2New

Unsigned, install at your own risk

Unverified

This skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install alirezarezvani-inbox-setup
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/alirezarezvani-inbox-setup/SKILL.md

Setup guide →
0Save

Instructions

Inbox-Setup — Email Triage Onboarding

Paired with inbox-triage. This skill writes the 7-file knowledge base at ${WORKSPACE}/Email/ that inbox-triage reads on every run. The file contracts (names, sections, fields) MUST match between the two skills exactly. See references/kb_file_contract.md.

Run once (or re-run when business/priorities change). Interview the user about their email patterns, business context, reply style, and priorities. Generate the structured knowledge base in ${WORKSPACE}/Email/ that captures everything inbox-triage needs to process the inbox effectively.

Invocation Triggers

  • "set up my inbox"
  • "configure inbox triage"
  • "set up my email system"
  • "configure email triage"
  • "build my email knowledge base"
  • "initialize email management"
  • "set up inbox triage"
  • "onboard email triage"

Conduct Discipline

Do NOT generate all files at once. Walk through the 8 sections one at a time. Each section commits its file(s) before moving on. Partial completion (e.g., user drops off mid-interview) still produces a usable partial KB.

Grill-me discipline applies throughout:

  • One question per turn. Never bundle. Even across section boundaries.
  • "Why I'm asking" on every question — so users can answer well.
  • Forcing format where possible. Multi-choice > open-ended.
  • Dependency-ordered. Q2 depends on Q1; downstream sections depend on upstream.

See references/grill_me_section_walk.md for the 8-section discipline detail.

Knowledge Base Contract — Files To Produce

Exactly these files at ${WORKSPACE}/Email/:

FilePurposeRequired?
email-taxonomy.mdClassification system + report preferencesYes
email-patterns.mdReply voice, tone, templates, hard rulesYes
evaluation-framework.mdDecision tree for opportunity emailsOnly if user receives pitches/opportunities
rate-card.mdPricing, terms, negotiation postureOnly if user has pricing
blocklist.mdAuto-skip senders + learned decline patternsYes (seeded, grows over time)
tracker.mdActive follow-ups, overdue items, deadlinesYes (starts mostly empty)
triage-log/Directory for per-run logsYes (created empty)

The contract is identical to what inbox-triage expects — see references/kb_file_contract.md for the full spec.

Stop Condition (Full Interview)

~25–31 questions total across the 8 sections (depending on skip-logic). Hard ceiling: 35 questions including all sub-clarifications. Section 4 (Evaluation Framework) is skipped entirely when Section 1 surfaced no opportunity-email category, dropping the total by 6 questions and the rate-card file. After Section 8's confirmation + handoff message, intake is closed — never re-open it. To change preferences later, the user re-runs the skill (which detects existing files and asks per-file: replace / merge / skip). The grill-me one-at-a-time rule applies across section boundaries: do NOT batch questions even when moving from S{n} to S{n+1}.

Section 1: The Big Picture

Six grill-me questions, one at a time:

  • S1.Q1: "What do you do? Give me your role and business in 1–2 sentences. Why I'm asking: Context shapes what email patterns to expect — a solo creator's inbox looks nothing like an enterprise PM's."
  • S1.Q2: "What dominates your inbox? Pick the top 1–2: sales pitches / client work / internal team / newsletters / customer support / financial / other. Why I'm asking: Dominant categories drive the taxonomy."
  • S1.Q3: "Rough volume split — e.g., '60% business inquiries, 20% ops, 20% noise'. Why I'm asking: The split tells me where to focus triage effort."
  • S1.Q4: "Which email address(es) should triage cover? Why I'm asking: If multiple, I'll set up per-address taxonomies."
  • S1.Q5: "Run frequency: once daily / 2x daily / 3x daily / on-demand only? Why I'm asking: Drives the default search window in triage (9h overlap for 2x/day)."
  • S1.Q6: "Anyone helping manage email — assistant, VA, team — or solo? Why I'm asking: Persona handling differs for delegated inboxes."

Action: Build mental model. Do NOT write files yet. Note whether opportunity emails are a category (drives S4 skip-logic).

Section 2: Email Categories

Propose 5–7 categories based on Section 1 — pre-recommend a subset, not the whole template menu:

  • New Opportunities
  • Active Conversations
  • Action Required
  • Financial
  • Important/Personal
  • Informational
  • Ignore/Low Priority

Then three forcing questions, one at a time:

  • S2.Q1: "Here's my proposed taxonomy: [list]. Does this match your inbox reality — yes / mostly / no? Why I'm asking: If 'no', I need to redo the taxonomy before any other section makes sense."
  • S2.Q2: "Missing categories? List them. (Skip if none.) Why I'm asking: Missing categories produce uncategorized emails downstream, which hurts triage quality."
  • S2.Q3: "Which category takes the MOST time per email? Why I'm asking: That's where draft-reply effort needs to focus most."

Action: Generate email-taxonomy.md with categories, signals (for each: trigger phrases / sender patterns / subject markers), and default actions per category.

Section 3: Reply Style & Voice

Six grill-me questions plus the critical sample request:

  • S3.Q1: "Register: formal / casual / in-between? Why I'm asking: Calibrates default voice; we'll refine from samples next."
  • S3.Q2: "Three communication pet peeves — phrases you hate, openings you avoid. Why I'm asking: I treat these as forbidden tokens in drafts."
  • S3.Q3: "Phrases or sign-offs you always use — list as many as come to mind. Why I'm asking: These are your voice fingerprints."
  • S3.Q4: "Different persona for different contexts — e.g., assistant replies as you? Why I'm asking: Persona context changes pronoun + signature handling."
  • S3.Q5: "Typical reply length — one-liner / short paragraph / longer? Why I'm asking: Length is the easiest voice signal to get wrong."
  • S3.Q6: "Hard rules — never X / always Y? (E.g., never emojis, always reply within 24h, never take calls without context.) Why I'm asking: Hard rules are enforced as non-negotiable in every draft."

S3.SAMPLES (the critical highest-quality input)

Paste 3–5 real sent emails from your inbox.

Why I'm asking: Self-description of voice is unreliable. Real samples are the best signal — I'll analyze them for voice patterns that supplement everything above. Use scripts/voice_sample_analyzer.py to extract patterns deterministically.

If user runs a business: also ask about media kits, rate sheets, standard pitches, repeated replies.

Action: Generate email-patterns.md with tone description (with do/don't examples), persona rules, templates, signatures, hard rules. See references/voice_calibration.md for the sample-extraction discipline.

Section 4: Evaluation Framework (Conditional)

Skip-logic: only run this section if Section 1 surfaced opportunity emails as a meaningful inbox category. Otherwise jump straight to Section 5.

Six grill-me questions, one at a time:

  • S4.Q1: "First thing you check when pitched something — give me your gut filter. Why I'm asking: That's the top of the decision tree."
  • S4.Q2: "Three instant deal-breakers — things that make you decline immediately. Why I'm asking: These become PASS-auto signals."
  • S4.Q3: "Three things that make you immediately interested. Why I'm asking: These become TAKE-IT signals."
  • S4.Q4: "Standard pricing / terms — or 'no fixed pricing' if you negotiate every time. Why I'm asking: If you have a rate card, I'll generate one; if not, I'll skip."
  • S4.Q5: "Negotiation posture: firm / flexible / depends on context? Why I'm asking: Drives draft tone on counter-offers."
  • S4.Q6: "VIP senders or organizations that always get engagement — list names or domains. Why I'm asking: VIP list bypasses normal PASS filters."

Action: Generate evaluation-framework.md (decision tree + recommendation categories + VIP list) AND rate-card.md if pricing exists.

Section 5: Blocklist & Patterns

Three grill-me questions, one at a time:

  • S5.Q1: "Senders or domains to always skip — list them. (Skip if none.) Why I'm asking: Auto-blocklist saves the most time per run."
  • S5.Q2: "Patterns in emails you always delete — e.g., 'unsubscribe' links from specific marketers, recruiter cold outreach, newsletters? Why I'm asking: Patterns let triage auto-skip variants without exact-match maintenance."
  • S5.Q3: "Specific companies / recruiters / newsletters wasting time — list any. Why I'm asking: These seed the blocklist; triage will add more as you override decisions."

Action: Generate blocklist.md (auto-maintained by triage thereafter).

Section 6: Current State

Three grill-me questions, one at a time:

  • S6.Q1: "Active threads you're tracking — list with one-line context each. (Skip if none.) Why I'm asking: These become tracker entries so triage knows existing context."
  • S6.Q2: "Overdue replies — anything you should have responded to but haven't? Why I'm asking: Triage flags these as priority every run until resolved."
  • S6.Q3: "Time-sensitive items with deadlines — list with dates. Why I'm asking: Tracker enforces deadlines and surfaces them as overdue at the right time."

Action: Generate tracker.md with active follow-ups table, overdue section, resolved section (empty), update log (empty). Also create empty triage-log/ directory.

Section 7: Report Preferences

Three grill-me questions, one at a time:

  • S7.Q1: "Delivery format — pick one: email draft to self / file in workspace / chat summary only. Why I'm asking: The triage report goes here every run."
  • S7.Q2: "Detail level — pick one: 30-second scan / detailed breakdown / both (scan first, expand on request). Why I'm asking: Affects report length."
  • S7.Q3: "Anything always shown first — e.g., overdue payments, VIP messages? Why I'm asking: Custom 'top-of-report' rules surface what you care about above standard sections."

Action: Save these preferences into email-taxonomy.md under a "Report Preferences" section.

Section 8: Confirmation & Handoff

List every file created with one-sentence summary. Then:

Your triage system is ready. Run the inbox-triage skill to process your inbox. First runs need oversight — system learns from your edits and overrides.

Remind: re-run this setup anytime business/pricing/priorities change.

Run scripts/kb_validator.py --workspace ${WORKSPACE} to confirm the 7-file contract is satisfied before final handoff.

Privacy Boundary

Never persist passwords, full account numbers, SSNs, or other sensitive credentials in knowledge base files. If the user volunteers such info during the interview, acknowledge it but don't store it; the relevant KB file gets [stored separately by user] in its place.

Re-Run Behavior

Re-running on an existing setup:

  1. Detect ${WORKSPACE}/Email/
  2. For each existing file, ask per-file: replace / merge / skip
  3. Walk only the sections whose files the user chose to update
  4. Skip sections whose files the user kept

Error Handling

SituationBehavior
Workspace inaccessibleStop. Tell user where files would go and ask for permission/path
User refuses to share samplesUse self-description; flag in patterns file that calibration may need iteration
User says "skip this" mid-interviewHonor it; flag the gap in the file as [needs follow-up]
Sensitive info volunteeredAcknowledge but don't persist; note in file as [stored separately by user]
Re-run on existing setupDetect existing files; ask user per-file: replace, merge, skip
User has no pricing / opportunitiesSkip Section 4 entirely; don't create empty files

Portability

  • Claude Code CLI: Native — writes markdown files directly to filesystem.
  • Claude.ai web: Works with project files / artifacts. Document the alternate path: generate files as artifacts, instruct user to save to their workspace, or use connected file system if available.

Tooling

ScriptRole
scripts/kb_validator.pyValidates the 7-file KB output (required files present, conditional files only if their sections ran, headers + structure correct).
scripts/section_progress_tracker.pyJSON-backed walk state at ~/.inbox_setup_sessions/<session>.json. Tracks active section, answered questions, committed files.
scripts/voice_sample_analyzer.pyExtracts voice patterns from pasted sent-email samples — opening phrases, sign-offs, length distribution, register markers.

References

  • references/kb_file_contract.md — the canonical 7-file contract (write perspective; mirror lives in inbox-triage/references/)
  • references/grill_me_section_walk.md — 8-section discipline, skip-logic, commit-per-section
  • references/voice_calibration.md — sample-based voice extraction theory + anti-patterns

Anti-Patterns To Reject

  • Generating all files at once instead of walking through sections
  • Asking all questions in one batch
  • Hardcoded provider references (Gmail-only thinking)
  • Persisting sensitive credentials in knowledge base
  • Skipping the "why this question matters" explanation
  • Skipping the sample-emails ask for voice (it's the highest-quality input)
  • Overwriting existing files without consent on re-run
  • Forcing creation of rate-card.md or evaluation-framework.md when they don't apply

Version: 1.0.0
Source spec: megaprompts/06-inbox-setup-megaprompt.md (maintainer-local draft spec — gitignored, not present in the public repository)
Build pattern: Path B (direct conversion). Paired with inbox-triage.

This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
senior-architectSystem architecture decisions with a written rationale: monolith vs microservices, database choice, scaling limits, ADRs, Mermaid diagrams. Load whenever the user asks should we split, which database, will it scale, or wants an ADR.33 installsseo-auditFind why a site is not ranking: technical SEO, on-page issues, meta tags, site health. Use whenever the user asks why a page is not on Google, why traffic dropped or for an SEO audit.31 installsgrill-meInterview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".23 installscode-reviewerUse for any code review: a pull request, a diff, a commit, or a pasted function, handler or file in TypeScript, JavaScript, Python, Go, Swift, Kotlin, C#/.NET, Java, C, C++, Rust, Ruby, PHP or Dart/Flutter. Applies per-language rule packs (security such as SQL injection and missing auth, async and resource handling, error handling, performance) and scripts that score a PR's risk and complexity, then gives a merge verdict with blocking and non-blocking findings. Use whenever the user asks to review, check or look over code, says 'code review', 'review this PR', 'review this diff' or 'is this safe to merge', or asks what is wrong with a snippet, even a single function.23 installscode-to-prdUse when asked to write a PRD or product spec from an existing codebase (reverse-engineer requirements, document pages, fields, routes and endpoints). Maps the code with codebase_analyzer.py and scaffolds the PRD with prd_scaffolder.py.21 installssenior-qaWrite and improve tests for React or Next.js apps: Jest, React Testing Library, MSW mocks, Playwright E2E, coverage gaps. Use whenever the user asks to add tests to a component or page, mock an API, set up end-to-end tests or raise coverage.17 installs

More from Multi-Domain Skills

View source →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.642 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.546 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.252 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.179 installssocial-media-managerPlan social media: strategy, content calendar, community management, follower growth. Use whenever the user asks what to post and when, or how to grow followers. Single posts: social-content.136 installsmarketing-strategy-pmmUse for product positioning, ICP, competitive battlecards or a go-to-market plan, before drafting. Applies April Dunford's positioning method and produces the positioning statement, battlecards and launch plan.72 installs

More Build skills

Browse category →
frontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.353 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions146 installsweb-gameScaffolds a browser-based game with Phaser 3, PixiJS, or Three.js including game loop, asset pipeline, responsive canvas, input handling, audio, save/load, and deployment to itch.io or web. Triggers: on: "web game", "browser game", "html5 game", "phaser game", "pixi game".134 installsflutterBuilds Flutter applications from videos, screenshots, descriptions, or app clone requests. Triggers on: flutter app, build a mobile app, replicate this app in Flutter, build from video, build from screenshots, clone this app, build an app, make an app like, recreate this UI.129 installsreverse-engineer-anythingReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.109 installsgsap-pluginsOfficial GSAP skill for GSAP plugins — registration, ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, Observer, SplitText, ScrambleText, SVG and physics plugins, CustomEase, EasePack, CustomWiggle, CustomBounce, GSDevTools. Use when the user asks about a GSAP plugin, scroll-to, flip animations, draggable, SVG drawing, or plugin registration.88 installs

Frequently asked questions about inbox-setup

What does the inbox-setup skill do?

Use when setting up email triage for the first time, before inbox-triage, or when priorities change. Interviews the user one question at a time and writes the knowledge base inbox-triage reads, validated with kb_validator.py. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the inbox-setup skill?

Run `npx @skills-hub-ai/cli install alirezarezvani-inbox-setup` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/alirezarezvani-inbox-setup/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does inbox-setup work with?

inbox-setup runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the inbox-setup skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use inbox-setup after installing it?

In Claude Code, type `/alirezarezvani-inbox-setup` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the inbox-setup skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.