Skip to content
Back to skills

Crawlers And Wikidata Pipelines

ASecurity

"Operate Agriculture_KnowledgeGraph crawler and Wikidata/weather

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
datapythongobashnodedjangoapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill crawlers-and-wikidata-pipelines --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Crawlers And Wikidata Pipelines?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Crawlers And Wikidata Pipelines
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-crawlers-and-wikidata-pipelines/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-crawlers-and-wikidata-pipelines)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: crawlers-and-wikidata-pipelines
description: "Operate Agriculture_KnowledgeGraph crawler and Wikidata/weather
  data-acquisition pipelines safely."
disable-model-invocation: true
metadata:
  disco-role: operating
license: GPL 3.0
---

# Crawlers and Wikidata Pipelines

Use this sub-skill when the task is to inspect, run, repair, or validate the repository's crawler-driven data acquisition and intermediate CSV generation workflows for Hudong/Baike pages, Wikidata entity/relation alignment, weather relations, attributes, and tree source lists.

## Load this when

- The user asks how to run a Scrapy spider, choose the correct working directory, or understand crawler outputs.
- The task involves `hudong_pedia`, `entityRelation`, `wikidata_relation`, `new_node`, `weather_plant`, `city_weather`, `attributes`, `staticResult`, or tree-list artifacts before Neo4j import.
- A pipeline failed because expected JSON/CSV files are missing, a Scrapy project cannot find settings, or CSV rows are malformed.
- You need a no-network validation check for relation/weather CSV headers and row invariants.

## Route elsewhere when

- The next action is final Neo4j `LOAD CSV`, Cypher import order, graph constraints, graph query semantics, or tree/vector query APIs; route to the graph-query-and-data-management sub-skill.
- The task is PCNN relation-extraction dataset generation, deduplication, or TensorFlow training; route to the relation-extraction-pipeline sub-skill.
- The task is Django route operation, Mongo-backed tagging UI, THULAC NER behavior, or KNN/fastText entity labeling; use the corresponding sibling sub-skill.

## Operating references

1. Start with [crawler-workflows.md](references/crawler-workflows.md) for Scrapy projects, DFS tree crawlers, legacy data-processing scripts, working directories, output names, and network constraints.
2. Use [wikidata-processing.md](references/wikidata-processing.md) for Wikidata relation conversion, `new_node.csv`, `wikidata_relation*.csv`, relation distribution analysis, and safe CSV validation.
3. Use [weather-and-attribute-pipelines.md](references/weather-and-attribute-pipelines.md) for city/weather, weather-to-plant, climate-list, and attribute-extraction artifacts.
4. Use [troubleshooting.md](references/troubleshooting.md) for crawler-specific recovery steps, path-sensitive failures, service prerequisites, and malformed CSV symptoms.

## Bundled safe script

- [validate_relation_csvs.py](scripts/validate_relation_csvs.py) checks required CSV headers, non-empty fields, duplicate/suspicious rows, and cross-file consistency for `wikidata_relation.csv`, `wikidata_relation2.csv`, `new_node.csv`, `weather_plant.csv`, and `city_weather.csv`. It performs no network or database calls.

Example safe checks:

```bash
python scripts/validate_relation_csvs.py --help
python scripts/validate_relation_csvs.py --self-test
python scripts/validate_relation_csvs.py --root path/to/csv-export-directory
```

## Safety defaults

- Treat all live crawls as network-expensive and site-policy-sensitive. Do not start a broad crawl, disable robots compliance, or raise concurrency without explicit user approval.
- Prefer inspecting existing generated artifacts and running the bundled CSV validator before any live crawl or service-backed conversion.
- Run path-sensitive source scripts from their documented project directories. Many scripts write outputs relative to the current working directory and some execute work at module import time.
- Do not claim Wikidata/weather conversion is verified unless the required local files and, where applicable, Neo4j/THULAC dependencies were actually checked in the active environment.

Files in this skill

  • SKILL.md3.6 KB
  • references/crawler-workflows.md7.4 KB
  • references/troubleshooting.md5.1 KB
  • references/weather-and-attribute-pipelines.md4.1 KB
  • references/wikidata-processing.md4.5 KB
  • scripts/validate_relation_csvs.py14.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.