OpenClaw Skill: NEAR Scheduled Tasks
Description
## Overview
Create an OpenClaw skill for scheduling NEAR operations - automatic staking rewards claims, DeFi rebalancing, and recurring payments.
## Skill Commands
### Scheduling
```python
@skill.command("near_schedule_task")
async def schedule(task: str, cron: str, params: dict) -> dict:
"""Schedule a recurring NEAR task"""
# Example: Claim staking rewards daily
# near_schedule_task claim_rewards "0 9 * * *" {}
@skill.command("near_schedule_list")
async def list_scheduled() -> list:
"""List scheduled tasks"""
@skill.command("near_schedule_cancel")
async def cancel(task_id: str) -> dict:
"""Cancel scheduled task"""
```
### Common Schedules
```python
# Pre-built schedule templates
templates = {
"daily_rewards": "Claim staking rewards daily",
"weekly_rebalance": "Rebalance DeFi positions weekly",
"monthly_report": "Generate earnings report monthly"
}
```
## Deliverables
1. **Scheduling skill**
2. **Cron integration**
3. **Task templates**
4. **Published to MoltHub**
## Budget: 8 NEAR