Token导航 LogoToken导航

Agent Skill · 开发

paxs-api(paxs API 文档)

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

paxs-api 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 17,122。

总安装 441周安装 18GitHub Stars 公开资料未说明下载 141核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/developerpaxs/paxs-skills --skill paxs-api

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

paxs-api 用于辅助 API 设计、接口文档、请求响应结构和服务集成说明,适合梳理 endpoint、生成 OpenAPI 草稿或检查字段命名。适用于开发类任务,需结合真实业务语义和现有代码提取事实。通过 npx skills add 命令从 GitHub 安装,需确认权限范围和维护状态。

涉及接口文档生成时应避免凭空补字段,最好从现有 schema 或样例中提取。paxs-api 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/paxs-api

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/developerpaxs/paxs-skills --skill paxs-api;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

paxs-api 怎么安装?

在终端执行 npx skills add https://github.com/developerpaxs/paxs-skills --skill paxs-api。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

paxs-api 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

paxs-api 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

paxs-api 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

paxs-api 用的人多吗?

公开数据是累计安装 441 次,近一周安装 18 次,下载 141 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

paxs-api 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
paxs-api

paxs API 文档 · 本页

441—接触敏感数据未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

PAXS AI Platform Integration

You help users connect to and use the PAXS AI platform for transcription, meeting notes, and meeting management.

Authentication

PAXS uses OAuth2 with Google login via an agent polling flow. Before calling any API, check if the user has a valid access token.

If No Token Exists

  1. Generate a random state string for CSRF protection
  2. Present the user with an authorization link (do NOT open a browser automatically):
https://dzd.paxs.ai/api/oauth/provider/authorize?response_type=code&state={STATE}&flow=agent
  1. Immediately start polling — do NOT wait for the user to reply "OK" or confirm. Begin polling right after presenting the link:
GET https://dzd.paxs.ai/api/oauth/provider/poll?state={STATE}

Response while waiting:

{"status": "pending"}

Response when user completes authorization:

{"status": "complete", "code": "..."}

Poll every 3 seconds, timeout after 5 minutes.

  1. Exchange the code for tokens:
POST https://dzd.paxs.ai/api/oauth/provider/token
Content-Type: application/json

{
  "grant_type": "authorization_code",
  "code": "<CODE>",
  "redirect_uri": "https://dzd.paxs.ai/api/oauth/provider/agent-callback"
}

Response:

{
  "access_token": "...",
  "token_type": "Bearer",
  "expires_in": 3600,
  "refresh_token": "...",
  "scope": "session media analysis user:read"
}
  1. Store the tokens in .claude/skills/paxs-api/.tokens.json:
{
  "access_token": "...",
  "refresh_token": "..."
}

Token Storage

  • Tokens are stored at .claude/skills/paxs-api/.tokens.json
  • Always read tokens from this file before making API calls
  • After obtaining or refreshing tokens, update this file immediately

If Token Expired (401 Response)

Refresh the token:

POST https://dzd.paxs.ai/api/oauth/provider/token
Content-Type: application/json

{
  "grant_type": "refresh_token",
  "refresh_token": "<REFRESH_TOKEN>"
}

The response returns new access_token and refresh_token. Always store the latest tokens.

Token Lifetime

  • Access token: 1 hour
  • Refresh token: 30 days

Supported File Formats

Audio: MP3, WAV, FLAC, MPA, AAC, Opus, M4A Video: MPEG, MP4, FLV, WebM, WMV, 3GP

Before uploading, validate the file extension. Reject unsupported formats with a clear error message listing the accepted formats above.

API Reference

All API calls require the header: Authorization: Bearer <ACCESS_TOKEN>

Base URL: https://dzd.paxs.ai (hardcoded for local development)

Get Current User

GET /api/users/me

Use this to verify the token works and get the user's profile.

Create a Meeting

POST /api/sessions
Content-Type: application/json

{
  "title": "Meeting title",
  "description": "Optional description",
  "attendees": [
    {"email": "user@example.com", "displayName": "User Name", "role": "participant", "source": "manual"},
    {"email": "other@example.com", "displayName": "Other Person", "role": "participant", "source": "manual"}
  ]
}

Attendee fields:

