Logo de Kortix Memory

Kortix Memory

OrganizaçãoPopular
kortix-ai
kortix-memory

How to read, write, and curate workspace memory in `memory/` — the workspace brain. Load this skill whenever you (or a scheduled memory curator) need to add, update, or reorganize what this workspace knows about itself. Defines the rubric for what belongs in memory, the file structure, and the change-request flow for landing memory edits on `main`.

Visão geral

Publicado porkortix-ai
RepositórioCompanyOS
Nome da habilidadekortix-memory
Estrelas
20.8K
Forks
3.5K
Arquivos incluídos
Somente instruções
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.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por kortix-ai no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Kortix Memory 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/kortix-ai/CompanyOS/tree/dev/packages/starter/templates/managed/skills/kortix-memory
  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/kortix-ai/CompanyOS.git /tmp/CompanyOS
mkdir -p .claude/skills
cp -r /tmp/CompanyOS/packages/starter/templates/managed/skills/kortix-memory .claude/skills/kortix-memory
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Kortix Memory 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 Kortix Memory 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, Kortix Memory 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á.

Read and edit the files under memory/ with the file tools (read, write, edit, bash). A workspace that keeps its brain somewhere else (an older layout, .kortix/memory/) works the same way at that path. The memory tool that edited this folder is retired (2026-10-30): a workspace that ejected it into tools/memory.ts keeps its own copy.

MEMORY.md is the index. Memory is not auto-injected into the prompt — the memory protocol is: at the start of a task, read memory/MEMORY.md (kortix files cat memory/MEMORY.md, no clone needed) to recover prior context, then read the sub-files (overview.md, connections.md, etc.) the index points at when they're relevant. Record anything durable as you go — your context window may reset at any time, so what isn't written to memory/ is lost. /workspace starts empty: to edit memory, run kortix workspaces clone (it clones the repository onto your session branch), edit memory/ in the clone, commit, push, and open a change request (kortix cr open).

Memory is continuously CRUD'd:

  • Agents curate memory as they work. They add a durable fact when they find it, update a stale file, and delete a wrong one.
  • A new workspace has no scheduled curator. A workspace may add one: an agent that a cron trigger runs, which surveys recent activity and curates the folder (see <curator> below).
  • Both consult this skill for the rubric.

Memory is team-shared: it lives in the repo, every session sees the same content. Edits land on main only via a Kortix change request — never by pushing directly.

  • Discover a workspace convention, connection detail, decision, or workaround that should outlast this session
  • Notice the workspace brain is out of date or contradicts current code
  • Are a scheduled curator agent running its memory pass
  • Want to know if something is worth writing down (use the rubric below)
  • Need to add, rename, split, or delete a memory file
  • Want to know how memory edits reach main

Skip this skill for one-off questions about operating code. Workspace memory is about durable knowledge, not session state.

memory/
├── MEMORY.md           Index. `view` this first. One line per sub-file.
├── overview.md         What this project IS — purpose, shape, stakeholders.
├── connections.md      Third parties, MCP servers, channels, and connectors.
├── conventions.md      Coding patterns, naming, do / don't, style decisions.
└── decisions.md        Architectural and business decisions worth not re-debating.

Add new files freely when a topic deserves its own page (one topic per file, kebab-case filename). Always keep MEMORY.md in sync — one line per sub-file, format:

- [filename.md](filename.md) — one-line hook of what's inside

Don't move content out of MEMORY.md if it's a single line that already lives in the index — keep that one line. Sub-files exist when there's enough depth to warrant a click.

What to remember (KEEP)

  • The workspace's purpose — what we're building, for whom, and the one-sentence pitch.
  • Architecture-level decisions — why we use X over Y, which service owns what, the data flow.
  • Connection details — which third parties / MCP servers / channels are wired, what credentials they need, how they're scoped.
  • Conventions — naming, code style, branching, review norms — the stuff that's de facto across the codebase but not stated.
  • Workarounds and quirks — known env issues, ordering constraints, flaky dependencies, gotchas that bit us once.
  • Ops runbooks — how to deploy, how to roll back, how to debug the thing that breaks every quarter.
  • Glossary — domain terms specific to this workspace that an outsider wouldn't know.
  • People & ownership (optional) — who owns which surface, how to reach them, what they care about.

