TopRank Skills

Home / Claw Skills / Autres / evidence-url-verifier
Official OpenClaw rules 15%

evidence-url-verifier

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

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 evidence-url-verifier 技能。 若已安装,则直接安装 evidence-url-verifier 技能。

Overview

Skill Key
dalomeve/evidence-url-verifier
Author
dalomeve
Source Repo
openclaw/skills
Version
-
Source Path
skills/dalomeve/evidence-url-verifier
Latest Commit SHA
dbc9790b44746753fd6ab6efb4d8ae9ad2b13519

Extracted Content

SKILL.md excerpt

# 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:...

Related Claw Skills