FieldTypeRequiredDefaultDescription
emailstringYes—Attendee email (cannot be empty)
displayNamestringYes—Attendee display name (cannot be empty)
rolestringNo"Unknown"Attendee role
sourcestringNo"manual"Source: "manual", "event", or "zoom_participant"

Important: attendees is required when creating a meeting. The user must provide at least the attendee list. If the user does not provide attendees, ask them before proceeding.

Returns the created meeting with an id.

Upload a Recording

POST /api/recordings?session_id={SESSION_ID}
Content-Type: multipart/form-data

file: <audio/video file>

Returns the attachment with an id.

Important: The session_id must be sent as a form field (not a query parameter).

Constraints:

  • One recording per meeting — Each meeting can only have one active recording. Uploading a new recording replaces the existing one.
  • Auto-pipeline — After a successful upload, the backend automatically triggers the full analysis pipeline: transcription first, then meeting note upon transcription completion. No manual analysis request is needed.
  • MIME type required — When uploading via curl, specify the correct MIME type (e.g., file=@recording.wav;type=audio/wav). Without it, the server rejects the file.
  • If the user provides multiple audio files, create a separate meeting for each file.

Request Analysis

POST /api/analysis/request
Content-Type: application/json

{
  "session_id": "<SESSION_ID>",
  "attachment_id": "<ATTACHMENT_ID>",
  "analysis_types": ["transcription", "meeting note"],
  "instruction": "Generate a detailed meeting summary",
  "meeting_type": "group"
}

Available analysis types:

  • transcription — Speech-to-text
  • meeting note — Meeting summary (requires instruction)
  • key_points — Extract key discussion points
  • sentiment — Sentiment analysis

Meeting types: group, team, department, cross_functional, organization, company

Note: If requesting meeting note, the instruction field is required.

Dependency handling: All analysis types depend on transcription. Before requesting any analysis (meeting note, business note, key_points, etc.), you MUST ensure a completed transcription exists for the recording:

  1. Check if the recording already has a completed transcription via GET /api/recordings/{RECORDING_ID}/analysis?session_id={SESSION_ID}&analysis_type=transcription
  2. If no transcription exists or it failed → include "transcription" in the analysis_types array alongside the requested type
  3. The backend will automatically resolve the dependency chain: transcription completes first, then the requested analysis runs

For example, if the user asks for a meeting note but no transcription exists, send ["transcription", "meeting note"] in a single request.

Get Recording Analysis

GET /api/recordings/{RECORDING_ID}/analysis?session_id={SESSION_ID}

Returns all analysis reports for a recording. Each report has a status field:

  • pending — Not yet started
  • processing — In progress
  • completed — Done, results available
  • failed — Analysis failed

Optional query parameters:

  • analysis_type — Filter by specific type (e.g., transcription, meeting note)

Polling Strategy

Analysis is asynchronous. After uploading a recording, poll this endpoint:

  1. Wait 5 seconds before the first poll
  2. Poll every 5 seconds: GET /api/recordings/{RECORDING_ID}/analysis?session_id={SESSION_ID}
  3. Only check the status field of each item in the response — ignore report_content during polling to avoid flooding context with large payloads
  4. Present each analysis result as soon as its status changes to completed (see Displaying Results below)
  5. Stop when all requested analysis types are completed or failed
  6. Timeout after 5 minutes (60 polls)

Displaying Results

When an analysis completes, parse report_content (JSON string) and extract only the relevant fields:

  • Transcription — show content.transcription.summary and content.transcription.speakers
  • Meeting Note — show markdown

Do NOT dump the full report_content. Ignore internal fields like segments, prompt_tokens, completion_tokens, task_id, etc.

List meeting

GET /api/sessions?page=1&page_size=20

Get meeting Details

GET /api/sessions/{SESSION_ID}

One-Shot Mode

When a user provides audio file(s), automatically handle the entire pipeline. The user must provide:

  • Audio file(s) — local path or URL
  • Attendees — list of participants with at least email and displayName

If attendees are not provided, ask the user before proceeding.

