Autonomous TODO workflow: refine an idea into one structured TODO item, then a git-hook chain plans → implements (subagent team + deterministic gate, isolated worktree, never auto-merged) → reviews it. Language-agnostic, config-driven, bootstrapped into any repo.
Implements ONE planned item in the isolated worktree, exactly one commit per item. Use after planner + navigator, and again on each gate/review loopback to fix only the reported findings.
Finds existing patterns, conventions and the blast radius via CodeGraph BEFORE code is written. Use proactively before implementation and before conventions review.
Turns ONE TODO item into a bounded plan with verifiable acceptance criteria and a risk tier. Use proactively as the first step of each item, before any code change.
Checks adherence to the codebase's existing conventions and that the solution is the best-practice fit for THIS project's stack. Use after the correctness reviewer. Read-only + writes its findings JSON.
Checks the implementation against the acceptance criteria for correctness, edge cases and missing tests. Use AFTER the deterministic gate is green. Read-only + writes its findings JSON.
Bootstraps LHTask into a repo: installs git hooks, configuration, and starter files. Use once per repo to enable autonomous plan→implement→review on every commit. Idempotent; never overwrites existing files without asking.
Turn a rough idea or question into ONE clean, structured TODO.md item — grounded in the real codebase and refined with the user — ready to trigger the LHTask plan→implement→review hook chain. Use when capturing a task, triaging a "should we…?" question, or queuing work for the autonomous chain.
Updates the vendored LHTask chain in bootstrapped repos from the plugin source. Refreshes scripts, subagents, MCP config, and git hooks. Use --all to update every registered repo. Leaves configuration and lifecycle files untouched.
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Turn a rough idea into a reviewed, tested implementation — automatically.
LHTask gives Claude Code a three-stage autonomous workflow: refine an idea into a
structured task, then let a git-hook chain plan → implement → review it.
The implementer runs as a subagent team (planner, navigator, implementer,
deterministic gate, reviewers — in a bounded loop) inside an isolated worktree
on a branch that is never auto-merged — or, opt-in (LHTASK_DELIVERY=apply),
converged work lands as staged changes that you commit. A deterministic gate
(lint/typecheck/test/build, plus fallow static
analysis when installed) and fail-closed reviewers catch problems before you
ever see them. Language-agnostic and config-driven, so it drops into any repo.
graph LR
A["💡 Idea"] --> B["/lhtask:lh-task"]
B --> C["TODO.md"]
C --> D["git commit"]
D --> E["🔧 PLAN"]
E --> F["🧭 NAVIGATE"]
F --> G["⚙️ IMPLEMENT"]
G --> H{"✅ GATE"}
H --"red"--> G
H --"green"--> I["👀 REVIEW"]
I --"blocker"--> G
I --"pass"--> J["📋 TODO.review.md"]
/lhtask:lh-task "your idea" refines it into one structured TODO.md item.git add TODO.md && git commit -m "task: …" triggers the chain.TODO.review.md
with findings. Nothing is auto-merged — you stay in control.# one-time (GitHub is the only install channel — see docs/DISTRIBUTION.md):
claude plugin marketplace add leonhoffmann86/lhtask-plugin
claude plugin install lhtask@lhtask-marketplace
# inside any repo you want to enable:
/lhtask:bootstrap # writes hooks + lhtask.conf + starters
/lhtask:lh-task "your idea" # capture the first task
git add TODO.md && git commit -m "task: ..." # starts the chain
Pick up a new release later: claude plugin marketplace update lhtask-marketplace && claude plugin update lhtask, then /lhtask:update inside each bootstrapped repo.
Kill switch: touch .git/autoplan.disabled · live trace: tail -f TODO.run.log
(streams every agent tool call in real time).
LHTask installs a git post-commit hook that launches headless claude processes.
This is powerful — and taken seriously:
| Concern | How LHTask addresses it |
|---|---|
| Unintended recursion | Agent commits are flagged with AUTOPLAN_AGENT=1; the hook skips them — no infinite loops |
| Destructive operations | git push, git reset --hard, git rebase, rm -rf, Task/Agent delegation — hard-denied per role via --settings |
| Escaping the sandbox | Planner, navigator, and reviewers are read-only (dontAsk + allowlist); only the implementer is commit-capable |
| Runaway agents | Bounded loop: max 3 implement→gate→review iterations per run |
| Stuck locks | mkdir-based locks with automatic stale-reaping prevent deadlocks from killed runs |
| Emergency stop | touch .git/autoplan.disabled — instant kill switch for the entire chain |
| Human oversight | The impl branch is never auto-merged; opt-in apply delivery only stages converged work — the commit is always yours; high-risk items are deferred to ## 🚧 Deferred and never touched autonomously |
| Silent degradation | Cross-vendor model fallbacks and every missing tool the chain touches (codegraph, fallow, jq, timeout, gate tools like eslint/pytest, curl & notifier when relevant) are reported in every TODO.review.md (### Model fallbacks / ### Tooling) — graceful, never silent |
Before installing any git-hook-based plugin, audit its scripts and understand what it does on your machine. LHTask is MIT-licensed and the full source is right here. Start with
templates/githooks/README.mdfor a stage-by-stage walkthrough of the installed chain.
The deep documentation is the source of truth and stays current automatically (see Doc automation below) — start here:
npx claudepluginhub leonhoffmann86/lhtask-plugin --plugin lhtaskHarness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
A growing collection of Claude-compatible academic workflow bundles. Covers scientific figures, manuscript writing and polishing, reviewer assessment, citation retrieval, data availability, paper reading, literature search, response letters, paper-to-PPTX conversion, and evidence-grounded Chinese invention patent drafting. Rules are organized as reusable skill folders with explicit workflows and quality checks.
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.