Token导航 LogoToken导航

Agent Skill · 研究检索

dypai-sdk(dypai SDK 搜索)

dypai-sdk 用于查找、检索和筛选相关信息,适合在 Local Agent 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

dypai-sdk 是研究检索类 Agent Skill,可用宿主为 Local Agent,通过unknown获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 69,522。

总安装 218周安装 9下载 71核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:dypai-sdk(dypai SDK 搜索)
来源仓库:https://dypai.ai
仓库路径:dypai-sdk
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

DYPAI Client SDK 技能聚焦 @dypai-ai/client-sdk 的实际调用规范与认证流程。强调优先查阅项目文档与现有代码,不臆造端点行为或授权机制。适用于 SDK 代码审查与实现指导,保持与真实项目状态一致。若 auth 模式不明,应提示用户先 inspect 项目源码或联系维护者澄清细节。

dypai-sdk 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:dypai-sdk

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    没有现成安装命令,按unknown的说明从来源页面获取,仓库路径是 dypai-sdk。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

dypai-sdk 怎么安装?

公开资料没有给出可以直接复制的命令,需要按来源页面说明手动安装,仓库内路径为 dypai-sdk。

dypai-sdk 支持哪些 AI 工具?

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

dypai-sdk 需要什么权限?

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

dypai-sdk 是免费的吗?

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

dypai-sdk 用的人多吗?

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

dypai-sdk 安全吗?

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

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

值得选的地方

  • 专注 Local Agent 一种宿主,触发方式和使用习惯不用来回切换。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

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

适不适合你

更适合

  • 已经在用 Local Agent,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

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

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
dypai-sdk

dypai SDK 搜索 · 本页

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

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

SKILL.md 原文

DYPAI Client SDK

Purpose

Use this skill when implementing or reviewing app code that calls DYPAI through @dypai-ai/client-sdk.

This skill is intentionally short:

  • Keep core SDK guidance here.
  • Treat dypai-mcp/docs and live project state as the source of truth for endpoint/auth behavior.
  • Do not invent auth or endpoint flows if the project can be inspected first.

First Principles

Before proposing or writing SDK code:

  1. Inspect the project with DYPAI tools/docs first.
  2. Prefer existing endpoint names, auth modes, and workflow patterns over assumptions.
  3. If auth or endpoint behavior is unclear, inspect before coding.

Prefer this order:

  1. Project state via DYPAI MCP tools
  2. dypai-mcp/docs
  3. This skill

If they conflict, trust the real project state first.

Recommended Agent Workflow

When implementing DYPAI SDK logic, do this in order:

  1. Inspect DYPAI project state first via MCP tools.
  2. Check the app codebase for an existing DYPAI client, auth routes, and env usage before creating new files or helpers.
  3. Verify whether @dypai-ai/client-sdk is already installed in package.json before suggesting imports or installation.
  4. If the SDK is missing, add it with the project's actual package manager (npm, pnpm, yarn, or bun) instead of inventing commands.
  5. Reuse existing endpoint names, auth modes, and callback routes when they already exist.

Minimum things to inspect before implementing:

  • dependency entry for @dypai-ai/client-sdk
  • existing createClient(...) helper or shared SDK module
  • auth pages/routes such as login, register, auth/callback, forgot-password, reset-password, set-password
  • current env variable conventions for browser vs server-only code
  • DYPAI endpoint auth mode (jwt vs api_key)

Mandatory Tool Usage

Do not rely only on this skill from memory.

Before proposing SDK architecture, auth flows, endpoint names, or setup steps:

  1. Use DYPAI MCP tools to inspect the real project state when available.
  2. Search dypai-mcp/docs for the relevant topic instead of guessing from prior patterns.
  3. Prefer tool-based discovery over assumptions, especially for:

- endpoint existence - endpoint auth_mode - available workflow nodes - auth flow expectations - SDK setup details already documented

If the project can be inspected, inspect first. Do not invent the answer when DYPAI tools or docs can confirm it.

Auth Rules

There are only two application-facing auth modes for HTTP endpoints:

  • jwt: user session required
  • api_key: project API key required

Important:

  • Do not design or suggest public unauthenticated endpoints.
  • Do not suggest service_role for app developers, frontend flows, or MCP-created endpoints.
  • Treat api_key as server-only unless the project explicitly documents otherwise.

Use jwt when:

  • The request is tied to a signed-in user
  • The workflow uses current_user, current_user_id, or role-based access
  • The request originates from browser/client UI

Use api_key when:

  • The call is server-to-server
  • The request comes from a Server Component, Route Handler, Server Action, backend, worker, or cron
  • No user context is needed

Never recommend:

  • putting project API keys in browser code
  • using NEXT_PUBLIC_*, VITE_*, or similar public env vars for server-only keys
  • sending user_id manually in request bodies when JWT context should provide it

Setup

Install:

npm install @dypai-ai/client-sdk

Minimal client with user auth:

import { createClient } from '@dypai-ai/client-sdk';

export const dypai = createClient('https://your-project.dypai.app');

Client that also targets api_key endpoints:

export const dypai = createClient(
  process.env.DYPAI_URL!,
  process.env.DYPAI_API_KEY
);

Use server-only env vars for api_key where possible.

With options:

const dypai = createClient(url, key, {
  auth: {
    storage: customMemoryStorage, // SSR/Node.js: custom storage adapter
    autoRefreshToken: true,       // default: true
    persistSession: true,         // default: true
    storageKey: 'my-app'          // isolate localStorage between clients
  },
  global: {
    fetch: customFetch,           // custom fetch implementation
    headers: { 'X-Custom': 'val' }
  },
  storageKey: 'my-app'            // shortcut for auth.storageKey
});

With TypeScript generics:

interface MyDB {
  productos: { id: string; nombre: string; precio: number };
}

interface MyApi extends EndpointMap {
  'listar_productos': { response: Product[]; params: { limit?: number } };
  'crear_pedido': { body: CreateOrderInput; response: Order };
}

const dypai = createClient<MyDB, MyApi>(url, key);

Core SDK Surface

Use these as the default primitives:

  • Auth:

- dypai.auth.signInWithPassword(...) - dypai.auth.signInWithOtp(...) - dypai.auth.verifyOtp(...) - dypai.auth.signInWithOAuth(...) - dypai.auth.signOut() - dypai.auth.getSession() - dypai.auth.getUser() / dypai.me() - dypai.auth.onAuthStateChange(...)

  • API:

- dypai.api.get(name, {params}) - dypai.api.post(name, body) - dypai.api.put(name, body) - dypai.api.patch(name, body) - dypai.api.delete(name)

  • Files via endpoints:

- dypai.api.upload(name, file, {params, onProgress}) - dypai.api.download(name, body?, {fileName, params}) - dypai.api.post(name, body) for signed URLs or file actions - dypai.api.delete(name, {params})

  • Users:

- dypai.users.list(...) - create(...) - update(...) - delete(...)

Response Pattern

Every method returns {data, error} — never throws.

const { data, error } = await dypai.api.post('create_task', { title: 'New' });

if (error) {
  // error.message, error.status, error.code, error.details
  console.error(`[${error.status}] ${error.message}`);
  return;
}

// data is typed and safe to use
console.log(data);

Mandatory Discovery Before Auth Or Endpoint Design

If the task touches endpoint auth, API flows, or SDK integration:

  1. Check DYPAI MCP tools first for existing endpoints and node capabilities.
  2. Read the relevant docs in dypai-mcp/docs.
  3. Reuse existing endpoint names and auth modes when possible.

Do this before proposing:

  • signup/login flows
  • route protection strategy
  • server-vs-client API calling patterns
  • storage endpoint design
  • workflow endpoint conventions

Fundamental Gotchas

  1. No public endpoints. Do not assume unauthenticated endpoint access exists.
  2. api_key is not the default browser path. Prefer jwt for client UI.
  3. Do not expose privileged keys. Never suggest service_role in app code.
  4. Do not send user_id in the request body. The backend should derive user context from JWT.
  5. There are no automatic CRUD REST endpoints. Endpoints must exist first in API Builder or MCP.
  6. Endpoint names are logical names, not full URLs.
  7. Use getSession() for reliable startup auth checks. isLoggedIn() is sync and can be false during init.
  8. File handling is endpoint-based. Do not suggest dypai.storage; use dypai.api.upload() / dypai.api.download() or endpoint calls instead.

Recommended Patterns

Browser / authenticated app:

const dypai = createClient(process.env.NEXT_PUBLIC_DYPAI_URL!);
const { data: session } = await dypai.auth.getSession();
const { data, error } = await dypai.api.get('get_profile');

Server / api_key endpoint:

const dypai = createClient(
  process.env.DYPAI_URL!,
  process.env.DYPAI_API_KEY
);

const { data, error } = await dypai.api.post('sync_data', payload);

Files via endpoints:

const { data, error } = await dypai.api.upload('storage_files', file, {
  params: { operation: 'upload', file_path: `invoices/${file.name}` }
});

API Endpoints

Endpoint names use snake_case.

const { data } = await dypai.api.get('search_products', {
  params: { category: 'food', limit: 20 }
});

const { data: created } = await dypai.api.post('create_invoice', {
  client_id: 'uuid',
  items: [{ product_id: 'uuid', qty: 2 }]
});

SDK-Specific Must-Knows

  • signInWithOAuth() redirects the browser and the session is recovered on return.
  • signUp() may return confirmationRequired instead of an immediate session.
  • OTP verification requires the correct type.
  • dypai.users.* is admin-oriented and should not be treated as normal browser-safe user functionality.

File Upload Pattern

Use workflow endpoints that call dypai_storage on the backend.

Common patterns:

  • Generic file endpoint such as storage_files for upload/list/delete
  • Dedicated download endpoint when access must be validated with SQL first
  • dypai.api.upload() for browser uploads
  • dypai.api.download() or dypai.api.post() for downloads / signed URLs

Recommended endpoint node:

{
  "node_type": "dypai_storage",
  "parameters": {
    "operation": "${input.operation}",
    "bucket": "documents"
  }
}

Then call it from the SDK:

await dypai.api.upload('storage_files', file, {
  params: { operation: 'upload', file_path: `documents/${file.name}` }
});

For user-facing downloads, prefer a dedicated endpoint that validates ownership before generating the signed URL.

Extra References

Use these for detailed guidance when needed:

  • dypai-mcp/docs/trigger-model.md
  • dypai-mcp/docs/workflow-patterns.md
  • dypai-mcp/docs/sdk-reference.md
  • dypai-mcp/docs/credentials-reference.md

平台分布

Local Agent

88.46%
按下载量换算63

安全审计

Socket

通过

权限和风险

接触敏感数据

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

安装前确认

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

继续浏览同类 Skills