scheduled-tasks

Author scheduled task prompts using a single Bash command and Python helper.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/CleanExpo/Pi-Dev-Ops --skill scheduled-tasks-cleanexpo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scheduled-tasks
Source: https://github.com/CleanExpo/Pi-Dev-Ops/tree/main/skills/scheduled-tasks
Command: npx skills add https://github.com/CleanExpo/Pi-Dev-Ops --skill scheduled-tasks-cleanexpo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scheduled task prompts often fail or require excessive approvals because they run in a sandboxed desktop Claude session with limited inherited configuration, unpredictable filesystem context, and missing dependencies.

Core Features & Use Cases

  • Minimize tool-approval surface: Reduce the scheduled task to a single shell command that invokes a standalone Python helper, limiting approvals primarily to Bash.
  • Avoid sandbox-specific path failures: Discover the repo dynamically at runtime so scheduled runs work across fresh sandboxes and session IDs.
  • Prevent brittle CI-style behavior: Avoid running full pytest or complex multi-tool operations inside the sandbox; use safe checks like import-level verification when needed.

Quick Start

Ask Claude to rewrite your scheduled-tasks prompt so it uses one Bash command that changes into a dynamically discovered repo path and then calls a helper Python script that discovers the repo root at runtime.

Frequently Asked Questions about scheduled-tasks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why do my scheduled Claude tasks fail to execute in sandboxed desktop sessions?

Scheduled tasks fail because sandboxed sessions lack inherited configuration and have unpredictable filesystem contexts. Hardcoded local paths and missing dependencies cause execution errors when the scheduled Claude task attempts to access repo files.

How do I write reliable scheduled task prompts for Claude MCP?

Reduce your scheduled task to a single shell command that invokes a standalone Python helper. This helper discovers the repo root dynamically at runtime, ensuring reliable execution across fresh sandboxes without hardcoded paths.

How do I minimize tool approvals for automated Claude tasks?

Minimize tool approvals by wrapping the scheduled task in a single Bash command that delegates to a Python script. This limits the approval surface primarily to Bash, avoiding complex multi-tool operations inside the sandbox.

Should I run pytest inside a sandboxed Claude scheduled task?

Avoid running full pytest or complex multi-tool test workflows inside the sandbox. These operations are brittle in scheduled sessions; use safe checks like import-level verification when needed to prevent CI-style failures.

Can I use hardcoded paths in Claude scheduled task prompts?

Hardcoded paths fail across fresh sandboxes and changing session IDs. You must discover the repo dynamically at runtime within your Python helper script so scheduled runs work regardless of the sandbox filesystem context.

What is the best way to automate recurring repo operations with Claude?

The best approach uses a single-command shell wrapper that changes into a dynamically discovered repo path and calls a standalone Python helper. This enforces reliable execution patterns for recurring operations while avoiding sandbox-specific failures.