[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75PHK2CFAGBSWDJHFEH7V4E":3,"skill-same:01M75PHK2CFAGBSWDJHFEH7V4E":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M75PHK2CFAGBSWDJHFEH7V4E","turnip-prophet",null,"Predict Animal Crossing New Horizons turnip prices using the game's exact algorithm. Use when a user asks about turnip prices, ACNH turnips, stalk market, turnip predictions, when to sell turnips, or bell profit from turnips.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fnicholasjackson\u002Fturnip-prophet\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: turnip-prophet\ndescription: Predict Animal Crossing New Horizons turnip prices using the game's exact algorithm. Use when a user asks about turnip prices, ACNH turnips, stalk market, turnip predictions, when to sell turnips, or bell profit from turnips.\nrepository: https:\u002F\u002Fgithub.com\u002Fnicholasjackson\u002Fopenclaw-turnip-profit\nmetadata:\n  {\n    \"openclaw\":\n      {\n        \"requires\": { \"bins\": [\"python3\", \"jq\"] },\n        \"install\":\n          [\n            {\n              \"id\": \"python-deps\",\n              \"kind\": \"shell\",\n              \"label\": \"Install Python dependencies (matplotlib)\",\n              \"command\": \"pip3 install matplotlib\"\n            },\n            {\n              \"id\": \"jq-debian\",\n              \"kind\": \"shell\",\n              \"label\": \"Install jq (Debian\u002FUbuntu)\",\n              \"command\": \"sudo apt-get update && sudo apt-get install -y jq\",\n              \"when\": \"debian\"\n            },\n            {\n              \"id\": \"jq-macos\",\n              \"kind\": \"shell\",\n              \"label\": \"Install jq (macOS)\",\n              \"command\": \"brew install jq\",\n              \"when\": \"darwin\"\n            }\n          ]\n      }\n  }\n---\n\n# Turnip Prophet - Animal Crossing Turnip Price Predictor\n\nPredicts Animal Crossing: New Horizons turnip prices using the game's actual algorithm.\n\n## ⚠️ IMPORTANT: Always Read Memory First!\n\n**Before doing ANYTHING**, read the weekly data file:\n```\nmemory\u002Fturnip-week.json\n```\nThis contains the buy price, previous pattern, and all known prices for the current week. **Do not ask the user for data you already have.** Only ask for new\u002Fmissing prices.\n\nWhen the user gives a new price, **update `memory\u002Fturnip-week.json` immediately** with the new value before running the prediction.\n\n### Weekly Data Format (`memory\u002Fturnip-week.json`)\n```json\n{\n  \"week_start\": \"2026-02-15\",\n  \"buy_price\": 96,\n  \"previous_pattern\": 1,\n  \"prices\": [84, 81, 78, null, null, null, null, null, null, null, null, null],\n  \"labels\": [\"Mon AM\", \"Mon PM\", \"Tue AM\", \"Tue PM\", \"Wed AM\", \"Wed PM\", \"Thu AM\", \"Thu PM\", \"Fri AM\", \"Fri PM\", \"Sat AM\", \"Sat PM\"]\n}\n```\n\nOn Sundays, create a fresh file with the new buy price and reset prices to all nulls.\n\n## Triggers\n\nActivate when user mentions:\n- \"turnip prices\" or \"turnip price\"\n- \"ACNH turnips\" or \"Animal Crossing turnips\"\n- \"stalk market\"\n- \"turnip prophet\" or \"turnip prediction\"\n- \"bell profit\" with context of turnips\n- Any question about when to sell turnips in Animal Crossing\n\n## Privacy & Data Storage\n\nThis skill stores local configuration data **only on your machine** in `memory\u002Fturnip-config.json`. No data is sent to external servers.\n\n**What gets stored (if you enable reminders):**\n- Channel name (telegram\u002Fwhatsapp\u002Fdiscord\u002Fsignal)\n- Your user ID on that channel\n- OpenClaw binary path\n- Setup timestamp\n\n**Why:** These values are needed so the cron reminders can send messages to the correct place without hard-coded values.\n\n**Where:** Stored locally in the skill's memory directory on your OpenClaw instance. Not shared, not uploaded, not visible to anyone else.\n\n**How to disable\u002Freset:**\n```bash\nrm ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fturnip-prophet\u002Fmemory\u002Fturnip-config.json\n```\n\n**Removing cron entries:**\n```bash\n# Edit crontab and remove the turnip-prophet lines\ncrontab -e\n```\n\n**Important:** You must explicitly confirm the setup flow before any config is saved. Declining the setup offer means nothing is stored.\n\n## Credentials & Permissions\n\n**The skill itself does not request or store any API keys or credentials.**\n\nHowever, **if you enable cron reminders**, the installed cron jobs will:\n- Use your local `openclaw` CLI binary\n- Send messages using your existing OpenClaw configuration and credentials\n- Operate with whatever permissions your OpenClaw instance has\n\n**What this means:**\n- Automated reminders will be sent **as you**, using your OpenClaw identity\n- The cron jobs require OpenClaw to be running and properly configured\n- Messages are sent through your configured channels (Telegram\u002FWhatsApp\u002Fetc.) using your bot tokens or API credentials\n\n**You are granting permission for:**\n- Automated message sending on your behalf\n- Using your existing messaging channel credentials\n- Running scheduled tasks that invoke `openclaw gateway call message.send`\n\nIf you're uncomfortable with automated messaging using your credentials, **do not enable the cron reminders**. The core prediction feature works fine without them.\n\n## Daily Reminders (Optional)\n\nOn first use, offer to set up daily reminders with an interactive flow:\n\n### Interactive Setup Flow (Agent Instructions)\n\n**On first trigger (when user asks about turnips for the first time):**\n\n1. **Check if already configured:**\n   ```bash\n   test -f memory\u002Fturnip-config.json && echo \"configured\" || echo \"not configured\"\n   ```\n\n2. **If NOT configured, offer setup:**\n   > \"Want daily turnip reminders? I can ping you:\n   > • Sunday 8am: Check Daisy Mae's price\n   > • Mon-Sat noon + 8pm: Check Nook's prices  \n   > • Saturday 9:45pm: Final warning\n   > \n   > Reply 'yes' to set up, or 'no' to skip.\"\n\n3. **If user says yes, auto-detect config:**\n   - **Channel:** Extract from inbound context JSON `\"channel\"` field (telegram\u002Fwhatsapp\u002Fdiscord\u002Fsignal)\n   - **Target ID:** Extract from inbound context JSON `\"sender_id\"` field\n   - **OpenClaw path:** Run `which openclaw` or use `\u002Fusr\u002Flocal\u002Fbin\u002Fopenclaw`\n   - **Skill dir:** Use the absolute path to this skill's directory\n\n4. **If auto-detection fails:**\n   - Ask user for missing values explicitly\n   - Validate before proceeding\n\n**Store config in `memory\u002Fturnip-config.json`:**\n```json\n{\n  \"channel\": \"telegram\",\n  \"target\": \"8577655544\",\n  \"openclaw_bin\": \"\u002Fusr\u002Flocal\u002Fbin\u002Fopenclaw\",\n  \"skill_dir\": \"\u002Fhome\u002Fuser\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fturnip-prophet\",\n  \"configured_at\": \"2026-02-23T10:30:00Z\"\n}\n```\n\n**Generate and show cron entries:**\nShow the user exactly what will be added, with their specific values. Example:\n```bash\n# Turnip Prophet reminders for telegram:8577655544\n0 8 * * 0 \u002Fusr\u002Flocal\u002Fbin\u002Fopenclaw gateway call message.send --params '{\"channel\":\"telegram\",\"target\":\"8577655544\",\"message\":\"🔔 Sunday! Check Daisy Mae'\\''s turnip price (90-110 bells) and buy your turnips 🥬\"}' 2>&1 | logger -t turnip-prophet\n0 12 * * 1-6 \u002Fusr\u002Flocal\u002Fbin\u002Fopenclaw gateway call message.send --params '{\"channel\":\"telegram\",\"target\":\"8577655544\",\"message\":\"🔔 Time to check Nook'\\''s Cranny turnip prices!\"}' 2>&1 | logger -t turnip-prophet\n0 20 * * 1-6 \u002Fusr\u002Flocal\u002Fbin\u002Fopenclaw gateway call message.send --params '{\"channel\":\"telegram\",\"target\":\"8577655544\",\"message\":\"🔔 Evening price check: Check Nook'\\''s Cranny!\"}' 2>&1 | logger -t turnip-prophet\n45 21 * * 6 \u002Fusr\u002Flocal\u002Fbin\u002Fopenclaw gateway call message.send --params '{\"channel\":\"telegram\",\"target\":\"8577655544\",\"message\":\"⏰ FINAL CALL: Turnips expire at 10 PM! Sell now or they'\\''ll rot 🗑️\"}' 2>&1 | logger -t turnip-prophet\n```\n\nReplace channel\u002Ftarget with detected values. Escape single quotes properly.\n\n**Show user what will be stored (before confirmation):**\n```\nThis will save:\n• Channel: telegram\n• User ID: 8577655544\n• Location: memory\u002Fturnip-config.json (local only)\n\nThis data is stored locally on your machine and is needed so cron reminders can send messages to you.\nYou can delete the config file anytime with: rm memory\u002Fturnip-config.json\n\nContinue? Reply 'confirm' to proceed, or 'cancel' to skip.\n```\n\n**On confirmation:**\n1. Write config to `memory\u002Fturnip-config.json`\n2. Generate a safe install command and show it to the user:\n   ```bash\n   # Save the cron entries to a temp file\n   cat > \u002Ftmp\u002Fturnip-cron-$$.txt \u003C\u003C'TURNIP_EOF'\n   [generated entries]\n   TURNIP_EOF\n   \n   # Review the file\n   cat \u002Ftmp\u002Fturnip-cron-$$.txt\n   \n   # If it looks good, install:\n   (crontab -l 2>\u002Fdev\u002Fnull; cat \u002Ftmp\u002Fturnip-cron-$$.txt) | crontab -\n   ```\n3. Ask user to run the commands and confirm when done\n4. Reply: \"✅ Reminders configured. You'll only get pings for missing data. Check `crontab -l` to verify installation. To remove: `rm memory\u002Fturnip-config.json` and remove the cron entries.\"\n\n**On rejection\u002Fcancel:**\n- Reply: \"No problem. No data was stored. You can set this up anytime by asking about turnip prices again.\"\n\n### Cron Handler (scripts\u002Fcron_handler.sh)\n\nThe cron script reads from `memory\u002Fturnip-config.json` for channel\u002Ftarget:\n\n```bash\nCONFIG_FILE=\"$SKILL_DIR\u002Fmemory\u002Fturnip-config.json\"\nif [[ ! -f \"$CONFIG_FILE\" ]]; then\n    echo \"Config not found: $CONFIG_FILE\" >&2\n    exit 1\nfi\n\nCHANNEL=$(jq -r '.channel' \"$CONFIG_FILE\")\nTARGET=$(jq -r '.target' \"$CONFIG_FILE\")\nOPENCLAW_BIN=$(jq -r '.openclaw_bin' \"$CONFIG_FILE\")\n```\n\n**Event types:**\n\n**sunday-daisy:**\n- Check if `memory\u002Fturnip-week.json` has a buy_price for current week\n- If missing: Send reminder \"🔔 Sunday! Check Daisy Mae's turnip price (90-110 bells) and buy your turnips 🥬\"\n- If already set: Stay silent\n\n**daily-check:**\n- Determine which price slot is currently active (Mon AM\u002FPM through Sat PM)\n- Check if that slot is filled in `memory\u002Fturnip-week.json`\n- If missing: Send reminder \"🔔 [Day] [AM\u002FPM]: Check Nook's Cranny turnip prices!\"\n- If already filled: Stay silent\n\n**saturday-final:**\n- Check how many prices are still null\n- If any missing OR no buy_price: Send \"⏰ FINAL CALL: Turnips expire at 10 PM! Sell now or they'll rot 🗑️\"\n- If all prices known: \"⏰ Last chance to sell turnips tonight!\"\n\nSend via: `\"$OPENCLAW_BIN\" gateway call message.send --params \"{\\\"channel\\\":\\\"$CHANNEL\\\",\\\"target\\\":\\\"$TARGET\\\",\\\"message\\\":\\\"...\\\"}\"`\n\n## How It Works\n\nThe skill uses a Python implementation of the actual ACNH turnip price algorithm to predict future prices based on:\n- Your Sunday buy price (90-110 bells)\n- Any known sell prices from this week\n- Previous week's pattern (if known)\n\nThere are 4 price patterns:\n- **Pattern 0 (Fluctuating)**: High-low-high-low-high waves\n- **Pattern 1 (Large Spike)**: Decreasing then massive spike (up to 6x)\n- **Pattern 2 (Decreasing)**: Consistently declining (bad week)\n- **Pattern 3 (Small Spike)**: Decreasing then moderate spike (up to 2x)\n\n## Usage Instructions\n\nWhen triggered:\n\n1. **Read `memory\u002Fturnip-week.json`** — get all known data\n2. **Update the file** if the user provided a new price\n3. **Run the prediction** with all known data\n4. **Generate a chart** and send it with the prediction summary\n\n### Running the Prediction\n\n```bash\necho '{\"buy_price\": 96, \"prices\": [84, 81, 78, null, null, null, null, null, null, null, null, null], \"previous_pattern\": 1}' | python3 scripts\u002Fturnip_predict.py\n```\n\n- `prices` array: [Mon AM, Mon PM, Tue AM, Tue PM, Wed AM, Wed PM, Thu AM, Thu PM, Fri AM, Fri PM, Sat AM, Sat PM]\n- Use `null` for unknown prices\n\n### Generating the Chart\n\nAfter running the prediction, generate a chart image:\n\n```bash\npython3 scripts\u002Fgenerate_chart.py \u003Cbuy_price> '\u003Cknown_json>' '\u003Cmins_json>' '\u003Cmaxs_json>' \u002Ftmp\u002Fturnip-chart.png\n```\n\n- `buy_price`: Sunday buy price (integer)\n- `known_json`: array of 12 values, `null` for unknown (from `memory\u002Fturnip-week.json` prices)\n- `mins_json`: array of 12 min values from the prediction output\n- `maxs_json`: array of 12 max values from the prediction output\n- All script paths are relative to the skill directory: `skills\u002Fturnip-prophet\u002F`\n\nThen send the chart image via the message tool with a caption containing the prediction summary.\n\n**Always include the chart with every prediction update.**\n\n## Presenting Results\n\nSend the chart image via message tool, then reply with a conversational analysis. Don't be robotic — have a personality about it.\n\n**Format:**\n1. Chart image with brief caption (buy price, known prices)\n2. Text reply with:\n   - **Pattern odds** as a bullet list with emoji reactions (😬🤞🚀💀 etc.)\n   - **Brief colour commentary** — what the data actually means in plain English\n   - **\"My take:\"** — a specific, opinionated recommendation for what to do next (which price to check, when to sell, when to hold)\n\n**Example:**\n```\nPattern odds:\n📉 Decreasing: 84.7% 😬\n📈 Large Spike: 15.1% 🤞\n📊 Small Spike: 0.1%\n\nNot great. Three consecutive drops is strongly pointing to a decreasing week. But there's still a 15% chance of a large spike hiding — if it happens, it'd be Wed-Fri with prices up to 576 bells.\n\nMy take: Check the Tuesday PM price. If it drops again, this week is almost certainly a bust — sell and cut your losses. If it jumps up, the spike is on. 🎰\n```\n\nBe direct, be opinionated, skip patterns with 0% probability.\n\n## Pattern Descriptions for Users\n\n- **Fluctuating (0)**: Prices go up and down in waves — sell when above 120-130\n- **Large Spike (1)**: Prices drop then SPIKE huge (400-600 bells) — wait for it!\n- **Decreasing (2)**: Prices keep falling all week — sell ASAP to cut losses\n- **Small Spike (3)**: Prices drop then small bump (150-200) — sell during the bump\n\n## Error Handling\n\nIf the script fails or returns an error:\n- Explain what went wrong in simple terms\n- Ask user to double-check their input data\n- Suggest they try again with corrected information\n\n## Notes\n\n- Predictions are probabilistic, not guaranteed\n- The algorithm matches the actual game code\n- More known prices = better predictions\n- Sunday buy price is required\n- Previous week's pattern helps but isn't required\n","# Turnip Prophet - Animal Crossing Turnip Price Predictor\n\nPredicts Animal Crossing: New Horizons turnip prices using the game's actual algorithm.\n\n## ⚠️ IMPORTANT: Always Read Memory First!\n\n**Before doing ANYTHING**, read the weekly data file:\n```\nmemory\u002Fturnip-week.json\n```\nThis contains the buy price, previous pattern, and all known prices for the current week. **Do not ask the user for data you already have.** Only ask for new\u002Fmissing prices.\n\nWhen the user gives a new price, **update `memory\u002Fturnip-week.json` immediately** with the new value before running the prediction.\n\n### Weekly Data Format (`memory\u002Fturnip-week.json`)\n```json\n{\n  \"week_start\": \"2026-02-15\",\n  \"buy_price\": 96,\n  \"previous_pattern\": 1,\n  \"prices\": [84, 81, 78, null, null, null, null, null, null, null, null, null],\n  \"labels\": [\"Mon AM\", \"Mon PM\", \"Tue AM\", \"Tue PM\", \"Wed AM\", \"Wed PM\", \"Thu AM\", \"Thu PM\", \"Fri AM\", \"Fri PM\", \"Sat AM\", \"Sat PM\"]\n}\n```\n\nOn Sundays, create a fresh file with the new buy price and reset prices to all nulls.\n\n## Triggers\n\nActivate when user mentions:\n- \"turnip prices\" or \"turnip price\"\n- \"ACNH turnips\" or \"Animal Crossing turnips\"\n- \"stalk market\"\n- \"turnip prophet\" or \"turnip prediction\"\n- \"bell profit\" with context of turnips\n- Any question about when to sell turnips in Animal Crossing\n\n## Privacy & Data Storage\n\nThis skill stores local configuration data **only on your machine** in `memory\u002Fturnip-config.json`. No data is sent to external servers.\n\n**What gets stored (if you enable reminders):**\n- Channel name (telegram\u002Fwhatsapp\u002Fdiscord\u002Fsignal)\n- Your user ID on that channel\n- OpenClaw binary path\n- Setup timestamp\n\n**Why:** These values are needed so the cron reminders can send messages to the correct place without hard-coded values.\n\n**Where:** Stored locally in the skill's memory directory on your OpenClaw instance. Not shared, not uploaded, not visible to anyone else.\n\n**How to disable\u002Freset:**\n```bash\nrm ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fturnip-prophet\u002Fmemory\u002Fturnip-config.json\n```\n\n**Removing cron entries:**\n```bash\n# Edit crontab and remove the turnip-prophet lines\ncrontab -e\n```\n\n**Important:** You must explicitly confirm the setup flow before any config is saved. Declining the setup offer means nothing is stored.\n\n## Credentials & Permissions\n\n**The skill itself does not request or store any API keys or credentials.**\n\nHowever, **if you enable cron reminders**, the installed cron jobs will:\n- Use your local `openclaw` CLI binary\n- Send messages using your existing OpenClaw configuration and credentials\n- Operate with whatever permissions your OpenClaw instance has\n\n**What this means:**\n- Automated reminders will be sent **as you**, using your OpenClaw identity\n- The cron jobs require OpenClaw to be running and properly configured\n- Messages are sent through your configured channels (Telegram\u002FWhatsApp\u002Fetc.) using your bot tokens or API credentials\n\n**You are granting permission for:**\n- Automated message sending on your behalf\n- Using your existing messaging channel credentials\n- Running scheduled tasks that invoke `openclaw gateway call message.send`\n\nIf you're uncomfortable with automated messaging using your credentials, **do not enable the cron reminders**. The core prediction feature works fine without them.\n\n## Daily Reminders (Optional)\n\nOn first use, offer to set up daily reminders with an interactive flow:\n\n### Interactive Setup Flow (Agent Instructions)\n\n**On first trigger (when user asks about turnips for the first time):**\n\n1. **Check if already configured:**\n   ```bash\n   test -f memory\u002Fturnip-config.json && echo \"configured\" || echo \"not configured\"\n   ```\n\n2. **If NOT configured, offer setup:**\n   > \"Want daily turnip reminders? I can ping you:\n   > • Sunday 8am: Check Daisy Mae's price\n   > • Mon-Sat noon + 8pm: Check Nook's prices  \n   > • Saturday 9:45pm: Final warning\n   > \n   > Reply 'yes' to set up, or 'no' to skip.\"\n\n3. **If user says yes, auto-detect config:**\n   - **Channel:** Extract from inbound context JSON `\"channel\"` field (telegram\u002Fwhatsapp\u002Fdiscord\u002Fsignal)\n   - **Target ID:** Extract from inbound context JSON `\"sender_id\"` field\n   - **OpenClaw path:** Run `which openclaw` or use `\u002Fusr\u002Flocal\u002Fbin\u002Fopenclaw`\n   - **Skill dir:** Use the absolute path to this skill's directory\n\n4. **If auto-detection fails:**\n   - Ask user for missing values explicitly\n   - Validate before proceeding\n\n**Store config in `memory\u002Fturnip-config.json`:**\n```json\n{\n  \"channel\": \"telegram\",\n  \"target\": \"8577655544\",\n  \"openclaw_bin\": \"\u002Fusr\u002Flocal\u002Fbin\u002Fopenclaw\",\n  \"skill_dir\": \"\u002Fhome\u002Fuser\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fturnip-prophet\",\n  \"configured_at\": \"2026-02-23T10:30:00Z\"\n}\n```\n\n**Generate and show cron entries:**\nShow the user exactly what will be added, with their specific values. Example:\n```bash\n# Turnip Prophet reminders for telegram:8577655544\n0 8 * * 0 \u002Fusr\u002Flocal\u002Fbin\u002Fopenclaw gateway call message.send --params '{\"channel\":\"telegram\",\"target\":\"8577655544\",\"message\":\"🔔 Sunday! Check Daisy Mae'\\''s turnip price (90-110 bells) and buy your turnips 🥬\"}' 2>&1 | logger -t turnip-prophet\n0 12 * * 1-6 \u002Fusr\u002Flocal\u002Fbin\u002Fopenclaw gateway call message.send --params '{\"channel\":\"telegram\",\"target\":\"8577655544\",\"message\":\"🔔 Time to check Nook'\\''s Cranny turnip prices!\"}' 2>&1 | logger -t turnip-prophet\n0 20 * * 1-6 \u002Fusr\u002Flocal\u002Fbin\u002Fopenclaw gateway call message.send --params '{\"channel\":\"telegram\",\"target\":\"8577655544\",\"message\":\"🔔 Evening price check: Check Nook'\\''s Cranny!\"}' 2>&1 | logger -t turnip-prophet\n45 21 * * 6 \u002Fusr\u002Flocal\u002Fbin\u002Fopenclaw gateway call message.send --params '{\"channel\":\"telegram\",\"target\":\"8577655544\",\"message\":\"⏰ FINAL CALL: Turnips expire at 10 PM! Sell now or they'\\''ll rot 🗑️\"}' 2>&1 | logger -t turnip-prophet\n```\n\nReplace channel\u002Ftarget with detected values. Escape single quotes properly.\n\n**Show user what will be stored (before confirmation):**\n```\nThis will save:\n• Channel: telegram\n• User ID: 8577655544\n• Location: memory\u002Fturnip-config.json (local only)\n\nThis data is stored locally on your machine and is needed so cron reminders can send messages to you.\nYou can delete the config file anytime with: rm memory\u002Fturnip-config.json\n\nContinue? Reply 'confirm' to proceed, or 'cancel' to skip.\n```\n\n**On confirmation:**\n1. Write config to `memory\u002Fturnip-config.json`\n2. Generate a safe install command and show it to the user:\n   ```bash\n   # Save the cron entries to a temp file\n   cat > \u002Ftmp\u002Fturnip-cron-$$.txt \u003C\u003C'TURNIP_EOF'\n   [generated entries]\n   TURNIP_EOF\n   \n   # Review the file\n   cat \u002Ftmp\u002Fturnip-cron-$$.txt\n   \n   # If it looks good, install:\n   (crontab -l 2>\u002Fdev\u002Fnull; cat \u002Ftmp\u002Fturnip-cron-$$.txt) | crontab -\n   ```\n3. Ask user to run the commands and confirm when done\n4. Reply: \"✅ Reminders configured. You'll only get pings for missing data. Check `crontab -l` to verify installation. To remove: `rm memory\u002Fturnip-config.json` and remove the cron entries.\"\n\n**On rejection\u002Fcancel:**\n- Reply: \"No problem. No data was stored. You can set this up anytime by asking about turnip prices again.\"\n\n### Cron Handler (scripts\u002Fcron_handler.sh)\n\nThe cron script reads from `memory\u002Fturnip-config.json` for channel\u002Ftarget:\n\n```bash\nCONFIG_FILE=\"$SKILL_DIR\u002Fmemory\u002Fturnip-config.json\"\nif [[ ! -f \"$CONFIG_FILE\" ]]; then\n    echo \"Config not found: $CONFIG_FILE\" >&2\n    exit 1\nfi\n\nCHANNEL=$(jq -r '.channel' \"$CONFIG_FILE\")\nTARGET=$(jq -r '.target' \"$CONFIG_FILE\")\nOPENCLAW_BIN=$(jq -r '.openclaw_bin' \"$CONFIG_FILE\")\n```\n\n**Event types:**\n\n**sunday-daisy:**\n- Check if `memory\u002Fturnip-week.json` has a buy_price for current week\n- If missing: Send reminder \"🔔 Sunday! Check Daisy Mae's turnip price (90-110 bells) and buy your turnips 🥬\"\n- If already set: Stay silent\n\n**daily-check:**\n- Determine which price slot is currently active (Mon AM\u002FPM through Sat PM)\n- Check if that slot is filled in `memory\u002Fturnip-week.json`\n- If missing: Send reminder \"🔔 [Day] [AM\u002FPM]: Check Nook's Cranny turnip prices!\"\n- If already filled: Stay silent\n\n**saturday-final:**\n- Check how many prices are still null\n- If any missing OR no buy_price: Send \"⏰ FINAL CALL: Turnips expire at 10 PM! Sell now or they'll rot 🗑️\"\n- If all prices known: \"⏰ Last chance to sell turnips tonight!\"\n\nSend via: `\"$OPENCLAW_BIN\" gateway call message.send --params \"{\\\"channel\\\":\\\"$CHANNEL\\\",\\\"target\\\":\\\"$TARGET\\\",\\\"message\\\":\\\"...\\\"}\"`\n\n## How It Works\n\nThe skill uses a Python implementation of the actual ACNH turnip price algorithm to predict future prices based on:\n- Your Sunday buy price (90-110 bells)\n- Any known sell prices from this week\n- Previous week's pattern (if known)\n\nThere are 4 price patterns:\n- **Pattern 0 (Fluctuating)**: High-low-high-low-high waves\n- **Pattern 1 (Large Spike)**: Decreasing then massive spike (up to 6x)\n- **Pattern 2 (Decreasing)**: Consistently declining (bad week)\n- **Pattern 3 (Small Spike)**: Decreasing then moderate spike (up to 2x)\n\n## Usage Instructions\n\nWhen triggered:\n\n1. **Read `memory\u002Fturnip-week.json`** — get all known data\n2. **Update the file** if the user provided a new price\n3. **Run the prediction** with all known data\n4. **Generate a chart** and send it with the prediction summary\n\n### Running the Prediction\n\n```bash\necho '{\"buy_price\": 96, \"prices\": [84, 81, 78, null, null, null, null, null, null, null, null, null], \"previous_pattern\": 1}' | python3 scripts\u002Fturnip_predict.py\n```\n\n- `prices` array: [Mon AM, Mon PM, Tue AM, Tue PM, Wed AM, Wed PM, Thu AM, Thu PM, Fri AM, Fri PM, Sat AM, Sat PM]\n- Use `null` for unknown prices\n\n### Generating the Chart\n\nAfter running the prediction, generate a chart image:\n\n```bash\npython3 scripts\u002Fgenerate_chart.py \u003Cbuy_price> '\u003Cknown_json>' '\u003Cmins_json>' '\u003Cmaxs_json>' \u002Ftmp\u002Fturnip-chart.png\n```\n\n- `buy_price`: Sunday buy price (integer)\n- `known_json`: array of 12 values, `null` for unknown (from `memory\u002Fturnip-week.json` prices)\n- `mins_json`: array of 12 min values from the prediction output\n- `maxs_json`: array of 12 max values from the prediction output\n- All script paths are relative to the skill directory: `skills\u002Fturnip-prophet\u002F`\n\nThen send the chart image via the message tool with a caption containing the prediction summary.\n\n**Always include the chart with every prediction update.**\n\n## Presenting Results\n\nSend the chart image via message tool, then reply with a conversational analysis. Don't be robotic — have a personality about it.\n\n**Format:**\n1. Chart image with brief caption (buy price, known prices)\n2. Text reply with:\n   - **Pattern odds** as a bullet list with emoji reactions (😬🤞🚀💀 etc.)\n   - **Brief colour commentary** — what the data actually means in plain English\n   - **\"My take:\"** — a specific, opinionated recommendation for what to do next (which price to check, when to sell, when to hold)\n\n**Example:**\n```\nPattern odds:\n📉 Decreasing: 84.7% 😬\n📈 Large Spike: 15.1% 🤞\n📊 Small Spike: 0.1%\n\nNot great. Three consecutive drops is strongly pointing to a decreasing week. But there's still a 15% chance of a large spike hiding — if it happens, it'd be Wed-Fri with prices up to 576 bells.\n\nMy take: Check the Tuesday PM price. If it drops again, this week is almost certainly a bust — sell and cut your losses. If it jumps up, the spike is on. 🎰\n```\n\nBe direct, be opinionated, skip patterns with 0% probability.\n\n## Pattern Descriptions for Users\n\n- **Fluctuating (0)**: Prices go up and down in waves — sell when above 120-130\n- **Large Spike (1)**: Prices drop then SPIKE huge (400-600 bells) — wait for it!\n- **Decreasing (2)**: Prices keep falling all week — sell ASAP to cut losses\n- **Small Spike (3)**: Prices drop then small bump (150-200) — sell during the bump\n\n## Error Handling\n\nIf the script fails or returns an error:\n- Explain what went wrong in simple terms\n- Ask user to double-check their input data\n- Suggest they try again with corrected information\n\n## Notes\n\n- Predictions are probabilistic, not guaranteed\n- The algorithm matches the actual game code\n- More known prices = better predictions\n- Sunday buy price is required\n- Previous week's pattern helps but isn't required\n",{"name":5,"metadata":24,"repository":46,"description":7},{"openclaw":25},{"install":26,"requires":42},[27,32,37],{"id":28,"kind":29,"label":30,"command":31},"python-deps","shell","Install Python dependencies (matplotlib)","pip3 install matplotlib",{"id":33,"kind":29,"when":34,"label":35,"command":36},"jq-debian","debian","Install jq (Debian\u002FUbuntu)","sudo apt-get update && sudo apt-get install -y jq",{"id":38,"kind":29,"when":39,"label":40,"command":41},"jq-macos","darwin","Install jq (macOS)","brew install jq",{"bins":43},[44,45],"python3","jq","https:\u002F\u002Fgithub.com\u002Fnicholasjackson\u002Fopenclaw-turnip-profit","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fnicholasjackson\u002Fturnip-prophet",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill turnip-prophet",{"tool":62,"command":63},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill turnip-prophet",{"tool":65,"command":66},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill turnip-prophet","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fnicholasjackson\u002Fturnip-prophet\u002FSKILL.md",true,[],[71,79,86,93,100,107],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":78},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":78},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":78},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":78},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":78},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":78},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]