hf-dataset-creator
- Repo stars 0
- Author updated Live
- Author repo nano-core
- Domain
- Data
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @0-CYBERDYNE-SYSTEMS-0 · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- Python
- Permissions
-
- Read-only
- Write / modify
- Env read
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: hf-dataset-creator
description: Adapted from Hugging Face's dataset creator skill for FF-Terminal, Use when another skill is a b…
category: data
runtime: Python
---
# hf-dataset-creator output preview
## PART A: Task fit
- Use case: Adapted from Hugging Face's dataset creator skill for FF-Terminal, Use when another skill is a better direct match for the task. This skill enables you to create, manage, and publish datasets on the Hugging Face Hub with a focus on agricultural and farm-related data. It provides tools for dataset initialization, configuration management, and efficient dat….
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “When not to use this skill / Overview / When to Use This Skill” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Adapted from Hugging Face's dataset creator skill for FF-Terminal, Use when another skill is a better direct match for the task. This skill enables you to create, manage, and publish datasets on the Hugging Face Hub with a focus on agricultural and farm-related data. It provides tools for dataset initialization, configuration management, and efficient dat…”.
- **02** When the source has headings, the agent prioritizes “When not to use this skill / Overview / When to Use This Skill” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files, read environment variables; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files, read environment variables; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files, read environment variables.
Start with a small task and check whether the result follows “When not to use this skill / Overview / When to Use This Skill”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: hf-dataset-creator
description: Adapted from Hugging Face's dataset creator skill for FF-Terminal, Use when another skill is a b…
category: data
source: 0-CYBERDYNE-SYSTEMS-0/nano-core
---
# hf-dataset-creator
## When to use
- Adapted from Hugging Face's dataset creator skill for FF-Terminal, Use when another skill is a better direct match for…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “When not to use this skill / Overview / When to Use This Skill” and keep inference separate from source facts.
- read files, write/modify files, read environment variables; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "hf-dataset-creator" {
input -> user goal + target files + boundaries + acceptance criteria
context -> When not to use this skill / Overview / When to Use This Skill
rules -> SKILL.md triggers / order / output contract
runtime -> Python | read files, write/modify files, read environment variables | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} Hugging Face Dataset Creator for FF-Terminal
When not to use this skill
- Do not use when another skill is a better direct match for the task.
- Do not use when the request is outside this skill's scope.
Overview
This skill enables you to create, manage, and publish datasets on the Hugging Face Hub with a focus on agricultural and farm-related data. It provides tools for dataset initialization, configuration management, and efficient data uploads.
When to Use This Skill
Use this skill when you need to:
- Create new datasets for agricultural research or farm management
- Upload sensor data, crop yield data, weather measurements, or soil analysis results
- Structure farm operational data for machine learning projects
- Publish datasets for collaboration with the agricultural research community
- Manage existing datasets on the Hugging Face Hub
Key Capabilities
1. Dataset Types Supported
- Sensor Data: IoT sensor readings, soil moisture, temperature, humidity
- Crop Data: Yield measurements, growth stages, harvest records
- Weather Data: Historical weather patterns, forecasts, climate data
- Soil Analysis: pH levels, nutrient content, compaction measurements
- Farm Operations: Equipment usage, labor records, input applications
- Economic Data: Cost analysis, market prices, profitability metrics
2. Dataset Formats
- Tabular/CSV: Structured data with proper column headers
- JSON: Nested data structures for complex farm records
- Time Series: Temporal data with timestamps for trend analysis
- Geospatial: Location-based data with GPS coordinates
- Image/Multimedia: Field photos, drone imagery, sensor visualizations
3. Quality Assurance
- Data validation and format checking
- Duplicate detection and removal
- Missing data handling strategies
- Data type consistency verification
- Metadata completeness checks
Prerequisites
- Hugging Face account with write permissions
- HF_TOKEN environment variable set
- Python packages:
huggingface_hub,pandas,pyarrow
Usage Workflow
Step 1: Initialize Dataset
from huggingface_hub import HfApi
api = HfApi()
api.create_repo(
repo_id="your-username/farm-dataset-name",
repo_type="dataset",
private=False,
token=your_hf_token
)
Step 2: Prepare Data
Load and validate your agricultural data:
import pandas as pd
# Load farm data
df = pd.read_csv("farm_sensor_data.csv")
# Validate data structure
required_columns = ["timestamp", "sensor_type", "value", "location"]
assert all(col in df.columns for col in required_columns)
# Clean and preprocess
df = df.dropna()
df["timestamp"] = pd.to_datetime(df["timestamp"])
Step 3: Create Dataset Card
Generate comprehensive metadata:
dataset_card = """
---
language: en
tags:
- agriculture
- farming
- sensor-data
- crop-yield
license: mit
---
# Farm Sensor Dataset
## Dataset Description
This dataset contains sensor readings from agricultural IoT devices...
## Dataset Structure
- `data/`: Main data files in CSV format
- `metadata/`: Sensor configuration and location data
- `README.md`: This file
"""
Step 4: Upload Dataset
Upload files to Hugging Face Hub:
from huggingface_hub import upload_file
upload_file(
path_or_fileobj="farm_sensor_data.csv",
path_in_repo="data/farm_sensor_data.csv",
repo_id="your-username/farm-dataset-name",
repo_type="dataset",
token=your_hf_token
)
Best Practices for Agricultural Datasets
Data Organization
- Use consistent column naming conventions
- Include proper units of measurement
- Add location metadata (GPS coordinates, field names)
- Document data collection methods and equipment used
- Include temporal information (growing season, planting dates)
Metadata Standards
- Document data sources and collection methods
- Include information about sensor types and calibration
- Specify data frequency and resolution
- Add context about farming practices and crop varieties
- Provide data quality assessments and limitations
Privacy and Security
- Remove or anonymize sensitive farm location data if needed
- Consider data licensing terms carefully
- Document any data restrictions or usage limitations
- Ensure compliance with agricultural data sharing agreements
Integration with FF-Terminal Tools
This skill works seamlessly with other FF-Terminal capabilities:
- Data Analysis: Use
analyze_datatool to explore dataset patterns - Visualization: Create charts and graphs for data insights
- Automation: Schedule regular data uploads and updates
- Monitoring: Set up alerts for data quality issues
Troubleshooting
Common Issues
- Authentication errors: Verify HF_TOKEN is set correctly
- Upload failures: Check file size limits and internet connection
- Format errors: Ensure data files match expected schema
- Permission issues: Confirm repository access rights
Error Recovery
- Use
api.repo_info()to check repository status - Validate data locally before uploading
- Implement retry logic for network issues
- Keep backup copies of important datasets
Example Use Cases
1. IoT Sensor Data Pipeline
Upload real-time sensor data from farm IoT devices:
# Process incoming sensor data
sensor_data = process_sensor_readings()
# Validate and format
validated_data = validate_agricultural_data(sensor_data)
# Upload to Hub
upload_to_huggingface(validated_data, "farm-iot-sensors")
2. Crop Yield Analysis
Create datasets for yield prediction models:
# Combine yield data with weather and soil information
yield_dataset = combine_farm_data(
yield_data="crop_yields.csv",
weather_data="weather.csv",
soil_data="soil_analysis.csv"
)
# Create dataset for ML training
create_ml_dataset(yield_dataset, "crop-yield-prediction")
3. Research Collaboration
Share data with agricultural research community:
# Prepare dataset for publication
research_dataset = prepare_for_publication(raw_farm_data)
# Add comprehensive documentation
add_research_metadata(research_dataset, methodology_info)
# Publish with appropriate license
publish_dataset(research_dataset, license="CC-BY-SA")
Advanced Features
Version Control
- Track dataset versions with git-like functionality
- Maintain changelog of data updates and modifications
- Support for dataset branching and merging
Automation
- Schedule regular data uploads and updates
- Automate data quality checks and validation
- Set up notifications for dataset changes
Integration
- Connect with farm management software APIs
- Import data from agricultural equipment systems
- Export datasets in various formats for different tools
Decide Fit First
Design Intent
How To Use It
Boundaries And Review