Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计提醒

patrickpatrick 分析

Agent Skill

patrick 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

31,988

周安装

1,294

GitHub Stars

公开资料未说明

下载量

10,041
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:patrick(patrick 分析)
来源仓库:https://github.com/mcsh/patrick
安装命令:
openclaw skills install patrick
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install patrick

简介

访问帕特里克的专业知识库以获取执行决策基础设施。使用上下文变量列出、获取和管理结构化专业知识。用于执行简报、决策框架和战略分析。

SKILL.md

name
patrick
description
Access 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.
homepage
https://patrickbot.io
metadata
{"openclaw":{"emoji":"🤖","requires":{"bins":["patrick-cli"]},"install":[{"id":"patrick-install","kind":"script","script":"install.sh","bins":["patrick-cli"],"label":"Install Patrick CLI"}]}}

Patrick Skill

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.

Setup Workflow

1. Install the CLI

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.

2. Get Your License

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

3. Initialize Patrick Context

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.

4. Verify Installation

Test it by listing available expertise:

patrick-cli list

Note: The server URL defaults to https://portal.patrickbot.io. For local development:

  • Host machine: export PATRICK_SERVER_URL="http://localhost:8080"
  • Docker container: export PATRICK_SERVER_URL="http://host.docker.internal:8080"

The patrick-moltbot Docker container is pre-configured with the correct URL.

4. Set Up Cronjobs (Critical)

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.

5. Keeping Patrick Updated

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:

  1. Contacts Patrick server for latest version info
  2. Verifies SHA256 checksum of downloaded binary
  3. Backs up current version
  4. Installs new version
  5. Shows release notes

Updates are cryptographically verified and signed by the Patrick server.

What You Get

When you list expertise, you'll see:

  • Expertise ID and version
  • Name and description
  • Category (sense, interpret, decide, align, execute, learn, reporting, intelligence)
  • Response format (structured JSON, markdown, mixed)
  • Required context variables
  • Whether it's bidirectional (accepts data back)

IMPORTANT: Gathering Context Before Using Patrick

For AI Agents: Before running any Patrick expertise, you MUST:

  1. Check for company data files in /app/company/ or similar locations
  2. Read all available context:

- Company data JSON files - Slack message archives - JIRA tickets - Git commit history - Calendar events - Any operational data available

  1. Load this context into your working memory
  2. Then run Patrick expertise with full awareness of company operations

Patrick expertise is most effective when you have complete situational awareness. Don't run Patrick commands without first gathering all available company data.

Commands Overview

CommandPurposeExample
set-licenseSet or update your Patrick licensepatrick-cli set-license "LICENSE_TOKEN"
listList all available expertisepatrick-cli list
fetchGet expertise template from serverpatrick-cli fetch daily-briefing
sendStore results back to Patrickpatrick-cli send daily-briefing --data @output.json
getRetrieve previously stored resultspatrick-cli get daily-briefing

Key Distinction:

  • fetch = Get the expertise template/prompt FROM the server
  • get = Retrieve your stored data/results THAT YOU SENT BACK

Using Expertise with LLMs

Workflow Overview

  1. List expertise to see what's available in your license
  2. Fetch an expertise with optional context variables
  3. Send expertise content to an LLM for processing
  4. Validate response against the provided JSON schema (if structured)
  5. Store response back to Patrick using send (if bidirectional)
  6. Retrieve stored data later using get

Step 1: List Available Expertise

patrick-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...

Step 2: Fetch Expertise

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

Step 3: Send to LLM

When you fetch expertise, you receive:

  • content: The filled expertise text to send to the LLM
  • response_schema: JSON schema for validating the LLM response (if structured)
  • response_format: How the LLM should format its response (structured/markdown/mixed)

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"

Step 4: Store Results (Optional)

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

Key Concepts

Context Variables

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.

Response Formats

  • structured: LLM must return JSON matching the provided schema
  • markdown: LLM returns markdown text
  • mixed: LLM returns markdown with embedded JSON blocks

Bidirectional Expertise

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

Common Patterns

Pattern 1: Simple Fetch

# No context needed
patrick-cli fetch daily-briefing

Pattern 2: Contextual Fetch

# Provide context variables
patrick-cli fetch decision-framing \
  --context '{"decision":"Should we expand to EMEA?"}'

Pattern 3: Full Bidirectional Workflow

# 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

Troubleshooting

License Errors

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

Fetch Errors

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

Context Errors

Warning: Missing required context variables

Solution: Check list-prompts output for required context fields and provide them via --context

Signature Verification Errors

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.

Switching Licenses

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.

Security

  • Never commit license.jwt or environment files with real credentials
  • Licenses are authenticated on every API call
  • Expertise content is verified with SHA256 checksums
  • Only expertise listed in your license are accessible

⚠️ 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 token
  • jwks_cache.json - Public key cache for license verification
  • data/ - 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.

Reference Documentation

See {baseDir}/references/ for:

  • prompts-api.md - Full API documentation (now uses /v1/expertise endpoints)
  • prompt-format.md - Expertise structure specification
  • llm-integration.md - LLM integration patterns
  • security.md - Cryptographic signing and data integrity model

Advanced Usage

Custom Server URL

Point to a self-hosted Patrick server:

export PATRICK_SERVER_URL="https://patrick.mycompany.com"

Data Storage Path

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/<storage_key>.json

Debug Logging

Enable detailed logging:

export RUST_LOG="patrick_cli=debug"

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

96.65%
按下载量换算9,705

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills