Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

absurdabsurd 搜索

Agent Skill

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

总安装

245

周安装

10

GitHub Stars

1,690

下载量

78
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/earendil-works/absurd --skill absurd

简介

用于查找和筛选相关信息,支持关键词与任务场景检索。

  • 适用于项目中使用 Absurd 或 absurdctl 的场景。
  • 调用前需验证 absurdctl 可用性,优先使用本地仓库命令。
  • 注意权限范围,避免触发未授权的外部服务调用。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • absurd 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Absurd

Use this skill when the project uses Absurd, the Postgres-native durable workflow engine, or when the user mentions absurdctl, queues, durable tasks, runs, retries, sleeping tasks, or events.

Tiny mental model

  • A queue is a namespace of Absurd tables (t_, r_, c_, e_, w_).
  • A task is the durable workflow instance.
  • A run is one execution attempt of a task.
  • A step is a checkpoint. Completed step results are stored as JSON.
  • Sleeping tasks are usually waiting for time or an event.
  • Events wake waiting tasks. Event payloads are cached; first emit wins.

Important distinction:

  • task_id = the whole workflow across all attempts
  • run_id = one specific execution attempt

First: make sure absurdctl works

If absurdctl is not on PATH, check whether you are inside a repo checkout and, if so, use:

export PATH="$PWD:$PATH"

Absurd connection precedence is:

--database > ABSURD_DATABASE_URL > PGDATABASE > postgresql://localhost/absurd

For non-URI connections, PGHOST, PGPORT, PGUSER, and PGPASSWORD are also honored.

Default debugging workflow

Prefer absurdctl state inspection before source inspection. Usually you do not need to read application code first.

If the user explicitly asks you to use absurdctl to inspect or fix a workflow, do that first instead of starting with rg / source browsing.

When the user wants to debug a task, start with these commands in order:

1) Discover queues

absurdctl list-queues

2) Inspect recent activity in the likely queue

absurdctl list-tasks --queue=default --limit=20

Notes:

  • list-tasks defaults to 50 rows if --limit is omitted.
  • Useful statuses: pending, running, sleeping, completed, failed, cancelled.

3) Focus on failures or sleepers

absurdctl list-tasks --queue=default --status=failed --limit=20
absurdctl list-tasks --queue=default --status=sleeping --limit=20

4) Inspect one workflow or one attempt in detail

absurdctl dump-task --task-id=<task-id>
absurdctl dump-task --run-id=<run-id>

dump-task is the most important inspection command. It shows things like:

  • task name, params, and headers
  • retry settings and attempts
  • checkpointed step state
  • waits / events / sleep state
  • final result or failure

How to reason about common states

If a task is failed

  1. dump-task --task-id=<task-id>
  2. Read the failure and the last successful checkpoints.
  3. If needed, inspect the most recent attempt with --run-id.
  4. Search the code for the task implementation by task name.
  5. Only then decide whether to retry.

If a task is sleeping

  1. dump-task --task-id=<task-id>
  2. Look for the wait reason:

- sleeping until a timestamp - waiting for an event name

  1. If it is waiting for an event and the user wants it resumed, emit that event.

If a task is running

  1. dump-task --task-id=<task-id>
  2. Look at existing checkpoints to see how far it got.
  3. If the user suspects a stuck worker, inspect the worker process / application logs too.

About workers

Do not assume you need to start or modify a worker.

  • If a spawned task moves from pending to sleeping, running, or completed, a worker is already active.
  • If tasks remain pending, then investigate whether a worker for that queue is actually running.
  • Only inspect Python / TypeScript runtime details when the task state suggests a worker problem or the user asks for code changes.

If you need the implementation

After you know the task name, search the codebase for its registration.

TypeScript / JavaScript:

rg -n "registerTask\(|name:\s*['\"]<task-name>['\"]" .

Python:

rg -n "register_task\(|@.*register_task|['\"]<task-name>['\"]" .

If the task is waiting for an event, also search for the event name.

Common actions

Spawn work

Use -P key=value for strings and -P key:=json for typed JSON values.

absurdctl spawn-task my-task -q default -P foo=bar
absurdctl spawn-task my-task -q default -P count:=42 -P enabled:=true
absurdctl spawn-task my-task -q default -P user.name=Alice -P user.age:=30

Use --params when the user already has a JSON object:

absurdctl spawn-task my-task -q default --params '{"foo":"bar","count":42}'

Retry failed work

absurdctl retry-task <task-id>
absurdctl retry-task <task-id> --max-attempts 5
absurdctl retry-task -q default <task-id> --spawn-new

Guidance:

  • plain retry-task retries the existing task
  • --spawn-new creates a brand-new task with the original inputs
  • prefer understanding the failure before retrying

Cancel work

absurdctl cancel-task <task-id>
absurdctl cancel-task -q default <task-id>

Wake waiting tasks by emitting an event

absurdctl emit-event order.completed -q default -P orderId=123
absurdctl emit-event approval.granted:42 -q default -P approved:=true

If the event payload should be structured JSON:

absurdctl emit-event shipment.packed:42 -q default --payload '{"trackingNumber":"XYZ"}'

Schema setup / migrations

Use these on a blank or controlled database, or when the user explicitly asks:

absurdctl init
absurdctl schema-version
absurdctl migrate
absurdctl create-queue default

Safe operating rules

Be careful with state-changing commands. Unless the user clearly wants them, avoid running these blindly on a shared or production database:

  • init
  • migrate
  • create-queue
  • drop-queue
  • cleanup
  • cancel-task
  • retry-task
  • emit-event
  • spawn-task

If the environment is ambiguous, ask which database / queue is safe to operate on.

Good copy-paste playbooks

Debug the latest failures in default

absurdctl list-queues
absurdctl list-tasks --queue=default --status=failed --limit=20
absurdctl dump-task --task-id=<task-id>

Find sleepers and wake one

absurdctl list-tasks --queue=default --status=sleeping --limit=20
absurdctl dump-task --task-id=<task-id>
absurdctl emit-event <event-name> -q default -P key=value

Reproduce by spawning a task, then inspect it

absurdctl spawn-task my-task -q default -P foo=bar
absurdctl list-tasks --queue=default --task-name=my-task --limit=5
absurdctl dump-task --task-id=<task-id>

Fast path when the user says “spawn a task and debug it”:

absurdctl spawn-task my-task -q default -P foo=bar
absurdctl list-tasks --queue=default --task-name=my-task --limit=5
absurdctl dump-task --task-id=<task-id>
# then either:
absurdctl emit-event <event-name> -q default -P key=value
# or:
absurdctl retry-task <task-id>

Extra reference

  • Use absurdctl <command> --help for full options.
  • dump-task --task-id is usually the best starting point once you know the task.
  • Checkpointed step results are durable JSON state; code outside steps may execute multiple times across retries.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.2%
按下载量换算28

Claude

29.79%
按下载量换算23

Cursor

19.72%
按下载量换算15

Gemini CLI

9.38%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/earendil-works/absurd --skill absurd 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills