validate-artifact

validate-artifact is a skill for Claude Code, Codex from forthends/clockwork. It costs 0 tokens per session (2,831 once invoked), scanned A, original, MIT.

A checking procedure for work products such as project documents. It checks that required sections exist, contain real content, and point to files or references that actually exist.

In plain words
What is it for?
Use it after creating or changing a workflow document and before advancing to the next stage. It is intended for product managers, developers, testers, and reviewers.
Why use it?
It catches incomplete documents, placeholder text, and broken cross-file references before a workflow moves forward. The workflow is blocked until failed checks are fixed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after creating or changing a workflow document and before advancing to the next stage. It is intended for product managers, developers, testers, and reviewers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forthends/clockwork/validate-artifact
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add forthends/clockwork --skill validate-artifact
Clone the repo
git clone --depth 1 https://github.com/forthends/clockwork

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for validate-artifact

README.md
[![agentmods](https://agentmods.dev/badge/skills/forthends/clockwork/validate-artifact/github.svg)](https://agentmods.dev/skills/forthends/clockwork/validate-artifact)
Your own site
<a href="https://agentmods.dev/skills/forthends/clockwork/validate-artifact"><img src="https://agentmods.dev/badge/skills/forthends/clockwork/validate-artifact/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for validate-artifact

Your own site · 80×15
<a href="https://agentmods.dev/skills/forthends/clockwork/validate-artifact"><img src="https://agentmods.dev/badge/skills/forthends/clockwork/validate-artifact.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,831 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02831
Opus 5.5 $0.00000 $0.01132
Sonnet 5.5 $0.00000 $0.00566
Haiku 4.5 $0.00000 $0.00283

Measured 2mo ago against content hash 8a2a12cebe75, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

validate-artifact scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/validate-artifact/SKILL.md · 293 lines

How it starts

The opening of the file, as written. The whole thing — 293 lines — stays where its author put it; the contents beside it link to each section on GitHub.

校验产物质量


技能信息

  • 技能名称:校验产物质量
  • 技能标识:validate-artifact
  • 一句话说明:对产物进行结构完整性和内容质量双重校验,确保符合质量闸门标准
  • 适用角色:PM / Developer / Tester / Reviewer(所有角色通用)

触发条件

当以下条件满足时,应调用本技能:

  • 某个阶段的产物编写完成,需要进行质量校验
  • 产物修改后需要重新校验
  • 流程推进前的最后检查

前置条件

调用本技能前,必须确保:

  1. 产物文件已创建并保存到 workflow/features/FEAT-<id>-<name>/ 目录
  2. 工作流定义文件存在于 workflow/_definitions/ 目录
  3. manifest.yaml 中该阶段 status 为 in_progress

校验类型

本技能执行三类校验,层层递进:

校验类型 说明 失败后果
S1 - 结构校验 产物是否包含所有必需章节 阻塞 → 必须修复
S2 - 内容校验 章节内容是否有实质意义(非空占位符) 阻塞 → 必须修复
S3 - 引用校验 跨文件引用是否准确存在 阻塞 → 必须修复

执行步骤

第一步:读取上下文

  1. 读取 workflow/features/FEAT-<id>-<name>/manifest.yaml
  2. 从 manifest 获取 workflow 名称和当前阶段 id
  3. 读取 workflow/_definitions/<workflow>.yaml
  4. 定位当前阶段的 outputs[].validation 规则

第二步:S1 - 结构校验

读取产物文件,按 required_sections 逐项检查:

检查清单:
[ ] 章节是否存在(按 `##` 或 `###` 标题识别)
[ ] 章节是否为空(仅有标题无正文内容)

失败条件:任何 required_section 缺失或为空

第三步:S2 - 内容校验

对每个已通过的章节,进行深度内容检查:

通用规则(所有产物适用)
规则 检查逻辑 失败原因示例
no_placeholder 内容不能仅含 <占位符> 模式 发现 "<描述需求产生的背景>" 等未填充占位符
no_lorem 不能包含 lorem ipsum 等占位文本 发现 "Lorem ipsum dolor sit amet"
meaningful_length 正文内容至少 50 字符 章节存在但内容仅 20 字符
领域规则(按产物类型启用)

PRD (prd.md) 专用规则:

规则 检查逻辑 失败原因示例
ac_actionable acceptance_criteria 每条必须包含"操作"和"预期结果" AC 条目缺少"操作"或"预期结果"字段
ac_verifiable 验收标准必须可验证(不能是主观描述) "界面美观" 等无法客观验证的描述
story_complete 每个 user_story 必须包含"作为/我想要/以便"三要素 故事缺少"以便"字段
scope_boundary 必须明确区分"包含"和"不包含" 范围界定模糊或缺失"不包含"部分

技术设计 (tech-design.md) 专用规则:

规则 检查逻辑 失败原因示例
has_api_contract api_design 章节必须定义端点、请求、响应 API 设计缺少请求/响应格式定义
has_data_model data_model 章节必须包含实体关系或表结构 数据模型缺失或过于简略
no_impl_details architecture 章节不能包含具体代码实现 发现具体的函数实现代码

Read the full file on GitHub · 293 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 293 lines · 0 tokens per session scan A 8a2a12cebe75

Subscribe to this mod's changes

validate-artifact is a skill published in the GitHub repository forthends/clockwork (8 stars, last pushed 16d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,831 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens