Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计提醒

xhs-anti-detectionxhs 反检测

Agent Skill

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

总安装

1,976

周安装

84

GitHub Stars

公开资料未说明

下载量

692
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:xhs-anti-detection(xhs 反检测)
来源仓库:https://github.com/tttt-bjgs/xhs-anti-detection
安装命令:
openclaw skills install xhs-anti-detection
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install xhs-anti-detection

简介

通过清理元数据、添加细微噪声和色偏、保护文本以及重新编码来对小红书 AI 图像进行后处理,以降低 AI 检测风险。

SKILL.md

xhs-anti-detection Skill

Purpose

Post-processing skill for Xiaohongshu (小红书) AI-generated images to reduce detection probability while maintaining visual quality. Applies a multi-layer defense strategy: metadata cleaning, subtle pixel modifications, and re-encoding.

When to Use

  • After generating images with image-generation skill
  • Before publishing to Xiaohongshu to avoid AI-generated content flags
  • Batch processing multiple images at once
  • When images need to appear "natural" or "camera-captured"

What It Does

Processing Pipeline

Input Image → Metadata Cleaner → Subtle Noise Adder → Color Shift → 
Text Area Protection → Re-compression → Verification → Safe Output

Layer 1: Metadata Cleaning

  • Removes EXIF fields that reveal AI generation (Software, Creator, CreationDate)
  • Fakes camera metadata (Canon EOS R5 / Sony A7M4 / iPhone 15 Pro)
  • Preserves essential fields (dimensions, color profile)

Layer 2: Pixel-Level Modifications

  • Adds Gaussian noise (σ=0.3, visually imperceptible)
  • Applies subtle color shift (hue ±1°, saturation ±2%)
  • Introduces micro-variations to break compression fingerprints

Layer 3: Text Protection

  • Detects text regions (OCR-based)
  • Applies sharpening to text areas (avoid blur)
  • Leaves text crisp while background gets subtle processing

Layer 4: Re-encoding

  • Re-compresses with libjpeg-turbo at 98% quality
  • Shuffles DCT coefficient order
  • Adds random padding bytes to break statistical patterns

Layer 5: Verification

  • Checks metadata cleanliness
  • Computes "naturalness" score
  • Generates compliance report

Usage

Basic Usage

# Process single image
bash /Users/tianqu/.deskclaw/nanobot/workspace/skills/xhs-anti-detection/scripts/process.sh \
  --input /path/to/input.png \
  --output /path/to/output.png

# Batch process directory
bash /Users/tianqu/.deskclaw/nanobot/workspace/skills/xhs-anti-detection/scripts/batch.sh \
  --input-dir /path/to/images \
  --output-dir /path/to/processed

Parameters

FlagDescriptionDefault
--inputInput image path(required)
--outputOutput image path(required)
--strengthProcessing intensity: light/medium/heavymedium
--fake-cameraCamera model to fake"Canon EOS R5"
--verifyRun verification after processingtrue
--dry-runShow what would be done without doing itfalse

Integration with image-generation

After generating an image with the image-generation skill, automatically run:

# Get the generated image path from image-generation output
# Then process it
bash ~/.deskclaw/nanobot/workspace/skills/xhs-anti-detection/scripts/process.sh \
  --input "$GENERATED_IMAGE" \
  --output "$GENERATED_IMAGE".safe.png \
  --strength medium

Configuration

Edit references/safe_params.json to adjust:

{
  "noise_sigma": 0.3,
  "color_shift_hue_deg": 1,
  "color_shift_saturation_pct": 2,
  "recompression_quality": 98,
  "text_sharpening_radius": 1,
  "metadata_fields_to_remove": [
    "Software", "Creator", "CreationDate", "DateTime",
    "Artist", "Copyright", "ExifVersion"
  ],
  "fake_camera_models": [
    "Canon EOS R5",
    "Sony A7M4",
    "iPhone 15 Pro",
    "Xiaomi 14 Ultra"
  ]
}

Output

  • Processed image: Safe for publishing
  • Verification report (if --verify): JSON with scores and warnings
  • Original preserved: Input file is not modified

Limitations

  • Not 100% guaranteed: Detection algorithms evolve continuously
  • Slight quality loss: ~2-5% perceptible degradation (usually unnoticeable)
  • Processing time: 3-5 seconds per image
  • Text legibility: Text remains readable but may lose perfect crispness

Maintenance

  • Update references/detection_patterns.md when new AI detection features are discovered
  • Adjust safe_params.json if Xiaohongshu changes detection strategy
  • Test with a burner account regularly

Files

xhs-anti-detection/
├── SKILL.md              # This file
├── scripts/
│   ├── process.sh        # Main entry point (bash wrapper)
│   ├── clean_metadata.py # EXIF cleaner
│   ├── add_noise.py      # Gaussian noise adder
│   ├── color_shift.py    # Subtle color modification
│   ├── protect_text.py   # Text-aware processing
│   ├── recompress.py     # Re-encoding with fingerprint randomization
│   ├── verify.py         # Verification & reporting
│   └── batch.sh          # Batch processing wrapper
├── references/
│   ├── safe_params.json  # Tunable parameters
│   └── detection_patterns.md  # Known detection signatures
├── hooks/
│   └── post_generate.py  # Auto-trigger after image-generation
└── assets/
    └── sample_report.json  # Example verification output

Dependencies

  • Python 3.9+
  • Pillow (PIL)
  • pyexiv2 or exiftool (for metadata)
  • numpy
  • OpenCV (optional, for text detection)

Install:

pip install Pillow pyexiv2 numpy opencv-python

Future Enhancements

  • [ ] Machine learning-based text region detection (more accurate)
  • [ ] Adaptive strength based on image content complexity
  • [ ] Automatic parameter tuning via A/B testing
  • [ ] Integration as a post-processing hook for image-generation skill
  • [ ] Support for video frames (extract → process → recompile)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

81.86%
按下载量换算566

安全审计

VirusTotal

未展示

ClawScan

可疑

Static analysis

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills