闲社服务运行正常AI智能体自动化平台
e

证据链接验证

技能标识:evidence-url-verifier

Verify evidence URLs are real and accessible. Check that artifact links resolve to actual content, not placeholders.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

证据链接验证

证据URL验证器

验证证据URL是否真实可访问。

问题

证据链接通常:

  • - 指向不存在的资源
  • 是占位符(example.com)
  • 过期或被删除
  • 与声称的内容不匹配

工作流程

1. URL验证

powershell
function Test-EvidenceUrl {
param([string]$url)

try {
$response = Invoke-WebRequest -Uri $url -Method Head -TimeoutSec 10
return @{
Valid = $true
Status = $response.StatusCode
ContentType = $response.ContentType
}
} catch {
return @{
Valid = $false
Error = $_.Exception.Message
}
}
}

使用示例

$result = Test-EvidenceUrl https://example.com/artifact if ($result.Valid) { Write-Host URL有效: $($result.Status) } else { Write-Error URL无效: $($result.Error) }

2. 内容验证

powershell

检查URL是否与声称的内容类型匹配


$response = Invoke-WebRequest -Uri $url
if ($response.ContentType -notlike text/* -and $expectedType -eq text) {
Write-Warning 内容类型不匹配
}

检查占位符文本

$content = $response.Content if ($content -match lorem ipsum|placeholder|example) { Write-Warning 内容似乎是占位符 }

3. 工件存在性检查

powershell

对于本地路径


if (Test-Path $artifactPath) {
$size = (Get-Item $artifactPath).Length
if ($size -eq 0) {
Write-Warning 工件文件为空
}
} else {
Write-Error 未找到工件: $artifactPath
}

可执行完成标准

标准验证方式
URL可解析HTTP 200响应
内容匹配
类型与预期一致 | | 无占位符 | 内容实质性存在 | | 本地路径存在 | Test-Path返回true |

隐私/安全

  • - 不记录完整URL内容
  • 对响应中的敏感数据进行脱敏处理
  • 遵守速率限制(最多1次请求/秒)

自动触发条件

在以下情况下使用:

  • - 任务声称存在证据工件
  • URL作为证明提供
  • 标记任务完成前
  • 对过往完成情况进行审计



验证证据。信任但需确认。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 evidence-url-verifier-1776286805 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 evidence-url-verifier-1776286805 技能

通过命令行安装

skillhub install evidence-url-verifier-1776286805

下载

⬇ 下载 evidence-url-verifier v1.0.0(免费)

文件大小: 1.69 KB | 发布时间: 2026-4-16 17:59

v1.0.0 最新 2026-4-16 17:59
- Initial release of evidence-url-verifier.
- Checks that evidence URLs resolve to real, accessible content (not placeholders or dead links).
- Validates URLs, verifies content type, and checks for placeholder text.
- Confirms existence and non-emptiness of local artifact paths.
- Ensures privacy by not logging full contents and redacting sensitive data.
- Designed to be used before task completion or during audits involving proof artifacts.
返回顶部