Logo de Feature Gif Recorder

Feature Gif Recorder

Organização
TSS-Blue-AI-Lab
feature-gif-recorder

Record one web application feature flow as a compact GIF using an existing Playwright installation. Use when the user asks for a visual demo, changelog artifact, documentation asset, or pull-request evidence. Creates local capture artifacts first; installation, publication, commits, uploads, and pull-request edits always require separate approval.

Add to TypingMind

Visão geral

Publicado porTSS-Blue-AI-Lab
Repositórioai-lab-agent-skills
Nome da habilidadefeature-gif-recorder
Estrelas
26
Forks
3
Arquivos incluídos
8
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: 8

    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 TSS-Blue-AI-Lab no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Feature Gif Recorder 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/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/feature-gif-recorder
  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/TSS-Blue-AI-Lab/ai-lab-agent-skills.git /tmp/ai-lab-agent-skills
mkdir -p .claude/skills
cp -r /tmp/ai-lab-agent-skills/skills/feature-gif-recorder .claude/skills/feature-gif-recorder
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Feature Gif Recorder 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 Feature Gif Recorder 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, Feature Gif Recorder 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á.

Feature GIF Recorder

Drive one named feature flow in a running web application, capture user-visible states, convert the frames into a labeled GIF, and optionally prepare host-specific publishing instructions.

Constraints

  • One invocation records one feature and produces one GIF
  • The application must already be running at a user-approved URL; do not start servers
  • Prefer a non-production environment with synthetic or approved test data
  • Never install packages, download browsers, commit, push, upload, or modify a pull request without explicit approval for that separate action
  • Never place credentials, tokens, session values, or production data in the spec, generated script, metadata, frames, or chat
  • Supply authentication through approved environment variables or a local Playwright storage-state path
  • Mask sensitive UI regions during capture and inspect the frames before any publication step
  • Use one resolved run directory throughout capture, conversion, metadata, and summary
  • Default output is recordings/<feature-slug>/; if it already exists, use a timestamped sibling unless the user chooses another location
  • Read gotchas.md before starting

Optional PR Suggestion

When the user explicitly wants visual pull-request evidence, offer this skill once. Declining or skipping a GIF must never block or delay pull-request creation. Do not hook into a named command or assume a particular agent platform or git host.

Phase 0 — Detect and Confirm

  1. Identify the single feature, application URL, entry path, steps, and desired output location.
  2. Confirm the environment and data are safe to capture. If the URL appears to be production or the flow can display real user data, stop and ask for a safe alternative.
  3. Confirm Node.js is available.
  4. Detect an already-installed @playwright/test or playwright package without using a command that can download packages.
  5. Confirm an installed Playwright browser can launch. If the package or browser is missing, read the installation-decision section in references/playwright-capture.md, show the exact package-manager-specific commands and their side effects, and ask whether the agent should run them. Do not proceed without the user's decision.
  6. Confirm ffmpeg or ImageMagick's magick command is available. The converter prefers ffmpeg.
  7. Read references/feature-spec.md and normalize the flow into one spec.

If the user provides a file containing several features, ask which single feature to record.

Phase 1 — Plan the Recording

For the selected feature:

  • Resolve a kebab-case slug and one exact run directory
  • Choose a viewport; default to 1280x800
  • Choose state-change capture by default and timed sampling only for animation-heavy segments
  • Identify how authentication is supplied without exposing secrets
  • Identify selectors that must be masked in every screenshot
  • Estimate the step count, frame count, duration, and final output size

Read references/recording-strategy.md, present the plan, and wait for confirmation before driving the browser unless the user has already explicitly authorized the exact plan.

Phase 2 — Capture with Playwright

Generate <run-dir>/capture.mjs that:

  1. Imports chromium from the installed @playwright/test package, falling back to playwright.
  2. Creates <run-dir>/frames/.
  3. Uses the chosen viewport before navigation.
  4. Optionally loads storage state from a named environment variable containing a local path. It must not embed storage-state content.
  5. Navigates to the entry URL without storing query parameters, fragments, headers, cookies, or tokens in metadata.
  6. Uses Playwright accessibility locators and explicit state waits.
  7. Passes the approved locator list to Playwright's screenshot mask option.
  8. Captures 000.png after the initial stable state and one numbered frame after each planned visible state change.
  9. Wraps execution in try/catch/finally, closes the browser, and writes sanitized meta.json on both success and failure.