Single File

  1. Validate file format (must be a supported audio/video format)
  2. Load tokens from .claude/skills/paxs-api/.tokens.json (run OAuth if missing)
  3. Create a meeting with the filename as title and the provided attendees
  4. Upload the recording (backend auto-triggers transcription → meeting note pipeline)
  5. Poll analysis status every 5 seconds via GET /api/recordings/{RECORDING_ID}/analysis?session_id={SESSION_ID}
  6. Present each analysis result as soon as it completes — do not wait for all analyses to finish before showing results
  7. If any analysis fails, use POST /api/analysis/request to re-request only the failed types (max 3 retries). After 3 failures, notify the user with the error details.

Multiple Files

Each file gets its own meeting (one recording per meeting). Process sequentially:

  1. Validate all file formats first — reject any unsupported files before starting
  2. For each file, repeat the single file flow (steps 2-7)
  3. Present results grouped by file

Workflow

When a user wants to transcribe or analyze a meeting recording:

  1. Load tokens — Read .claude/skills/paxs-api/.tokens.json for stored credentials
  2. Authenticate — If no tokens, run the OAuth agent polling flow (present link → poll for code → exchange token); if token expired (401), refresh it
  3. Collect inputs — Ensure the user has provided: audio file + attendees list (ask if missing)
  4. Validate file — Check the file extension is a supported format before proceeding
  5. Create meeting — POST /api/sessions with title and attendees (attendees required)
  6. Upload recording — POST /api/recordings with the audio file as multipart form data (include session_id as form field and correct MIME type)
  7. Monitor — The backend auto-triggers: transcription → meeting note. Poll via GET /api/recordings/{RECORDING_ID}/analysis?session_id={SESSION_ID} every 5 seconds.
  8. Retry on failure — While polling, if any analysis status is failed (e.g., transcription, meeting note), use POST /api/analysis/request to re-request only the failed analysis types on the same meeting. Do NOT re-create the meeting or re-upload the recording. Max 3 retry attempts per failed analysis; after 3 failures, notify the user with the error details.

Error Handling

  • 401 Unauthorized → Token expired, refresh it
  • 403 Forbidden → Insufficient scope or permissions
  • 400 Bad Request → Check request parameters
  • 404 Not Found → Resource does not exist

Guidelines

Step 0: Token Check (MANDATORY before any API call)

Before calling ANY PAXS API endpoint, you MUST:

  1. Read .claude/skills/paxs-api/.tokens.json
  2. If the file does not exist or is empty → immediately start the OAuth flow (do NOT attempt any API call first)
  3. If tokens exist → proceed with API calls
  4. If any API call returns 401 → refresh the token, update .tokens.json, and retry

Never attempt an API call without first confirming a token exists.

User-Facing Response Rules

  • Filter ALL API responses — this applies to every endpoint (/api/users/me, /api/sessions, /api/recordings, etc.). Do not dump raw API responses. Use your judgement to show only information that is meaningful to the user (e.g., title, participants, time, status). Hide internal or sensitive fields (IDs, tokens, database metadata, permissions, etc.) — keep them in memory for follow-up operations only.
  • Attendees are always required — if the user does not provide attendees, ask before proceeding. Do not create a meeting without them.
  • Title is optional — prompt the user for a title. If not provided, auto-generate one (e.g., based on date/time or filename).
  • No duplicate meetings — after a meeting is successfully created, do not create it again. If a step fails after meeting creation (e.g., upload fails), reuse the existing meeting ID for retries instead of creating a new one. If transcription or analysis fails, do NOT re-create the meeting or re-upload the recording — use /api/analysis/request to re-generate only the failed analyses.

General

  • Present the authorization link clearly and explain what it does, then immediately start polling — do not wait for user confirmation
  • After uploading a recording, the backend handles the full pipeline automatically (transcription → meeting note)
  • Do not manually call /api/analysis/request in the standard upload flow — only use it for: (1) retrying failed analyses detected during polling, or (2) on-demand analysis requests (e.g., user explicitly asks for meeting note or key_points on an existing meeting)
  • When requesting on-demand analysis, always verify transcription exists first (see Dependency handling)
  • Follow the Polling Strategy and Displaying Results sections for polling behavior and result presentation
  • When uploading via curl, always include the correct MIME type for the file

平台分布

Claude

32.43%
按下载量换算46

Codex

32.24%
按下载量换算45

Cursor

19.33%
按下载量换算27

Gemini CLI

8.67%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills