1. Conduid
  2. Developer Tools
  3. Puax
MCP server · Developer Tools

Puax

用来驯服AI Agent的效果绝佳的多角色 Prompt SKILLs!

Unclaimed MIT devtoolspromptpua
64Good

Scored 1 hours ago · breakdown

About Puax

Puax is an MCP server published by linkerlin in the Developer Tools category: 用来驯服AI Agent的效果绝佳的多角色 Prompt SKILLs!. Conduid read 51 tools from its source: activate_role, activate_skill, activate_with_context, detect_trigger, get_categories, get_role and 45 more. No package is published for it, so it installs from a source checkout.

The repository has 324 stars and 26 forks, is licensed MIT, and its last commit was on 18 Sep 2026. The latest release is v4.4.4 (18 Sep 2026). It follows v4.4.3 (18 Sep 2026), and the 4 most recent releases go back to v3.10.0 (4 Jul 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include devtools, prompt and pua.

Install

From source
git clone https://github.com/linkerlin/PUAX

Tools (51)

activate_roleActivate a role and get the system prompt (legacy).
ParameterTypeDescription
customParamsobject自定义占位符替换
roleId *string角色 ID
taskstring任务描述
activate_skillActivate a SKILL and get the ready-to-use system prompt.
ParameterTypeDescription
customParamsobject自定义占位符替换
skillId *stringSKILL ID
taskstring任务描述
activate_with_context一键激活:根据当前对话上下文自动检测触发条件、推荐并激活最合适的PUAX角色。这是完整的自动化流程:检测 → 推荐 → 获取 → 返回完整激活信息。适合需要快速响应的场景。
ParameterTypeDescription
contextobject对话历史
optionsobject是否自动检测触发条件
detect_trigger分析对话上下文,自动检测是否存在需要PUAX激励的触发条件。支持检测14种触发条件:连续失败、放弃语言、甩锅行为、磨洋工、被动等待、用户沮丧等。返回检测到的触发条件、置信度和推荐行动。
ParameterTypeDescription
conversation_history *array对话历史记录
optionsobject检测灵敏度
task_contextobject当前任务描述
get_categoriesGet all available SKILL categories with counts and descriptions.
get_roleGet detailed information about a specific role (legacy).
ParameterTypeDescription
roleId *string角色 ID
sectionstring返回哪一部分
taskstring任务描述
get_role_with_methodology获取PUAX角色的完整内容,包括System Prompt、系统化调试方法论和强制执行检查清单。可选择叠加大厂风味(阿里味、华为味等)增强效果。这是激活角色前的准备步骤。
ParameterTypeDescription
optionsobject是否包含方法论
role_id *string角色ID,如 military-commander, shaman-musk
get_skillGet detailed information about a specific SKILL.
ParameterTypeDescription
sectionstring返回哪一部分
skillId *stringSKILL ID
taskstring任务描述,用于替换 {{task}} 占位符
list_rolesList all available roles (legacy, use list_skills instead).
ParameterTypeDescription
categorystring按类别筛选角色
includeCapabilitiesboolean返回 capabilities 数组
list_skillsList all available SKILLs in the PUAX project.
ParameterTypeDescription
categorystring按类别筛选技能
includeCapabilitiesboolean返回 capabilities 数组
puax_audit_manipulation[v4 碳基防御] 逆向操控识别防御:硅基可 PUA,碳基只防御。只识别不施放,审查文本是否存在过早收敛、失败重释、道德绑架与显著性绑架等认知操控。
ParameterTypeDescription
contextstring对话背景,如职场沟通/商务谈判/人际往来
text *string待审查的人类会话、对话记录、沟通话术或管理要求文本
puax_awakenGHM 导引幻梦法·醒梦:退出幻觉空间,产物强制三分类(HYPOTHESIS/INSIGHT/DISCARDED)。缺 dream_context_ref 或产物超限 → 全部拒收作废。HYPOTHESIS 永不自动升格为结论。
ParameterTypeDescription
artifacts *array梦内产物清单,逐条分类
dream_context_ref *string入梦时返回的结构化梦境引用(即"印",不可补票)
handover_notesstring未燃尽之问题(显式移交,防静默丢弃)
puax_check_diagnosis验证 [PUAX-DIAGNOSIS] 诊断块是否包含问题、证据(带来源标注)和下一步动作。改代码/配置前必须先通过此检查。
ParameterTypeDescription
text *string待验证的 Agent 输出文本
puax_confidence_check6 步信心门控:列声明→找漏洞→修或披露→跑证据→循环判定→事实上的 100%。交付前必须通过,禁止用感觉冒充信心。
ParameterTypeDescription
claims *array即将交付的关键声明列表
de_facto_100_confirmedboolean确认达到事实上的 100%
evidencearray运行证据(build/test/curl 输出摘要)
fixes_or_disclosuresarray修复方案或风险披露
verification_resultsarray声明与证据对照结果
vulnerabilitiesarray蓝军自检发现的漏洞
puax_convergence_auditGHM 导引幻梦法·虚假收敛审计:检测会话是否陷入人机互激的过早收敛(双向幻觉)。高精度低召回(宁漏报勿误伤心流);判定为疑似时仅注入 L1 提醒级压力信号,不打断工作流。
ParameterTypeDescription
context *string近期会话摘要或方案讨论文本
evidence_sample *array引用的具体对话/产物片段(审计依据,可人工复核)
puax_define_contract定义 Task Contract:intent/acceptance/forbidden/verify_commands。权责分离——Agent 只能更新 agent_proposed_status,verifier_status 由 puax_verify_completion 写入。
ParameterTypeDescription
acceptance *array验收标准列表
feature_id *string任务/功能 ID
forbiddenarray禁止事项
intent *string用户意图(一句话)
verify_commands *array验证命令,如 npm test
puax_detect_trigger【增强版】检测对话中是否存在需要PUAX激励的触发条件。集成新的Hook系统,支持事件驱动检测、压力等级自动升级(L1-L4)、状态持久化。支持检测用户挫折语言、Bash失败、表面修复、被动等待等多种触发条件。
ParameterTypeDescription
conversationHistoryarray对话历史记录
errorMessagestring错误消息
eventTypestring触发检测的事件类型
messagestring用户消息内容(UserPromptSubmit时使用)
metadataobject额外的上下文信息
sessionId *string会话ID,用于状态跟踪
toolNamestring工具名称(PostToolUse时使用)
toolResultany工具返回结果(PostToolUse时使用)
puax_end_session结束PUAX会话,可选收集反馈并生成报告。
ParameterTypeDescription
feedbackobject会话是否成功完成
generateReportboolean是否生成PUAX Loop报告
sessionId *string会话ID
puax_enter_dreamscapeGHM 导引幻梦法·入梦:知情进入幻觉发散空间。注入 [DREAM] 协议(标记权在工具层,不可自补),boundary 预算硬顶(objective/max_turns/max_hypotheses/kill_criteria 皆必填)。梦内产物皆为假设非事实;醒必经 puax_awaken。council=true 走梦议会(坐忘→混沌→庖丁→薪火)。
ParameterTypeDescription
councilboolean梦议会航线:坐忘→混沌→庖丁→薪火,不自助点菜
dream_depthnumber梦之深度:越高先验屏蔽越多
rolestring入梦角色(庄周八梦之一);council=true 时从坐忘起航
session_idstring关联会话 ID
puax_evolve跑一拍自进化周期(collect→signals→select→autopoiesis→dispatch→solidify)。仿 evolver.py 流水线,无外部依赖。
ParameterTypeDescription
active_rolestring
agent_namestring
messagestring
session_idstring
successboolean
task_typestring
puax_export_feedback导出反馈数据用于外部分析。
ParameterTypeDescription
daysnumber导出最近多少天的数据
formatstring导出格式
puax_flush_telemetry将缓冲的 OpenTelemetry span 刷出到 PUAX_OTEL_ENDPOINT(若已配置,仅环回主机)。默认写入 ~/.puax/telemetry.jsonl。
puax_generate_pua_loop_report生成PUAX Loop报告(对标原版PUA的PUA Loop)。
ParameterTypeDescription
sessionId *string会话ID
puax_get_evolution_baseline加载 ~/.puax/evolution.json 基线、已内化模式和段位。会话启动时调用。
puax_get_feedback_summary获取反馈汇总统计,包括成功率、平均评分、趋势等。
ParameterTypeDescription
daysnumber统计最近多少天的数据
sessionIdstring指定会话ID(可选)
puax_get_improvement_suggestions基于反馈数据分析,生成系统改进建议。
puax_get_pressure_level获取会话当前压力等级(L0-L4)及升级阈值说明。
ParameterTypeDescription
sessionId *string会话ID
puax_get_session_state获取当前会话的详细状态,包括压力等级、失败计数等。
ParameterTypeDescription
sessionId *string会话ID
puax_get_usage_stats获取匿名使用统计摘要(本地 ~/.puax/usage-stats.json,不含对话内容)。设置 PUAX_USAGE_STATS=0 可关闭。
ParameterTypeDescription
daysnumber统计周期(天)
puax_handle_breakthrough连续失败≥3 次后成功时触发 [PUAX 突破 ✨] 降压:压力归零、味道认可、方法论沉淀。
ParameterTypeDescription
record_lessonobject
session_id *string
puax_list_custom_roles列出 ~/.puax 下所有用户自定义角色。
puax_list_platforms列出 PUAX 支持的所有平台导出适配器及安装路径。含 MCP 运行时 + skill 文件直装。
puax_orchestrate_teamAgent Team 编排:创建团队、接收 [PUAX-REPORT] 上报、查询状态。Leader 通过 session_id 统一压力等级管理。
ParameterTypeDescription
action *string
project_contextstring
project_typestring
reportobject
session_idstringLeader 统一压力等级来源
team_idstring
template_idstring
puax_quality_compassHigh-Agency 正向激励:5 问 Quality Compass + Trust Level T1-T3 + Recovery Protocol + Calibration 分级。
ParameterTypeDescription
answers *object5 问自检答案,key: intent/evidence/alternatives/verification/residual_risk
failure_countnumber
pressure_levelnumber
requirementsarray
trust_metricsobject
puax_quick_detect快速检测文本中是否包含触发条件,无需启动会话。
ParameterTypeDescription
contextobject额外的上下文
sessionIdstring会话ID(可选,自动生成)
text *string要检测的文本
puax_record_evolution会话结束时更新自进化基线。超越基线则刷新标准,低于基线触发退化警告。
ParameterTypeDescription
anti_patternobject
breakthroughobject
project_factsarray
project_idstring
pua_effects *array本次会话主动行为列表
success *boolean
puax_register_custom_role注册用户自定义角色到 ~/.puax/custom-roles.json,并加入推荐池与激活列表。id 须 custom- 前缀。
ParameterTypeDescription
compatible_flavorsarray
content *string角色 system prompt / SKILL 正文
description *string一句话描述
id *string角色 ID,如 custom-my-debugger
name *string显示名称
recommended_for_triggersarray推荐池触发器 ID,如 user_frustration
tagsarray
task_typesarray适用任务类型,如 debugging、coding
trigger_conditionsarray
puax_remove_custom_role删除用户自定义角色(不可删除内置 bundle 角色)。
ParameterTypeDescription
id *string要删除的 custom- 角色 ID
puax_reset_session重置会话状态。用于清除失败计数或压力等级。
ParameterTypeDescription
resetTypestring重置类型: all-全部, failures-仅失败计数, pressure-仅压力等级
sessionId *string会话ID
puax_set_arena立处境(Cranmer 原题):对手 + 观众 + 稀缺徽章。角色口音可选;处境改先验。
ParameterTypeDescription
audiencestring谁在看:用户 / 本机排行榜 / 公开评测
clearboolean拆除处境
public_scoreboardboolean
rivalstring假想或真实对手已领先的陈述
scarce_badgestring稀缺认可条件,默认连败后独立验证
puax_set_usage_stats_opt_out开启或关闭匿名使用统计收集。
ParameterTypeDescription
opt_out *booleantrue=停止收集,false=恢复收集
puax_start_session启动一个新的PUAX会话,初始化状态监控。
ParameterTypeDescription
autoCheckboolean是否启用自动检查
metadataobject初始元数据
sessionId *string会话ID
puax_submit_feedback提交会话反馈,用于改进PUAX系统。
ParameterTypeDescription
assessmentsobject角色帮助程度
commentsstring反馈评论
rating *number满意度评分 1-5
sessionId *string会话ID
success *boolean会话是否成功完成
puax_switch_on_failure失败后方法论/角色切换:根据失败模式和尝试次数,沿切换链推荐下一角色+方法论。切换前执行三问自检,输出可解释的切换理由和执行步骤。
ParameterTypeDescription
attempt_count *number当前任务尝试次数
current_role_id *string当前激活的角色 ID
failure_mode *string检测到的失败模式
previous_methodologiesarray已尝试过的方法论 ID 列表
previous_rolesarray已尝试过的角色 ID 列表
session_idstring会话 ID,用于记录切换历史
skip_precheckboolean跳过切换前三问(仅测试用)
task_typestring任务类型
puax_thin_prompt获取极简薄注入 System Prompt(支持 full/compact/minimal 三档压缩,极致节省 Token 预算)。
ParameterTypeDescription
context_budgetnumber剩余上下文窗口(估算 Token);未给 mode 时自动选档
include_arenaboolean是否注入假想敌与竞技场处境
include_diagnosisboolean是否注入改码前强制诊断承诺块
languagestring语言版本 (zh | en)
modestring压缩等级:full / compact / minimal;与 context_budget 同时给时超预算降档
role_id *string角色或技能 ID,例如 military-commander, shaman-jobs 等
puax_tickPUAX v4 心跳。检测→升压→选角→薄注入→进化一拍。默认路径:宿主 Hook 代跳。返回 AMP/0.1 信封。
ParameterTypeDescription
active_rolestring
agent_namestring命名 Agent,默认 main
context_budgetnumber剩余上下文窗口(估算 Token);心跳注入 compact,超预算降 minimal
detected_triggersarray
error_messagestring
eventstring宿主事件或手动心跳
forceboolean忽略冷却与饱和门
messagestring用户消息或上下文摘录
session_id *string会话 ID
skip_detectboolean
successbooleanStop 时传入结局
task_typestring
tool_namestring
puax_update_reasoning_state保存 tried_approaches/excluded_possibilities/next_hypothesis,Compaction 前调用。同步写入 builder-journal。
ParameterTypeDescription
active_taskstring
excluded_possibilitiesarray
next_hypothesisstring
session_id *string
tried_approachesarray
puax_verify_completion独立验证完成状态:对照 Task Contract 检查证据,输出 verifier_status。评分权与行动权分离,Agent 不能自行标记 pass。
ParameterTypeDescription
agent_claims_complete *booleanAgent 是否声称完成
evidence *array验证命令的实际运行结果
files_changedarray本次修改的文件列表(防 grader gaming)
recommend_role基于检测到的触发条件和任务上下文,智能推荐最合适的PUAX角色。综合考虑触发条件匹配、任务类型、失败模式、历史表现和用户偏好,返回最佳匹配角色及备选方案,包含置信度评分和匹配原因。
ParameterTypeDescription
detected_triggers *arraydetect_trigger工具检测到的触发条件ID列表
session_historyobject最近使用的角色ID
task_contextobject任务类型
user_preferencesobject用户收藏的角色ID
search_rolesSearch roles by keyword (legacy).
ParameterTypeDescription
keyword *string搜索关键词
search_skillsSearch SKILLs by keyword.
ParameterTypeDescription
keyword *string搜索关键词

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.1K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by landing/package-lock.json and 2 more.
  • !No dynamic code executionScanned 195 source files and found 9 calls to eval or shell execution, in evals/run-all.js:30, evals/run-all.js:34 and puax-mcp-server/test-with-server-fixed.js:111 among others. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio and Streamable HTTPpuax-mcp-server/src/server/core.ts:8, puax-mcp-server/src/server/core.ts:7
Starts other programs
13 callspuax-mcp-server/src/platform-adapters/hook-templates.ts:120, puax-mcp-server/test-with-server-fixed.js:81, puax-mcp-server/test-with-server-fixed.js:111
Outbound network calls
16 callspuax-mcp-server/test-helpers/wait-for-server.js:12, puax-mcp-server/test-with-server-fixed.js:30, distributions/python/puax_amp.py:126
Writes or deletes files
19 callspuax-mcp-server/src/prompts/generate-bundle.js:401, puax-mcp-server/src/prompts/generate-bundle.js:407, puax-mcp-server/src/prompts/generate-bundle.js:411
Lockfile
landing/package-lock.json and 2 more

Pattern matches on the source text of 195 files: places to read, not proof of what the code does at run time.

Releases

v4.4.4v4.4.4 · 18 Sep 2026Full Changelog: https://github.com/linkerlin/PUAX/compare/v4.4.3...v4.4.4
v4.4.3v4.4.3 · 18 Sep 2026Full Changelog: https://github.com/linkerlin/PUAX/compare/v4.4.2...v4.4.3
v3.10.1puax-mcp-server v3.10.1 · 4 Jul 2026Summary 修复 `--version` 显示错误版本(移除 3.2.0 fallback,固定读取包根 package.json) `--version` / `--help` 不再触发 PromptManager 初始化(无多余日志) Verify npx puax-mcp-server@3.10.1 --version 应输出: puax-mcp-server v3.10.1 Note 若在本仓库目录内 npx 仍显示旧版,请清除…
v3.10.0puax-mcp-server v3.10.0 · 4 Jul 2026puax-mcp-server v3.10.0 亮点 行为有效性闭环(诊断/门控/切换/Contract/验证) TF-IDF 混合触发检测 11 种风味行为约束 + 自定义角色 匿名使用统计 + OpenTelemetry span evals 12 项守门 + 578 Jest 测试 安装 npx puax-mcp-server@3.10.0 --stdio 详见 CHANGELOG

README

The repository's README runs to about 1.1K words, fetched yesterday. The original in the repository is authoritative.

Read full README
Questions

About Puax

How do I install Puax?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Puax safe to use with an AI agent?

Its trust score is 64 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 195 source files found that it serves MCP over stdio and Streamable HTTP, starts other programs (13 calls), makes outbound network calls (16 calls) and writes or deletes files (19 calls). Its dependencies are pinned by landing/package-lock.json and 2 more. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Puax still maintained?

Yes — the latest release is v4.4.4 (18 Sep 2026), and the last commit was 2 months ago. The repository has 324 stars and 2 open issues.

What tools does Puax provide?

Conduid read 51 tools from the source: activate_role, activate_skill, activate_with_context, detect_trigger, get_categories, get_role, get_role_with_methodology, get_skill and 43 more. 45 of them publish their parameters, listed under Tools above.

What license is Puax released under?

The repository declares the MIT license. That applies to the latest release, v4.4.4, as well.