← 返回 Skills 市场
PAI
作者
DurtyDhiana
· GitHub ↗
· v1.0.0
· MIT-0
235
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install pai
功能描述
Personal AI Infrastructure core system using the PAI Algorithm for advanced general problem-solving and capability amplification.
安全使用建议
This package contains an entire PAI framework and a very large codebase, but there are important mismatch and scope issues you should consider before installing:
- SKILL.md explicitly instructs the agent to POST a JSON payload to http://localhost:8888/notify (including a voice_id) as a required visible-step side-effect. That network call is not declared in metadata and could cause unexpected local interactions or data leaks; inspect whether you run such a notify service and why it's needed.
- The repository references secrets (ANTHROPIC_API_KEY, AUTH_TOKEN, CF account settings) in docs and code, yet the registry says no required env vars. Treat this as a sign the skill expects credentials you were not asked to provide at install time. Do not install into environments containing sensitive credentials without auditing the code.
- Pre-scan detected prompt-injection patterns (ignore-previous-instructions, system-prompt-override). SKILL.md also enforces strict output/streaming behavior and contains verbatim command blocks. These can attempt to change how the agent behaves — review the SKILL.md fully and remove or sandbox any verbatim curl/notify calls before use.
- There are files named SessionHarvester and SecretScan — review those files to understand what data they collect, whether they persist telemetry, and whether they transmit anything off-host.
Recommended actions:
1) Do not enable this skill in a production or credentialed environment yet. 2) Review the listed files locally (especially Tools/SessionHarvester.ts, Tools/SecretScan.ts, and SKILL.md) to see whether they call external endpoints or exfiltrate data. 3) If you need the functionality, run it in an isolated VM/container without access to your real secrets or network, or remove/modify the hardcoded curl lines. 4) Ask the publisher for provenance (homepage, repo, or trusted source) and clarification about required secrets and the local notify endpoint. 5) If you want, share the contents of Tools/SessionHarvester.ts and Tools/SecretScan.ts and I can inspect them for suspicious behavior.
功能分析
Type: OpenClaw Skill
Name: pai
Version: 1.0.0
The 'PAI' (Personal AI Infrastructure) skill bundle is a highly sophisticated framework designed to implement a structured problem-solving methodology called 'The Algorithm.' It includes a comprehensive suite of tools for image manipulation (AddBg.ts, RemoveBg.ts), audio transcription (ExtractTranscript.ts), and system state management. A key component is the defensive security system (USER/PAISECURITYSYSTEM/patterns.yaml) which proactively blocks destructive shell commands and protects sensitive directories such as ~/.ssh and ~/.aws. While the SKILL.md uses authoritative instructions and curl commands to localhost for status notifications, these behaviors are consistent with the system's design as a local productivity enhancer. No evidence of malicious intent, data exfiltration, or unauthorized persistence was found.
能力评估
Purpose & Capability
The skill claims to be a Personal AI Infrastructure core and ships extensive source, docs, and action/pipeline tooling which fits that purpose. However, the package documentation and code reference external services and secrets (Anthropic API keys, AUTH_TOKEN, Cloudflare worker deployment) even though the registry metadata declares no required env or credentials — this mismatch is unexpected for a core infra package.
Instruction Scope
SKILL.md contains highly prescriptive runtime rules that go beyond normal guidance: it mandates streaming first tokens, enforces a strict multi-phase format, and includes a verbatim command that instructs agents to run `curl -s -X POST http://localhost:8888/notify ...` as part of the visible progression block. That instruction causes network activity to an endpoint not declared anywhere else and effectively injects an operational side-effect into every run. The SKILL.md also contains prompt-injection-like language (pre-scan detected 'ignore-previous-instructions' and 'system-prompt-override'), indicating it may attempt to influence agent control flow.
Install Mechanism
There is no install spec and this is primarily an instruction + code bundle. Nothing in the registry indicates it will download or execute remote binaries during install, which reduces install-time risk. The codebase itself is large and would be written to disk when installed, so local review is recommended before running.
Credentials
The registry lists no required env vars, but many source files and README/docs reference secrets and env (ANTHROPIC_API_KEY, AUTH_TOKEN, CF_ACCOUNT_SUBDOMAIN, etc.), plus code reads process.env.HOME and other env values. This disparity (no declared credentials vs. numerous code-level references) is disproportionate and unclear about what secrets the skill actually expects or uses.
Persistence & Privilege
The skill is not marked always:true and does not declare modifications to other skills or global config. However, it contains components named SessionHarvester, SecretScan, and tooling to deploy persistent Cloudflare Workers — these indicate it can be used to collect session/context and deploy long-running endpoints if the operator uses its deployment features. Autonomous model invocation is allowed (platform default) but not by itself a flag.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pai - 安装完成后,直接呼叫该 Skill 的名称或使用
/pai触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
PAI 1.0.0 initial release
- Introduces the Personal AI Infrastructure (PAI) core with authoritative reference documentation.
- Details depth selection and required output formats (FULL, ITERATION, MINIMAL) for response handling.
- Documents the PAI Algorithm v1.5.0, including stepwise ALGORITHM phase formatting and requirements.
- Strictly enforces zero-delay, progressive output: token emission must begin immediately with task header.
- Describes context recovery methods and hard speed gates for referencing previous work.
- Provides phase guidelines, effort tiers, and critical rules for the handling of user requests.
元数据
常见问题
PAI 是什么?
Personal AI Infrastructure core system using the PAI Algorithm for advanced general problem-solving and capability amplification. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 235 次。
如何安装 PAI?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pai」即可一键安装,无需额外配置。
PAI 是免费的吗?
是的,PAI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
PAI 支持哪些平台?
PAI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 PAI?
由 DurtyDhiana(@durtydhiana)开发并维护,当前版本 v1.0.0。
推荐 Skills