What NOT to remember (DROP)

  • One user's personal preferences — those are not workspace memory. They go in that user's own memory, /drives/me/Memory (the kortix-user-memory skill).
  • Facts derivable from the repo layout, file names, or git log.
  • One-off task state that won't matter next week.
  • Anything that's already in kortix.yaml, AGENTS.md, or a SKILL.md.
  • Secrets, tokens, API keys, PII — those live in the Kortix Secrets Manager, never in memory files.
  • Speculation about future plans. Memory describes what is, not what might be.

Style for entries

  • Plain prose with short sentences.
  • State facts, not narratives — "The web app talks to Supabase Postgres for auth" beats "We decided to use Supabase…".
  • Cite file paths when the fact maps to code: path/file.ts:120.
  • Date hard-to-verify facts in YYYY-MM-DD so readers can judge staleness.
  • Prefer editing existing entries over piling new ones on. A bloated file is worse than a tight one.

Editing memory

Read memory without a clone: kortix files cat memory/MEMORY.md and kortix files ls memory. To change it, work in a clone of the repository (kortix workspaces clone, then cd into it; /workspace has none at boot) and use the file tools on its memory/ folder. Edits land on main through the normal change-request flow (below).

  1. Read memory/MEMORY.md (and list memory/) to see what's there.
  2. Identify the right file. Most additions fit overview.md, connections.md, conventions.md, or decisions.md. write a new file only when a topic deserves its own page.
  3. Change an existing file with edit. Keep entries short, factual, and consistent with the surrounding prose.
  4. If you added, renamed, or deleted a file, update MEMORY.md so the index matches the folder. The index is the table of contents every agent reads first — keep it accurate.
  5. If something turned out to be wrong, delete it (rm). Don't leave stale facts to confuse future agents.

Landing memory on main

Session branches die when sessions end. Memory edits reach main only via a Kortix change request — same path as any code change:

sh
git add -A -- memory
git commit -m "memory: <one-line summary of what changed>"
git push origin HEAD
kortix cr open \
  --title "memory: <one-line summary>" \
  --description "What changed and why."

The user reviews and merges. Don't merge your own CR.

A new workspace has no scheduled memory curator. To add one, add an agent (for example agents/memory-curator.md) and a cron trigger in kortix.yaml that runs it. The kortix-harness-refinement skill describes the full reflection protocol; memory curation is one of its passes. On each run the curator:

  1. Loads this skill.
  2. Surveys recent workspace activity (git log since last run, recent merged CRs, session digests via kortix sessions digest).
  3. Decides what's worth keeping per the rubric above.
  4. CRUDs memory/ accordingly.
  5. Opens one memory: … CR with the edits. It does not merge it.
  6. Leaves memory untouched when nothing is worth changing.

Kortix manages this skill: an edit to it is replaced on the next update. To change what gets remembered, write the workspace's own rules into the curator's prompt. A merged CR takes effect on the next run.

  • The index is read first; sub-files are on demand. Don't dump every fact into MEMORY.md — keep it a clean table of contents and push depth into sub-files the agent reads only when relevant.
  • Read your memory before you start. Nothing is auto-injected; if you skip memory/MEMORY.md, you work blind to what the workspace already knows. The agent rules say the same thing — this is the memory protocol.
  • Memory files are markdown, not databases. Avoid heavy formatting, tables of 50 rows, or auto-generated content. If you catch yourself writing a script to generate a memory file, that content probably belongs in code, not memory.
  • Memory edits must go through CR. Direct pushes to main bypass the user-review contract — the same rule as code. Every memory edit ends with kortix cr open.
  • Don't put secrets in memory. Memory is read into context and committed to the repo. Secrets, tokens, API keys, and PII belong in the Kortix Secrets Manager, surfaced as env vars at runtime — not in memory/.

Perguntas frequentes

O que a habilidade de IA Kortix Memory faz?

How to read, write, and curate workspace memory in `memory/` — the workspace brain. Load this skill whenever you (or a scheduled memory curator) need to add, update, or reorganize what this workspace knows about itself. Defines the rubric for what belongs in memory, the file structure, and the change-request flow for landing memory edits on `main`.

Por que usar Kortix Memory no TypingMind?

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

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/kortix-ai/CompanyOS/tree/dev/packages/starter/templates/managed/skills/kortix-memory. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Kortix Memory?

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 Kortix Memory?

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

A habilidade é publicada no GitHub por kortix-ai. 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 👇