claude-task-manager: Command for Claude Code

.claude/commands/tm/workflows/smart-workflow.md

smart-workflow is a command for Claude Code from vibehat/claude-task-manager. It costs 0 tokens per session (307 once invoked), scanned A, a copy of smart-workflow, MIT.

A workflow selector that uses the project's current task state, recent commands, and unfinished work to choose a sequence of development actions.

In plain words
What is it for?
Use it to start a work session, continue after completing a task, plan pending work, resolve dependencies, or review progress.
Why use it?
It helps decide what to do next when a project has pending, blocked, or recently completed tasks.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is vibehat/claude-task-manager's own configuration. It tells Claude Code how to work on claude-task-manager itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-task-manager configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vibehat/claude-task-manager. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vibehat/claude-task-manager/master/.claude/commands/tm/workflows/smart-workflow.md
Clone the repo
git clone --depth 1 https://github.com/vibehat/claude-task-manager

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for smart-workflow

README.md
[![agentmods](https://agentmods.dev/badge/commands/vibehat/claude-task-manager/smart-workflow.svg)](https://agentmods.dev/commands/vibehat/claude-task-manager/smart-workflow)
Your own site
<a href="https://agentmods.dev/commands/vibehat/claude-task-manager/smart-workflow"><img src="https://agentmods.dev/badge/commands/vibehat/claude-task-manager/smart-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 307 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00307
Opus 5 $0.00000 $0.00153
Sonnet 5 $0.00000 $0.00061
Haiku 4.5 $0.00000 $0.00031

Measured 3d ago against content hash 65fde6e9a132, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

smart-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to smart-workflow — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/tm/workflows/smart-workflow.md · 63 lines

What it actually says

Execute an intelligent workflow based on current project state and recent commands.

This command analyzes:

  1. Recent commands you've run
  2. Current project state
  3. Time of day / day of week
  4. Your working patterns

Arguments: $ARGUMENTS

Intelligent Workflow Selection

Based on context, I'll determine the best workflow:

Context Analysis

  • Previous command executed
  • Current task states
  • Unfinished work from last session
  • Your typical patterns

Smart Execution

If last command was:

  • status → Likely starting work → Run daily standup
  • complete → Task finished → Find next task
  • list pending → Planning → Suggest sprint planning
  • expand → Breaking down work → Show complexity analysis
  • init → New project → Show onboarding workflow

If no recent commands:

  • Morning? → Daily standup workflow
  • Many pending tasks? → Sprint planning
  • Tasks blocked? → Dependency resolution
  • Friday? → Weekly review

Workflow Composition

I'll chain appropriate commands:

  1. Analyze current state
  2. Execute primary workflow
  3. Suggest follow-up actions
  4. Prepare environment for coding

Learning Mode

This command learns from your patterns:

  • Track command sequences
  • Note time preferences
  • Remember common workflows
  • Adapt to your style

Example flows detected:

  • Morning: standup → next → start
  • After lunch: status → continue task
  • End of day: complete → commit → status
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 63 lines · 0 tokens per session scan A 65fde6e9a132

Subscribe to this mod's changes

smart-workflow is a command published in the GitHub repository vibehat/claude-task-manager (21 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 307 tokens. A static security scan graded it A with 0 findings. It is 100% identical to smart-workflow, differing in 8 lines, and is treated as a copy.