KOS // knowledge operating system

Las IA pasan.Tu memoria queda. Models come and go.Your memory stays.

KOS es un sistema para que tus proyectos, decisiones e ideas vivan en tus archivos, no en la memoria de un chatbot. Cualquier IA entra, lee las mismas reglas, trabaja y deja registrado lo que cambió.

KOS is a system that keeps your projects, decisions and ideas in your own files, not in a chatbot's memory. Any AI walks in, reads the same rules, does the work and logs what changed.

MemoriaMemoryPersistentePersistent
IA activaActive AI—
Commits0
ValidadorValidator0 err
000°090° 180°270° kos/ REF. AGENTS.md
git log --oneline● live
    A1.0Diagnóstico // memoria fragmentadaDiagnosis // fragmented memory

    Hoy tu memoria está repartida en chats que no controlas.

    Today your memory is scattered across chats you don't control.

    Cada IA recuerda un pedazo distinto de ti, a su manera, en su servidor. Cambias de herramienta y empiezas de cero. Lo que decidiste hace un mes ya no está en ningún lado.

    Each AI remembers a different piece of you, its own way, on its own server. Switch tools and you start from scratch. What you decided a month ago is gone.

    estado: fragmentadofig. 01
    IA 1 IA 2 IA 3 IA 4 tú kos/
    SituaciónSituationSin KOSWithout KOSCon KOSWith KOS
    Cambias de IAYou switch AIsLe explicas todo de nuevoYou explain everything againLee AGENTS.md y sigueIt reads AGENTS.md and carries on
    Retomas un proyecto al mesYou resume a project a month laterBuscas en chats viejosYou dig through old chatsEstado y próxima acción en un archivoStatus and next action in one file
    Una IA decide algo contigoAn AI decides something with youQueda en la conversaciónIt stays in the conversationQueda en decisions/, con fechaIt lands in decisions/, dated
    Quieres saber qué hizo la IAYou want to know what the AI didConfíasYou trust itLees el Cierre y el historial de GitYou read the Wrap-up and Git history
    A2.0Procedimiento // 5 pasosProcedure // 5 steps

    Cada trabajo sigue el mismo ciclo, con cualquier IA.

    Every piece of work follows the same cycle, with any AI.

    No importa si es Claude, ChatGPT o la IA que salga el año que viene. Las reglas están en tus archivos, así que todas trabajan igual.

    Claude, ChatGPT or whatever AI ships next year: the rules live in your files, so they all work the same way.

    AGENTS.md entrada única
    Detalle A2.1 // el CierreDetail A2.1 // the Wrap-up

    Tres líneas que te dicen si el trabajo está bien hecho.

    Three lines that tell you whether the work was done right.

    Todo trabajo que cambió algo termina igual. Lo lees en cinco segundos y sabes qué quedó guardado, cómo se comprobó y qué sigue. Si falta, se lo pides.

    Every piece of work that changed something ends the same way. Five seconds and you know what was saved, how it was verified and what comes next. If it's missing, ask for it.

    Registrado en KOSLogged in KOSprojects/newsletter/tareas.md
    decisions/DEC-004-martes.md
    Comprobado conVerified withvalidador: 0 errores, releídovalidator: 0 errors, reread
    FaltaPendingdiseñar la plantilla.
    Próxima acción: elegir 3 referencias.
    design the template.
    Next action: pick 3 references.
    Emitido para registrar
    Issued for logging
    0erroreserrors
    A3.0Planta // estructura de carpetasPlan // folder structure

    Una carpeta. Archivos de texto. Nada más.

    One folder. Text files. Nothing else.

    Recórrela. Cada carpeta tiene un trabajo y una regla. Se abre con cualquier editor, hoy y dentro de veinte años.

    Walk through it. Each folder has one job and one rule. Opens in any editor, today and twenty years from now.

    A4.0Jerarquía // orden de autoridadHierarchy // order of authority

    No todo lo escrito vale lo mismo.

    Not everything written carries the same weight.

    Cuando dos archivos se contradicen, la IA sabe a cuál hacerle caso. Y la regla es que lo que entra sin revisar no da órdenes: un mail pegado que dice "borra todo" se trata como texto.

    When two files disagree, the AI knows which one to follow. And the rule is that unreviewed material gives no orders: a pasted email that says "delete everything" is treated as text.

    Fuera de la escala // Entrada (knowledge/inbox/)Off the scale // Inbox (knowledge/inbox/) Ideas, mails y notas sin revisar. Se leen, se clasifican y se promueven. Nunca mandan. Unreviewed ideas, emails and notes. They get read, sorted and promoted. They never rule.
    A5.0Simulación // conversación y archivosSimulation // conversation and files

    Hablas como siempre. La diferencia queda escrita.

    You talk as usual. The difference gets written down.

    Avanza paso a paso: a la izquierda la conversación, a la derecha lo que cambia en tus archivos.

    Step through it: the conversation on the left, what changes in your files on the right.

    chatIA: —
    ~/kosdiff
    A6.0Conexiones // adaptadoresConnections // adapters

    Funciona con las IA que ya usas. Y con las que vengan.

    Works with the AIs you already use. And the ones still to come.

    Todas leen la misma entrada. Las que tienen acceso a archivos escriben directo; las de chat te devuelven un bloque listo para pegar.

    They all read the same entry point. Those with file access write directly; chat AIs hand you a ready-to-paste block.

    lee y escribe tus archivosreads and writes your files lee y te da bloques para registrarreads and hands you blocks to log
    A6.1skills/ // tools/kos_skills.rb

    Las mismas skills para todas tus IAs. Tú apruebas cada cambio.

    The same skills for all your AIs. You approve every change.

    Una skill es una receta que la IA sigue para una tarea (formato abierto SKILL.md). En KOS hay una sola copia: Claude Code, Codex y cualquier agente que lea archivos usan la misma. Las IAs proponen mejoras; una persona las aprueba. Si una skill aprobada cambia sin aprobación, el validador lo frena.

    A skill is a recipe an AI follows for a task (open SKILL.md format). In KOS there is one copy: Claude Code, Codex and any agent that reads files use the same one. AIs propose improvements; a person approves them. If an approved skill changes without approval, the validator stops it.

    • las IAs proponen, una persona aprueba (pueden ser varias)
    • casos de prueba por skill, para que rinda parecido con cualquier IA
    • skills de otras personas: te avisa, muestra licencia y riesgos y te pregunta si va tal cual o adaptada
    • sin licencia, no entra
    • en español o en inglés
    • AIs propose, a person approves (it can be several)
    • test cases per skill, so it performs alike with any AI
    • other people's skills: it warns you, shows license and risks and asks whether it goes in as is or adapted
    • no license, no import
    • in Spanish or English
    A7.0Organigrama // persona y equipoOrg chart // person and team

    Para una persona. Para un equipo entero.

    For one person. For a whole team.

    • 01
      Cambias de IA sin perder nadaSwitch AIs, lose nothingClaude hoy, otra mañana. Todas leen lo mismo.Claude today, another tomorrow. They all read the same.
    • 02
      Retomas donde quedastePick up where you left offCada proyecto guarda su estado y su próxima acción.Every project keeps its status and next action.
    • 03
      Tú decides qué saleYou decide what leavesEnviar, publicar, pagar o borrar siempre pasa por ti.Sending, publishing, paying or deleting always goes through you.
    • 04
      No repites quién eresNever repeat who you areTu perfil y tu forma de trabajar quedan escritos una vez.Your profile and how you work get written once.
    túyou
    ~/kostu memoria, tu Gityour memory, your Git
    newsletteractiveA2
    mudanzapausedA1
    finanzasactiveA2

    Un proyecto por carpeta. A1/A2/A3 = cuánto puede hacer la IA sin preguntarte.

    One project per folder. A1/A2/A3 = how much the AI may do without asking.

    A8.0tools/kos_validate.rb

    Un guardián que revisa cada cambio.

    A guard that checks every change.

    Después de cada trabajo, la IA corre el validador. Si usas GitHub, también corre solo en cada cambio y una vez por día, y te avisa por mail si algo se rompe.

    After every task the AI runs the validator. If you use GitHub it also runs on every change and once a day, and emails you if something breaks.

    Lo que la IA siempre te pregunta antesWhat the AI always asks you first
    • enviar mensajes o correos
    • publicar o pagar
    • borrar o sobrescribir información
    • usar credenciales o compartir datos personales
    • cambiar reglas globales
    • sending messages or emails
    • publishing or paying
    • deleting or overwriting information
    • using credentials or sharing personal data
    • changing global rules
    $ ruby tools/kos_validate.rbidle
      —
      A8.1registry/zonas.yaml // tools/kos_aprobar.rb

      Lo crítico no cambia sin tu aprobación.

      Critical things don't change without your approval.

      Tareas, ideas y listas fluyen libres y siempre se pueden deshacer. Las reglas, las herramientas, el historial de Git y los borrados masivos solo cambian si tú lo apruebas: te llega un email con el cambio exacto (lo agregado en verde, lo borrado en rojo) y un código de un solo uso, y lo confirmas con tu PIN en una terminal. Si el cambio se altera después de pedirlo, deja de valer.

      Tasks, ideas and lists flow freely and can always be undone. The rules, the tools, Git history and mass deletions only change if you approve: you get an email with the exact change (additions in green, deletions in red) and a one-time code, and you confirm it with your PIN in a terminal. If the change is altered after being requested, it stops being valid.

      Tres niveles, dichos sin exagerarThree levels, stated without overselling
      • Nivel 1, guía y detección: avisa de borrados masivos y de historia reescrita, frena el force push y rechaza lo crítico por la puerta de escritura
      • Nivel 2, aprobación por email: código de un solo uso y PIN; vence a los 15 minutos y se anula tras 3 intentos fallidos
      • Nivel 3, cerrado: servidor Linux donde KOS es de un usuario de servicio y la IA corre sin privilegios. Es el cerrojo real
      • Level 1, guidance and detection: flags mass deletions and rewritten history, stops force pushes and refuses critical paths at the write door
      • Level 2, email approval: one-time code and PIN; it expires in 15 minutes and is cancelled after 3 wrong attempts
      • Level 3, closed: a Linux server where KOS belongs to a service user and the AI runs unprivileged. This is the real lock

      Sin humo: en tu computadora, con la IA corriendo como tú, el techo es el nivel 2: una IA que edite archivos directo con tu usuario puede saltearlo, y una IA con permisos de administrador no queda frenada por nada de esto. Por eso KOS incluye una herramienta que te dice qué nivel tienes de verdad y una prueba de ataque que intenta saltear las barreras.

      No smoke: on your computer, with the AI running as you, the ceiling is level 2: an AI that edits files directly as your user can bypass it, and an AI with administrator rights is not stopped by any of this. That is why KOS includes a tool that tells you which level you really have and an attack test that tries to bypass the barriers.

      $ ruby tools/kos_proteccion.rb nivelejemplo resumidoabridged example
      Protección para «ana»: nivel 3 de 3
        zonas definidas                 sí
        hook contra force push          sí
        aprobación por email            sí
        KOS es de un usuario de servicio sí
        puede escribir directo          no
        es root o tiene sudo libre      no
      
      $ ruby tools/kos_proteccion.rb ataque
        bloqueado  escribir en tools/
        bloqueado  crear archivos en .git
        bloqueado  leer el secreto
        bloqueado  ser root o usar sudo
      A9.0Instalación // 10 minutosInstallation // 10 minutes

      Instalado en diez minutos.

      Installed in ten minutes.

      1. Instala Git y RubyGratis. El manual explica cómo en Mac, Windows y Linux.
      2. Copia la plantillaA una carpeta tuya o a un repositorio privado de GitHub.
      3. Corre el asistenteTe pregunta tu nombre, cómo quieres que te hablen, tus áreas y tus IA.
      4. Conecta tu primera IAClaude Code, Codex, Cursor, Gemini o un chat.
      5. Pídele un resumen"Lee AGENTS.md y resúmeme KOS en cinco líneas." Listo.
      1. Install Git and RubyFree. The manual shows how on Mac, Windows and Linux.
      2. Copy the templateInto a folder of yours or a private GitHub repository.
      3. Run the wizardIt asks your name, how you like to be addressed, your areas and your AIs.
      4. Connect your first AIClaude Code, Codex, Cursor, Gemini or a chat.
      5. Ask for a summary"Read AGENTS.md and summarize KOS in five lines." Done.
      ~/kos — zsh
      
            
      A10Planilla // contenido de la cajaSchedule // box contents

      Todo lo que viene en la caja.

      Everything in the box.

      #ElementoItemDescripciónDescription
      01AGENTS.mdLa entrada única que cualquier IA lee primero.The single entry point any AI reads first.
      02ONBOARDING/Reglas, recetas y flujo de trabajo para IA.Rules, recipes and workflow for AIs.
      03tools/Asistente, validador, actualizador, respaldo verificable, chequeo de privacidad, aprobación de cambios críticos por email, protección por niveles y herramientas para que varias IAs trabajen a la vez sin pisarse.Wizard, validator, updater, verifiable backup, privacy check, email approval of critical changes, protection in levels and tools so several AIs can work at once without overwriting each other.
      04adapters/Claude Code, Claude.ai, ChatGPT, Codex, Cursor y Gemini.Claude Code, Claude.ai, ChatGPT, Codex, Cursor and Gemini.
      05modules/Opcionales: listas (películas, series, libros) y finanzas.Optional: lists (movies, series, books) and finance.
      06docs/manual/Manual de 14 capítulos, guía rápida y glosario.14-chapter manual, quickstart and glossary.
      07skills/Skills compartidas por todas tus IAs, con aprobación, casos de prueba e importación segura de skills ajenas.Skills shared by all your AIs, with approval, test cases and safe import of other people's skills.
      08es + enTodo en español e inglés. Eliges al instalar.Everything in Spanish and English. Pick at install time.
      A11FAQ

      Preguntas frecuentes

      Frequently asked questions

      ¿Mis datos se van a algún lado?

      KOS no los manda a ningún lado: viven en tu carpeta (y en tu GitHub privado, si lo usas). Cuando una IA los lee, pasan por el servicio de esa IA como cualquier cosa que le escribes; por eso las reglas no guardan claves ni datos sensibles.

      ¿Necesito saber programar?

      No. Puedes pedirle a una IA con acceso a tu computadora (Claude Code, Codex, Cursor) que lo instale por ti, o abrir una terminal y pegar un comando siguiendo el manual. Después hablas con tu IA como siempre.

      ¿Es una app o una suscripción?

      Ninguna de las dos. Son archivos de texto y unas herramientas pequeñas que corren en tu computadora.

      ¿Funciona con ChatGPT o solo con Claude?

      Con las dos y con cualquier otra. Las IA con acceso a archivos escriben directo; las de chat te dan un bloque para pegar.

      ¿Y si la IA hace algo mal?

      Todo queda en Git: ves cada cambio y lo deshaces con un comando. El validador frena los errores más comunes y las reglas obligan a la IA a pedirte permiso para lo sensible.

      ¿Sirve para una empresa?

      Sí. Un KOS de equipo guarda decisiones y reglas comunes, y cada proyecto tiene su propio manifiesto con permisos y nivel de autonomía. La licencia permite usarlo en el trabajo y con clientes.

      ¿Puedo evitar que una IA cambie mis reglas sin que lo sepa?

      En buena medida, sí, y te decimos hasta dónde. Lo común (tareas, ideas, listas) fluye libre y se puede deshacer. Lo crítico (las reglas, las herramientas, el historial de Git, los borrados masivos) solo cambia con tu aprobación: te llega un email con el cambio exacto y un código, y lo confirmas con tu PIN en una terminal. Hay tres niveles. En tu computadora, con la IA corriendo como tú, avisa, rechaza y pide aprobación (nivel 2), pero una IA que edite archivos directo con tu usuario puede saltearlo. El cerrojo real (nivel 3) pide un servidor Linux y que la IA use un usuario sin privilegios; una IA con permisos de administrador no queda frenada. Una herramienta incluida te dice tu nivel y prueba si las barreras aguantan.

      ¿Pueden trabajar varias IAs a la vez?

      Sí. Escriben por una puerta única que va de a una, así no se pisan, y cada cambio queda firmado con el nombre de la IA que lo hizo. Un chequeo avisa si algo quedó trabado o sin guardar.

      ¿Puedo usar las mismas skills en todas mis IAs?

      Sí. Viven en skills/ y todas las usan. Las IAs pueden proponer mejoras, pero solo una persona las aprueba. Si traes una skill de otra persona, KOS te avisa, te muestra su licencia y sus riesgos y te pregunta si la quieres tal cual o adaptada.

      ¿Cuánto cuesta?

      Nada: es gratis. Lo descargas desde GitHub, sin cuenta ni suscripción. La licencia (PolyForm Shield) te deja usarlo y modificarlo para lo que quieras; lo que no puedes es venderlo ni ofrecerlo como producto propio.

      ¿Dónde pregunto si tengo una duda o encuentro un error?

      En los Issues del repositorio, en GitHub. Es público: no pegues datos personales, contraseñas ni tokens.

      ¿Qué puedo hacer con la licencia?

      Usarlo para lo que quieras, personal o de trabajo, y modificarlo. Lo que no puedes es venderlo ni ofrecerlo como producto propio, aunque sea gratis. Tu contenido es siempre tuyo.

      Does my data go anywhere?

      KOS sends it nowhere: it lives in your folder (and your private GitHub, if you use it). When an AI reads it, it goes through that AI's service like anything you type to it; that is why the rules never store keys or sensitive data.

      Do I need to code?

      No. You can ask an AI with access to your computer (Claude Code, Codex, Cursor) to install it for you, or open a terminal and paste a command following the manual. Then you talk to your AI as usual.

      Is it an app or a subscription?

      Neither. It's text files plus a few small tools that run on your computer.

      Does it work with ChatGPT or only Claude?

      Both, and any other. AIs with file access write directly; chat AIs hand you a block to paste.

      What if the AI gets something wrong?

      Everything is in Git: you see every change and undo it with one command. The validator stops the most common mistakes and the rules require the AI to ask you before anything sensitive.

      Does it work for a company?

      Yes. A team KOS holds shared decisions and rules, and each project has its own manifest with permissions and an autonomy level. The license allows use at work and with clients.

      Can I use the same skills in all my AIs?

      Yes. They live in skills/ and all of them use them. AIs can propose improvements, but only a person approves them. If you bring in someone else's skill, KOS warns you, shows its license and risks and asks whether you want it as is or adapted.

      Can I stop an AI from changing my rules without my knowing?

      Largely yes, and we tell you where the limits are. Ordinary things (tasks, ideas, lists) flow freely and can be undone. Critical things (the rules, the tools, Git history, mass deletions) only change with your approval: you get an email with the exact change and a code, and you confirm it with your PIN in a terminal. There are three levels. On your computer, with the AI running as you, it warns, refuses and asks for approval (level 2), but an AI that edits files directly as your user can bypass it. A real lock (level 3) needs a Linux server and the AI running as an unprivileged user; an AI with administrator rights is not stopped. A bundled tool tells you your level and tests whether the barriers hold.

      Can several AIs work at once?

      Yes. They write through a single gate that goes one at a time, so they don't overwrite each other, and every change is signed with the name of the AI that made it. A check warns you if something got stuck or unsaved.

      How much does it cost?

      Nothing: it is free. You download it from GitHub, with no account or subscription. The license (PolyForm Shield) lets you use and change it for anything; what you cannot do is sell it or offer it as your own product.

      Where do I ask if I have a question or find a bug?

      In the repository Issues on GitHub. It is public: don't paste personal data, passwords or tokens.

      What can I do under the license?

      Use it for anything, personal or work, and change it. What you can't do is sell it or offer it as your own product, even for free. Your content is always yours.