返回顶部
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
安全检测
已通过
375
下载量
0
收藏
概述
安装方式
版本历史

evidence-url-verifier

# Evidence URL Verifier Verify evidence URLs are real and accessible. ## Problem Evidence links often: - Point to non-existent resources - Are placeholders (example.com) - Expire or get deleted - Don't match claimed content ## Workflow ### 1. URL Validation ```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 } } } # Usage $result = Test-EvidenceUrl "https://example.com/artifact" if ($result.Valid) { Write-Host "URL valid: $($result.Status)" } else { Write-Error "URL invalid: $($result.Error)" } ``` ### 2. Content Verification ```powershell # Check URL matches claimed content type $response = Invoke-WebRequest -Uri $url if ($response.ContentType -notlike "text/*" -and $expectedType -eq "text") { Write-Warning "Content type mismatch" } # Check for placeholder text $content = $response.Content if ($content -match "lorem ipsum|placeholder|example") { Write-Warning "Content appears to be placeholder" } ``` ### 3. Artifact Existence ```powershell # For local paths if (Test-Path $artifactPath) { $size = (Get-Item $artifactPath).Length if ($size -eq 0) { Write-Warning "Artifact file is empty" } } else { Write-Error "Artifact not found: $artifactPath" } ``` ## Executable Completion Criteria | Criteria | Verification | |----------|-------------| | URL resolves | HTTP 200 response | | Content matches | Type matches expected | | No placeholders | Content is substantive | | Local paths exist | Test-Path returns true | ## Privacy/Safety - Don't log full URL contents - Redact sensitive data in responses - Respect rate limits (max 1 req/sec) ## Self-Use Trigger Use when: - Task claims evidence artifact - URL provided as proof - Before marking task complete - Audit of past completions --- **Verify evidence. Trust but confirm.**

标签

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

下载 Zip 包

⬇ 下载 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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部