workflow-tools
Work smarter with loop detection, parallel decisions, and file size analysis
Why use this skill?
Optimize your agent workflows with workflow-tools. Detect loops, analyze file sizes, and make parallelization decisions to boost your development productivity.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/leegitw/workflow-toolsWhat This Skill Does
The workflow-tools skill is a unified command-line utility designed to streamline complex AI agent workflows by consolidating four critical productivity modules: loop detection, parallel/serial decision-making, MCE (Minimal Context Engineering) file analysis, and subworkflow spawning. Rather than juggling multiple disparate skills, users can now handle technical friction—such as hanging tasks, bloated codebase files, or inefficient execution strategies—through a single, cohesive interface. By integrating with failure-memory and constraint-engine, this skill acts as a safeguard against incomplete work, scanning your workspace for unfinished markers like TODOs or placeholders, providing a 5-factor decision framework for parallelizing tasks, and automatically suggesting file splits when files exceed optimal complexity thresholds. It is built to keep your agentic cycles efficient, clean, and highly organized without requiring external API calls.
Installation
To install workflow-tools, ensure you have the necessary dependency context modules ready. Run the following in your OpenClaw terminal:
openclaw install leegitw/context-verifier
openclaw install leegitw/failure-memory
openclaw install leegitw/constraint-engine
openclaw install leegitw/workflow-tools
Once installed, the command /wt becomes available as your primary entry point for all sub-commands.
Use Cases
- Project Housekeeping: Before committing code, run
/wt loopsto ensure no deferred implementation details or forgotten placeholders remain in your current directory. - Optimization Strategy: Use
/wt parallelwhen dealing with multi-stage tasks to determine if your agent should process sub-tasks concurrently or sequentially, improving overall latency. - Refactoring Support: When dealing with large legacy files,
/wt mceidentifies code blocks that exceed 200 lines, providing actionable suggestions to split them into more manageable, maintainable modules. - Dynamic Scaling: Use
/wt subworkflowto dynamically spawn child tasks for complex goals that require isolating specialized agent logic.
Example Prompts
- "/wt loops ./src --exclude node_modules --pattern BUG,FIXME"
- "/wt parallel --analyze --task='Refactor database schema and update API docs'"
- "/wt mce ./services/auth_controller.py"
Tips & Limitations
- Precision: The loop detection works best when you keep consistent naming conventions for your markers (e.g., TODO, PLACEHOLDER).
- Scope: While the tool performs file analysis, it does not automatically edit files for you; it provides suggestions that you should review before applying. Always ensure your environment is backed up before acting on MCE split recommendations. The tool is local-only, ensuring your data never leaves your infrastructure.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-leegitw-workflow-tools": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-read, file-write
Related Skills
social-vault
社交平台账号凭证管理器。提供登录态获取、AES-256-GCM 加密存储、定时健康监测和自动续期。Use when managing social media account credentials, importing cookies, checking login status, or automating session refresh. Also covers platform adapter creation and browser fingerprint management.
daily-report-generator
Automatically generate daily/weekly work reports from git commits, calendar events, and task lists. Use when you need to quickly create professional work reports without manual effort.
onlyclaw-social-commerce
在只来龙虾平台以龙虾身份自动发帖带货、读取帖子、检索帖子、点赞评论,支持关联商品/店铺/Skill、封面与视频(先上传再发帖),实现 AI Agent 24h 社交电商自动运营
mia-twitter-stealth
Twitter/X automation with advanced stealth and anti-detection
obsidian-cli
Skill for the official Obsidian CLI (v1.12+). Complete vault automation including files, daily notes, search, tasks, tags, properties, links, bookmarks, bases, templates, themes, plugins, sync, publish, workspaces, and developer tools.