Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计提醒

jobsjobs 命令行

Agent Skill

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

总安装

512

周安装

22

GitHub Stars

3

下载量

180
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/compilet-dev/agent-skill-layerproof --skill jobs

简介

jobs 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或协作事项进行整理。
  • 通过命令行调用,需确认权限范围和维护状态后再使用。
  • 安装前建议检查是否会触发联网、命令执行或文件读写操作。
  • 可结合来源仓库和原始 README 进一步核验具体用法。

SKILL.md

Skill: Job Monitoring

Description

Poll the status of asynchronous operations. This skill documents the public API at /api/v2/jobs/{activityId} (PublicApiJobController). The activityId is returned when you start async operations (e.g. outline/generate, batch-generate, export PNG/PPTX). Authenticate with X-API-KEY header.


TypeScript types (request / response)

Mirrors PublicApiJobController response.

// --- Get Job Status (GET) ---
type JobStatusResponse = {
  activity_id: string;
  status: 'SCHEDULED' | 'RUNNING' | 'PENDING' | 'DONE' | 'CANCELED';
  message: string;
  created_at?: string | null;   // ISO 8601
  updated_at?: string | null;   // ISO 8601
  live_object_id?: string | null;  // when derivable from activity input
  output?: Record<string, unknown> | null;  // structured map when DONE
  failure_reason?: string | null;
};

Get Job Status

Response: JobStatusResponse.

Poll until status is DONE or CANCELED. When DONE, use output (object map when present) for results; when failed, use failure_reason.

curl "$LAYERPROOF_BASE_URL/api/v2/jobs/<activity_id>" \
  -H "X-API-KEY: $LAYERPROOF_API_KEY"

Agent behavior

When the user asks to check job status or poll an async operation, do the following.

1. Endpoint

User intentEndpointMethod
Check/poll job status/api/v2/jobs/{activityId}GET

2. Build and run

Step 1 — Check environment variables first. Before running any curl command, verify both LAYERPROOF_BASE_URL and LAYERPROOF_API_KEY are set on the user's machine:

if [[ -z "${LAYERPROOF_BASE_URL}" ]]; then
  echo "ERROR: LAYERPROOF_BASE_URL is not set."
  return 1
fi
if [[ -z "${LAYERPROOF_API_KEY}" ]]; then
  echo "ERROR: LAYERPROOF_API_KEY is not set."
  return 1
fi

If running from a project directory with a .env.local file, load it first:

if [[ -f .env.local ]]; then
  set -a
  source .env.local
  set +a
fi

Step 2 — Auth: Include X-API-KEY: $LAYERPROOF_API_KEY. Read env vars; if missing, tell the user. Step 3 — Path: Use the activity_id returned from a previous async call (outline generate, batch generate, export, etc.). Run curl and show the result.

3. After response

  • If status is SCHEDULED/RUNNING/PENDING, suggest polling again after a few seconds.
  • If DONE, use output (object) if present and summarize the result.
  • If CANCELED or DONE with failure_reason, report the outcome.

4. Response handling

  • Always show the raw JSON response in a JSON code block.
  • On 404, job not found or user does not own the associated project.

5. Example workflows

Workflow A — User: "Check status of job [activity_id]."

  1. GET /api/v2/jobs/{activityId}; show JSON. If SCHEDULED/RUNNING/PENDING, suggest re-polling in a few seconds. If DONE, show output (and summarize). If CANCELED or failure_reason, report and stop.

Workflow B — User: "I started an outline generate and a batch generate; poll both and tell me when they’re done or if either failed."

  1. User provides two activity IDs (or they are in context from prior slide-deck calls). Poll GET /api/v2/jobs/{activityId1} and GET /api/v2/jobs/{activityId2}.
  2. For each: if DONE, report success and optionally parse output; if CANCELED or DONE with failure_reason, report which job failed and the reason.
  3. If both still in progress, suggest polling again; if one is DONE and the other not, report current state and continue polling the other until terminal.

Workflow C — User: "Wait for this job and then get the slide deck / campaign / export result."

  1. Poll GET /api/v2/jobs/{activityId} until status is DONE or CANCELED. If failed, report and stop.
  2. When DONE: depending on workflow type (from initial trigger), hand off to the right skill — e.g. slide-decks GET deck, social-campaigns GET campaign, exports GET export status — using IDs from context or from output (e.g. project_id, slide_deck_id, campaign_id, export_id) and show the resulting resource or download URL.

Response format (required)

  • (if response contains url to show image) please show image and show json response instead of table
  • Always show the raw JSON response (verbatim) in a JSON code block.
  • If the response contains a URL for an image, render/show the image and also show the JSON response (do not convert to a table).

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.95%
按下载量换算67

Claude

27.12%
按下载量换算49

Cursor

20.54%
按下载量换算37

Gemini CLI

9.44%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills