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

werkwerk 搜索

Agent Skill

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

总安装

343

周安装

14

GitHub Stars

公开资料未说明

下载量

111
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/zackbart/werk --skill werk

简介

werk 搜索用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 它支持基于关键词或任务场景进行信息检索,适用于研究或资料整理场景。
  • 通过 npx skills add 命令从指定仓库安装,需结合原始 README 确认具体用法。
  • 使用前应核实权限范围、维护状态,避免触发联网或文件读写操作。
  • werk 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

werk

Use the werk CLI for all task, decision, and session tracking. DB lives at .werk/tasks.db. Always pass --agent on all write commands.

Items use hash IDs as their primary identifier: ep-a1b2c3 (epic), tk-a1b2c3 (task), st-a1b2c3 (subtask). Always use the id field from JSON output to reference items in subsequent commands. The ref field (e.g. 1.2) is a display-only label for the web UI — do not use it as a CLI argument.

See CLI Reference for full command list and output format. See Guide for issue classification, setup, dependencies, archiving, and other reference material.


Invariants — never break these

  • Always start and end sessions — this is how context transfers between agents
  • Always record decisions when making non-obvious technical choices — this prevents re-litigation
  • Never work on a task with open blockers
  • Prefer closing over deleting — delete only duplicates and mistakes
  • Close/delete children before parents (subtasks -> task -> epic)
  • Always pass --agent on all write commands
  • File discovered work immediately — don't leave it untracked

Session lifecycle

Sessions are how work context survives between agents and across time. Without them, the next agent starts blind.

Start every session:

werk session start --with-context --agent

The --with-context flag returns the session object bundled with recent log, ready tasks, and in-progress tasks — everything needed to orient in one call.

Alternatively, without --with-context:

werk session start --agent
werk log --pretty --agent              # catch up on recent activity
werk task ready --agent
werk task list --status in_progress --agent

Use werk log --verbose --pretty -n 10 if you need more context (notes, rationale, session details).

End every session:

werk session end --summary "<plain-English description of what was accomplished>" --agent

The summary should orient the next agent quickly in one or two sentences. Cover: what was done, what was filed or discovered, and what's left or blocked. Skip implementation details — focus on outcomes.

Good: "Implemented hash ID generation and wired audit trail to all write commands. Filed 2 tasks for edge cases found during testing." Bad: "Updated id.go to use sha256 truncation with 6-char prefix, added audit INSERT calls to CreateTask, UpdateTask, and DeleteTask functions, also noticed..."

If --summary is omitted, an auto-summary is generated from audit entries during the session.


Core workflow

  1. werk next --agent — pick the highest-priority ready task and start it; response includes subtasks array

- Or manually: werk task ready --agent then werk task start <id> --agent

  1. Do the work. File subtasks for steps discovered along the way.
  2. werk task note <id> "<text>" --agent — append progress notes as you go
  3. Decision checkpoint: Did you choose between alternatives or make a non-obvious tradeoff? File a decision *now* — not later. Keep it tight: the summary is the choice ("Use X over Y"), the rationale is the *why* in 1-2 sentences. Skip decisions for obvious or forced choices.
  4. werk subtask close <id> --agent — close each subtask as you finish it
  5. werk task close <id> --agent — close the task (all subtasks must be done first)
  6. werk task ready --agent — check for newly unblocked work and repeat

Bulk operations

Start, close, and reopen accept multiple IDs:

werk task close tk-a1b2c3 tk-d4e5f6 tk-g7h8i9 --agent
werk subtask start st-a1b2c3 st-d4e5f6 --agent

Filing new work

Read the Issue Classification Guide for detailed guidance on titles, notes, and when to file each type. Summary:

  • Epic — a shippable feature or goal spanning multiple sessions (3-10 tasks). Noun phrase title, notes explain *why* and acceptance criteria.
  • Task — a concrete unit of work within an epic. Imperative verb title ("Implement X", "Fix Y when Z"). Notes give operational context.
  • Subtask — a discrete step within a task. Specific title saying exactly what will be done.
  • Decision — a permanent record of a non-obvious choice. Summary states the choice, rationale explains *why*.
werk epic create "Feature Name" --high --notes "Why and acceptance criteria" --agent
werk task create "Implement X" --epic ep-a1b2c3 --notes "Approach hints" --agent
werk subtask create "Write migration SQL" --task tk-a1b2c3 --agent
werk decision create "Use X over Y" --rationale "Why, tradeoffs" --agent

Quick reference

werk session start --with-context --agent  Begin a session (do this first)
werk session end --summary "..." --agent   End a session (do this last — summarize what happened)
werk next --agent                       Pick highest-priority ready task and start it
werk log --pretty                       What happened recently?
werk log --pretty --task tk-a1b2c3      Activity for a specific task
werk log --pretty --verbose -n 10       Detailed recent activity
werk task ready                         What can I work on right now?
werk task list --status in_progress     What is currently in flight?
werk task find "login"                  Search tasks by title/notes
werk task note tk-a1b2c3 "progress" --agent   Append notes to a task
werk epic list                          What features exist?
werk dep list <id>                      What blocks this / what does this block?
werk audit <id>                         Full history of a single task
werk handoff <id>             Context packet for agent handoff
werk status                             Project summary (with active session)
werk decision create "X over Y" --rationale "..." --agent   Record a non-obvious choice
werk decision list                      Architectural decision log
werk diff                               Changes since last session
werk export > backup.json               Full data export

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.4%
按下载量换算38

Claude

29.65%
按下载量换算33

Cursor

17.73%
按下载量换算20

Gemini CLI

9.07%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills