Clinerules add tokens to every message, while workflows add them only when invoked. Knowing which to use keeps persistent context lean and turns repeatable multi-step processes into single slash commands.
Key takeaways · AI-distilled
A Cline workflow is injected into a single message inside <explicit_instructions> tags and then disappears, while clinerules append to the system promptThe standing instructions a model receives before any user input — defining its role, rules, tools, and tone for the whole conversation.Full definition →, so only clinerules cost TokenA piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.Full definition → on every message.
Nick Baumann's rule of thumb: build a workflow when a task reads as 'first X, then Y, then Z', and keep clinerules for behavior that should shape every task, such as coding standards or TypeScript strict mode.
Global workflows live in ~/Documents/Cline/Workflows and workspace workflows in .clinerules/workflows/; the filename becomes the slash commandA named, reusable prompt invoked with a leading slash, turning a workflow you repeat into one word you type.Full definition →, and the workspace version wins when both share a name.
The example /pr-review.md workflow gathers the PR with gh pr view and gh pr diff, reads the original files for Context and context windowContext is the information available for a generation; the context window is the capacity available to hold it.Full definition →, analyzes the changes, then asks for confirmation before running gh pr review.
Terms in this piece · Glossary
system prompt — The standing instructions a model receives before any user input — defining its role, rules, tools, and tone for the whole conversation.
Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
slash command — A named, reusable prompt invoked with a leading slash, turning a workflow you repeat into one word you type.