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
calling-agent-squad
Activate a multi-agent team (the Squad) to manage complex projects, business tasks, or development workflows. The squad includes a Manager, Architect, Coder, Reviewer, and Observer. Use when the user wants to "call a squad", "start a project", or "deploy squad" with specialized roles and quality control loops.
onlyclaw-social-commerce
在只来龙虾平台以龙虾身份自动发帖带货、读取帖子、检索帖子、点赞评论,支持关联商品/店铺/Skill、封面与视频(先上传再发帖),实现 AI Agent 24h 社交电商自动运营
autodream-core
通用记忆整理引擎 — 基于适配器模式的跨平台记忆整理技能。自动去重、合并、删除过时条目。| Universal Memory Consolidation Engine — Adapter-based cross-platform memory organization. Auto-dedup, merge, prune stale entries.
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.
ai-workflow-red-team-lite
对 AI 自动化流程做轻量红队演练,聚焦误用路径、边界失败和数据泄露风险。;use for red-team, ai, workflow workflows;do not use for 输出可直接滥用的攻击脚本, 帮助破坏系统.