← 返回
未分类 中文

Full run checklist.md tasks in Claude Code skill

Automatically execute tasks from checklist.md with state management and scheduled checking
自动执行 checklist.md 中的任务,具备状态管理和定时检查功能。
lightconsen
未分类 clawhub v1.0.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 322
下载
💾 0
安装
1
版本
#latest

概述

Fullrun Skill

Overview

This skill implements a task execution system with the following features:

  1. State Management: Uses .claude-status.txt file to track execution state
    • 0 = Idle, ready to execute (or file doesn't exist)
    • 1 = Claude is currently executing tasks
    • 2 = All tasks completed, monitoring should exit
  1. Task List: Reads pending tasks from checklist.md
  1. Scripts: Executable scripts in the scripts/ directory

Requirements

  • jq - Required for install/uninstall scripts
  • macOS: brew install jq
  • Linux: apt install jq or yum install jq

File Structure

project/
├── SKILL.md                  # This skill definition file
├── checklist.md              # Task list file (create in your project)
├── .claude-status.txt        # Execution state file (auto-generated)
├── .fullrun.log              # Execution log (auto-generated)
├── .monitor.pid              # Monitor process PID (auto-generated)
├── .claude/
│   └── fullrun/
│       └── scripts/          # Installed scripts (auto-generated)
│           ├── main.sh       # Main entry point
│           ├── fullrun.sh    # Task execution script
│           └── cron-manager.sh # Cron job management script
└── scripts/
    ├── main.sh               # Main entry point (source)
    ├── fullrun.sh            # Task execution script (source)
    ├── cron-manager.sh       # Cron job management script (source)
    ├── install.sh            # Installation script
    └── uninstall.sh          # Uninstallation script

Usage

Installation (run once per project)

The installer creates project-local configuration in ./.claude/ - no global settings are modified.

# In your project directory, run:
./scripts/install.sh

What the installer does:

  1. Creates .claude/ directory in your project
  2. Copies scripts to .claude/fullrun/scripts/
  3. Creates or updates .claude/settings.local.json with:
    • Permission rule for project scripts
    • SessionStart hook for auto-monitoring

Scope: Configuration is project-local only. Other projects are not affected.

Uninstall

./scripts/uninstall.sh

This removes:

  • The .claude/fullrun/ directory
  • Fullrun permission rule from .claude/settings.local.json
  • Fullrun hook from SessionStart (preserves other hooks)
  • .claude/settings.local.json if it becomes empty

Start scheduled monitoring (recommended)

./.claude/fullrun/scripts/main.sh start

Manually execute tasks

./.claude/fullrun/scripts/main.sh run

Check status

./.claude/fullrun/scripts/main.sh status

Stop monitoring

./.claude/fullrun/scripts/main.sh stop

Execution Rules

  1. If .claude-status.txt does not exist or contains 0, start executing unfinished tasks from checklist.md
  2. When executing tasks, set .claude-status.txt to 1
  3. When all tasks are completed, set .claude-status.txt to 2
  4. Scheduled task checks every 1 minute:
    • If status = 0 or file doesn't exist + pending tasks = start execution
    • If status = 1 = Claude is running, continue waiting
    • If status = 2 = All tasks completed, exit monitoring
  5. Monitoring automatically exits when all tasks are completed (status=2)

Task Marking Format

In checklist.md, tasks use the following format:

  • [ ] indicates incomplete
  • [x] indicates completed

Example:

# Checklist

- [ ] Task 1: Complete a feature
- [ ] Task 2: Write tests
- [x] Task 3: Completed task

Notes

  • Scheduled monitoring is session-level, stops when the current terminal session ends
  • For persistent monitoring, use system cron or launchd
  • The SessionStart hook checks for checklist.md in the current working directory at runtime
  • Configuration is project-local via .claude/settings.local.json

Security Notes

What this skill accesses:

  • Reads checklist.md in your current project directory
  • Creates/reads .claude-status.txt in your current project directory
  • Writes execution log to .fullrun.log
  • Does NOT access the internet
  • Does NOT request or transmit credentials

What the installer modifies:

  • .claude/settings.local.json - Project-local settings (gitignored)
  • .claude/fullrun/scripts/ - Project-local scripts

Persistence:

  • The SessionStart hook runs at the start of each Claude Code session in this project
  • It only starts monitoring if checklist.md exists and no execution is in progress
  • Uninstall removes all modifications in the project

How Task Execution Works

  1. The shell scripts (fullrun.sh, cron-manager.sh) handle:
    • State management (.claude-status.txt)
    • Task queue management (reading checklist.md)
    • Logging (.fullrun.log)
    • Marking tasks as complete
  1. Task execution is delegated to Claude Code:
    • When a task is started, it outputs the task description
    • Claude Code reads the task and executes the appropriate commands
    • This design allows for complex, multi-step tasks that require AI reasoning

Cross-Platform Compatibility

  • macOS: Fully supported
  • Linux: Fully supported
  • Windows: Requires WSL or Git Bash

The scripts use awk for text processing to ensure consistent behavior across all platforms.

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-07 13:28 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,105 📥 829,987
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,469 📥 534,400
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,398 📥 322,933