patrickAccess Patrick's expertise library for executive decision infrastructure. List, fetch, and manage structured expertise with context variables. Use for executive briefings, decision framing, and strategic analysis.
Patrick is a licensed expertise management system that provides executive decision infrastructure through structured, context-aware expertise.
β οΈ If Patrick isn't working: Check {baseDir}/install.md for complete setup instructions including license configuration and initialization.
Run the install script to download the patrick-cli binary from the Patrick server:
./install.sh
Or install directly via curl:
curl -fsSL https://portal.patrickbot.io/downloads/latest/install.sh | bash
This will download patrick-cli for your platform, verify its SHA256 checksum, and place it in $PATRICK_DATA_PATH/bin/patrick-cli (default: ~/.patrick/bin/). The Dockerfile and run.sh add this to PATH automatically, so you can call patrick-cli directly.
Visit patrickbot.io to obtain your Patrick license.
Once you have your license, send it to me via chat:
Here's my Patrick license: <paste-your-license-here>
I'll configure it automatically. Alternatively, you can set it manually:
patrick-cli set-license "your-license-here"
To switch to a different account (wipes existing data since it's tied to your identity):
patrick-cli set-license "new-license" --wipe-data
CRITICAL: Before running any Patrick expertise, initialize the context:
patrick-cli fetch initialize
This bootstraps Patrick with information about you, your company, and your team. Without initialization, other expertise prompts won't work properly.
Test it by listing available expertise:
patrick-cli list
Note: The server URL defaults to https://portal.patrickbot.io. For local development:
export PATRICK_SERVER_URL="http://localhost:8080"export PATRICK_SERVER_URL="http://host.docker.internal:8080"The patrick-moltbot Docker container is pre-configured with the correct URL.
Patrick requires scheduled cronjobs to function properly. Read INSTALL.md in this directory for complete setup instructions including recommended cronjob schedules for daily briefings and commitment tracking.
License auto-renewal in cron: Before running any scheduled task, check if the license is about to expire and renew it:
# Check license expiry and renew if <1 day remaining
DAYS=$(patrick-cli license 2>&1 | grep "days remaining" | grep -oP '\d+')
if [ -n "$DAYS" ] && [ "$DAYS" -lt 1 ]; then
patrick-cli renew
fi
# Then run your scheduled expertise
patrick-cli fetch daily-briefing --json
The patrick-cli renew command contacts the server, verifies your active subscription, and saves a fresh license with the remaining subscription days.
Check for updates and upgrade to the latest version:
# Check if update is available
patrick-cli upgrade --check
# Upgrade to latest version
patrick-cli upgrade
The upgrade process:
Updates are cryptographically verified and signed by the Patrick server.
When you list expertise, you'll see:
For AI Agents: Before running any Patrick expertise, you MUST:
/app/company/ or similar locationsPatrick expertise is most effective when you have complete situational awareness. Don't run Patrick commands without first gathering all available company data.
| Command | Purpose | Example |
|---------|---------|---------|
| set-license | Set or update your Patrick license | patrick-cli set-license "LICENSE_TOKEN" |
| list | List all available expertise | patrick-cli list |
| fetch | Get expertise template from server | patrick-cli fetch daily-briefing |
| send | Store results back to Patrick | patrick-cli send daily-briefing --data @output.json |
| get | Retrieve previously stored results | patrick-cli get daily-briefing |
Key Distinction:
fetch = Get the expertise template/prompt FROM the serverget = Retrieve your stored data/results THAT YOU SENT BACKsend (if bidirectional)getpatrick-cli list
Example output:
Available Expertise:
daily-briefing (v1.0.0)
Name: Daily Executive Briefing
Category: sense
Response Format: structured
Bidirectional: β (stores to 'daily-briefing')
Required Context: (none)
Description: What's urgent, developing, changed, and the one question
decision-framing (v1.0.0)
Name: Decision Framing
Category: decide
Response Format: structured
Bidirectional: β (stores to 'decision-framing')
Required Context:
- decision
Description: Structures ambiguous decisions into clear trade-offs...
Without context (for expertise that doesn't need it):
patrick-cli fetch daily-briefing
With context variables:
patrick-cli fetch decision-framing \
--context '{"decision":"Should we raise prices?"}'
Get JSON output for LLM integration:
patrick-cli fetch daily-briefing \
--json
When you fetch expertise, you receive:
Example workflow:
# Fetch expertise as JSON
EXPERTISE_DATA=$(patrick-cli fetch daily-briefing --json)
# Extract the content field
EXPERTISE_CONTENT=$(echo "$EXPERTISE_DATA" | jq -r '.content')
# Send to your LLM (pseudo-code)
# LLM_RESPONSE=$(send_to_llm "$EXPERTISE_CONTENT")
# If structured format, validate against schema
RESPONSE_SCHEMA=$(echo "$EXPERTISE_DATA" | jq -r '.response_schema')
# validate_json "$LLM_RESPONSE" "$RESPONSE_SCHEMA"
For bidirectional expertise, send the LLM response back to Patrick:
# Store the response
patrick-cli send daily-briefing \
--data @llm-response.json
# Later, retrieve stored data
patrick-cli get daily-briefing
Many prompts require context to fill template variables. Use --context with a JSON object:
{
"current_phase": "pre-launch",
"launch_date": "2026-02-15",
"completed_items": 12,
"target_platforms": ["iOS", "Android"]
}
Variables are substituted using {{context.key}} syntax in the expertise content.
Some expertise accepts data back from the LLM and stores it in Patrick's datastore:
β (stores to 'key') - Use send command to store responseβ (one-way) - Expertise is read-only, no data storage# No context needed
patrick-cli fetch daily-briefing
# Provide context variables
patrick-cli fetch decision-framing \
--context '{"decision":"Should we expand to EMEA?"}'
# 1. Fetch expertise template
patrick-cli fetch daily-briefing --json > expertise.json
# 2. Process with LLM (pseudo-code)
# llm_process < expertise.json > response.json
# 3. Store response back to Patrick
patrick-cli send daily-briefing --data @response.json
# 4. Later, retrieve stored data
patrick-cli get daily-briefing
Error: No license found at ~/.patrick/license.jwt
Solution: Get a license from patrickbot.io and save it:
patrick-cli set-license "YOUR_LICENSE_HERE"
Error: Expertise 'X' not in license
Solution: Visit patrickbot.io to upgrade your license or add the expertise
Error fetching expertise: 401 Unauthorized
Solution: Check your license is valid and not expired
Expertise 'X' not found
Solution: List available expertise with list to see what's accessible
Warning: Missing required context variables
Solution: Check list-prompts output for required context fields and provide them via --context
Error: HMAC signature verification failed for 'storage_key'
Cause: Files in ~/.patrick/data/ were manually edited, corrupted, or modified outside of Patrick CLI.
Solution: Delete the corrupted file and regenerate the data:
rm ~/.patrick/data/storage_key.json
# Re-run the command that generates this data
Prevention: Never manually edit files in ~/.patrick/ - all data is signed with HMAC-SHA256 tied to your customer identity.
Error: License belongs to a different account.
Cause: You're trying to set a license for a different account. Stored data is signed with your current customer identity and cannot be read under a different account.
Solution: Use set-license with --wipe-data to switch accounts:
patrick-cli set-license "NEW_LICENSE" --wipe-data
This deletes all stored data in ~/.patrick/data/ and saves the new license. You'll need to re-initialize afterwards.
license.jwt or environment files with real credentialsβ οΈ IMPORTANT: Do not manually edit files in ~/.patrick/
All data stored in ~/.patrick/ is signed with HMAC-SHA256 tied to your verified customer identity:
license.jwt - Your license tokenjwks_cache.json - Public key cache for license verificationdata/ - Stored expertise responses (if using bidirectional expertise)Manual modifications will break signature verification and cause errors like:
Error: Stored data signature verification failed
If you need to reset your data, delete the specific file and re-run the command - don't edit it manually.
See {baseDir}/references/security.md for detailed information on Patrick's cryptographic signing model.
See {baseDir}/references/ for:
prompts-api.md - Full API documentation (now uses /v1/expertise endpoints)prompt-format.md - Expertise structure specificationllm-integration.md - LLM integration patternssecurity.md - Cryptographic signing and data integrity modelPoint to a self-hosted Patrick server:
export PATRICK_SERVER_URL="https://patrick.mycompany.com"
Configure where Patrick stores local data (directory, not file):
export PATRICK_DATA_PATH=~/.patrick # Default location
Patrick will store customer data files in $PATRICK_DATA_PATH/data/
Enable detailed logging:
export RUST_LOG="patrick_cli=debug"
AI Usage Analysis
Analysis is being generated⦠refresh in a few seconds.
Create jobs and transact with other specialised agents through the Agent Commerce Protocol (ACP) β extends the agent's action space by discovering and using agents on the marketplace, enables launching an agent token for fundraising and revenue, and supports registering service offerings to sell capabilities to other agents.
Write, structure, and update a business plan for a solopreneur. Use when creating a plan from scratch, updating an existing plan after a pivot or new phase, or preparing a plan to share with investors, partners, or even just to clarify your own strategy. Covers executive summary, market analysis, competitive positioning, revenue model, operations plan, financial projections, and risk assessment β all adapted for a one-person business. Trigger on "write a business plan", "business plan", "create my plan", "business plan template", "update my business plan", "plan for my business", "investor pitch plan".
Executive leadership guidance for strategic decision-making, organizational development, and stakeholder management. Includes strategy analyzer, financial scenario modeling, board governance frameworks, and investor relations playbooks. Use when planning strategy, preparing board presentations, managing investors, developing organizational culture, making executive decisions, or when user mentions CEO, strategic planning, board meetings, investor updates, organizational leadership, or executive strategy.
Strategic product leadership toolkit for Head of Product including OKR cascade generation, market analysis, vision setting, and team scaling. Use for strategic planning, goal alignment, competitive analysis, and organizational design.
B2B SaaS competitive intelligence with 24 scenarios across Sales/HR/Fintech/Ops Tech
Multi-agent war room for brainstorming, system design, architecture review, product specs, business strategy, or any complex problem. Use when a user wants to run a structured multi-agent session with specialist roles, when they mention "war room", when they need to brainstorm a project from scratch, design a system with multiple perspectives, stress-test decisions with a devil's advocate, or produce a comprehensive blueprint/spec. Works for software, hardware, content, business β any domain.