context-agent
What it does
This agent saves what happened in a conversation with the AI so you can pick up where you left off next time. It keeps summaries, decisions, and tasks to give you an automatic "briefing" at the start of the next chat.
When to use it
- ✓When you want to continue a conversation after closing the program.
- ✓So the AI remembers important decisions you made.
- ✓So the AI knows which tasks still need to be done.
Skill link
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/context-agent/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Save the context of our conversation, please.”
5 new skills a week. 1 minute to read.
How it works
It takes important messages from the conversation, creates a summary, and saves it. The next time you start chatting, it uses this summary to give you a "good morning" with everything you need to know.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Context Agent
Este guia e intencionalmente escrito em portugues brasileiro. O cabecalho Os cabecalhos
When to UseeLimitationspermanecem em ingles apenas para compatibilidade com a descoberta e a validacao automatica do catalogo.
[!WARNING] Esta skill escreve contexto, registros, um banco SQLite e
MEMORY.mdem caminhos locais; a manutencao tambem pode arquivar e remover resumos antigos. Confirme os caminhos, mantenha um backup e obtenha aprovacao explicita antes de executarinit,save,archiveoumaintain.
Visao Geral
Agente de contexto para continuidade entre sessoes. Salva resumos, decisoes, tarefas pendentes e carrega briefing automatico na sessao seguinte.
When to Use This Skill
- Quando o usuario mencionar "salvar contexto" ou assuntos relacionados
- Quando o usuario mencionar "salva o contexto" ou assuntos relacionados
- Quando o usuario mencionar "proxima sessao" ou assuntos relacionados
- Quando o usuario mencionar "briefing sessao" ou assuntos relacionados
- Quando o usuario mencionar "resumo sessao" ou assuntos relacionados
- Quando o usuario mencionar "continuidade sessao" ou assuntos relacionados
Quando Nao Usar Esta Skill
- A tarefa nao estiver relacionada a continuidade de contexto
- Uma ferramenta mais simples e especifica puder atender ao pedido
- O usuario precisar apenas de assistencia geral, sem esta especializacao
Como Funciona
Continuidade perfeita entre sessões do Claude Code. Captura, comprime e restaura contexto automaticamente — tópicos, decisões, tarefas, erros, arquivos modificados e descobertas técnicas.
Localização
C:\Users\renat\skills\context-agent\
├── SKILL.md
├── scripts/
│ ├── config.py # Paths e constantes
│ ├── models.py # Dataclasses
│ ├── session_parser.py # Parser JSONL do Claude Code
│ ├── session_summary.py # Gerador de resumos
│ ├── active_context.py # Gerencia ACTIVE_CONTEXT.md
│ ├── project_registry.py # Registro de projetos
│ ├── compressor.py # Compressão e arquivamento
│ ├── search.py # Busca FTS5
│ ├── context_loader.py # Carrega contexto
│ └── context_manager.py # CLI entry point
├── references/
│ ├── context-format.md # Especificação de formatos
│ └── compression-rules.md # Regras de compressão
└── data/
├── sessions/ # session-001.md, session-002.md, ...
├── archive/ # Sessões arquivadas
├── ACTIVE_CONTEXT.md # Contexto consolidado (max 150 linhas)
├── PROJECT_REGISTRY.md # Status de todos os projetos
└── context.db # SQLite FTS5 para busca
Inicialização (Primeira Vez)
python C:\Users\renat\skills\context-agent\scripts\context_manager.py init
Salvar Contexto Da Sessão Atual
Quando a sessão está terminando ou antes de uma tarefa longa, salvar o contexto:
python C:\Users\renat\skills\context-agent\scripts\context_manager.py save
O que faz:
- Encontra o arquivo JSONL mais recente da sessão
- Analisa todas as mensagens, tool calls e resultados
- Gera resumo estruturado (session-NNN.md)
- Atualiza ACTIVE_CONTEXT.md com novas informações
- Sincroniza com MEMORY.md (carregado no system prompt)
- Indexa para busca full-text
Carregar Contexto (Briefing)
No início de uma nova sessão, carregar o contexto:
python C:\Users\renat\skills\context-agent\scripts\context_manager.py load
Gera briefing com: projetos ativos, tarefas pendentes (por prioridade), bloqueadores, decisões recentes, convenções e resumo das últimas sessões.
Status Rápido
python C:\Users\renat\skills\context-agent\scripts\context_manager.py status
Resumo em poucas linhas: projetos, pendências críticas, bloqueadores.
Buscar No Histórico
python C:\Users\renat\skills\context-agent\scripts\context_manager.py search "rate limit"
Busca full-text (SQLite FTS5) em todas as sessões — tópicos, decisões, erros, arquivos, etc.
Manutenção
python C:\Users\renat\skills\context-agent\scripts\context_manager.py maintain
Arquiva sessões antigas, comprime arquivo, ressincroniza MEMORY.md, reconstrói índice de busca.
Fluxo De Trabalho
[Sessão termina]
→ save → session-NNN.md + ACTIVE_CONTEXT.md + MEMORY.md
[Nova sessão começa]
→ MEMORY.md já está no system prompt (automático)
→ load → briefing detalhado com tudo que precisa saber
…
FAQ
What happens if I don't save the context?
The AI will forget everything you discussed, and you'll have to explain everything again next time.
Where is this information saved?
The information is saved in files on your computer, like a summary and a database for quick searches.
Can I search for something we discussed before?
Yes, you can use the search command to find specific information from past conversations.
Details
Original description by the author
Agente de contexto para continuidade entre sessoes. Salva resumos, decisoes, tarefas pendentes e carrega briefing automatico na sessao seguinte.
Popularity
- GitHub stars
- 48k
- Ranking position
- #4248
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
48kHelps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
007
48kLets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
10-andruia-skill-smith
48kHelps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
20-andruia-niche-intelligence
48kLets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
Similar skills
discord-user-post
394kLets your agent post a message you have approved to Discord as you, through the Discord desktop app, after confirming the exact channel.
configure-channel
394kTeaches your agent to connect a chat app such as Telegram to OpenClaw, store the bot token safely, and check that messages flow.
discord
394kHelps your agent read, send, edit, and react to Discord messages through OpenClaw, checking the exact message before making changes.