The metadata should contain only: feature name, slug, sanitized origin and path, viewport, planned step descriptions without secrets, frame count, start/end timestamps, duration, Playwright/browser versions when available, and status (ok, partial, or failed).

Run only:

text
node <run-dir>/capture.mjs

Do not prepend an installation command. On a step failure, preserve the existing frames and metadata, mark the run partial, and stop this invocation.

Read references/playwright-capture.md for the capture-script pattern, selectors, authentication, masking, waiting, and recovery guidance.

Phase 3 — Convert Frames

Resolve this skill's own directory, then run its cross-platform Node helper with the exact run directory:

text
node <skill-dir>/scripts/frames-to-gif.mjs <run-dir> [fps] [width]

Defaults are 4 fps and 720 pixels wide. The helper validates arguments and frame continuity, prefers ffmpeg, and falls back to ImageMagick.

Read references/gif-conversion.md for size and quality guidance.

Expected output:

text
<run-dir>/
├── capture.mjs
├── frames/
│   ├── 000.png
│   └── NNN.png
├── <run-directory-name>.gif
└── meta.json

Phase 4 — Privacy Review

Before suggesting publication:

  1. Inspect every captured frame, the final GIF, and sanitized metadata.
  2. Check for personal data, internal hostnames, access tokens, account identifiers, confidential content, and unintended notifications or background tabs.
  3. If anything sensitive appears, do not publish. Re-record with synthetic data or additional masks.
  4. Tell the user that the local artifact is ready and ask whether they want publishing instructions or an authorized publication action.

Phase 5 — Optional Publishing

Local artifact creation is the default completion point. Publishing is a separate, opt-in phase.

Repository-hosted asset

If the user wants the GIF stored in the repository:

  1. Explain repository-size implications and confirm the final GIF is the only artifact intended for version control.
  2. Ask before staging or committing. Never commit frames, capture scripts, metadata, or .gitattributes changes unless explicitly requested.
  3. After the GIF is committed, use the exact commit SHA and detected remote host to prepare an embed URL supported by that host.

For a GitHub remote, a SHA-pinned example is:

html
<img src="https://github.com/<owner>/<repo>/blob/<sha>/<path-to-gif>?raw=true" alt="<feature-name> demo" width="720" />

Do not require the gh CLI merely to determine the remote; inspect the configured git remote. Do not modify the pull-request body without explicit approval.

Host attachment

If the user prefers a web-hosted attachment, follow the host's authenticated upload flow only with approval. Warn that attachment URLs can have access controls different from the repository and may be accessible to anyone who receives the URL. Never claim an attachment is private or universally rendered without verifying the host's behavior.

For unsupported or unknown hosts, provide the local artifact path and let the user choose the publication method instead of guessing.

Phase 6 — Summary

Report:

  • Feature name and slug
  • Exact run directory and GIF path
  • Frames captured and GIF byte size
  • Status: ok, partial, or failed
  • Privacy-review result
  • Playwright and conversion engine used
  • Whether the artifact remains local, was committed, or was uploaded
  • Embed snippet only when a valid published location exists

If the user also needs pass/fail assertions, pair the recording with the project's existing end-to-end testing workflow rather than assuming a named skill is installed.

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 Feature Gif Recorder faz?

Record one web application feature flow as a compact GIF using an existing Playwright installation. Use when the user asks for a visual demo, changelog artifact, documentation asset, or pull-request evidence. Creates local capture artifacts first; installation, publication, commits, uploads, and pull-request edits always require separate approval.

Por que usar Feature Gif Recorder no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Feature Gif Recorder é 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 Feature Gif Recorder no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/feature-gif-recorder. 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 Feature Gif Recorder?

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 Feature Gif Recorder?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Feature Gif Recorder 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 Feature Gif Recorder é gratuita?

A habilidade é publicada no GitHub por TSS-Blue-AI-Lab. Consulte os termos de licenciamento no repositório. 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 👇