Token导航 LogoToken导航TokenDH.com
待分类只读github未标认证来源可访问许可证需确认审计通过

puda-protocol普达协议

Agent Skill

puda-protocol 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

558

周安装

23

GitHub Stars

1

下载量

182
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:puda-protocol(普达协议)
来源仓库:https://github.com/pudap/skills
仓库路径:skills/puda-protocol
安装命令:
npx skills add https://github.com/pudap/skills --skill puda-protocol
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/pudap/skills --skill puda-protocol

简介

用于自定义协议解析与通信格式转换。

  • 适合对接特定硬件或专有系统接口。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 从 GitHub 仓库安装并配置协议模板。
  • 需确保协议版本兼容性,避免解析错误。
  • puda-protocol 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Constraint

Must call the puda-memory skill immediately after creating or updating a protocol file. That skill keeps project.md as the source of truth; it will append the new protocol link and history entry.


Protocol Structure

A single protocol can contain commands for multiple machines. Each command specifies its own machine_id. Step numbers are sequential execution groups across all commands. If commands are meant to be executed in parallel, use the same step_number; however, machine_id cannot be repeated within the same parallel command group.

Top-level fields:

  • project_id: UUID from project.md in the project root
  • protocol_id: New UUID per protocol (e.g. python -c "import uuid; print(uuid.uuid4())")
  • user_id, username: From puda config list
  • description: Short description of what the protocol does
  • timestamp: ISO 8601 UTC (e.g. datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ"))
  • commands: Array of command objects (see below)

Each command:

  • step_number: Sequential integer from 1; commands with the same value execute in parallel
  • name: Valid command name for the specified machine
  • machine_id: Target machine id
  • params: Required and optional parameters for the command

Command Generation

CRITICAL: Before generating commands, always invoke the puda-labs skill to read the relevant machine reference and commands

CRITICAL: If you are unsure of which lab or machine to use for a certain task, ask the user before proceeding

CRITICAL: Make use of previous protocol files whenever possible unless user explicitly wants a new file to be generated. Skip the first 4 instructions if not needed

Instructions

  1. Ensure user is logged in: Run puda login and confirm the user is authenticated before proceeding.
  2. Ensure project exists: If there is no project yet, ask the user for the project name and description before continuing, then use puda init to create the project folder.
  3. User info: Run puda config list for user_id and username.
  4. Protocol ID and timestamp: Generate UUID and ISO datetime (e.g. via Python uuid.uuid4() and datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")).
  5. Machine references: Use puda-labs skill to understand the machines and available commands.
  6. Generate: Create a new JSON file under the project's protocols/ directory. Filename = protocol_id.json.
  7. Validate: Run puda protocol validate -f <file_name> to validate the protocol.
  8. Update project memory: Must invoke the puda-memory skill right after creating/updating the file so project.md is updated.

Output Format (JSON)

{
  "project_id": "<project_id>",
  "protocol_id": "<protocol_id>",
  "user_id": "<from puda config list>",
  "username": "<from puda config list>",
  "description": "description for this protocol",
  "timestamp": "<ISO 8601>",
  "commands": []
}

Each command: step_number, name, machine_id, params

Troubleshooting

  • RUN_ID_MISMATCH when sending a protocol file: run puda machine reset <machine_id> to reset the machine, then send the protocol again.

Best Practices

  • Multi-machine: each command must have the correct machine_id; use the same step_number only for parallel commands, and do not repeat a machine_id in the same step.
  • Always validate after creating; fix any errors before sending.
  • After writing the file, always call puda-memory to update project.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.35%
按下载量换算68

Claude

29.96%
按下载量换算55

Cursor

17.58%
按下载量换算32

Gemini CLI

8.99%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills