Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

po-oncepo 一次

Agent Skill

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

总安装

259

周安装

11

GitHub Stars

公开资料未说明

下载量

91
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/stiffjobs/po-once-agent-skill --skill po-once

简介

po-once 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用该技能。
  • 安装前需确认权限范围和维护状态,注意可能触发的联网、命令执行或文件读写操作。
  • po-once 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Po Once Skill

Portable skill bundle for AI agents to automate Po Once through the agent API.

Setup

Create an API key in Po Once and run the bundled setup command:

./scripts/po-once.cjs setup --api-key po_live_org_<secret>

If setup is needed and you are invoking the script without first switching into the skill directory, run:

<skill-path>/scripts/po-once.cjs setup --api-key po_live_org_<secret>

Base URL selection:

  • Keys starting with po_test_org_ are tried against the test base URL first: https://dynamic-lapwing-647.convex.site
  • All other org keys, including normal po_live_org_... keys, are tried against the production base URL first: https://fastidious-elephant-379.convex.site

This prefix-based host selection is a default heuristic, not a guarantee. By default, setup verifies the configuration with accounts before saving it and may fall back to the other known host if the inferred host does not resolve the agent route correctly.

Override it if needed:

./scripts/po-once.cjs setup \
  --api-key po_live_org_<secret> \
  --base-url https://your-other-convex-host.convex.site

If API calls fail on the inferred host, rerun setup with --base-url. Use --no-verify only when you intentionally want to save the config without testing it first.

Config resolution order:

  • PO_ONCE_AGENT_API_KEY and optional PO_ONCE_BASE_URL
  • --config /absolute/path/to/config.json or PO_ONCE_CONFIG_PATH=/absolute/path/to/config.json
  • nearest project .po-once/config.json, discovered by walking upward from the current working directory
  • global config at ~/.config/po-once/config.json

That means the helper no longer assumes local config only exists at the current directory root. Running the bundled script from the installed skill directory, a nested repo folder, or another subdirectory is safe as long as the project-local .po-once/config.json exists somewhere above the invocation directory.

Use an explicit config path when you need deterministic behavior in automation or CI:

./scripts/po-once.cjs health --config /absolute/path/to/config.json
PO_ONCE_CONFIG_PATH=/absolute/path/to/config.json ./scripts/po-once.cjs accounts

Note for agents: All script paths in this document are relative to the directory where this SKILL.md is installed. For example, ./scripts/po-once.cjs refers to the script bundled with this skill, not a repository-root ./scripts/po-once.cjs. Resolve paths from the installed skill directory.

Commands

CommandDescription
./scripts/po-once.cjs setup --api-key <token>Save credentials and verify accounts
./scripts/po-once.cjs configShow resolved config, source, and configPath
./scripts/po-once.cjs healthShow active config, configPath, and whether accounts succeeds
./scripts/po-once.cjs whoamiAlias for health
./scripts/po-once.cjs accountsList connected accounts
./scripts/po-once.cjs accounts --provider instagram --match relationFilter connected accounts
./scripts/po-once.cjs analytics:profile --profile-id <social_profile_id> --days 28Fetch profile analytics; defaults to days=28 for Meta profiles
./scripts/po-once.cjs analytics:profile --profile-id <social_profile_id> --cursor <cursor> --max-count 20Fetch TikTok analytics with TikTok-only pagination params
./scripts/po-once.cjs keyword-search --linked-account-id <threads_linked_account_id> --keyword "launch tips" --search-type RECENTRun ad-hoc Threads keyword discovery
./scripts/po-once.cjs upload --file./clip.mp4Upload media
./scripts/po-once.cjs content:create --caption "..." --post-type video --storage-key <key> --size-bytes 1234Create content
./scripts/po-once.cjs post --content-id <id> --accounts social_profile_id_1,social_profile_id_2 --mode scheduled --schedule 2026-04-17T09:00:00Z --timezone UTCCreate post batch; --accounts must be comma-separated id or socialProfileId values returned by accounts
./scripts/po-once.cjs publish --file./clip.mp4 --caption "..." --accounts social_profile_id_1,social_profile_id_2 --mode directUpload, create content, and create post; --accounts must be comma-separated id or socialProfileId values returned by accounts
./scripts/po-once.cjs posts --limit 20 --status scheduledList posts
./scripts/po-once.cjs posts:get --id <post_id>Get one post
./scripts/po-once.cjs posts:get --id <post_id> --status-onlyGet a minimal status view for one post
./scripts/po-once.cjs posts:delete --id <post_id>Delete an eligible scheduled post

Account IDs

Agents must call accounts before posting unless the user already provided current Po Once socialProfileId values. Use the returned id or socialProfileId as the post target; those values are equivalent for posting.

When running post or publish, the CLI flag stays named --accounts for ergonomics, but it sends those values to the API as socialProfileIds. Do not use accountIds, profileIds, provider-native account IDs, handles, usernames, or display names as post targets.

For Threads keyword discovery, use the linkedAccountId returned by accounts, not the posting id/socialProfileId.

If the user gives ambiguous account input, run accounts and match by visible metadata such as provider, display name, username, or avatar before choosing the returned id or socialProfileId.

Analytics And Discovery

Use analytics:profile only after resolving the target account through accounts.

  • Meta analytics profiles support --days, --period, --since, and --until
  • TikTok analytics profiles support --cursor and --max-count
  • Do not combine --days with --period, --since, or --until
  • Do not combine --period with --since or --until
  • Do not send --cursor or --max-count for non-TikTok analytics requests
  • When no analytics window is provided for a Meta profile, the helper defaults to --days 28
  • Compare only like-for-like profiles using the same time window
  • Call out missing metrics instead of inferring them

Use keyword-search only for Threads linked accounts.

  • --linked-account-id must come from accounts
  • the matched account must have provider threads
  • --search-type is optional and must be TOP or RECENT
  • prefer TOP unless the user explicitly wants recency

API Surface

The helper script wraps these endpoints:

  • GET /api/agent/v1/accounts
  • GET /api/agent/v1/analytics/profiles/:profileId
  • POST /api/agent/v1/keyword-search
  • POST /api/agent/v1/media/create-upload-url
  • POST /api/agent/v1/contents
  • GET /api/agent/v1/posts
  • POST /api/agent/v1/posts
  • GET /api/agent/v1/posts/:id
  • DELETE /api/agent/v1/posts/:id

Recommended Agent Workflow

  1. Run health if you need to confirm which base URL, config source, and configPath are active.
  2. Call accounts to get valid Po Once social profile IDs and linked account IDs unless the user already provided current values.
  3. If the task is analysis, run analytics:profile or keyword-search instead of fetching unrelated posting data.
  4. Use accounts --provider... --match... to narrow down ambiguous account choices before analysis or posting.
  5. Draft content and confirm whether the user wants direct or scheduled posting.
  6. Use publish for the normal end-to-end posting path.
  7. Use posts or posts:get --status-only to confirm status.
  8. Only use posts:delete when the user explicitly wants a scheduled post removed.
  9. Before deleting, inspect the post first and confirm both type === "scheduled" and status === "scheduled".

Safety Notes

  • Treat the API token like a password.
  • CLI output redacts common credential fields, but avoid sharing raw command output broadly unless needed.
  • Start with accounts before using profile analytics, Threads keyword search, or posting endpoints.
  • Prefer one explicit request per task instead of fetching every profile.
  • Use bounded analytics windows and confirm the returned response window before summarizing performance.
  • Prefer scheduled posting unless the user clearly wants immediate publishing.
  • Results are scoped to the organization tied to the token.
  • If the API returns SUBSCRIPTION_REQUIRED, stop and ask the user to upgrade the organization to an active Starter or Pro plan, or switch organizations.
  • Only delete a post when both type === "scheduled" and status === "scheduled".
  • Before calling DELETE /api/agent/v1/posts/:id, inspect the post first to confirm it is still scheduled and has not started processing.
  • Do not delete direct posts, published posts, failed posts, errored posts, posts already processing, or any post with another type or status.
  • If the post is not still scheduled/scheduled, do not call delete and tell the user that only scheduled posts that are still in scheduled status can be deleted.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.42%
按下载量换算32

Claude

28.44%
按下载量换算26

Cursor

18.5%
按下载量换算17

Gemini CLI

8.79%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills