🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

task-orchestrator-cron-heartbeat-subagent

by @chloechien511-cloud

Unified Task Orchestration Hub v2 - Integrates Heartbeat, Cron, Subagent and Task Management. Provides task identification, standardized setup, execution tra...

Versionv1.0.2
πŸ“‹ Tips & Best Practices

βœ… Recommended:

  • Specify --agentId explicitly for scheduled tasks
  • Use agent's dedicated session (--session kk) instead of isolated
  • Specify --accountId explicitly to ensure messages send from correct account
  • Run check script to verify configuration before creating tasks
  • ❌ Avoid:

  • Not specifying agentId (defaults to main execution)
  • Using isolated session (doesn't inherit channel binding)
  • Relying on default accountId (defaults to default)
  • Creating tasks without verifying configuration
  • FAQ

    Q1: Why are my messages sent from default bot instead of kk bot?

    A: Because the scheduled task didn't specify --agentId and --accountId. By default:

  • No agentId specified β†’ executed by main agent
  • No accountId specified β†’ sent via default account
  • Solution: Specify explicitly when creating task:

    openclaw cron add \
      --agentId "kk" \
      --session "kk" \
      --accountId "kk-feishu" \
      ...
    

    Q2: What's the difference between isolated session and agent dedicated session?

    A:

  • isolated session: Temporary isolated session, doesn't inherit agent's channel binding
  • kk session: kk agent's dedicated session, inherits kk's channel binding (including accountId)
  • If you want to use a specific agent's configuration, should use agent's dedicated session:

    --session "kk"  # βœ… Inherits kk's configuration
    --session isolated  # ❌ Doesn't inherit any configuration
    

    Q3: How to verify scheduled task configuration is correct?

    A: Use these commands to verify:

    # 1. View task list
    openclaw cron list

    2. Run configuration check script

    python3 ~/.openclaw/skills/task-orchestrator/scripts/check_cron_config.py

    3. Test execution

    openclaw cron run {task_id}

    4. Check Feishu message

    Confirm message is sent from correct bot


    View on ClawHub
    TERMINAL
    clawhub install task-orchestrator-cron-heartbeat-subagent

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’