autotask-mcp: Command for Claude Code

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

smart-workflow is a command for Claude Code from WYRE-AI/autotask-mcp. It costs 0 tokens per session (306 once invoked), scanned A, original, Apache-2.0.

A command that chooses and runs a development workflow based on the project state, recent commands, unfinished tasks, and working patterns.

In plain words
What is it for?
Use it for actions such as a daily stand-up, sprint planning, dependency resolution, weekly review, onboarding, finding the next task, or preparing to code.
Why use it?
It helps decide what kind of planning or follow-up is appropriate when the next action is not obvious.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is WYRE-AI/autotask-mcp's own configuration. It tells Claude Code how to work on autotask-mcp 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 autotask-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to WYRE-AI/autotask-mcp. 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/WYRE-AI/autotask-mcp/main/.claude/commands/tm/workflows/smart-workflow.md
Clone the repo
git clone --depth 1 https://github.com/WYRE-AI/autotask-mcp

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/wyre-ai/autotask-mcp/smart-workflow.svg)](https://agentmods.dev/commands/wyre-ai/autotask-mcp/smart-workflow)
Your own site
<a href="https://agentmods.dev/commands/wyre-ai/autotask-mcp/smart-workflow"><img src="https://agentmods.dev/badge/commands/wyre-ai/autotask-mcp/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 306 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00306
Opus 5 $0.00000 $0.00153
Sonnet 5 $0.00000 $0.00061
Haiku 4.5 $0.00000 $0.00031

Measured 8d ago against content hash ab2cbb2f6d15, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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

Copies of this mod

7 near-identical copies found in the catalogue:

.claude/commands/tm/workflows/smart-workflow.md · 55 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. 8d ago First seen · 55 lines · 0 tokens per session scan A ab2cbb2f6d15

Subscribe to this mod's changes

smart-workflow is a command published in the GitHub repository WYRE-AI/autotask-mcp (50 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 306 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.