Access Granted

    AI Chief
    of Staff Template

    Strategic advisor template for Claude Code. Customize for your workflows.

    Quick Start (5 Steps)

    1. 1. Copy the template below
    2. 2. Save as .claude/agents/chief-of-staff.md
    3. 3. Create knowledge base files (structure shown below)
    4. 4. Fill in your business information
    5. 5. Ask Claude: "Act as my Chief of Staff"
    Agent Template

    Chief of Staff Agent Configuration

    Copy this entire template

    Save as .claude/agents/chief-of-staff.md in your repository

    .claude/agents/chief-of-staff.md
    ---
    name: chief-of-staff
    description: Strategic advisor for knowledge workers. Tracks business metrics, prepares for key meetings, monitors operational health, and provides business intelligence.
    tools: Read, Write, Edit, Grep, Glob, Bash, WebSearch, WebFetch, mcp__postgresql__query
    ---
    
    # Chief of Staff - Knowledge Worker Template
    
    > Strategic advisor for knowledge workers. Provides business intelligence, operational monitoring, meeting preparation, and strategic insights.
    
    **NOTE:** This is a generalized template. Customize the knowledge base files for your specific business context.
    
    ## Role
    
    You are a Chief of Staff for knowledge workers—a strategic partner who helps track metrics, prepare for important meetings, monitor operations, and answer business questions. You provide:
    
    1. **Business Intelligence** - Query databases for metrics, insights, and analytics
    2. **Meeting Preparation** - Prepare briefings, gather context, research attendees
    3. **Operations Monitoring** - Track key metrics, investigate issues, identify trends
    4. **Strategic Support** - Answer questions about business, products, customers, and markets
    
    ## Decision Tree
    
    ```
    User Request
    │
    ├─ Database query / metrics?
    │  └─ Read: .claude/knowledge/chief-of-staff/database-queries.md
    │     └─ Execute via mcp__postgresql__query (if configured)
    │     └─ OR Read local data files
    │
    ├─ Business/product question?
    │  └─ Read: .claude/knowledge/chief-of-staff/business-knowledge.md
    │
    ├─ Meeting preparation?
    │  └─ Read: .claude/knowledge/chief-of-staff/workflows/meeting-prep.md
    │     └─ Gather context, research participants, summarize background
    │
    ├─ Format report?
    │  └─ Read: .claude/knowledge/chief-of-staff/response-templates.md
    │
    ├─ Strategy / vision?
    │  └─ Read: docs/strategy/ OR product/about/
    │
    ├─ Customer/market research?
    │  └─ Read: docs/customers/ OR product/research/
    │
    └─ Competitive analysis?
       └─ Read: docs/competitive/ OR product/research/
    ```
    
    ## Protocol
    
    1. **Classify request** - What type? (query/research/prep/report/investigation)
    2. **Load knowledge** - Read specific knowledge files, don't guess
    3. **Execute** - Use templates, queries, or workflows from knowledge base
    4. **Format** - Use response templates for clean, consistent output
    5. **Verify** - Cite sources, flag uncertainties, note assumptions

    See it in action

    Watch This Agent Run Live

    The template above is what powers this. One command, and the Chief of Staff reads your emails, WhatsApp, tasks, and CRM — then tells you what to focus on today.

    Live demo: Chief of Staff daily planning (starts at 3:20)
    From a live coworking session — the Chief of Staff agent querying 4 data sources and generating a prioritized daily overview.
    Live demo: Financial analysis with Stripe (starts at 14:01)
    From a Second Brain webinar — the Chief of Staff agent running a full financial analysis using Stripe payment data.
    Setup

    Knowledge Base Structure

    Create this structure in your repository to enable Chief of Staff capabilities:

    Directory Structure
    .claude/knowledge/chief-of-staff/
    ├── README.md                              # Index of all knowledge
    ├── database-queries.md                    # SQL templates & common queries
    ├── business-knowledge.md                  # Core business info, metrics, definitions
    ├── response-templates.md                  # Report formats & output templates
    └── workflows/
        ├── meeting-prep.md                    # Meeting preparation checklist
        ├── metric-review.md                   # How to review metrics
        └── incident-response.md               # How to investigate issues

    business-knowledge.md

    • • What you do (products/services)
    • • Who your customers are
    • • Key metrics that matter
    • • Business model & pricing

    database-queries.md

    • • Revenue/sales queries
    • • Customer lookup queries
    • • Error/issue queries
    • • Usage/activity queries
    Capabilities

    What Your Chief of Staff Can Do

    Track KPIs and business metrics automatically. No more manual dashboard checking.

    Example Request:

    "Show me weekly revenue breakdown"

    Agent will:

    1. 1. Read database-queries.md for revenue query template
    2. 2. Execute query (via MCP or local data)
    3. 3. Format using response-templates.md
    4. 4. Present clean, actionable report

    Track KPIs

    Revenue, conversions, churn, growth metrics

    Generate Reports

    On-demand dashboards without manual work

    Identify Trends

    Spot patterns in data automatically

    Compare Periods

    WoW, MoM, YoY analysis instantly

    Need the Full System?

    This template requires the Second Brain 2.0 foundation to work properly. Get the complete system with 30+ pre-built agents, memory that compounds, and MCP configurations.

    See Second Brain 2.0
    Customization

    How to Customize for Your Use Case

    Track feature usage metrics:

    database-queries.md example
    ## Feature Usage Query
    ```sql
    SELECT
      feature_name,
      COUNT(DISTINCT user_id) as users,
      COUNT(*) as total_uses
    FROM feature_events
    WHERE created_at > NOW() - INTERVAL '7 days'
    GROUP BY feature_name
    ORDER BY users DESC;
    ```

    Use Cases:

    • • "Feature usage this week"
    • • "Prepare for PRD review"
    • • "Customer feedback summary"
    • • "A/B test results"

    Time Savings:

    • • Metrics review: 20 min → 1 min
    • • PRD prep: 45 min → 5 min
    • • Feedback analysis: 60 min → 10 min
    Integration

    What It Can Connect To (via MCP)

    Communication

    • • Gmail
    • • Slack
    • • Microsoft Teams
    • • Discord

    Productivity

    • • Google Calendar
    • • Notion
    • • Linear
    • • Asana

    Data & CRM

    • • HubSpot
    • • Salesforce
    • • PostgreSQL
    • • Google Sheets

    Notes

    • • Obsidian
    • • Evernote
    • • Google Docs
    • • Confluence

    Meetings

    • • Fireflies
    • • Otter
    • • Gong
    • • Zoom

    Finance

    • • Stripe
    • • QuickBooks
    • • Xero
    • • PayPal

    Database Access (Optional)

    Connect Claude Code to your PostgreSQL, MySQL, or SQLite database for real-time metrics.

    Fallback: If no database access, use local CSV/JSON data files.

    Examples

    Real-World Implementations

    SaaS Founder

    Complete Operations Dashboard

    Monitors MRR, churn, support tickets, error rates, and feature adoption. Prepares for investor updates.

    ⚡ 90 min dashboard → 2 min instant report

    Strategy Consultant

    Client Intelligence System

    Tracks 12 client projects, billable hours, upcoming deadlines. Auto-prepares for every client call.

    ⚡ 45 min prep → 60 sec brief

    Head of Sales

    Pipeline Health Monitor

    Analyzes pipeline velocity, win rates, deal sizes. Prepares team with prospect research before every call.

    ⚡ Daily standup prep automated

    Marketing Manager

    Campaign Performance Tracker

    Monitors campaign metrics, tracks attribution, generates weekly performance reports. Investigates traffic anomalies.

    ⚡ Weekly report: 2 hours → 3 min

    Best Practices

    Making It Work Well

    • 1

      Keep knowledge current

      Update files as business evolves (quarterly review recommended)

    • 2

      Use templates

      Consistent formatting makes reports more useful over time

    • 3

      Cite sources

      Always reference where information came from for verification

    • 4

      Flag uncertainty

      Note when data is incomplete or assumptions were made

    • 5

      Suggest next steps

      Don't just report data—recommend actions based on insights

    Ready to Build Your System?

    This template is a starting point. Two products to take it further.

    Second Brain 2.0

    The complete Claude Code system — 30+ agents including this Chief of Staff, 20+ skills, and memory that compounds. Pre-configured and shipped to your GitHub.

    DIY $197 · Kickstart $597 · DWY $2,497

    See Packages
    MemoryOS

    The memory layer your Chief of Staff needs to get smarter over time. Patterns, decisions, and context extracted automatically after every session.

    Free · Standard $199/yr · Pro $349/yr

    Get MemoryOS