context-agent
Makes your agent remember past conversations. It saves summaries and tasks to continue from where it left off next time.
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.
Example of what to ask your AI
“Save the context of our conversation, please.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
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.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add sickn33/agentic-awesome-skills --skill context-agentOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/context-agent/SKILL.md -o SKILL.mdTechnical 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
- #2634
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets 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.
sickn33/agentic-awesome-skills
Similar skills
operator-approval-loop
Makes your agent manage message sending with human approval. It ensures important messages are reviewed before being sent.
affaan-m/ECC
discernment-nudge
Has your agent add follow-up questions after giving an important answer. It's useful for ensuring you think carefully about advice or plans before acting.
anthropics/skills
interview-me
Asks questions to understand exactly what you need. Ensures the agent grasps your real need before starting work.
addyosmani/agent-skills