Logo de Flow

Flow

Organização
Lifecycle-Innovations-Limited
flow

OPS sob demanda: esta habilidade deve ser usada quando o usuário pedir "/ops:flow", "dev lifecycle" ou "onde…"

Visão geral

Publicado porLifecycle-Innovations-Limited
Repositórioclaude-ops
Nome da habilidadeflow
Estrelas
543
Forks
64
Arquivos incluídos
1
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 1

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por Lifecycle-Innovations-Limited no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Flow no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/Lifecycle-Innovations-Limited/claude-ops/tree/main/claude-ops/skills/flow
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Lifecycle-Innovations-Limited/claude-ops.git /tmp/claude-ops
mkdir -p .claude/skills
cp -r /tmp/claude-ops/claude-ops/skills/flow .claude/skills/flow
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Flow em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Flow automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Flow não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Agent Teams support

If CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 is set, use Agent Teams when a lifecycle stage fans out into parallel, coordinated work (e.g. build + test + review running together, or a multi-repo ship). This enables:

  • Stage agents share context mid-flight (the test agent surfaces a regression → the build agent pivots before review starts)
  • You can steer priorities in real time ("land the API change first, then docs")
  • Agents report progress as each stage completes, so you sequence the merge

Team setup (only when the flag is enabled, and only for genuinely parallel stages):

TeamCreate("flow-lifecycle")
Agent(team_name="flow-lifecycle", name="stage-build", ...)
Agent(team_name="flow-lifecycle", name="stage-test", ...)

Steer with SendMessage / broadcast; share work via TaskCreate/TaskUpdate.

If the flag is NOT set, fall back to standard fire-and-forget subagents (the default), or just route the stage to its single canonical command inline.

Runtime Context

Before routing, compute where the user is on the lifecycle:

bash
# FLOW_TARGET: the project you are actually working on. Default to the shell's
# cwd, but pass an explicit path when the harness's tool cwd is not the project
# (see the mode-resolution note below).
FLOW_TARGET="${FLOW_TARGET:-$PWD}"
FLOW_STATE=""
for _d in "${CLAUDE_PLUGIN_ROOT:-}" \
          "$HOME/Developer/repos/claude-ops/claude-ops" \
          "$HOME/external-skills/claude-ops" \
          "$HOME/.claude/plugins/marketplaces/ops-marketplace/claude-ops" \
          "$HOME/Projects/claude-ops/claude-ops"; do
  [ -n "$_d" ] && [ -x "$_d/bin/flow-state" ] && { FLOW_STATE="$_d/bin/flow-state"; break; }
done
[ -n "$FLOW_STATE" ] || { echo "flow: no executable bin/flow-state found" >&2; exit 1; }
"$FLOW_STATE" "$FLOW_TARGET"

Both failures are fail-closed on purpose. If no helper resolves, or the target path is not a directory, stop and say so — do not route. MODE is what decides GSD vs gstack, so routing without it silently picks the wrong half of the lifecycle, which is worse than an error.

Use ${CLAUDE_PLUGIN_ROOT:-}, not $CLAUDE_PLUGIN_ROOT: the bare form aborts under set -u, and an unguarded ${CLAUDE_PLUGIN_ROOT}/bin/flow-state expands to the absolute path /bin/flow-state when the variable is unset.

Always pass the target path explicitly. flow-state defaults to $PWD, and on some harnesses the shell tool does NOT run in the directory the user launched from — Hermes, for example, runs terminal commands in $HOME. A bare flow-state there inspects the home directory, finds no .planning/, and reports MODE=AD-HOC for every project. PROJECT-MODE then never triggers, so the GSD phase state machine is silently unreachable and every request falls through to the ad-hoc gstack lifecycle. Resolve the project directory first (the repo the user named, or the one under discussion) and pass it.

This prints: mode (PROJECT / AD-HOC), current .planning/ phase (if any), open PRs, and deploy state — the "you are here" marker. Read it first so mode-sensitive routes (build / ship / review) resolve correctly.

The canonical map lives in LIFECYCLE-MAP.md (same dir). Read it when you need the full per-stage ownership table; the dispatch table below is the routing copy.


FLOW — One Lifecycle Entrypoint

Load ops-rules before acting. Public repo (no personal data). Outbound: one draft → one approval → one send. If AskUserQuestion / Workflow are missing, follow Rule 10 in ops-rules (Hermes: numbered options / two-turn Telegram card; delegate_task).

The one rule: pick the abstraction level from repo state, then delegate to the canonical tool.

  • PROJECT-MODE (git root has .planning/): drive the GSD phase state machine; GSD phases call gstack/ops tools as sub-steps.
  • AD-HOC-MODE (no .planning/): run the gstack stateless lifecycle.
  • OPS (/ops:*): always available in either mode.

Route $ARGUMENTS (first token = intent) using this table:

Intent keywordsResolves to
(empty), map, here, whereprint map (Read LIFECYCLE-MAP.md) + bin/flow-state output. Stop — do not delegate.
ideate, brainstorm, office-hours/office-hours
hard-truths, yolo/ops:ops-yolo
spec, specify, scope, issue/spec $REST
plan, roadmap, phase-planproject → gsd-plan-phase; ad-hoc → /autoplan
ultraplan, deep-plangsd-ultraplan-phase
design, ui, mockup, html/design-consultation $REST
build, execute, implement, codemulti-project (checked FIRST) → gsd-manager; else project → gsd-execute-phase; ad-hoc → direct edits in an isolated worktree
feature-dev, fd, feature, architect-feature/feature-dev $REST (overlay — optional structured pipeline before/alongside build; does not replace GSD execute)
review, code-review, cr/review — project also runs gsd-code-review
security, cso, sec-review/cso
test, qa/qa $REST — project also runs gsd-verify-work
ios-qa, ios-test/ios-qa
ship, landproject → gsd-ship; ad-hoc single-repo → /ship; multi-repo salvage → /ops:ops-merge
deploy, release, rollout/ops:ops-deploy then /canary
canary/canary
monitor, fires, incidents/ops:ops-fires
status, health/ops:ops-status
retro, reflect/retro
learn/learn
ops, inbox, comms, marketing, finops, voice, home, daemon/ops:ops $ARGUMENTS (hand the whole arg string to the ops sub-router)
projects, portfolio/ops:ops-projects
debug, investigate, root-cause, why/investigate — project also runs gsd-debug
explore, onboard, understand, codebaseproject → gsd-map-codebase / gsd-onboard; ad-hoc → gsd-explore
spike, prototype, trygsd-spike (throwaway, never lands)
docs, document, readme/document-generate — project also gsd-docs-update; post-ship /document-release
diagram, chart, excalidraw, mermaid/diagram
pdf, export/make-pdf
scrape, extract, pull-data/scrape (codify a repeat flow with /skillify)
save-context, park, resume/context-save / /context-restore — project → gsd-pause-work / gsd-resume-work
freeze, guard, scope-edits/freeze (dir scope), /guard (full), /careful (destructive-cmd warnings), /unfreeze
design-review, ux-audit/design-review; iOS → /ios-design-review; devex → /devex-review
ios-fix, ios-clean, ios-sync/ios-fix, /ios-clean, /ios-sync
benchmark, perf, regression/benchmark

Routing notes

  • Hermes: gstack targets are files, not skills. Every gstack route below (/qa, /ship, /spec, /review, /cso, /autoplan, /canary, /retro, /learn, /office-hours, /design-consultation, /ios-qa, /browse) lives OUTSIDE the indexed skills tree at ~/.local/share/gstack/<name>/SKILL.md, deliberately, so its ~950k tokens do not load into every context. skill_view("qa") WILL fail. Load the route with read_file ~/.local/share/gstack/<name>/SKILL.md, then follow it. The gstack-index skill lists all 54 names. GSD routes are normal skills and do resolve via skill_view (gsd-plan-phase, gsd-execute-phase, ...).
  • $REST = $ARGUMENTS with the leading intent token removed.
  • Mode resolution: use the MODE= line from flow-state, and pass it the PROJECT path (see Runtime Context). PROJECT when the git root has .planning/; AD-HOC otherwise. If you did not pass a path and the harness runs shell commands somewhere other than the project (Hermes uses $HOME), MODE is meaningless — it describes that directory, not the user's work. A universal AD-HOC across unrelated projects is the symptom. "multi-project" = the user named >1 repo/project or asked for portfolio-wide work.
  • Delegation only. This skill never does the work itself — it invokes the canonical command via the Skill tool (or prints the route if the target is a personal/plugin slash-command the model should call next). After routing, the target skill's own ## CLI/API Reference governs execution.
  • Ambiguity: if intent spans two stages, prefer the earliest unfulfilled stage for the current flow-state position.
  • ops passthrough: for any ops* intent, forward the entire $ARGUMENTS to /ops:ops — it has its own sub-router; do not pre-parse it.

Bare /flow

If $ARGUMENTS is empty: Read LIFECYCLE-MAP.md, then reuse the Runtime Context result above (the same "$FLOW_STATE" "$FLOW_TARGET" invocation — do not call bin/flow-state bare, it would report on the harness's cwd rather than the project), and present the lifecycle map with the current position highlighted. Offer the next canonical stage as the suggested action. Do not auto-advance.

CLI/API Reference

Router only — no direct tool calls. bin/flow-state is the sole helper (detects mode + position). All execution is delegated to the canonical target skill after routing.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Flow faz?

OPS sob demanda: esta habilidade deve ser usada quando o usuário pedir "/ops:flow", "dev lifecycle" ou "onde…"

Por que usar Flow no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Flow é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Flow no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Lifecycle-Innovations-Limited/claude-ops/tree/main/claude-ops/skills/flow. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Flow?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Flow?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Flow com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Flow é gratuita?

Sim. A habilidade é publicada no GitHub por Lifecycle-Innovations-Limited sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