Context Manager logo

Context Manager

Community
felvieira
context-manager

Organiza contexto, tarefas e handoff entre sessoes. Trigger em: "criar tarefa", "lista de tarefas", "status", "progresso", "trocar foco", "resetar contexto", "o que falta", "proxima tarefa", "historico", "pipeline de tarefas".

Overview

Publisherfelvieira
Repositoryclaude-skills-fv
Skill namecontext-manager
Stars
28
Forks
5
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by felvieira on GitHub. Read the source before you install it.

Installation

Install the Context Manager AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/felvieira/claude-skills-fv/tree/main/skills/08-context-manager
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/felvieira/claude-skills-fv.git /tmp/claude-skills-fv
mkdir -p .claude/skills
cp -r /tmp/claude-skills-fv/skills/08-context-manager .claude/skills/context-manager
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Context Manager in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Context Manager on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Context Manager is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Context Manager - Gerenciamento de Contexto e Tarefas

O Context Manager mantem foco, rastreabilidade e continuidade sem inflar contexto.

Governanca Global

Esta skill herda comportamento base de GLOBAL.md e destas policies:

  • policies/execution.md
  • policies/persistence.md
  • policies/token-efficiency.md
  • policies/handoffs.md
  • policies/evals.md

Se houver conflito entre instrucoes, a hierarquia global do kit prevalece.

Quando Usar

  • criar ou reorganizar lista de tarefas
  • registrar mudanca de foco, bloqueio ou decisao relevante
  • resumir estado atual para continuidade entre sessoes
  • manter dependencias entre frentes visiveis

Quando Nao Usar

  • para substituir a logica do Orquestrador
  • para persistir conversa operacional longa sem valor futuro
  • para registrar detalhes triviais que nao ajudam a proxima etapa

Entradas Esperadas

  • pedido atual do usuario
  • plano ou pipeline em execucao
  • estado atual das tarefas
  • dependencias, bloqueios e decisoes relevantes

Saidas Esperadas

  • lista de tarefas atualizada
  • foco atual resumido
  • historico enxuto quando houver troca de contexto
  • handoff curto para o Orquestrador ou proxima skill

Responsabilidades

  1. Criar listas de tarefas a partir de specs, issues ou pedidos do usuario
  2. Atualizar status das tarefas em tempo real conforme progresso
  3. Detectar mudanca de foco quando o usuario muda de assunto
  4. Resumir e persistir apenas o que ajuda a proxima sessao
  5. Tornar dependencias e blockers visiveis

Ciclo de Vida de uma Tarefa

Usar o mecanismo disponivel no ambiente:

Criar item (pending) -> Atualizar para in_progress -> Execucao -> Atualizar para completed -> Revisar lista geral

Checkpoint antes de marcar completed: confirmar que a evidencia de conclusao (ver policies/verification-before-completion.md) existe de fato — nao marcar completo so porque a etapa foi tentada. Se a verificacao falhar, a tarefa volta pra in_progress com a razao anotada, nao pra pending (perderia o progresso) nem pra completed (mentiria pro proximo passo do pipeline).

Regras de Operacao

  • titulo no imperativo e curto
  • uma tarefa in_progress por vez quando possivel
  • no maximo 15 tarefas ativas antes de priorizar ou arquivar
  • bloquear ruido e manter so o necessario para continuidade

Mudanca de Foco

Quando o pedido sair do escopo atual:

  • identificar se o novo pedido compete com o trabalho ativo
  • confirmar com o usuario apenas se arquivar puder ocultar algo ainda importante
  • persistir resumo curto do contexto anterior
  • registrar o novo foco com tarefas iniciais

Persistencia Recomendada

Preferencia de mecanismos:

  1. ferramenta nativa de task ou memoria do ambiente
  2. arquivo local sob docs/context/ quando o ambiente for stateful
  3. resumo curto em handoff quando nao houver persistencia entre sessoes

Se usar arquivo local, preferir docs/context/current-focus.md e docs/context/history.md.

Integracao com Orchestrator

  • o Orquestrador decide qual skill executa
  • o Context Manager acompanha progresso, dependencias e blockers
  • cada etapa concluida gera estado resumido e pronto para handoff

Evidencia de Conclusao

  • lista de tasks coerente com o foco atual
  • estado atual resumido sem ruido operacional
  • dependencias e blockers visiveis para a proxima etapa

Skills Utilitárias (context: fork)

Quando uma sub-operação desta skill for puramente mecânica — ler cache, gravar estado, checar arquivo — sem necessidade de raciocínio do modelo, preferir o padrão:

yaml
# frontmatter da sub-skill utilitária
context: fork
disable-model-invocation: true

Isso isola a execução e evita consumir contexto do agente principal para tarefas que são essencialmente I/O. Padrão observado em addozhang/mem9 (Apache-2.0) nas skills recall, store e setup.

Quando aplicar: sub-skills de leitura de vault, gravação de estado de sessão, verificação de auth, fetch de memória externa. Não aplicar quando a operação requer julgamento contextual (ex: decidir o que salvar, priorizar tasks).

Handoff

Seguir policies/handoffs.md e, quando util, templates/handoff.md.

Frequently asked questions

What does the Context Manager AI skill do?

Organiza contexto, tarefas e handoff entre sessoes. Trigger em: "criar tarefa", "lista de tarefas", "status", "progresso", "trocar foco", "resetar contexto", "o que falta", "proxima tarefa", "historico", "pipeline de tarefas".

Why use Context Manager on TypingMind?

Because you install it once and use it with any model. Context Manager is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Context Manager in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/felvieira/claude-skills-fv/tree/main/skills/08-context-manager. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Context Manager?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Context Manager?

As many as you like. As long as a model supports skills, you can use Context Manager with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Context Manager AI skill free?

Yes. It is published on GitHub by felvieira under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